Skip to main content
POST
/
organizations
/
{orgId}
/
bills
/
approve
Approve Bills
curl --request POST \
  --url https://api.m3ter.com/organizations/{orgId}/bills/approve \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "billIds": [
    "<string>"
  ]
}
'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

m3ter supports machine to machine authentication using the clientCredentials OAuth2 flow.

The authorizationCode flow controls access for human users via the m3ter Console application.

Path Parameters

orgId
string
required

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

Query Parameters

externalInvoiceDateStart
string

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

externalInvoiceDateEnd
string

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

accountIds
string

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

Body

application/json
billIds
string[]
required

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

Minimum array length: 1

Response

Returns a message indicating the success/failure of Bills approval

message
string

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