RepeatingInvoice
Replaces the RepeatingInvoice resource.
Replaces the RepeatingInvoice resource.
put/repeating_invoices/{id}
Path parameters
idstring required
Resource identifier
Request body
Example request
{
"id": "xero-01e01427-6b48-4d5f-aa2e-87c43f2a32a9",
"integration": "quickbooks",
"srcId": "01e01427-6b48-4d5f-aa2e-87c43f2a32a9",
"period": 1,
"unit": "MONTHLY",
"dueDate": "0",
"dueDateType": "DAYSAFTERBILLDATE",
"startDate": "2021-02-27 00:00:00",
"nextScheduledDate": "2021-07-28 00:00:00",
"type": "ACCPAY",
"reference": "AP",
"contactId": "3b30a108-9156-4a42-a893-3bbbe7af1ef8",
"contactName": "Xero",
"status": "AUTHORISED",
"lineAmountTypes": "Exclusive",
"lineItemDescription": "Monthly subscription",
"lineItemUnitAmount": 29,
"lineItemTaxType": "INPUT",
"lineAmount": 29,
"lineItemAccountCode": "412",
"lineItemQuantity": 1,
"lineItemId": "304e5b38-d62f-4c43-91d2-24786154c3c0",
"subTotal": 2900,
"totalTax": 239,
"total": 3139,
"currencyCode": "USD",
"recurrenceName": "412",
"endDate": "2022-07-28 00:00:00",
"lastSentDate": "2021-08-28 00:00:00",
"paidInvoicesTotal": 1000,
"unpaidInvoicesBalance": 2139,
"discount": 412,
"billingStreet": "123 lonecrest drive",
"billingStreet2": "412 fuller cres",
"billingCity": "Toronto",
"billingState": "Ontario",
"billingPostalCode": "H6F 3F6",
"billingCountry": "Canada",
"created": "2021-07-28 00:00:00",
"modified": "2021-09-15 00:00:00"
}Response
RepeatingInvoice resource updated
Example response
{
"id": "xero-01e01427-6b48-4d5f-aa2e-87c43f2a32a9",
"integration": "quickbooks",
"srcId": "01e01427-6b48-4d5f-aa2e-87c43f2a32a9",
"period": 1,
"unit": "MONTHLY",
"dueDate": "0",
"dueDateType": "DAYSAFTERBILLDATE",
"startDate": "2021-02-27 00:00:00",
"nextScheduledDate": "2021-07-28 00:00:00",
"type": "ACCPAY",
"reference": "AP",
"contactId": "3b30a108-9156-4a42-a893-3bbbe7af1ef8",
"contactName": "Xero",
"status": "AUTHORISED",
"lineAmountTypes": "Exclusive",
"lineItemDescription": "Monthly subscription",
"lineItemUnitAmount": 29,
"lineItemTaxType": "INPUT",
"lineAmount": 29,
"lineItemAccountCode": "412",
"lineItemQuantity": 1,
"lineItemId": "304e5b38-d62f-4c43-91d2-24786154c3c0",
"subTotal": 2900,
"totalTax": 239,
"total": 3139,
"currencyCode": "USD",
"recurrenceName": "412",
"endDate": "2022-07-28 00:00:00",
"lastSentDate": "2021-08-28 00:00:00",
"paidInvoicesTotal": 1000,
"unpaidInvoicesBalance": 2139,
"discount": 412,
"billingStreet": "123 lonecrest drive",
"billingStreet2": "412 fuller cres",
"billingCity": "Toronto",
"billingState": "Ontario",
"billingPostalCode": "H6F 3F6",
"billingCountry": "Canada",
"created": "2021-07-28 00:00:00",
"modified": "2021-09-15 00:00:00"
}