orders

Get invoices for an order

Retrieves all invoices associated with a specific order.

get/orders/{orderId}/invoices

Request

  • Base URL: https://api.agentpaid.io/api/v1
  • URL: https://api.agentpaid.io/api/v1/orders/{orderId}/invoices
  • Auth: HTTP bearer

Path parameters

orderIdstring required

The order ID (can be internal ID or display ID)

Response

Success response

idstring uuid
displayIdstring

Human-readable invoice number

organizationIdstring uuid
customerIdstring uuid
orderIdstring uuid
status'draft' | 'open' | 'paid' | 'void' | 'uncollectible'
currencystring
subtotalnumber double

Total before tax (in smallest currency unit)

taxnumber double

Tax amount (in smallest currency unit)

totalnumber double

Total amount including tax (in smallest currency unit)

amountPaidnumber double

Amount already paid (in smallest currency unit)

amountDuenumber double

Amount still due (in smallest currency unit)

dueDatestring date-time
paidAtstring date-time nullable
voidedAtstring date-time nullable
createdAtstring date-time
updatedAtstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.