Update AP Voucher Control
PUT {{base_url}}/DataEntry/apControl/:Batch
NOTE: This applies if you have the Use Files to Group Transactions option set to Yes in Settings » Accounting » Transactions.
Use this endpoint to update the control file for a batch of AP vouchers.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | Required. |
The type of content supported by the API endpoint. |
| Authorization
| string | | Required.
The type of authorization supported by the API endpoint. |
RESPONSES
status: OK
[{"Batch":"APIBatch00001","Description":"AP Voucher API Test Update 1","Recurring":"N","EndDate":"2017-12-31T00:00:00.000","DefaultCurrencyCode":"USD","Total":0,"SumTotal":13275,"DiffTotal":-13275,"DefaultLiab":"Aconsultan","DefaultLiabDescription":"AP - Consultant","DefaultBank":"ABOSTON","DefaultBankDescription":"Baybank - Boston","DefaultDate":"2017-12-11T00:00:00.000","Selected":"N","Posted":"N","Creator":"ADMIN","Period":0,"Company":"A0","LiabAccountCurrencyCode":"USD","BankAccountCurrencyCode":"USD"}]