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 the query service to find objects that meet certain criteria and to specify properties that are returned.
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.
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 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.
key required | string System-assigned key for the recurring invoice. Example: 99 |
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"
}, - "scheduledOperation": {
- "id": "7",
- "key": "7",
- "href": "/objects/core/scheduled-operation/7"
}, - "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": {
- "txnCount": "5",
- "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",
- "entity": {
- "key": null,
- "id": null,
- "name": null
}
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing recurring invoice by setting field values. Any fields not provided remain unchanged.
key required | string System-assigned key for the recurring invoice. Example: 99 |
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 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.
key required | string System-assigned key for the recurring invoice. Example: 99 |
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
}
}