curl -X POST https://kube.acho.io/service/general-ledger/journal-entries/JE-2024-001/reverse \ -H "Authorization: jwt YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "reversal_date": "2024-01-20", "memo": "Reversal of JE-2024-001" }'
{ "journal_entry_id": "JE-2024-001-REV", "original_entry_id": "JE-2024-001", "tran_date": "2024-01-20", "posting_period_id": "a3UM4R8nYh33A6hgda", "memo": "Reversal of JE-2024-001", "entry_type": "Reversing", "currency": "USD", "status": "Draft", "total_debit": 500, "total_credit": 500, "lines": [ { "line_number": 1, "account_id": "a35mjFPFRW33BJRCQr", "debit": 0, "credit": 500, "memo": "Reversal - Office supplies expense" }, { "line_number": 2, "account_id": "a35mjFPFRW33BJRCQs", "debit": 500, "credit": 0, "memo": "Reversal - Cash payment" } ], "created_at": "2024-01-20T10:00:00Z" }
Create a reversing entry for a posted journal entry
jwt YOUR_TOKEN
application/json
Posted
entry_type: "Reversing"
Draft