Sign in

Update overpayment

documented

Update an overpayment.

PUT /Overpayments/{OverpaymentID}Overpaymentsno implementation yet0 runs
No 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/{{$overpayment_id}}/Allocations?summarizeErrors={{$summarize_errors}}" \
  -X PUT \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "xero-tenant-id: {{XERO_TENANT_ID}}" \
  -H "Content-Type: application/json" \
  -d '{"allocations": [{"amount": {{$amount}}, "date": "{{$allocation_date}}", "invoice": {"invoice_id": "{{$invoice_id}}"}}]}'