Recurring invoices are invoices that repeat at periods and durations that you define in the recurrence schedule.
Returns a collection with a key, ID, and link for each recurring invoice. This operation is mostly for use in testing; use query to find objects that meet certain criteria and to specify properties that are returned.
Subscription | Accounts Receivable |
---|---|
User type | Business/Admin, Employee, Project Manager, Warehouse, Approver |
Permissions | List, View Recurring invoices |
OK
Bad Request
{- "ia::result": [
- {
- "key": "3",
- "id": "3",
- "href": "/objects/accounts-receivable/recurring-invoice/3"
}, - {
- "key": "4",
- "id": "4",
- "href": "/objects/accounts-receivable/recurring-invoice/4"
}, - {
- "key": "7",
- "id": "7",
- "href": "/objects/accounts-receivable/recurring-invoice/7"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Creates a new recurring invoice.
Subscription | Accounts Receivable |
---|---|
User type | Business/Admin, Employee, Approver |
Permissions | List, View, Add Recurring invoices |
invoiceNumber required | string Each occurrence of the invoice is numbered incrementally based on the sequence type defined in Company Setup - Document Sequence. Example: "AR-INV" | ||||||||||||||||||||||||||||||||||||||||
object Tax solution details for this invoice. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
description | string or null Description of the recurring invoice. Example: "Monthly premium subscription" | ||||||||||||||||||||||||||||||||||||||||
referenceNumber | string A number, such as a purchase order or account number, that may be useful in searches for or reports on this invoice. Example: "PO1223" | ||||||||||||||||||||||||||||||||||||||||
object Settings that establish the recurrence schedule. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
object Payment terms, which are used to calculate due date, discounts, and penalties associated with this invoice. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
object Message to include on the customer's invoice. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
txnTotalEntered | string <decimal-precision-2> Total transaction amount entered. Example: "100" | ||||||||||||||||||||||||||||||||||||||||
object Contacts for the invoice. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
object Customer to receive the invoice. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
object List of payments on the recurring AR invoice. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
object Supporting document for the invoice. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
Array of objects Line items of the invoice. | |||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" |
Created
Bad Request
{- "description": "Monthly premium subscription",
- "term": {
- "key": "25"
}, - "invoiceNumber": "AR-INV",
- "referenceNumber": "PO1223",
- "customer": {
- "key": "10"
}, - "currency": {
- "txnCurrency": "USD",
- "baseCurrency": "USD"
}, - "payment": {
- "paymentMethod": "onlineChargeCard",
- "payInFull": true,
- "accountType": "bank",
- "bankAccountID": "BOA"
}, - "schedule": {
- "startDate": "2024-03-11",
- "repeatBy": "month",
- "repeatInterval": "2"
}, - "lines": [
- {
- "description": "line 1",
- "glAccount": {
- "key": "194"
}, - "txnAmount": "250.00"
}
]
}
{- "ia::result": {
- "id": "4",
- "key": "4",
- "href": "/objects/accounts-receivable/recurring-invoice/4"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Returns detailed information for a specified recurring invoice.
Subscription | Accounts Receivable |
---|---|
User type | Business/Admin, Employee, Project Manager, Warehouse, Approver |
Permissions | List, View Recurring invoices |
key required | string System-assigned key for the recurring invoice. |
OK
Bad Request
{- "ia::result": {
- "id": "24",
- "key": "24",
- "description": "nextGen Recurr",
- "audit": {
- "createdDateTime": "2024-09-24T00:00:00Z",
- "modifiedDateTime": "2024-09-24T14:18:18Z",
- "createdBy": "1",
- "modifiedBy": "1"
}, - "term": {
- "key": "15",
- "id": "Due upon pay",
- "href": "/objects/accounts-receivable/term/15"
}, - "invoiceNumber": "Adjustment Decrease",
- "totalEntered": "440.00",
- "referenceNumber": null,
- "status": "active",
- "customer": {
- "name": "Power Aerospace Materials",
- "key": "1",
- "id": "1",
- "href": "/objects/accounts-receivable/customer/1"
}, - "contract": {
- "id": null,
- "description": null
}, - "contacts": {
- "billTo": {
- "key": "128",
- "id": "Power Aerospace Materials(C1)",
- "href": "/objects/company-config/contact/128"
}, - "shipTo": {
- "key": "128",
- "id": "Power Aerospace Materials(C1)",
- "tax": {
- "group": {
- "id": null,
- "key": null
}, - "taxId": null
}, - "href": "/objects/company-config/contact/128"
}
}, - "currency": {
- "txnCurrency": "AUD",
- "baseCurrency": "AUD",
- "exchangeRateTypeId": "",
- "exchangeRate": 1
}, - "txnTotalEntered": "440.00",
- "customerMessage": {
- "key": null,
- "id": null,
- "message": null
}, - "payment": {
- "paymentMethod": "none",
- "payInFull": true,
- "paymentAmount": null,
- "customerCreditCard": {
- "key": null,
- "id": null
}, - "creditCardType": null,
- "accountType": null,
- "bankAccountID": null,
- "undepositedFundsAccountId": null
}, - "schedule": {
- "startDate": "2024-09-24",
- "endDate": null,
- "nextExecutionDate": "2024-09-25",
- "lastExecutionDate": "2024-09-24",
- "repeatCount": "3",
- "repeatBy": "day",
- "repeatInterval": "1"
}, - "taxSolution": {
- "key": "1",
- "id": "Australia - GST",
- "href": "/objects/tax/tax-solution/1"
}, - "attachment": {
- "id": "atch1",
- "key": null
}, - "lines": [
- {
- "id": "51",
- "key": "51",
- "recurringInvoice": {
- "id": "24",
- "key": "24",
- "href": "/objects/accounts-receivable/recurring-invoice/24"
}, - "offsetGLAccount": {
- "key": null
}, - "description": "line 1",
- "glAccount": {
- "key": "254",
- "id": "6103",
- "name": "Bonuses",
- "href": "/objects/general-ledger/account/254"
}, - "amount": "400.00",
- "dimensions": {
- "location": {
- "id": "4",
- "name": "Australia"
}, - "department": {
- "id": null,
- "name": null
}, - "project": {
- "key": null,
- "id": null,
- "name": null
}, - "customer": {
- "key": null,
- "id": null,
- "name": null
}, - "vendor": {
- "key": null,
- "id": null,
- "name": null
}, - "employee": {
- "key": null,
- "id": null,
- "name": null
}, - "item": {
- "key": null,
- "id": null,
- "name": null
}, - "class": {
- "key": null,
- "id": null,
- "name": null
}
}, - "lineNumber": 0,
- "accountLabel": {
- "id": "Bonuses",
- "key": "35",
- "href": "/objects/accounts-receivable/account-label/35"
}, - "currency": {
- "txnCurrency": "AUD",
- "baseCurrency": "AUD",
- "exchangeRateDate": null,
- "exchangeRateTypeId": null,
- "exchangeRate": 1
}, - "txnAmount": "400.00",
- "allocation": {
- "key": null,
- "id": null
}, - "isBillable": null,
- "audit": {
- "createdDateTime": "2024-09-24T14:18:18Z",
- "modifiedDateTime": "2024-09-24T14:18:18Z",
- "createdBy": "1",
- "modifiedBy": "1"
}, - "deferredRevenueGLAccount": {
- "key": null,
- "id": null,
- "name": null
}, - "startDate": null,
- "endDate": null,
- "taxDetail": {
- "taxRate": null,
- "id": null,
- "key": null
}, - "isTax": false,
- "isSubTotal": null,
- "taxEntries": [
- {
- "txnTaxAmount": "40.00",
- "baseTaxAmount": "40.00",
- "orderEntryTaxDetail": {
- "id": "G1 Goods and Services Tax",
- "key": "20",
- "href": "/objects/tax/order-entry-tax-detail/20"
}, - "id": "52",
- "key": "52",
- "taxRate": 10,
- "href": "/objects/accounts-receivable/recurring-invoice-tax-entry/52"
}
], - "totalTxnAmount": "440.00",
- "href": "/objects/accounts-receivable/recurring-invoice-line/51"
}
], - "href": "/objects/accounts-receivable/recurring-invoice/24"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing recurring invoice by setting field values. Any fields not provided remain unchanged.
Subscription | Accounts Receivable |
---|---|
User type | Business |
Permissions | List, View, Edit Recurring invoices |
key required | string System-assigned key for the recurring invoice. |
invoiceNumber | string Each occurrence of the invoice is numbered incrementally based on the sequence type defined in Company Setup - Document Sequence. Example: "AR-INV" | ||||||||||||||||||||||||||||||||||||||||
object Tax solution details for this invoice. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
description | string or null Description of the recurring invoice. Example: "Monthly premium subscription" | ||||||||||||||||||||||||||||||||||||||||
referenceNumber | string A number, such as a purchase order or account number, that may be useful in searches for or reports on this invoice. Example: "PO1223" | ||||||||||||||||||||||||||||||||||||||||
object Settings that establish the recurrence schedule. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
object Payment terms, which are used to calculate due date, discounts, and penalties associated with this invoice. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
object Message to include on the customer's invoice. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
txnTotalEntered | string <decimal-precision-2> Total transaction amount entered. Example: "100" | ||||||||||||||||||||||||||||||||||||||||
object Contacts for the invoice. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
object Customer to receive the invoice. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
object List of payments on the recurring AR invoice. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
object Supporting document for the invoice. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
Array of objects Line items of the invoice. | |||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" |
OK
Bad Request
{- "description": "Renewed subscription for 2024",
- "status": "active"
}
{- "ia::result": {
- "id": "4",
- "key": "4",
- "href": "/objects/accounts-receivable/recurring-invoice/4"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Deletes a recurring invoice. If a recurring invoice is no longer in use, you can delete it instead of ending the recurring schedule. For example, if a contract with a customer is permanently canceled, you can delete the recurring invoice for that customer.
Subscription | Accounts Receivable |
---|---|
User type | Business |
Permissions | List, View, Edit, Delete Recurring invoices |
key required | string System-assigned key for the recurring invoice. |
No Content
Bad Request
{- "ia::result": {
- "ia::error": {
- "code": "invalidRequest",
- "message": "A POST request requires a payload",
- "errorId": "REST-1028",
- "additionalInfo": {
- "messageId": "IA.REQUEST_REQUIRES_A_PAYLOAD",
- "placeholders": {
- "OPERATION": "POST"
}, - "propertySet": { }
}, - "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
}
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 0,
- "totalError": 1
}
}
Queries an object for filtered data.
object | string Object type to query, in the form Example: "accounts-receivable/recurring-invoice" | ||||||||
fields | Array of strings List of fields to include in the response. Can be any combination of these:
Example: ["key","id","max:vendor.creditLimit"] | ||||||||
Array of equal (object) or not equal (object) or less than (object) or (less than or equal (object)) or greater than (object) or (greater than or equal (object)) or in (object) or not in (object) or between (object) or not between (object) or contains (object) or does not contain (object) or starts with (object) or does not start with (object) or ends with (object) or does not end with (object) Filter conditions to select the objects to return based on their field values. You use operators and conditions to build your filter, such as Example: [{"$eq":{"status":"active"}},{"$gt":{"totalDue":"1000"}},{"$contains":{"name":"Acme"}}] | |||||||||
Array Any of: Field value must be equal to this specified value. For date fields, you can use these macro values that are relative to the current date or the
These are most useful for queries that you want to save and use repeatedly, such as for views or reports. Just change the For example,
| |||||||||
filterExpression | string Default: "and" Logical operators to apply when there are multiple filter conditions. The conditions in the Shortcuts:
Example: "(1 and 2) or 3" | ||||||||
| |||||||||
Array of objects Set the order of the results by specifying field names to sort by and whether they should be in ascending or descending order. Example: [{"totalDue":"asc"},{"lastPaymentMadeDate":"desc"}] | |||||||||
Array
| |||||||||
start | integer First record of the result set to include in the response. Example: 1 | ||||||||
size | integer Number of records to include in the response. Example: 100 |
OK
Bad Request
{- "object": "accounts-receivable/recurring-invoice",
- "filters": [
- {
- "$eq": {
- "status": "active"
}
}
], - "fields": [
- "key",
- "id",
- "customer.name",
- "contract.id",
- "schedule.nextExecutionDate"
], - "orderBy": [
- {
- "id": "asc"
}
]
}
{- "ia::result": [
- {
- "key": "3",
- "id": "3",
- "customer.name": "CC Pharmaceuticals",
- "contract.id": "CON-2",
- "schedule.nextExecutionDate": "2024-09-05"
}, - {
- "key": "4",
- "id": "4",
- "customer.name": "University Schematics",
- "contract.id": "CON-41",
- "schedule.nextExecutionDate": "2025-01-05"
}, - {
- "key": "5",
- "id": "5",
- "customer.name": "Go Go Rentals",
- "contract.id": "CON-13",
- "schedule.nextExecutionDate": "2024-11-15"
}, - {
- "key": "9",
- "id": "9",
- "customer.name": "Synergy Sales Solutions",
- "contract.id": "CON-6",
- "schedule.nextExecutionDate": "2024-08-16"
}, - {
- "key": "10",
- "id": "10",
- "customer.name": "New Age Oil & Gas Corp",
- "contract.id": "CON-420",
- "schedule.nextExecutionDate": "2024-11-30"
}
], - "ia::meta": {
- "totalCount": 5,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}