get https://api.mercury.com/api/v1/ar/invoices
Returns all invoices for your organization.
Response Schema
{
"invoices": [
{
"id": string,
"dueDate": date,
"invoiceDate": date,
"invoiceNumber": string,
"poNumber": string | null,
"payerMemo": string | null,
"internalNote": string | null,
"customerId": string,
"ccEmails": [string],
"slug": string,
"status": "Unpaid" | "Paid" | "Cancelled",
"amount": decimal,
"destinationAccountId": string,
"creditCardEnabled": boolean,
"achDebitEnabled": boolean,
"useRealAccountNumber": boolean,
"lineItems": [
{
"name": string,
"unitPrice": number,
"quantity": number,
"salesTaxRate": number,
}
],
"createdAt": date-time,
"updatedAt": date-time,
"canceledAt": date-time | null,
}
]
}