Create Cash Receipt Master
POST {{base_url}}/DataEntry/crMaster/:Batch|MasterRefNo
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 a cash receipt.
Request Body
{"Batch"=>"CRNonBatch00001", "RefNo"=>"00000001111", "TransDate"=>"2017-12-23T00:00:00.000", "TransComment"=>"Cash Receipts Entry from API Import", "Posted"=>"N", "BankCode"=>"101.10", "Seq"=>1, "CurrencyCode"=>"USD", "CurrencyExchangeOverrideMethod"=>"N", "CurrencyExchangeOverrideDate"=>"", "CurrencyExchangeOverrideRate"=>0, "Status"=>"N", "AuthorizedBy"=>"", "RejectReason"=>"", "ModUser"=>"", "ModDate"=>"2014-06-23T14:37:27.083", "Diary"=>"IC", "DiaryNo"=>0, "crDetail"=>[{"Batch"=>"CRNonBatch00001", "RefNo"=>"00000001111", "PKey"=>"PKEY000ABC1", "Seq"=>1, "Description"=>"test1", "WBS1"=>"0A199900.900", "WBS2"=>"A000", "WBS3"=>" ", "Account"=>"11100", "Amount"=>120, "Interest"=>"N", "TaxCode"=>"", "TaxBasis"=>0, "Retainer"=>"N", "CurrencyExchangeOverrideRate"=>0, "SourceCurrencyCode"=>"", "SourceBalance"=>"", "SourceAmount"=>0, "SourceExchangeInfo"=>"", "LinkCompany"=>"", "PreInvoice"=>""}]}
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: Created
[{"Batch":"CRNonBatch00001","RefNo":"00000001111","TransDate":"2017-12-23T00:00:00.000","TransComment":"Cash Receipts Entry from API Import","Posted":"N","BankCode":"101.10","Seq":1,"CurrencyCode":"CAD","CurrencyExchangeOverrideMethod":"N","CurrencyExchangeOverrideDate":"","CurrencyExchangeOverrideRate":0,"Status":"N","StatusDescription":"In Progress","AuthorizedByName":"","AuthorizedBy":"","RejectReason":"","ModUser":"","ModUserEmployee":"","ModDate":"2014-06-23T14:37:27.083","Diary":"D1","DiaryNo":1450}]