Create Miscellaneous Expense Master

POST {{base_url}}/DataEntry/miMaster/: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 miscellaneous expense.

Request Body

{"Batch"=>"MINonBatch00001", "RefNo"=>"00REFFEFER3", "TransDate"=>"2017-12-29T00:00:00.000", "Description"=>"Maste record 1", "Posted"=>"N", "Seq"=>1, "CurrencyCode"=>"USD", "CurrencyExchangeOverrideMethod"=>"N", "CurrencyExchangeOverrideDate"=>"", "CurrencyExchangeOverrideRate"=>0, "Status"=>"N", "AuthorizedBy"=>"", "RejectReason"=>"", "ModUser"=>"", "ModDate"=>"", "Diary"=>"", "DiaryNo"=>0, "miDetail"=>[{"Batch"=>"MINonBatch00001", "RefNo"=>"00REFFEFER3", "PKey"=>"PKEY000ABC1", "Seq"=>1, "Description"=>"Line 1", "WBS1"=>"0B199901.500", "WBS2"=>" ", "WBS3"=>" ", "Account"=>"60100", "Amount"=>500, "CurrencyExchangeOverrideRate"=>0}, {"Batch"=>"MINonBatch00001", "RefNo"=>"00REFFEFER3", "PKey"=>"PKEY000ABC2", "Seq"=>2, "Description"=>"Line 1", "WBS1"=>"0B199901.500", "WBS2"=>" ", "WBS3"=>" ", "Account"=>"60100", "Amount"=>120, "CurrencyExchangeOverrideRate"=>0}]}

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

[{"Batch":"MINonBatch00001","RefNo":"00REFFEFER3","TransDate":"2017-12-29T00:00:00.000","Description":"Maste record 1","Posted":"N","Seq":1,"CurrencyCode":"USD","CurrencyExchangeOverrideMethod":"N","CurrencyExchangeOverrideDate":"","CurrencyExchangeOverrideRate":0,"Status":"N","StatusDescription":"In Progress","AuthorizedByName":"","AuthorizedBy":"","RejectReason":"","ModUser":"","ModUserEmployee":"","ModDate":"","Diary":"D1","DiaryNo":1460}]