Create new gl journal entries
POST/gljournalentries
Manually post GL journal entries to any number of debit and credit accounts. Any number of journal entries may be posted with a given date and branch as long as the standard accounting rules apply.
Any number of paramaters may be specified in the syntax of debitAccountX & debitAmountX and creditAccountX & creditAmountX where X is the posting account index. At least one debit and credit account must be specified.
warning
When making a POST request that sends data through query parameters, the Content-Type header must not be set.
POST /api/gljournalentries?branchId=2&date=2010-02-03&debitAccount1=100001&debitAmount1=30&creditAccount1=100002&creditAmount1=30
Request
Responses
- 201
- 400
ok
Bad Request