Release AP bill

Release a bill so it becomes Open and posts to the ledger as your setup says.

POST https://cotlet.dev/api/v1/acumatica/ap-bill/release

write Confirm

Runs Release on one AP bill. A bill On Hold cannot be released, so set remove_hold to true to make it Balanced first. A released bill is Open and cannot be edited or deleted; it is corrected by a reversal. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: release_ap_bill
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/ap-bill/release \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"reference_nbr":"reference nbr"}'
Python
result = client.call("acumatica", "release_ap_bill", {"reference_nbr":"reference nbr"})
Node.js
const result = await cotlet.call('acumatica', 'release_ap_bill', {"reference_nbr":"reference nbr"});
CLI
cotlet call acumatica release_ap_bill --data '{"reference_nbr":"reference nbr"}'

Example response

JSON

{
  "reference_nbr": "004812",
  "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.