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

write Confirm

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

Parameters: release_ar_invoice
NameTypeDescription
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
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"}'
Python
result = client.call("acumatica", "release_ar_invoice", {"reference_nbr":"reference nbr"})
Node.js
const result = await cotlet.call('acumatica', 'release_ar_invoice', {"reference_nbr":"reference nbr"});
CLI
cotlet call acumatica release_ar_invoice --data '{"reference_nbr":"reference nbr"}'

Example response

JSON

{
  "reference_nbr": "002231",
  "status": "Open"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.