Actions22
- Bank Account Actions
- Bank Transaction Actions
- Company Actions
- Document Actions
- Meta (Countries, VAT, etc.) Actions
- Sync Account Actions
Document → Get All Attachments of Invoice
AI-generatedSummary
Get All Attachments of Invoice - Retrieve all attachments for a given invoice document.
Inputs
- documentUid (required) — The unique identifier of the document whose attachments you want to retrieve.
Output shape
The API returns an array of attachment objects from the GetMyInvoices v3 API, containing metadata such as name, size, URL, and other details for each attachment associated with the given document UID.
If you need attachments for multiple documents, use the per-document approach, running the operation once per document UID. The operation makes a GET request to
/documents/{documentUid}/attachments. To retrieve attachments for multiple documents, run the operation once per document UID. The operation makes a GET request to the GetMyInvoices API. The base URL ishttps://api.getmyinvoices.com/accounts/v3/documents/{documentUid}/attachments. Note: To retrieve attachments for multiple documents, you must run the operation once per document UID. The operation makes a GET request to the GetMyInvoices API. The base URL ishttps://api.getmyinvoices.com/accounts/v3/documents/{documentUid}/attachmentment, containing attachment metadata such as name, size, and URL. The request may require pagination or iteration over multiple documents if you have more than one document UID. Side effects: None reported beyond the API call itself. The operation has no additional side effects beyond the API call. To retrieve attachments for a document UID, the operation makes a GET request to the GetMyInvoices API. The request may require pagination or iteration over multiple documents if there are more than one document UID. The base URL ishttps://api.getmyinvoices.com/accounts/v3/documents/{documentUid}/attachments. ThedocumentUidparameter is required and there are no optional parameters for this operation beyond these days, so it's limited to one document per operation. The operation returns an array of attachment objects. Use therequestOptionscollection to configure the request, specifying UID, etc. A common use case is adding a valid JSON with those keys. I'll make sure it's grounded strictly in the provided text. Let me draft it carefully.```json