Update repeating invoice
documentedUpdate a repeating invoice.
PUT /RepeatingInvoices/{RepeatingInvoiceID}RepeatingInvoicesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.xero.com/api.xro/2.0/RepeatingInvoices/{{$RepeatingInvoiceID}}" \
-X PUT \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "xero-tenant-id: {{XERO_TENANT_ID}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Idempotency-Key: {{IDEMPOTENCY_KEY}}" \
-d '{"repeatingInvoices": [ {"Type": "{{$Type}}", "Contact": {"ContactID": "{{$ContactID}}"}, "Schedule": {"Period": {{$Period}}, "Unit": "{{$Unit}}", "StartDate": "{{$StartDate}}", "DueDate": {{$DueDate}}, "DueDateType": "{{$DueDateType}}"}, "LineItems": [ {"Description": "{{$Description}}", "Quantity": {{$Quantity}}, "UnitAmount": {{$UnitAmount}}, "AccountCode": "{{$AccountCode}}" } ], "LineAmountTypes": "{{$LineAmountTypes}}", "Status": "{{$Status}}" } ] }'"