v1

latestOpenAPI 3.0.12026-07-267912192.3 MB
Invoice Batch Entries

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

Adds an invoice batch entry

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

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

Cointeger required

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

Mthstring date required

Key to ap/inv_batches(Co, Mth, BatchId). Format: YYYY-MM-01.

BatchIdinteger required

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

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.

__disable_validationboolean nullable

Disable Vista Validations

Response

Success

idstring
operationstring
statusstring