Create Attachment for Entity

Creates an attachment for a given entity (bill, invoice, transaction, journal entry, or manual journal entry). Pass the entity ID in the URL and the file data in the request body.

Supported entity prefixes: bil (bills), inv (invoices), txn (transactions), je (journal entries), mje_ (manual journal entries)

Required scope: Depends on entity type - write:bill, write:invoice, write:transaction, or write:journal

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
length ≥ 1

The company ID

string
required
length ≥ 1

The entity ID (e.g., bil_xxx for bills, txn_xxx for transactions, inv_xxx for invoices, je_xxx for journal entries, mje_xxx for manual journal entries)

Body Params
string
enum
required
Allowed:
string
required
length ≥ 1
string
required
length ≥ 1
string
required
length ≥ 1
string
required
length ≥ 1
Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json