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
| Name | Type | Description |
|---|---|---|
| reference_nbr string required | string | Reference number of the document, from list_invoices or list_bills. |
Request
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"}' result = client.call("acumatica", "approve_bill_for_payment", {"reference_nbr":"reference nbr"}) const result = await cotlet.call('acumatica', 'approve_bill_for_payment', {"reference_nbr":"reference nbr"}); cotlet call acumatica approve_bill_for_payment --data '{"reference_nbr":"reference nbr"}' Example response
{
"reference_nbr": "004813",
"approved_for_payment": true
}