Create AP Disbursement Master

POST {{base_url}}/DataEntry/cvMaster/:Batch|CheckNo

NOTE: This applies if you have the Use Files to Group Transactions option set to No in Settings » Accounting » Transactions.

Use this endpoint to create a master record for an AP disbursement.

Request Body

{"Batch"=>"CVNonBatch00001", "CheckNo"=>"00000001111", "TransDate"=>"2017-12-10T00:00:00.000", "Vendor"=>"A0000001.04", "InvoiceDate"=>"2013-11-15T00:00:00.000", "Invoice"=>"B13334", "BankCode"=>"ABOSTON", "Address"=>"<Default>", "Posted"=>"N", "PayDate"=>"", "Voucher"=>"000XPayee56", "Seq"=>1, "VendorTaxCode"=>"", "RegAccount"=>"52900", "OHAccount"=>"74300", "DefaultExpenseCode"=>"", "PaymentCurrencyCode"=>"USD", "CurrencyCode"=>"USD", "CurrencyExchangeOverrideMethod"=>"N", "CurrencyExchangeOverrideDate"=>"", "CurrencyExchangeOverrideRate"=>0, "TransactionID"=>"", "CreditCardCode"=>"", "CreditCardPrimaryCode"=>"", "CreditCardKey"=>"", "Status"=>"N", "AuthorizedBy"=>"", "RejectReason"=>"", "ModUser"=>"", "ModDate"=>"", "Diary"=>"D1", "DiaryNo"=>0, "cvDetail"=>[{"Batch"=>"CVNonBatch00001", "CheckNo"=>"00000001111", "PKey"=>"API0000NA1", "Seq"=>1, "Description"=>"Test line 1", "WBS1"=>"0A199900.900", "WBS2"=>"A000", "WBS3"=>" ", "Account"=>"61100", "NetAmount"=>300, "Amount"=>375, "PaymentAmount"=>375, "SuppressBill"=>"N", "CurrencyExchangeOverrideRate"=>0, "ExpenseCode"=>"", "OriginatingVendor"=>""}, {"Batch"=>"CVNonBatch00001", "CheckNo"=>"00000001111", "PKey"=>"API0000NA2", "Seq"=>2, "Description"=>"Test line 2", "WBS1"=>"0A199900.900", "WBS2"=>"A000", "WBS3"=>" ", "Account"=>"61100", "NetAmount"=>200, "Amount"=>200, "PaymentAmount"=>200, "SuppressBill"=>"N", "CurrencyExchangeOverrideRate"=>0, "ExpenseCode"=>"", "OriginatingVendor"=>""}], "cvDetailTax"=>[{"Batch"=>"CVNonBatch00001", "CheckNo"=>"00000001111", "PKey"=>"API0000NA1", "TaxCode"=>"NY_TAX", "Seq"=>1, "TaxAmount"=>25, "CompoundOnTaxCode"=>""}, {"Batch"=>"CVNonBatch00001", "CheckNo"=>"00000001111", "PKey"=>"API0000NA1", "TaxCode"=>"AGS", "Seq"=>2, "TaxAmount"=>50, "CompoundOnTaxCode"=>""}]}

HEADERS

KeyDatatypeRequiredDescription
Content-TypestringRequired.

The type of content supported by the API endpoint. | | Authorization | string | | Required.

The type of authorization supported by the API endpoint. |

RESPONSES

status: Created

[{&quot;Vendor&quot;:&quot;000AAVEN,DD&quot;,&quot;VendorName&quot;:&quot;The Sumner Group&quot;,&quot;VendorTaxCode&quot;:&quot;&quot;,&quot;RegAccount&quot;:&quot;&quot;,&quot;OHAccount&quot;:&quot;&quot;,&quot;DefaultExpenseCode&quot;:&quot;&quot;,&quot;RegAccountName&quot;:&quot;&quot;,&quot;OHAccountName&quot;:&quot;&quot;,&quot;RegAccountCurrencyCode&quot;:&quot;&quot;,&quot;OHAccountCurrencyCode&quot;:&quot;&quot;,&quot;RegAccountGlobal&quot;:&quot;&quot;,&quot;OHAccountGlobal&quot;:&quot;&quot;,&quot;RegAccountType&quot;:&quot;&quot;,&quot;OHAccountType&quot;:&quot;&quot;,&quot;PaymentCurrencyCode&quot;:&quot;USD&quot;,&quot;InvoiceDate&quot;:&quot;2013-11-15T00:00:00.000&quot;,&quot;Invoice&quot;:&quot;B13334&quot;,&quot;TransDate&quot;:&quot;2017-12-10T00:00:00.000&quot;,&quot;Voucher&quot;:&quot;000XPAYEE56&quot;,&quot;PayDate&quot;:&quot;&quot;,&quot;BankCode&quot;:&quot;ABOSTON&quot;,&quot;Address&quot;:&quot;\u003cDefault\u003e&quot;,&quot;Batch&quot;:&quot;CVNonBatch00001&quot;,&quot;CheckNo&quot;:&quot;00000001111&quot;,&quot;Posted&quot;:&quot;N&quot;,&quot;Seq&quot;:1,&quot;CurrencyCode&quot;:&quot;USD&quot;,&quot;CurrencyExchangeOverrideMethod&quot;:&quot;N&quot;,&quot;CurrencyExchangeOverrideDate&quot;:&quot;&quot;,&quot;CurrencyExchangeOverrideRate&quot;:0,&quot;TransactionID&quot;:&quot;&quot;,&quot;CreditCardCode&quot;:&quot;&quot;,&quot;CreditCardPrimaryCode&quot;:&quot;&quot;,&quot;CreditCardKey&quot;:&quot;&quot;,&quot;Status&quot;:&quot;N&quot;,&quot;StatusDescription&quot;:&quot;In Progress&quot;,&quot;AuthorizedByName&quot;:&quot;&quot;,&quot;AuthorizedBy&quot;:&quot;&quot;,&quot;RejectReason&quot;:&quot;&quot;,&quot;ModUser&quot;:&quot;&quot;,&quot;ModUserEmployee&quot;:&quot;&quot;,&quot;ModDate&quot;:&quot;&quot;,&quot;BankAccountCurrencyCode&quot;:&quot;USD&quot;,&quot;Diary&quot;:&quot;D1&quot;,&quot;DiaryNo&quot;:1452}]