Release AR invoice
Release an invoice so it becomes Open, raises the customer balance and creates a ledger batch.
POST https://cotlet.dev/api/v1/acumatica/ar-invoice/release
Runs Release on one AR invoice. Only a Balanced invoice can be released, so set remove_hold to true for one that is On Hold. Release makes the invoice Open, increases the customer balance and generates a general ledger batch. The release can run in the background, and the call returns the status when it ends. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| reference_nbr string required | string | Reference number of the document, from list_invoices or list_bills. |
| remove_hold boolean | boolean | true removes the hold before releasing. Default: false. |
Request
curl -X POST https://cotlet.dev/api/v1/acumatica/ar-invoice/release \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"reference_nbr":"reference nbr"}' result = client.call("acumatica", "release_ar_invoice", {"reference_nbr":"reference nbr"}) const result = await cotlet.call('acumatica', 'release_ar_invoice', {"reference_nbr":"reference nbr"}); cotlet call acumatica release_ar_invoice --data '{"reference_nbr":"reference nbr"}' Example response
{
"reference_nbr": "002231",
"status": "Open"
}