Documentation Index
Fetch the complete documentation index at: https://docs.nocotax.app/llms.txt
Use this file to discover all available pages before exploring further.
Invoice states
DRAFT
Invoice is being prepared. Can be modified or deleted.- No invoice number or date
- Does not affect AP/AR balances
- Can update amounts, line items, tax
- Can be deleted
FINALIZED
Invoice is issued and official. Cannot be modified.- Has sequential invoice number
- Has official invoice date
- Due date calculated (if payment_terms provided)
- Affects AP/AR balances
- Immutable - corrections require credit notes
CANCELLED
Invoice is voided (not yet implemented).State transitions
Creating an invoice
All invoices start as DRAFT:Finalizing an invoice
- Invoice number assigned
- Invoice date set to today
- Due date calculated (from payment_terms)
- AP/AR balances updated
- Invoice locked from changes
Payment status
Finalized invoices track payment status:| Status | Description |
|---|---|
| OPEN | Due date not yet passed, unpaid |
| DUE | Past due date, unpaid, or partially paid |
| PAID | Fully paid |
amount_remaining field shows what’s still owed.
Working with finalized invoices
Attaching payments
Invoice Payments
Correcting errors
Issue a credit note for finalized invoices:Best practices
- Review drafts carefully before finalizing
- Finalize invoices promptly - don’t leave in DRAFT
- Use payment_terms for automatic due date calculation
- Issue credit notes for corrections, never modify finalized invoices
- Track payment status for automated reminders
