Xero + icon

Xero +

Consume Xero API

Attachment → Get List of Attachments

AI-generated

Summary

Retrieve a list of attachments associated with a specific transaction in a Xero organization.

Inputs

  • Organization Name or ID (required) — Select the target Xero organization by name or ID to operate within.
  • Endpoint (required) — Specify the type of transaction these attachments relate to: Invoices, Bank Transactions, or Bank Transfers.
  • Transaction ID (required) — Provide the unique identifier of the transaction (e.g., InvoiceID, BankTransactionID) whose attachments are to be listed.

Output shape

a list of attachment records

Returns an array of attachments linked to the specified transaction within the chosen organization and endpoint type.

Examples

Example 1: List all attachments for a specific invoice

Organization selected from dropdown, endpoint set to 'Invoices', transaction ID set to the invoice's ID.

Links

Discussion