| Method and Path | Description | ||
|---|---|---|---|
| PUT | /v1/invoices | Insert an invoice |
|
| GET | /v1/invoices | Find an invoice by invoice_number or po_number. If neither is provided, returns all invoices. |
|
Interfaces: None
An invoice
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| id | integer | No | - | Unique identifier for an invoice
|
| invoice_number | string | Yes | - | The invoice number associated with the invoice
|
| po_number | string | Yes | - | The purchase number associated with the invoice
|
| due_date | date-iso8601 | Yes | - | When invoice payment is due
|
| amount_cents | long | Yes | - | Total amount of invoice in US cents
|
| created_at | date-time-iso8601 | No | - | Invoice creation timestamp
|