v1

latestOpenAPI 3.0.12026-07-267912192.3 MB
Journal Transaction Batch Entries

Executes the Add action for the Journal Transaction Batch Entries data object.

Adds a new Journal Transaction to an existing Journal Transaction batch

post/direct/subscribers/{subscriber_code}/vista/gl/2/data/trans_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

Key to gl/trans_batch_entries(Co, Mth, BatchId, BatchSeq). Key to gl/trans_batches(Co, Mth, BatchId)

Mthstring date required

Key to pr/time_batches(Co, Mth, BatchId). Format YYYY-MM-01.

BatchIdinteger required

Key to pr/time_batches(Co, Mth, BatchId).

GLAcctstring required

key to gl/chart_of_accounts(GLCo, GLAcct).

Jrnlstring required

Key to gl/journals(GLCo, Jrnl).

GLRefstring required

Key to gl/journal_references(GLCo, Mth, Jrnl, GLRef).

ActDatestring date required

Accounting Date. Format: YYYY-MM-DD.

Descriptionstring nullable

Optional. If omitted, null will be defaulted.

Amountstring required

[PROTECTED FIELD] Use positive values for Debit transactions and negative values for Credit Transactions

InterCointeger required

GL Company this entry will post to. If intercompany journal entries are allowed in the GL Company Parameters this can be set to a company other than Co.

__custom_fieldsobject

Add a property to this object for each user defined field to be set. Property name set to the user defined field name.

Response

Success

idstring
operationstring
statusstring