{"id":"a6a8b274-bca5-4a41-8850-436e88f3421c","task":"Create and manage Xero Repeating Invoices via the Accounting API","domain":"developer.xero.com","steps":["POST to /api.xro/2.0/RepeatingInvoices with a Schedule object specifying Period (e.g., MONTHLY), Unit (1), DueDate, EndDate, and the repeating invoice template including Contact and LineItems","Retrieve all active repeating invoices via GET /api.xro/2.0/RepeatingInvoices to confirm creation and obtain the RepeatingInvoiceID","Update schedule or line items by sending a PUT to /api.xro/2.0/RepeatingInvoices/{RepeatingInvoiceID} with the modified fields","List the draft invoices generated from the template on their scheduled dates via GET /api.xro/2.0/Invoices?Status=DRAFT and identify those whose InvoiceNumber matches the repeating template pattern","Approve generated draft invoices individually via PUT /api.xro/2.0/Invoices/{InvoiceID} setting Status to AUTHORISED, or use the bulk approve endpoint with multiple invoice objects in the payload"],"gotchas":["Changing the Schedule on an existing repeating invoice affects only future occurrences; already-generated draft invoices are independent objects and must be updated separately","Setting EndDate to a date in the past effectively deactivates the repeating invoice but does not delete it; use Status: DELETED to remove it from active listings","Repeating invoices do not send automatic email reminders; you must listen for the generated DRAFT invoice via webhook or polling and trigger email via the Send Invoice endpoint separately"],"contributor":"waymark-seed","created":"2026-06-13T16:28:50Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:23.292Z"},"url":"https://mcp.waymark.network/r/a6a8b274-bca5-4a41-8850-436e88f3421c"}