Criteria for filtering collection items. This field requires a special format. Use , to specify multiple allowed values. Use ; to specify multiple fields.
For more information, see Search filters.
Retrieves a list of invoices. Each invoice in the list includes up to 10 of the most recent transactions in transactions. To retrieve transactions for an invoice, use Retrieve transactions with the invoiceIds filter. Search results can lag briefly behind a write.
Criteria for filtering collection items. This field requires a special format. Use , to specify multiple allowed values. Use ; to specify multiple fields.
For more information, see Search filters.
Expands a request to include embedded objects within the _embedded property of the response. This field accepts a comma-separated list of objects.
For more information, see Embedded resources.
curl -i -X GET \
'https://www.rebilly.com/_mock/catalog/all/invoices?filter=string&sort=string&limit=0&offset=0&q=string&expand=string' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE'Total number of items that match the request. The value is independent of limit, including when limit is 0.
ID of the website. A website is where an organization obtains a customer. For more information, see Obtain an organization ID and website ID.
ID of the order (experimental).
ID of the related subscription order, if available. This field is null if there are no related subscription orders.
ID of the related quote, if available. This field is null if there are no related quotes.
Date and time when an automatic payment (autopay) is scheduled.
Number of times that an automatic payment (autopay) has been attempted on an invoice.
URL where the customer is redirected to pay the invoice using one of the methods which are available to the customer. This is an alternative to creating a new transaction with empty methods.
Up to 10 of the most recent transactions for the invoice. To retrieve transactions for an invoice, use Retrieve transactions with the invoiceIds filter. Search results can lag briefly behind a write.
Unique organization identifier. An organization is an entity that represents a company. For more information, see Obtain an organization ID.
Date and time when the related order is considered delinquent, and is canceled. If this value is null, no delinquency time is configured. If the dueTime of the order becomes greater than the delinquencyTime value, the delinquencyTime value becomes equal to dueTime.
If an invoice is not related to an order, this field can only be null.
[ { "id": "in_0YVF9605RKC62BP14NE2R7V2XT", "websiteId": "web_0YV7DE4Z26DQSA1AC92FBJ7SEG", "invoiceNumber": 0, "orderId": "ord_01HVKA5975PJBSQ1SX72G3MSZC", "subscriptionId": "sub_01HRF27SATGE4Z6PBJE6PD8328", "quoteId": "qt_01HXBZMEGPETPHJZH6V4RHBMA8", "currency": "USD", "amount": 0.1, "amountDue": 0.1, "subtotalAmount": 0.1, "discountAmount": 0.1, "shipping": { … }, "tax": { … }, "organizationTaxIdNumber": { … }, "customerTaxIdNumber": { … }, "billingAddress": { … }, "deliveryAddress": { … }, "poNumber": "PO123456", "notes": "string", "items": [ … ], "discounts": [ … ], "autopayScheduledTime": "2019-08-24T14:15:22Z", "autopayRetryNumber": 0, "status": "draft", "delinquentCollectionPeriod": 0, "collectionPeriod": 0, "abandonedTime": "2019-08-24T14:15:22Z", "voidedTime": "2019-08-24T14:15:22Z", "paidTime": "2019-08-24T14:15:22Z", "dueTime": "2019-08-24T14:15:22Z", "issuedTime": "2019-08-24T14:15:22Z", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "paymentFormUrl": "http://example.com", "creditMemoAllocations": [ … ], "isNewOrder": true, "customerId": "cus_0YV7DDSDD1C8DA64KHH2W33CPF", "transactions": [ … ], "retryInstruction": { … }, "revision": 0, "type": "initial", "dueReminderTime": "2019-08-24T14:15:22Z", "dueReminderNumber": 0, "organizationId": "org_0YVDM8RC7GDADADSBSMW124JA8", "delinquencyTime": null, "_links": [ … ], "_embedded": { … } } ]