Update invoice attachment
documentedUpdate an invoice attachment.
PUT /Invoices/{InvoiceID}/Attachments/{AttachmentID}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/Invoices/{{$invoice_id}}/Attachments/{{$file_name}}" \
-X PUT \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "xero-tenant-id: {{$tenant_id}}" \
-H "Accept: application/json" \
-H "Idempotency-Key: {{$idempotency_key}}" \
-H "Content-Type: {{$mime_type}}" \
--data-binary "@{{$attachment_file_path}}"