v1

latestOpenAPI 3.0.12026-07-267912192.3 MB
Invoice Batch Entries

Executes the Add Attachment to the Line Item action for the Invoice Batch Entries data object.

Adds an attachment to the header of the specified inv_batch_entry line item

post/direct/subscribers/{subscriber_code}/vista/ap/2/data/inv_batch_entries/actions/add_lineitem_attach

Path parameters

subscriber_codestring required

The code of the subscriber that you are making this request for.

Headers

X-Application-Keystring required

Used to authorize access to the Direct API.

Request body

Descriptionstring nullable

Description of the file.

OrigFileNamestring nullable

Original file name and dot extension. No path information.

AttachmentTypeIDinteger nullable
URLToFileBytesstring required

URL to directly download the file bytes.

Response

Success

idstring
operationstring
statusstring