Authorizations
Oauth 2.0 authentication
Query Parameters
The page number to be retrieved, for the list of templates. So, a combination of page=1
and page_size=20
returns the first 20 templates. A combination of page=2
and page_size=20
returns the next 20 templates.
1 <= x <= 1000
The maximum number of templates to return in the response.
1 <= x <= 100
Indicates whether the to show <code>total_pages</code> and <code>total_items</code> in the response.
Body
The invoice search can be used to retrieve the invoices based on the search parameters.
The invoice search parameters.
Filters the search by the email address.
254
Filters the search by the recipient first name.
140
Filters the search by the recipient last name.
140
Filters the search by the recipient business name.
300
Filters the search by the invoice number.
25
An array of status values.
5
The reference data. Includes a Purchase Order (PO) number.
120
The three-character ISO-4217 currency code that identifies the currency.
3
A private bookkeeping memo for the user.
500
Filters the search by the total amount.
Filters the search by a date range for the invoice, in Internet date and time format.
Filters the search by a due date range for the invoice, in Internet date and time format.
The date and time range. Filters invoices by creation date, invoice date, due date, and payment date.
Filters the search by a creation date range for the invoice, in Internet date and time format.
Indicates whether to list merchant-archived invoices in the response. Value is:<ul><li><code>true</code>. Response lists only merchant-archived invoices.</li><li><code>false</code>. Response lists only unarchived invoices.</li><li><code>null</code>. Response lists all invoices.</li></ul>
A CSV file of fields to return for the user, if available. Because the invoice object can be very large, field filtering is required. Valid collection fields are <code>items</code>, <code>payments</code>, <code>refunds</code>, <code>additional_recipients_info</code>, and <code>attachments</code>.
5
The name of the field.
Response
A successful request returns the HTTP 200 OK
status code and a JSON response body that lists the invoices that match the search criteria.
An array of merchant invoices. Includes the total invoices count and HATEOAS links for navigation.
The total number of pages that are available for the search criteria. <blockquote><strong>Note:</strong> Clients MUST NOT assume that the value of total_pages is constant. The value MAY change from one request to the next</blockquote>
0 <= x <= 2147483647
The total number of invoices that match the search criteria.<blockquote><strong>Note:</strong> Clients MUST NOT assume that the value of <code>total_items</code> is constant. The value MAY change from one request to the next.</blockquote>
0 <= x <= 2147483647
The list of invoices that match the search criteria.
100