Create Cash Disbursement Master

POST {{base_url}}/DataEntry/cdMaster/: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 cash disbursement.

Request Body

{"Batch"=>"CD_APIINonBatch00001", "CheckNo"=>"00000343431", "BankCode"=>"127", "TransDate"=>"2017-12-01T00:00:00.000", "Payee"=>"Test Payee", "Posted"=>"N", "Seq"=>0, "CurrencyCode"=>"CAD", "CurrencyExchangeOverrideMethod"=>"N", "CurrencyExchangeOverrideDate"=>"", "CurrencyExchangeOverrideRate"=>0, "Status"=>"N", "AuthorizedBy"=>"", "RejectReason"=>"", "ModUser"=>"", "ModDate"=>"", "Diary"=>"", "DiaryNo"=>0, "cdDetail"=>[{"Batch"=>"CD_APIINonBatch00001", "CheckNo"=>"00000343431", "PKey"=>"PKEY000ABC1", "Seq"=>1, "Description"=>"test1", "WBS1"=>"0A199900.900", "WBS2"=>"A000", "WBS3"=>" ", "Account"=>"41113", "NetAmount"=>100, "Amount"=>130, "CurrencyExchangeOverrideRate"=>0, "LinkCompany"=>""}], "cdDetailTax"=>[{"Batch"=>"CD_APIINonBatch00001", "CheckNo"=>"00000343431", "PKey"=>"PKEY000ABC1", "TaxCode"=>"NY_TAX", "Seq"=>1, "TaxAmount"=>10, "CompoundOnTaxCode"=>""}, {"Batch"=>"CD_APIINonBatch00001", "CheckNo"=>"9988", "PKey"=>"PKEY000ABC1", "TaxCode"=>"AGS", "Seq"=>2, "TaxAmount"=>20, "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

[{"CheckNo":"00000343431","BankCode":"127","TransDate":"2017-12-01T00:00:00.000","Payee":"Test Payee","Batch":"CD_APIINonBatch00001","Posted":"N","Seq":0,"CurrencyCode":"CAD","CurrencyExchangeOverrideMethod":"N","CurrencyExchangeOverrideDate":"","CurrencyExchangeOverrideRate":0,"Status":"N","StatusDescription":"In Progress","AuthorizedByName":"","AuthorizedBy":"","RejectReason":"","ModUser":"","ModUserEmployee":"","ModDate":"","Diary":"D1","DiaryNo":1438}]