Voiding an invoice
Это содержимое пока не доступно на вашем языке.
Voiding is the escape hatch for a wrong invoice. Unlike a Credit Note (which records a corrective adjustment), voiding erases the invoice’s effect entirely.
How it works
Section titled “How it works”Open the invoice → click Void invoice → enter a reason → confirm. The platform runs the following inside a single database transaction:
- Reverse the GL posts. Every row tagged with
sourceType = 'invoice'andsourceId = <this invoice>is mirrored with opposite Dr/Cr. Net effect: zero. - Reset linked cars to
purchased. Each car line’s status flips fromsold_*back topurchased. The container/RORO assignment stays intact — you can re-issue without losing shipping context. - Restore customer deposits. If the original invoice cleared
Xfrom 2100, voiding postsXback to 2100, tagged to the same buyer. - Reverse FX-realized rows. If payment had been recorded and cross-currency FX was realized, those gains/losses unwind.
- Reverse vault cost-basis impact. If payment was settled in a foreign vault, the vault’s
homeBalanceAtCostis mirrored back.
When you can void
Section titled “When you can void”- Always when the invoice is still in
draftstatus (no harm done). - Even when fully or partially paid — payment reversal cascades.
- NOT when the invoice’s period is locked (see Trial balance & reports).
What void does NOT undo
Section titled “What void does NOT undo”- The PDF you already emailed the buyer.
- Time. Pre-existing aged reports run before the void will still show the AR.
Re-issuing
Section titled “Re-issuing”After voiding, the cars are back in purchased status with their full inventory cost intact. You can immediately re-add them to a new invoice with corrected details. Common pattern: void the typo’d invoice → re-create with the right numbers → issue → resend PDF.
Related
Section titled “Related”- Issuing an invoice
- Cars status workflow — what happens to the cars
- Trial balance & reports — period lock