Get bill attachment
Retrieves a file attached to a bill, either as a binary file or as a Base64-encoded string.
Path parameters
The filename in Payabli. Filename is zipName
in response to a request to /api/Invoice/\{idInvoice}
. Here, the filename is `0_Bill.pdf“.
“DocumentsRef”: {
“zipfile”: “inva_269.zip”,
“filelist”: [
{
“originalName”: “Bill.pdf”,
“zipName”: “0_Bill.pdf”,
“descriptor”: null
}
]
}
Payabli ID for the bill. Get this ID by querying /api/Query/bills/
for the entrypoint or the organization.
Headers
Query parameters
When true
, the request returns the file content as a Base64-encoded string.
Response
A successful response returns a binary file when returnObject
is false
. When returnObject
is true
, the response contains the file content as a Base64-encoded string in an object. Due to technical limitations, only the object response is documented here.
Content of file, Base64-encoded Ignored if furl is specified. Max upload size is 30 MB.
The MIME type of the file (if content is provided)