Create Journal Entry Master

POST {{base_url}}/DataEntry/jeMaster/: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 journal entry.

Request Body

{"Batch"=>"JENonBatch00001", "RefNo"=>"00000002591", "TransDate"=>"2017-12-12T00:00:00.000", "Description"=>"Master Record 1", "Type"=>"3", "UpdateBilled"=>"N", "Posted"=>"N", "Seq"=>0, "CurrencyCode"=>"USD", "CurrencyExchangeOverrideMethod"=>"N", "CurrencyExchangeOverrideDate"=>"", "CurrencyExchangeOverrideRate"=>0, "Status"=>"N", "AuthorizedBy"=>"", "RejectReason"=>"", "ModUser"=>"", "ModUserEmployee"=>"", "ModDate"=>"", "Diary"=>"", "DiaryNo"=>0, "AllowAssetEntries"=>"N", "jeDetail"=>[{"Batch"=>"JENonBatch00001", "RefNo"=>"00000002591", "PKey"=>"APIPKey000B1", "Seq"=>1, "EquipmentID"=>"", "EquipmentDesc"=>"", "Description"=>"22222", "WBS1"=>"0A199900.900", "WBS2"=>"A222", "WBS3"=>" ", "Account"=>"455EU", "DebitAmount"=>144, "CreditAmount"=>0, "CurrencyExchangeOverrideRate"=>0, "SuppressBill"=>"N", "LinkCompany"=>"", "DebitAmountFunctionalCurrency"=>0, "CreditAmountFunctionalCurrency"=>0, "DebitAmountProjectCurrency"=>0, "CreditAmountProjectCurrency"=>0}], "jeDetailTax"=>[{"Batch"=>"JENonBatch00001", "RefNo"=>"00000002591", "PKey"=>"APIPKey000B1", "TaxCode"=>"NY_TAX", "Seq"=>1, "TaxCreditAmount"=>25, "TaxDebitAmount"=>0, "CompoundOnTaxCode"=>""}, {"Batch"=>"JENonBatch00001", "RefNo"=>"00000002591", "PKey"=>"APIPKey000B1", "TaxCode"=>"AGS", "Seq"=>2, "TaxCreditAmount"=>50, "TaxDebitAmount"=>0, "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

[{"Batch":"JENonBatch00001","RefNo":"00000002591","TransDate":"2017-12-12T00:00:00.000","Description":"Master Record 1","Type":"3","UpdateBilled":"N","Posted":"N","Seq":0,"CurrencyCode":"USD","CurrencyExchangeOverrideMethod":"N","CurrencyExchangeOverrideDate":"","CurrencyExchangeOverrideRate":0,"Status":"N","StatusDescription":"In Progress","AuthorizedByName":"","AuthorizedBy":"","RejectReason":"","ModUser":"","ModUserEmployee":"","ModDate":"","Diary":"D1","DiaryNo":1458,"AllowAssetEntries":"N"}]