Journal Entries
Updates a journal entry
Changed onReplaces the lines and header metadata on an existing manual journal entry, subject to the same balancing rules as creation. Always include the complete line list retrieved beforehand because partial payloads can clear fields the API treats as optional.
put/journal-entries/{journal_entry_id}
Request
- Base URLhttps://api.rillet.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
journal_entry_idstring required
UUID of the journal entry to be used in this operation.
Request body
Example request
{
"currency": "USD",
"items": [
{
"amount": {
"amount": "1.01",
"currency": "USD"
},
"account_code": "11112"
}
],
"exchange_rate": {
"base": "USD",
"target": "USD"
}
}Response
OK
Example response
{
"currency": "USD",
"items": [
{
"amount": {
"amount": "1.01",
"currency": "USD"
},
"original_transaction_amount": {
"amount": "1.01",
"currency": "USD"
},
"account_code": "11112"
}
],
"exchange_rate": {
"base": "USD",
"target": "USD"
}
}Changes
- info
added the required property
to the response with the status
- info