An invoice represents the business transaction between a sub-merchant and a customer. In Resolve, an invoice must be tied to both a customer and a sub-merchant. An advance can be taken on the invoice.
When creating an invoice, the merchant_id field is required and must reference a valid sub-merchant under your partner account.
For an advance to be taken on the invoice, a PDF of the invoice must be uploaded and the associated customer must be approved and have available credit for the amount of the invoice.
Return a list of invoices across your sub-merchants.
Filter invoices by the specified fields.
Filter semantics: filter[field][operator]=value.
Available filter operators:
eq- equal (=)ne- not equal (!=)gt- greater than (>)gte- greater than or equal (>=)lt- less than (<)lte- less than or equal (<=)
Filtering is allowed by the following fields:
merchant_id(eq) - filter by sub-merchant IDnumber(eq)order_number(eq)po_number(eq)customer_id(eq)advance_requested(eq)created_at(eq,gt,lt,gte,lte)fully_paid(eq,ne)fully_paid_at(eq,gt,lt,gte,lte)amount_due(eq,gt,lt,gte,lte)amount_balance(eq,gt,lt,gte,lte)amount_scheduled(eq,gt,lt,gte,lte)amount_pending(eq,gt,lt,gte,lte)amount_refunded(eq,gt,lt,gte,lte)archived(eq,ne)
Example: filter[merchant_id][eq]=MER456789
Note: filter with the eq operator is equivalent to the following filter filter[field]=value
- Mock serverhttps://docs.resolvepay.com/_mock/partners-api/openapi/invoices
- Sandbox serverhttps://app-sandbox.resolvepay.com/api/invoices
- bearerAuth
- basicAuth
curl -i -X GET \
'https://docs.resolvepay.com/_mock/partners-api/openapi/invoices?limit=25&page=1&filter=%7B%22merchant_id%22%3A%7B%22eq%22%3A%22string%22%7D%2C%22number%22%3A%7B%22eq%22%3A%22string%22%7D%2C%22order_number%22%3A%7B%22eq%22%3A%22string%22%7D%2C%22po_number%22%3A%7B%22eq%22%3A%22string%22%7D%2C%22customer_id%22%3A%7B%22eq%22%3A%22string%22%7D%2C%22created_at%22%3A%7B%22eq%22%3A%222019-08-24T14%3A15%3A22Z%22%2C%22gt%22%3A%222019-08-24T14%3A15%3A22Z%22%2C%22lt%22%3A%222019-08-24T14%3A15%3A22Z%22%2C%22gte%22%3A%222019-08-24T14%3A15%3A22Z%22%2C%22lte%22%3A%222019-08-24T14%3A15%3A22Z%22%7D%2C%22fully_paid%22%3A%7B%22eq%22%3Atrue%2C%22ne%22%3Atrue%7D%2C%22fully_paid_at%22%3A%7B%22eq%22%3A%222019-08-24T14%3A15%3A22Z%22%2C%22gt%22%3A%222019-08-24T14%3A15%3A22Z%22%2C%22lt%22%3A%222019-08-24T14%3A15%3A22Z%22%2C%22gte%22%3A%222019-08-24T14%3A15%3A22Z%22%2C%22lte%22%3A%222019-08-24T14%3A15%3A22Z%22%7D%2C%22amount_due%22%3A%7B%22eq%22%3A0%2C%22gt%22%3A0%2C%22lt%22%3A0%2C%22gte%22%3A0%2C%22lte%22%3A0%7D%2C%22amount_balance%22%3A%7B%22eq%22%3A0%2C%22gt%22%3A0%2C%22lt%22%3A0%2C%22gte%22%3A0%2C%22lte%22%3A0%7D%2C%22amount_pending%22%3A%7B%22eq%22%3A0%2C%22gt%22%3A0%2C%22lt%22%3A0%2C%22gte%22%3A0%2C%22lte%22%3A0%7D%2C%22amount_refunded%22%3A%7B%22eq%22%3A0%2C%22gt%22%3A0%2C%22lt%22%3A0%2C%22gte%22%3A0%2C%22lte%22%3A0%7D%2C%22amount_scheduled%22%3A%7B%22eq%22%3A0%2C%22gt%22%3A0%2C%22lt%22%3A0%2C%22gte%22%3A0%2C%22lte%22%3A0%7D%2C%22archived%22%3A%7B%22eq%22%3Atrue%2C%22ne%22%3Atrue%7D%7D' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "count": 1, "limit": 25, "page": 1, "results": [ { … } ] }