v1

latestOpenAPI 3.0.12026-07-267912192.3 MB
Invoice Batch Entries

Executes the Add Change action for the Invoice Batch Entries data object.

Adds an existing invoice transaction to an invoice batch, in order to update it.

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

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

BatchIdinteger required

Key to ap/inv_batches(Co, Mth, BatchId).

Vendorinteger

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

APRefstring

Invoice Number.

Descriptionstring nullable
InvDatestring

Format: YYYY-MM-DD.

DiscDatestring nullable

Format: YYYY-MM-DD.

DueDatestring

Format: YYYY-MM-DD.

InvTotalstring
Notesstring nullable
__custom_fieldsobject

Add properties to this object with the property name matching the user defined field name in Vista for each user defined field you need to set.

__disable_validationboolean nullable

Disable Vista Validations

Response

Success

idstring
operationstring
statusstring