Skip to Content
ERPX Documentation — Your complete guide to the ERPX platform
ModulesSalesSales Invoice

Sales Invoice

Go to: Financials → Sales Invoice

The sales invoice is where the sale becomes money owed. Approving it books the receivable, posts the tax, and starts the clock on payment. It is the last document in the order-to-cash chain before the payment entry.

Sales invoices live in the Financials module because they post to the ledger, but they belong to the sales cycle and are usually raised from a delivery note. See Financials → Invoices for the accounting view.

Where the items come from

SourceUse it when
Delivery NoteThe normal route for stock items — you bill what was actually delivered
Sales OrderOnly for service-only orders, which never produce a delivery note

You cannot bill more than was delivered. “Cannot bill 50, only 30 available” — and if part of the delivery has already been returned, the available quantity drops accordingly: “Cannot bill 50, only 20 available (10 already returned against the delivery note)”.

Header fields

FieldWhat it means
NumberAuto-generated document number
CustomerWho is being billed
Posting DateAccounting date of the invoice
Due DateWhen payment is expected
Currency / Exchange RateCurrency of the invoice
PriorityLow / Medium / High
Payment Term / Price TermCommercial terms
Customer Purchase Order / PO DateThe customer’s own reference
Ship To / Bill To / Contact PersonAddresses printed on the invoice
Terms and ConditionsFree text or a saved template
Bank DetailsThe bank account printed for payment
Transporter, Vehicle Number, LR Number, DriverCarried from the delivery
StatusSee Statuses

Amounts

FieldWhat it means
Total AmountSum of item lines before tax
Discount Type / Percentage / AmountInvoice-level discount
Taxes Total / Total Charges / Total Taxes and ChargesTax and charge lines
Grand TotalThe invoiced value
Total AdvanceAdvance payments allocated to this invoice
Outstanding AmountWhat the customer still owes on this invoice

Accounts

FieldPosting
Receivable AccountDebited with the amount owed
Sales AccountCredited with the goods revenue
Service AccountCredited with service revenue
Tax AccountCredited with the tax collected

The invoice currency must match the receivable account currency — “Invoice currency must match receivable account currency”.

Creating a sales invoice

Start from the delivery note, or a service order

On a delivery note at To Bill, use Create → Sales Invoice. On a service-only sales order, use Create → Sales Invoice. From Financials you can also open a new sales invoice and use Get Items → Delivery Notes or Get Items → Sales Orders.

Check the quantities and rates

Quantities default to what is left to bill on the source rows. Rates come from the source document.

Set the posting and due dates

The due date drives receivables ageing.

Check taxes, charges, and the grand total

Verify the invoice value against the delivery it is billing.

Save, then approve

Save leaves the invoice in Draft — nothing has posted. Approve books the receivable and moves the invoice to Unpaid.

Statuses

StatusMeaning
DraftBeing prepared. Nothing posted
UnpaidApproved and owed in full
Partially PaidSome payment received
PaidSettled in full
OverduePast its due date and still outstanding
Credit Note IssuedA credit note has fully offset this invoice
ReturnThis document is itself a credit note
CancelledReversed; kept for audit

Payment status is driven by payment entries and credit-note allocations, not set by hand: as the outstanding amount falls, the invoice moves Unpaid → Partially Paid → Paid on its own.

Actions

ActionAvailable whenWhat it does
EditDraftFull edit of the invoice
Edit / Update (partial)Approved, not Cancelled or ReturnEdits a limited set of details on a live invoice
ApproveDraftPosts the financial entries and moves the invoice to Unpaid
UnapproveNot Draft, Cancelled, or PaidReturns the invoice to Draft and cancels its financial entries
CancelNot Draft, Cancelled, or PaidReverses the invoice, keeping it for audit
DeleteDraft, and you are an administratorPermanently removes the invoice
Create → Payment EntryUnpaid, Partially Paid, Overdue, or Return, with an outstanding balanceRecords a customer payment
Create → Credit NoteUnpaid, Partially Paid, or PaidRaises a return against this invoice
AssignNot Cancelled or PaidAssigns to a colleague and notifies them
View → Accounting LedgerApprovedShows the general ledger entries
Save PDFSaved invoiceThe invoice document, or the credit note document for a return

Only administrators can delete a sales invoice, and only while it is Draft — “Cannot delete sales invoice. Only admin can delete sales invoices.”

What blocks Unapprove and Cancel

BlockerMessage
The invoice is a credit note“Cannot unapprove a return invoice (credit note)”
The invoice is already cancelled“Cannot cancel a cancelled sales invoice”
Payments are recorded against it“Cannot unapprove sales invoice that has payments.”
Advance payments are allocated to it“Cannot cancel sales invoice that has advance payments allocated.”

Remove the payment or the advance allocation first, then retry.

Advance payments

The Advance Payment tab appears once the invoice is out of Draft and not cancelled. Use it to allocate customer advances against this invoice, review what is already allocated, and remove an allocation you no longer want.

Advances taken against the sales order are picked up automatically when the invoice status changes, so an order paid up front does not need manual allocation.

An invoice with advances allocated cannot be unapproved, cancelled, or credited. Remove the allocations first.

Credit notes and returns

Create → Credit Note raises a return against the invoice. It is available on Unpaid, Partially Paid, and Paid invoices.

RuleDetail
Draft and Cancelled invoicesCannot be credited — “Cannot create return for draft or cancelled invoices”
Return invoicesCannot be credited again — “Cannot create return for a return invoice”
Invoices with advances allocatedCannot be credited — remove the allocation first
QuantitiesOnly lines from the original invoice, and never more than was invoiced
Price, tax, charges, discountLocked to the original — only quantity can be changed
Currency and exchange rateMust match the original
AllocationThe credit is applied against the invoice’s remaining outstanding; any excess is held as reusable customer credit
Original invoiceMoves to Credit Note Issued once fully offset

A credit note can also reverse the underlying delivery, which reopens the sales order for billing.

Collecting payment

Use Create → Payment Entry on an invoice with an outstanding balance, or go to Financials → Payment → Payment Entry and allocate against the invoice there. As payments land, the invoice moves through Partially Paid to Paid.

Tabs

TabWhat it holds
DetailsCustomer, dates, items, taxes, discounts, totals
AddressesShip To and Bill To
Other DetailsTransport, bank details, accounts, terms
Advance PaymentAdvance allocations — hidden on Draft and Cancelled invoices
AssociationsSource documents, credit notes, payment entries, and journal entries

Importing invoices

Sales invoices can be bulk-created from a CSV file. Large files are processed in the background, so the import does not block your session.

Common validations and troubleshooting

Message / behaviourWhyFix
“Cannot bill 50, only 30 available”You are billing more than was deliveredReduce the quantity
”…(10 already returned against the delivery note)”Part of the delivery has been returnedBill only the net quantity
“Invoice currency must match receivable account currency”Currency mismatchChange the currency or the receivable account
“Failed to find receivable account”No receivable account resolved for the customerSet the customer’s account in Financials
“Cannot unapprove sales invoice that has payments.”A payment entry references the invoiceCancel or unallocate the payment first
“Cannot cancel sales invoice that has advance payments allocated.”Advances are allocatedRemove the allocations
“Credit note price, tax, charges, and discount must match the original invoice; only quantity can be changed”A credit note line was edited beyond quantityReset the line to the original values
“Item is not part of the original invoice”A credit note line references an item that was never invoicedRemove the line
“Cannot delete sales invoice. Only Draft invoices can be deleted.”The invoice is approvedCancel it instead
“Each tax or charge must have either a rate or an amount greater than zero”An empty tax or charge lineFill it in or remove it
The invoice is not in your listIt is assigned to someone else and you lack CAN_VIEW_ALL_SALES_INVOICEAsk for the capability