Approve bill for payment

Approve an open bill for payment on the Approve Bills for Payment form.

POST https://cotlet.dev/api/v1/acumatica/bill-for-payment/approve

write Confirm

Approves one bill on the Approve Bills for Payment form so it can be paid. The call fails with a permission error for a user without access to that form. Approving does not pay the bill. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: approve_bill_for_payment
NameTypeDescription
reference_nbr string required string Reference number of the document, from list_invoices or list_bills.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/acumatica/bill-for-payment/approve \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"reference_nbr":"reference nbr"}'
Python
result = client.call("acumatica", "approve_bill_for_payment", {"reference_nbr":"reference nbr"})
Node.js
const result = await cotlet.call('acumatica', 'approve_bill_for_payment', {"reference_nbr":"reference nbr"});
CLI
cotlet call acumatica approve_bill_for_payment --data '{"reference_nbr":"reference nbr"}'

Example response

JSON

{
  "reference_nbr": "004813",
  "approved_for_payment": true
}

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.