v10

latestOpenAPI 3.0.1raw.githubusercontent.com2025-12-033223581.2 MB
Bill

Approve Bills

Approve multiple Bills for the specified Organization based on the given criteria.

This endpoint allows you to change currently Pending Bills to Approved status for further processing.

Query Parameters:

  • Use accountIds to approve Bills for specifed Accounts.

Request Body Schema Parameter:

  • Use billIds to specify a collection of Bills for batch approval.

Important! If you use the billIds Request Body Schema parameter, any Query parameters you might have also used are ignored when the call is processed.

post/organizations/{orgId}/bills/approve

Path parameters

orgIdstring required

The unique identifier (UUID) of your Organization. The Organization represents your company as a direct customer of our service.

Query parameters

externalInvoiceDateStartstring

Start date for filtering Bills by external invoice date. Includes Bills with dates equal to or later than this date.

externalInvoiceDateEndstring

End date for filtering Bills by external invoice date. Includes Bills with dates earlier than this date.

accountIdsstring

List of Account IDs to filter Bills. This allows you to approve Bills for specific Accounts within the Organization.

Request body

billIdsstring[] required

Use to specify a collection of Bills by their IDs for batch approval

Response

Returns a message indicating the success/failure of Bills approval

messagestring

A message indicating the success or failure of the Bills' approval, along with relevant details.