Skip to main content
GET
/
accounting
/
receivables
/
{invoice_id}
Get invoice details from accounting system
curl --request GET \
  --url https://api.sandbox.monite.com/v1/accounting/receivables/{invoice_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'x-monite-entity-id: <x-monite-entity-id>' \
  --header 'x-monite-version: <x-monite-version>'
{
  "id": "<string>",
  "currency": "EUR",
  "currency_rate": 123,
  "customer_ref": {
    "id": "120",
    "company_name": "Acme Inc."
  },
  "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>",
  "pass_through": {},
  "posted_date": "2023-12-25"
}

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

invoice_id
string
required

An internal ID of the invoice in the accounting system. You can get these IDs from GET /accounting/receivables.

Response

Successful Response

Invoice details retrieved from an accounting system.

id
string

An internal identifier of the invoice in the accounting system.

currency
string

ISO-4217 currency code of the invoice.

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.

customer_ref
object

Information about the customer that the invoice was sent to.

due_date

Invoice due date.

invoice_number
string

Invoice document number.

lines
object[]
memo
string

Any additional information or business notes about the invoice.

pass_through
object

An object containing additional invoice data returned by the accounting system. This sometimes includes custom invoice fields.

posted_date
string<date>

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