BasisBasis
Transactions

Sales Invoices

Bill customers for goods or services delivered. Every saved invoice posts immediately to Accounts Receivable in the General Ledger.

Menu: Transactions → Sales Invoices · Route: /sales

Sales invoices list

Creating a Sales Invoice

Go to Transactions → Sales Invoices, then click New.

  1. Select the Customer. The customer's current AR balance appears. Leave blank for a walk-in sale.
  2. Set the Invoice Date and optionally a Due Date for payment terms.
  3. If linked to a Sales Order, select it from the Sales Order dropdown — lines auto-fill from the SO.
  4. Fill in Reference with the customer's PO number or your internal ref (optional).
  5. Add line items: select an Item or enter free text, then set Qty, Unit, and Unit Price. Tax applies automatically from the item's tax category.
  6. Click Save. The invoice posts immediately to the GL.
Sales invoices form

Header fields

FieldStatusNotes
Invoice NumberAutoAuto-generated from the voucher number series. Can be overridden manually.
DateRequiredInvoice date. Blocked if the accounting period is locked.
CustomerOptionalSelect from Parties. Shows current AR balance. Leave blank for walk-in sales.
Due DateOptionalPayment due date. Used in the AR Aging report.
Sales OrderOptionalLinks to an open SO for the selected customer. Lines auto-fill from the SO.
ReferenceOptionalCustomer PO number or any internal reference code.
AR AccountOptionalDefaults to the customer's AR account. Override if needed.
SalesmanOptionalVisible when Salesman feature is enabled. Used in the Commission Report.
CurrencyOptionalVisible when Multi-Currency is enabled. Locked if linked to an SO.
NarrationOptionalInternal memo — not printed on the invoice output.

Line item fields

FieldStatusNotes
ItemOptionalSelect from Items list. Auto-fills description, unit, and default price.
DescriptionRequiredFree text if no item selected; auto-populated from item name if selected.
QtyRequiredQuantity sold. Reduces inventory balance for stock-tracked items.
UnitOptionalUnit of measure. Auto from item definition.
Unit PriceRequiredPrice per unit. Defaults from the item's selling price.
Discount %OptionalLine-level percentage discount applied before tax.
TaxOptionalAuto from item's tax category (e.g., PPN 11%). Can be overridden per line.
WHTOptionalWithholding tax configuration, if applicable to the line.

Walk-in sale (no customer record)

Leave Customer blank. Add lines normally. The invoice posts to the default Sales Revenue and AR accounts without a party ledger entry. Useful for cash counter sales where individual customer tracking is not required.

Invoicing from a Sales Order

Select the customer first, then choose the Sales Order from the dropdown (only unfully-invoiced SOs for that customer appear). Lines auto-fill from the SO with locked prices and currency. Adjust quantities down for partial invoicing — the remaining balance stays on the SO. The SO status updates to Partially Invoiced or Fully Invoiced automatically.

Multiple partial invoices can be created against one Sales Order until it is fully invoiced.

Editing and Deleting

Vouchers are immutable. Every edit or delete first archives the original as a full JSON snapshot in the Audit Trail. Deleted invoices can always be restored.

Edit: Open the invoice → click Edit. The original is archived (reason: Edited), then the invoice is recreated with your changes. The Invoice Number is preserved.

Delete: Open the invoice → click Delete, enter a reason. The invoice is archived (reason: Deleted) then permanently removed. The GL entries are reversed.

Preview and Printing

Open any invoice and click Preview to open the print-ready view. From the preview you can:

  • Print directly from the browser
  • Download as PDF
  • Email to the customer (requires Email Settings to be configured)
  • Generate a Customer Portal link for the customer to view and comment online
Sales invoices preview

GL Impact

AccountDebitCredit
Accounts Receivable (AR)Invoice total incl. tax
Sales Revenue (per line)Line amount excl. tax
Tax Payable (PPN Output)Tax amount
WHT Receivable (if WHT applied)WHT amount
Inventory / COGS (stock items)COGS at WAC
Inventory Asset (stock items)Inventory value at WAC