
Create bills, orders and receipts in Acumatica from documents.
Overview
Acumatica can receive Cradl AI’s Webhook export directly. Acumatica gives you an incoming URL through Webhook handler, Cradl AI posts each processed document to it, and you map the fields where you work. Nothing sits in between.
Popular use cases
- AP bills: create bills on the Bills and Adjustments form from supplier invoices, linked to the vendor and the purchase order lines they bill.
- Purchase receipts: create purchase receipts from scanned delivery notes against the open purchase order, so inventory quantities update on arrival.
- Sales orders: turn customer purchase order PDFs into Acumatica sales orders, with customer, inventory IDs, quantities and requested dates.
Before you begin
- A Cradl AI agent with at least one processed document to test with.
- Acumatica: Acumatica Cloud ERP. Webhook requests count toward your license’s API limits.
How to set it up
- In Acumatica, write a class that implements PX.Api.Webhooks.IWebhookHandler, checks the Authorization header, parses the JSON and saves the record through a graph such as the AP bill entry graph. Acumatica docs
- In Acumatica, publish the handler’s DLL in a customization project, then on the Webhooks (SM304000) form add a webhook, select the handler as the implementation class, save and copy the URL. Acumatica docs
- In Cradl AI, open your agent, add a Webhook export and paste the URL under Endpoint with POST. Under HTTP headers, add Authorization with your token, then click Test webhook. Cradl AI docs
- In Acumatica, open the Request History tab on SM304000 to check the request’s processing status. Acumatica docs
What Cradl AI sends
Each processed document arrives as one JSON request with two parts. output holds every field under its field ID, with the value, the text as read, a confidence score and a readable name. context holds the run and document IDs. The request is signed with HMAC SHA-256 in the X-Cradl-Signature header.
This example is a customer purchase order, as in the sales orders use case. A table field, such as orderLines, holds a list with one entry per row.
Good to know
The handler is a C# class deployed in a customization project. Request bodies are limited to 1 MB by default.

