v1

latestOpenAPI 3.0.12026-07-267912192.3 MB
Invoice Batch Entries

Executes the Replace action for the Invoice Batch Entries data object.

Replaces an existing invoice batch entry with a new one.

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

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

Vendorinteger required

Key to ap/vendors(VendorGroup, Vendor). Note: the VendorGroup value is defaulted based on the Co value.

APRefstring required

Invoice Number.

Descriptionstring nullable

Optional. If omitted, null will be defaulted.

InvDatestring date required

Format: YYYY-MM-DD.

DiscDatestring date nullable

Optional. If omitted, null will be defaulted. Format: YYYY-MM-DD.

DueDatestring date

Optional. If omitted, it will be defaulted based on the default pay terms for the vendor. Format: YYYY-MM-DD.

InvTotalstring

Optional. If omitted, it will be calculated based on line items.

Notesstring nullable
__custom_fieldsobject

This property will be added if there are any custom fields defined for this object in Vista. Each custom field will be a property of this object.

Response

Success

idstring
operationstring
statusstring