Update AP Voucher Master
PUT {{base_url}}/DataEntry/apMaster/:Batch|MasterPKey
NOTE: This applies if you have the Use Files to Group Transactions option set to No in Settings » Accounting » Transactions.
Use this endpoint to update master record information for each AP voucher.
Master record information comes from the General Information section on the AP Voucher detail screen for each AP voucher in the batch.
Request Body
{"Batch"=>"AP_APINonBatch00001", "MasterPKey"=>"661A9F01962E4BB1B4ACF97B4019308C", "InvoiceDate"=>"2017-11-25T00:00:00.000", "TransDate"=>"2014-03-11T00:00:00.000"}
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
[{"Vendor":"000AAVEN,DD","VendorName":"The Sumner Group","VendorTerms":"30","VendorTaxCode":"","RegAccount":"","OHAccount":"","DefaultExpenseCode":"","RegAccountName":"","OHAccountName":"","RegAccountCurrencyCode":"","OHAccountCurrencyCode":"","RegAccountGlobal":"","OHAccountGlobal":"","RegAccountType":"","OHAccountType":"","LiabAccountCurrencyCode":"","PaymentCurrencyCode":"USD","AllowAssetEntries":"N","InvoiceDate":"2017-11-25T00:00:00.000","Invoice":"InvTest2","TransDate":"2014-03-11T00:00:00.000","Voucher":"000VOUC0002","PayTerms":"Next","PayDate":"","LiabCode":"ARLENE-COD","BankCode":"AATEST","Address":"\u003cDefault\u003e","DuplicateVoucher":"N","Batch":"AP_APINonBatch00001","MasterPKey":"661A9F01962E4BB1B4ACF97B4019308C","Posted":"N","Seq":1,"CurrencyCode":"USD","CurrencyExchangeOverrideMethod":"N","CurrencyExchangeOverrideDate":"","CurrencyExchangeOverrideRate":0,"PaymentExchangeOverrideMethod":"N","PaymentExchangeOverrideDate":"","PaymentExchangeOverrideRate":0,"Status":"A","StatusDescription":"Approved by Bill Hunmanb","AuthorizedByName":"Bill Hunmanb","AuthorizedBy":"0000A0001","RejectReason":"","ModUser":"ADMIN","ModUserEmployee":"0000A0001","ModDate":"2014-01-22T17:44:35.910","BankAccountCurrencyCode":"USD","Diary":"D1","DiaryNo":1447}]