Skip to main content
GET
/
accounting
/
payables
/
{payable_id}
Get payable details from accounting system
curl --request GET \
  --url https://api.sandbox.monite.com/v1/accounting/payables/{payable_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'x-monite-entity-id: <x-monite-entity-id>' \
  --header 'x-monite-version: <x-monite-version>'
{
  "id": "<string>",
  "status": "paid",
  "total_amount": 123,
  "amount_due": 123,
  "currency": "EUR",
  "currency_rate": 123,
  "due_date": "2023-11-07T05:31:56Z",
  "invoice_number": "<string>",
  "lines": [
    {
      "description": "Logo design",
      "discount_amount": 123,
      "discount_percentage": 123,
      "ledger_account_id": "<string>",
      "quantity": 123,
      "tax_rate_ref": {
        "id": "<string>"
      },
      "unit_amount": 123
    }
  ],
  "memo": "<string>",
  "posted_date": "2023-12-25",
  "purchase_order_refs": [
    {
      "id": "10",
      "name": "PO-1234"
    }
  ],
  "subtotal": 123,
  "tax_amount": 123,
  "vendor_ref": {
    "id": "120",
    "name": "Acme Inc."
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-monite-version
string<date>
required
x-monite-entity-id
string<uuid>
required

The ID of the entity that owns the requested resource.

Example:

"9d2b4c8f-2087-4738-ba91-7359683c49a4"

Path Parameters

payable_id
string
required

An internal ID of the payable invoice (bill) in the accounting system. You can get these IDs from GET /accounting/payables.

Response

Successful Response

Details of an accounts payable invoice (bill) retrieved from an accounting system.

id
string
required

An internal identifier of the payable in the accounting system.

status
string
required

The status of the payable in the accounting system. Possible values: open, draft, partially_paid, paid, unknown, void.

Example:

"paid"

total_amount
number
required

The total amount payable, including discounts and VAT/taxes.

amount_due
number

Remaining amount to be paid.

currency
string

ISO-4217 currency code of the payable.

Example:

"EUR"

currency_rate
number

Rate to convert the total amount of the transaction into the entity's base currency at the time of the transaction.

due_date

The payable's due date.

invoice_number
string

Invoice number of the payable.

lines
object[]
memo
string

Any additional information or business notes about the payable.

posted_date
string<date>

Date when the payable was added to the accounting service. This may differ from the payable creation date.

purchase_order_refs
object[]

A list of purchase orders linked to the payable, if any.

subtotal
number

Amount payable, including discounts but excluding VAT/taxes.

tax_amount
number

Total VAT or tax amount.

vendor_ref
object

Information about the vendor from whom the payable was received.