Delete invoice allocation
documentedDelete an allocation for an invoice.
DELETE /Invoices/{InvoiceID}/Allocations/{AllocationID}Invoicesno 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/Overpayments/{{$OverpaymentID}}/Allocations/{{$AllocationID}}" \
-X DELETE \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "xero-tenant-id: {{XERO_TENANT_ID}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
&& npx -y keychains@latest curl "https://api.xero.com/api.xro/2.0/CreditNotes/{{$CreditNoteID}}/Allocations/{{$AllocationID}}" \
-X DELETE \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "xero-tenant-id: {{XERO_TENANT_ID}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
&& npx -y keychains@latest curl "https://api.xero.com/api.xro/2.0/Prepayments/{{$PrepaymentID}}/Allocations/{{$AllocationID}}" \
-X DELETE \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "xero-tenant-id: {{XERO_TENANT_ID}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"