[["USD", "20.00"]]).
The list endpoint returns invoice metadata only (for building a grouped overview), while the retrieve endpoint additionally returns the orders on the invoice.
Fields
number: integer
Attributes: Unique
The invoice identifier, shown to merchants as Invoice #. Use it to retrieve a single invoice.
status: enum<string>
Current status of the invoice. Values:
PENDING_PAYMENT— Pending PaymentPAYMENT_SCHEDULED— Payment ScheduledCOLLECTED_BY_DRIVER— Collected By DriverIN_PROGRESS— In ProgressPAID— PaidAWAITING_RETURN— Awaiting ReturnFAILED— FailedCANCELLED— Cancelled
status_display: string
- Attributes: List endpoint only
status (e.g. "Pending Payment").
issued_at: string
ISO 8601 datetime when the invoice was issued.
order_count: integer
- Attributes: List endpoint only
cod: array
Attributes: Read-only
Total cash-on-delivery across the invoice’s orders, as currency/amount pairs.
delivery_fee: array
Attributes: Read-only
Total delivery fees across the invoice’s orders, as currency/amount pairs.
net_due_to_merchant: array
Attributes: Read-only
Net amount owed to the merchant (COD minus delivery fees), as currency/amount pairs.
orders: array<object>
- Attributes: Retrieve endpoint only
order_id:string— the Order identifierreference_id:string— the merchant’s reference for the orderworkflow:string—STANDARDorRETURNdelivery_state:string— the order’sdelivery_statepayment_state:string— the order’spayment_statecod:array— amount to collect from the customer, as currency/amount pairsdelivery_fee:array— the courier’s delivery charge, as currency/amount pairs
Example
List item (GET /invoices/):
GET /invoices/{number}/):
The list endpoint (
GET /invoices/) returns results wrapped in a pagination envelope: { "count", "next", "previous", "results": [ ... ] }. It also accepts year and month query filters.