xMatix
Sign in Request demo
xMatix
PRODUCTS
SalesField Sales & SFACRMRewardsClaimsLoyaltyContract ManagementInventoryProcurementWarehouse ManagementField ServiceServiceSupportTelephony & MessagingFinance & AccountingPayrollExpense ManagementPeople (HRMS)Learning ManagementCommercePortalsPartner Relationship ManagementAnalytics & ReportingData StudioMobile AppSee all products →
PLATFORM
Platform overviewApp BuilderAutomationIntegrationsSecurity & GovernanceChange ManagementDevelopers
SENSE AI
Sense AI overviewSense AssistSense ControlSense VisionAI StudioTrust & governanceIn Claude & ChatGPTUse cases
SOLUTIONS
Auto DMSConsumer Goods DMSSales Force Automation (SFA) FMCG & DistributionManufacturing & Dealer NetworksAutomotive & DealershipsPharma & HealthcareConsumer DurablesAgri-InputsBuilding MaterialsService NetworksWarehousing & 3PLFinancial AccountingERP SoftwareIndia GST ComplianceUAE VAT & e-InvoicingSaudi ZATCA & VATAll solutions →
RESOURCES
Knowledge CenterDeveloper & CLIBlogGuidesWhat is xMatix?Company facts
COMPANY
AboutCareersPartnersEventsContactAuthorsLegal
Sign in Request demo
Home/Docs/Sales/Invoices
HOW-TO · Last reviewed

Invoices

A sales invoice is the xMatix document that bills a customer for goods or services and turns the sale into a receivable in the ledger. It is the last commercial step of order-to-cash. First an order is captured. Then stock is allocated or drawn over the counter, and the invoice is released. Payments and credit notes then settle it. You find invoices under Invoices in both the Sales app and the Finance app.

Overview

An invoice has two parts:

  • A header: the customer (Account), the selling company (Partner Account) and its Branch, the Executive, pricing and tax settings, and the addresses.
  • Lines, one per item billed.

Almost every money figure on the header is calculated from the lines. To change an amount, change the lines; you don't type totals.

Three things describe where an invoice stands:

  • Status — Draft while the invoice is being prepared, Posted once its journal has been posted to the general ledger, and Cancelled once it has been cancelled. Posting and cancelling set it; you never pick it yourself.
  • Payment Status — Unpaid, Partially Paid, Paid or Overdue, worked out from what is still open on the invoice and from its Due Date.
  • GL Posting Status and Inventory Posting Status — how far the ledger posting and the stock posting have gone.

For the bigger picture, including the different ways invoices are released from orders and how payments and advances settle them, see Invoicing and payments.

When to use it

Most invoices are created for you by an action somewhere else:

  • on an order: Invoice (OTC), Invoice, the selective variants, or bulk order processing;
  • on a delivery order: Create Invoice;
  • by claim settlement.

Use this page for everything you do with an invoice after that: reviewing it, posting it, recording or applying payments, raising a credit note against it, creating its delivery or shipment, printing it, raising its e-invoice or e-way bill, or cancelling it. Create an invoice by hand with New only when there is no order to bill from, for example a one-off charge.

How xMatix handles it

Read the screen

The Invoices list opens on the All Invoices view. Its columns are:

  • Name — the document number;
  • Invoice Date, Partner Account, Branch and Account;
  • Total Amount and Executive;
  • Status and Payment Status;
  • who created and last changed the invoice, and when.

Summary cards across the top cover the last 30 days: Total Invoices, Total Outstanding, Total Invoiced, Total Scheme Discount, Total Discount and Overdue Receivables (outstanding invoices whose Due Date has passed). The shipped views are:

ViewShows
All InvoicesEvery invoice (the default)
Draft InvoicesInvoices whose status is Draft
Posted InvoicesInvoices whose status is Posted
Outstanding InvoicesInvoices with an Outstanding Amount above zero, with an Outstanding Amount column

Opening an invoice shows a header band. The band shows Document Date, Order, Partner Account, Branch, Account, Executive and Status. Below it are three tabs:

  • Lines — the billed items with Item, Quantity, Unit Price, Amount, Tax Amount and Gross Amount. You add, edit and delete lines here.
  • Details — collapsible panels: Key Details, Amounts, Taxes, GST & Place of Supply, e - Invoice, e - Way Bill, Billing Address, Shipping Address, Additional Information and System Details.
  • Related — the records linked to this invoice, such as payments, delivery orders, shipments and journals.

The Amount Summary panel

On the right, the Amount Summary panel adds the invoice up in this order:

  1. the base amount of the lines;
  2. minus the scheme discount, the other discounts and any discount-item lines;
  3. plus tax;
  4. plus or minus any Charges and Document Discount;
  5. the total.

Under the total it lists:

  • each payment applied to the invoice;
  • each write-off;
  • the remaining Outstanding figure.

The panel also has its own buttons. It shows the first one as a button and puts the rest under ▾ when space is short:

  • Payment opens a payment form that is already linked to this invoice.
  • Apply payment settles the invoice from money the customer has already paid: an advance, an unapplied receipt, or a posted credit note. It shows while something is open on the invoice, and not on a cancelled one.
  • Add charge adds a document-level charge such as freight, or a lump-sum discount. Both come after tax and are not taxed. See Charges and discounts after tax.
  • Write off clears a small open balance, such as rounding or a short payment, to the write-off account. It shows while something is open, where your tenant has the write-off action.

Below the panel, Scheme Recommendations lists trade schemes the invoice could qualify for.

Which buttons you see, and when

The header buttons depend on the invoice's status. On the shipped Invoice View layout:

ButtonShown when
Post General LedgerThe invoice is Draft and has quantity still waiting for delivery
Post InventoryThe invoice is Draft, has quantity waiting for delivery, and not every line has reached the inventory ledger
DeliveryThe invoice is Draft and has quantity waiting for delivery
Apply Scheme, Product ConfiguratorThe invoice is Draft and has quantity waiting for delivery
Create ShipmentThe invoice is Draft, has quantity waiting for delivery and was created from an order
Print InvoiceThe invoice is Posted and is not a repair-order invoice
Print Service InvoiceThe invoice is Posted and is linked to a repair order
E Invoice Generator, E Way BillThe invoice is Posted
CancelThe invoice is Posted
EditThe invoice is not yet posted. It disappears once Status or GL Posting Status is Posted
Create Credit Note, Preview, Full Page Invoice Print, Half Print, Clone, DeleteAlways

Recent releases relabel some of these buttons in sentence case, so your screen may show the newer wording. For example, Post general ledger for Post General Ledger, Generate e-invoice for E Invoice Generator, and E-way bill for E Way Bill.

Every button except Edit and Delete also needs a grant on your security profile (see Permissions). Layouts are tenant metadata, so your administrator may have changed this arrangement.

What happens when an invoice is created

Whichever path creates the invoice, the save does the following:

  • Number. The invoice gets a Document Number from document numbering. The shipped series is INV, followed by the day, month and year and a six-digit counter, joined by hyphens.
  • Date. Document Date is set to your organization's today when it is empty. A date in the future is pulled back to today: an invoice can never be dated ahead of the day it is saved. An earlier date supplied by the creating process is kept.
  • Status. The invoice starts as Draft.
  • Company checks. xMatix validates the partner account and branch:
    • the partner account must be an active partner account;
    • the branch must belong to it and be active;
    • a branch is required when the partner account has branches.
  • Credit check. When the customer has a credit limit with this partner account, the invoice must fit under it. See Credit limits.
  • Tax supply type (India). The invoice's Tax Supply Type (Within State, Outside State or Exempt) is derived from where the goods are supplied from and to. The formats of GSTIN, vehicle number and contact number are checked.

Open Amount, Outstanding Amount and Payment Status

The invoice carries two different measures of what is unpaid. Payment Status is worked out from the first one.

  • Open Amount is the total less everything that has settled the invoice in the ledger:
    • payments and advances applied to it;
    • credit notes applied to it;
    • TDS the customer withheld;
    • write-offs.

    It matches the customer's receivable item for this invoice.

    • Outstanding Amount is the total less Amount Paid. Amount Paid counts only money applied from payments. Credit notes, TDS and write-offs don't raise it.
    • Payment Status is worked out each time you open or list the invoice:
      • Paid when Open Amount is nil (0.01 or less);
      • Overdue when something is still open and the Due Date has passed;
      • Unpaid when nothing has been applied yet;
      • Partially Paid otherwise.

      It is blank for a cancelled invoice and for one with no total. Because it is not stored, it changes to Overdue the day after the due date without anyone saving the invoice. For the same reason, you can't filter or sort the list by it: filter on Open Amount and Due Date instead.

      Changing a posted invoice

      Once an invoice is posted, the record page no longer offers Edit, and its header fields cannot be changed in place. Its lines can still be changed from the Lines tab, and charges from the Amount Summary panel.

      A saved change that affects the accounting reverses the invoice's journal and posts a new one in the same save. Line changes count. So do these header changes made another way, for example by an import or an integration: customer, partner account, branch, document date, due date, GL Posting Type, GL Account and Round Off. Payments and credit notes already applied to the old receivable item move to the new one. Remarks, references and other non-financial fields post nothing.

      Cash and card sales

      Every invoice in the shipped setup is a credit sale: posting raises a receivable that payments later settle. The invoice's GL Posting Type decides this. The seeded list holds only Credit.

      The alternative Invoice View (Finance) layout offers Cash, Card and Credit. A Cash or Card invoice is paid at the moment it is posted, into the account chosen in GL Account. What posting does then depends on a Finance setting (see Configuration):

      • Setting off (default). The total is booked straight to the cash or card account, with no receivable and no payment record. The invoice reads as paid: Amount Paid equals the total and Open Amount is nil.
      • Setting on. The invoice posts to the receivable like a credit sale. xMatix then creates a payment for it into the chosen account, posts that payment and applies it, so the receipt also shows in the payments list and on the customer's statement.

      Re-posting, cancelling or switching the invoice back to Credit removes the automatic payment again.

      Charges and discounts after tax

      A document charge is an amount on the invoice itself, after tax: freight, packing, handling, or a lump-sum discount. It does not change the lines or their tax, and it is not taxed. It does count in Total Amount, so the receivable, the open amount and payments all include it.

      • Where you see them. Charges appear in the Amount Summary panel as Charges (added) and Document Discount (taken off), after the tax row. A charge set up as a default shows as a "—" row with a pencil, ready to fill in.
      • Adding one. Use the pencil to type amounts into the charge rows, or Add charge to open a dialog listing every charge set up for invoices. Other charge in that dialog takes any charge item that is not set up. Amounts are always typed as positive numbers. Only charges with an amount are saved, and clearing an amount removes that charge.
      • Calculated charges. A charge set up with a formula shows its computed amount marked "(auto)". It recalculates each time a Draft invoice is saved. If you type over the amount, the charge stops following the formula.
      • Posting. Each charge posts to its own account: the row's GL account if it has one, otherwise an Invoice posting definition with role Charge or Discount. With neither, posting is refused. Changing a charge on a posted invoice re-posts it. Lowering it below what has already been settled is refused.
      • From orders. An order's charges are copied onto the first invoice raised from that order only, so freight is not billed twice.
      • Taxable charges. Freight billed with GST is a supply: add it as a line with a charge item and a tax group, not as a document charge.
      • Mobile. The mobile app does not show or add charges.

      Prerequisites

      • The Sales or Finance app is in your app launcher, and your security profile grants access to invoices and the actions you need.
      • The customer exists as an active customer account, and the selling company exists as an active partner account with its branches.
      • To post:
        • finance is enabled for the selling company. Enable finance under Org Settings → Companies switches on GL Posting Enabled on the company's account;
        • the chart of accounts and posting definitions cover the invoice's items and taxes;
        • the accounting period of the document date is open.

        See GL accounts and Chart of accounts.

        • For e-invoices and e-way bills, your administrator has connected the GST integration. See E-invoicing and E-way bills.

        Procedure

        Step 1 — Find an invoice

        Open Sales (or Finance) and choose Invoices. Pick a view from the view switcher:

        • Draft Invoices for work in progress;
        • Posted Invoices for billed documents;
        • Outstanding Invoices for invoices still waiting for payment.

        Use search, column filters and sort to narrow the list. The Payment Status column shows at a glance which invoices are overdue. Open an invoice by its document number. An invoice released from an order also appears under that order's related records.

        Step 2 — Create an invoice by hand (only when there is no order)

        On the Invoices list choose New. The New Invoice form asks for:

        1. Account (required), the customer you are billing, and optionally Contact. Only active customer accounts are offered, and only contacts of that account.
        2. On the Invoice Configuration tab: Executive, Tax Supply Type, Price List and Discount Group.
        3. On the Billing Address and Shipping Address tabs: pick a saved address, or fill in street, city, state, postal code and country.
        4. On the System Details tab: Partner Account, Branch (only branches of the chosen partner account are offered), Supplier Branch and Tax Group. If your organization runs a single company or a single location, the company and branch fields may be hidden.

        Save. The invoice opens as Draft with its document number. Account, Partner Account and Branch cannot be changed afterwards, so check them before saving.

        Step 3 — Add or correct lines

        On the Lines tab:

        1. Choose Quick Add to add a line.
        2. Pick the Item (or a GL Account, for a line that is not an item) and enter Quantity. Unit Price comes from the price list when a matching price rule exists; otherwise enter it.
        3. Edit or delete a line from its row.

        When you save, the line's Amount, Tax Amount and Gross Amount recalculate, and so do the header totals. A line's item and SKU cannot be changed once it is saved.

        To commit a qualifying promotion, choose Apply Scheme (see Trade schemes). To add freight, packing or a lump-sum discount after tax, use Add charge on the Amount Summary panel (see Charges and discounts after tax). Everything about a single line is on Sales invoice lines, including its amounts, counters, limits and messages.

        Step 4 — Post the invoice to the general ledger

        While the invoice is Draft, choose Post General Ledger. xMatix then:

        1. marks the invoice approved for posting;
        2. posts one balanced journal: the customer's receivable against sales and output tax, plus a leg for each charge;
        3. opens a receivable item for the customer, which payments later settle;
        4. writes the GST tax records and any TCS or TDS postings at the same time.

        Status changes to Posted, GL Posting Status shows the result, and Edit disappears from the header.

        When posting finishes, xMatix may also settle the invoice automatically. Depending on your Finance settings, it may:

        • carry an advance taken against the sales order onto the invoice;
        • apply other unapplied receipts, oldest first;
        • for a Cash or Card invoice, record the payment.

        Payment Status then reflects the result.

        If the selling company does not have GL posting enabled, no journal is created. If an account cannot be resolved for a line, a tax, a charge or the header, posting stops with a message naming what is missing (see Common problems).

        Step 5 — Post the stock movement

        Choose Post Inventory to move the invoiced quantities out of stock for every line that has not yet reached the inventory ledger. The button disappears once every line is posted. If nothing is left to post, xMatix replies "No Invoice Lines found for Inventory Posting."

        Step 6 — Create the delivery or shipment

        • Delivery creates a delivery order from the lines that still have quantity to deliver. With nothing left to deliver, you see "No pending delivery quantities found in invoice lines to create delivery order."
        • Create Shipment creates a shipment for the invoiced lines. Selective Create Shipment does the same for the lines you choose. A shipment needs a Supplier Branch on the invoice when your organization uses branches.

        The new delivery order or shipment appears on the Related tab.

        Step 7 — Record or apply a payment

        There are two ways to settle an invoice from the Amount Summary panel:

        • New money. Choose Payment to open a payment form already linked to this invoice, enter the amount, date and mode, and choose Record payment.
        • Money already received. Choose Apply payment to use an advance, an unapplied receipt or a posted credit note. The Apply documents dialog lists what the customer has available. Any payment taken against this invoice's sales order is preselected. Apply it automatically (oldest first) or type the amounts yourself, then confirm.

        Each application lowers Open Amount. A payment also raises Amount Paid and lowers Outstanding Amount. Part-payments are fine; each payment is its own record. Payment Status moves from Unpaid to Partially Paid to Paid.

        When an application leaves only a small balance within the write-off tolerance, xMatix can write it off automatically. You can also choose Write off on the panel yourself. Full details of the payment form, the apply dialog and write-offs are in Recording and applying payments.

        Step 8 — Raise a credit note against the invoice

        When the customer returns goods, or a price or tax on the invoice was wrong, credit it rather than editing or cancelling it:

        1. Choose Create Credit Note and confirm. A Draft credit note opens. It copies the invoice's customer, company, branch, price list and tax context, and is linked to the invoice.
        2. On the credit note, choose Create From, tick the invoice lines to credit, adjust the quantities, and save.
        3. Post the credit note. By default, posting applies it to this invoice for the smaller of the two open amounts, and the invoice's Open Amount and Payment Status follow.

        If you choose Create Credit Note again while the earlier draft still has no lines, that draft reopens instead of a second empty one. A cancelled invoice cannot be credited. See Credit notes.

        Step 9 — Print or preview the invoice

        Once the invoice is Posted, choose Print Invoice (or Print Service Invoice for a repair-order invoice). xMatix renders the print format and opens your browser's print dialog.

        Two other buttons work at any status:

        • Full Page Invoice Print and Half Print render the full-page and half-page formats.
        • Preview shows the invoice format on screen, with a PDF download.

        To print many invoices at once, select them on the list and run a print action there. Each invoice starts on a new page of one PDF. Print formats are print templates your administrator maintains. See Document prints.

        Step 10 — Generate the e-invoice and e-way bill (India)

        On a Posted invoice:

        1. Choose E Invoice Generator, then Generate in the dialog. Status (eInvoice) becomes Ready For IRN, and the dialog waits up to a minute.
        2. The connected GST integration registers the invoice. It writes back the Invoice Reference Number (eInvoice), the acknowledgement and the QR Code (eInvoice).
        3. The dialog then shows the QR code and IRN details, and the status becomes Generated.
        4. Choose E Way Bill to open the e-way bill panel. Enter the distance and the transport mode (Road, Rail, Air or Ship), plus the vehicle number for road transport, and submit. The e-way bill number and date are recorded on the invoice when the integration returns them.

        Full details, including cancelling an e-way bill, are in E-invoicing and E-way bills.

        Step 11 — Cancel an invoice

        Choose Cancel on a Posted invoice and confirm Yes, cancel. xMatix:

        • sets every line's cancelled quantity to its full quantity;
        • reverses the inventory movement;
        • reverses payments settled against the invoice, returning them to the customer's account;
        • reverses the invoice's journals, including any TCS journal, which clears the receivable;
        • removes the invoice's GST tax records.

        Status becomes Cancelled, and Payment Status goes blank.

        You can cancel only within the cancellation window your administrator sets: 24 hours unless changed. The window starts at the beginning of the document date in your organization's time zone. If the invoice was created on that same day, it starts at the moment of creation instead.

        Past the window, raise a credit note instead (Step 8). Cancelling does not cancel a registered e-invoice; handle that through your GST process.

        Step 12 — Copy or delete an invoice

        Clone creates a new Draft invoice with the same header, lines and charges, and opens it with its own document number. The copy does not carry over the original's postings, payments, write-offs, e-invoice and e-way bill details, or delivered quantities. It does keep the link to the original's order, so check it before posting.

        Delete removes an invoice that has not been posted. An invoice whose journal has been posted cannot be deleted: cancel it or credit it instead.

        Step 13 — Work with invoices on mobile

        The Sales and Finance apps show invoices in the xMatix mobile app too. From an invoice you can record a payment, generate the e-invoice and work with its e-way bill. E-invoice and e-way bill actions need a connection. Offline, the app says "e-Invoice generation is not available offline." or "E-way bills are not available offline." Save a new invoice before using them.

        Fields

        Header fields, in the order they appear on the New Invoice form and then on the Details tab.

        FieldWhat it meansNotes
        AccountThe customer being billedRequired. Active customer accounts only. Cannot be changed after the invoice is saved
        ContactThe person at the customerOnly contacts of the chosen account
        ExecutiveThe sales executive responsibleActive resources only. Required on the New Invoice form
        Tax Supply TypeWhether the supply is within the state, outside it or exemptWithin State, Outside State, Exempt. Derived from supply locations in India
        Price ListThe price list line prices are read fromRead-only on the saved invoice
        Discount GroupThe contract discount rules applied to linesRead-only on the saved invoice
        Billing Address, Billing Street, Billing City, Billing State, Billing Postal Code, Billing CountryWhere the invoice is addressedPick a saved address or fill the parts
        Shipping Address and its partsWhere the goods goSame structure as billing
        Partner AccountThe company that issues the invoiceActive partner accounts only. Cannot be changed after saving
        BranchThe issuing branch of that companyOnly branches of the partner account. Cannot be changed after saving
        Supplier BranchThe customer's branch in your tenant that receives a shipment created from this invoiceNeeded to create a shipment; it becomes the shipment's receiving branch. See inbound shipments
        Tax GroupThe header tax groupLine taxes come from each line's tax group
        GL AccountThe account the header posts againstFor a Cash or Card invoice, the cash or card account that receives the money
        GL Posting TypeWhether the invoice is a credit sale or paid at postingSeeded value Credit. Cash and Card are offered on the Invoice View (Finance) layout. See Cash and card sales
        StatusDraft, Posted or CancelledSet by posting and cancelling, never typed
        Payment StatusUnpaid, Partially Paid, Paid or OverdueRead-only, worked out on every read from Open Amount, Total Amount and Due Date. Blank when cancelled or zero-valued. Not filterable
        Total Line AmountSum of line amounts after discounts, before taxCalculated
        Total Discount AmountSum of line discountsCalculated
        Total AmountWhat the customer owes: line gross amounts, plus any round-off, plus or minus document charges and discountsCalculated
        Finance AmountHow much a financier has disbursed against this invoice through finance casesSystem field, read-only
        Outstanding AmountTotal Amount minus Amount PaidCalculated. Drives the Outstanding Invoices view. Credit notes, TDS and write-offs do not lower it
        Open AmountTotal Amount minus everything applied: payments, credit notes, withheld TDS and write-offsCalculated from the ledger. Matches the customer's receivable item. Drives Payment Status
        Total Amount In WordsThe total spelled out, for printingRefreshed when the invoice is updated
        GSTIN, GST Invoice TypeThe customer's GST number and the GST invoice typeGSTIN format is checked in India
        Place of Supply, Source of SupplyThe states supplied to and fromDrive the tax supply type
        GL Posting StatusDraft, Partially Posted or PostedRead-only
        Inventory Posting StatusDraft, Partially Posted or Posted, by lines posted to the inventory ledgerCalculated
        GL Posting ApprovedWhether the invoice has been approved for ledger postingSet by Post General Ledger
        Is IL Posting ApprovedWhether every line has reached the inventory ledgerCalculated
        Skip SchemeKeeps trade schemes from being applied to this invoice
        Status (eInvoice)Pending, Generated, Cancelled, Error, Ready For IRNMaintained by the e-invoice actions and the integration
        QR Code (eInvoice), Invoice Reference Number (eInvoice)The signed QR code and IRN returned on registrationRead-only; the IRN is unique
        Reverse Charge (eInvoice)Whether reverse charge applies
        Transaction TypeClaim Settlement for invoices raised by claim settlement
        OrderThe order the invoice was released fromCannot be changed after saving
        Price As On DateThe date prices were read for
        Payment TermsThe agreed payment terms, as textFree text. It does not set the due date
        Claim, Claim BatchThe trade claim this invoice settles
        Repair OrderThe repair order this service invoice billsSwitches printing to Print Service Invoice
        Due DateWhen payment is dueEntered, not calculated. Turns Payment Status to Overdue once passed and drives the Overdue Receivables card
        RemarksFree notes

        Line fields on the Lines tab:

        • Item, Quantity and Unit Price (both default to 0);
        • Amount: the base amount less discounts and scheme discounts;
        • Tax Amount, and Gross Amount (amount plus tax).

        Sales invoice lines explains the line fields, and the Invoice Line reference lists every one.

        Business rules

        • Numbering. Every new invoice gets its Document Number from the Invoice Document Name Setting. A save that fails uses no number; a deleted invoice leaves a gap.
        • No future dates. A future Document Date is pulled back to your organization's today.
        • Fixed parties. Account, Partner Account, Branch and Order cannot be changed once they have been saved with a value.
        • Calculated money. Totals, outstanding and open amounts and Payment Status are calculated from the lines, the charges and the ledger. You cannot type them.
        • Status follows posting. Shipped business rules set Status:
          • to Posted when the invoice is approved for ledger posting;
          • to Cancelled when any line has a cancelled quantity.

          Changing the status by hand out of step with posting shows "Invoice Status Not Editable".

          • Posting. Posting needs the selling company's GL Posting Enabled switch, resolvable accounts for every line, tax, charge and the header, and an open period. A cancelled invoice cannot be posted.
          • Posted invoices re-post themselves. On a posted invoice, a saved change to a line, a charge or a financial header field reverses the journal and posts a new one. Settlements carry over to the new receivable item.
          • No Edit once posted. Edit is hidden as soon as Status or GL Posting Status is Posted.
          • Settlement. Payments, credit notes, withheld TDS and write-offs lower Open Amount. Only payments raise Amount Paid.
          • Cancellation. Cancellation is allowed only for an invoice that is posted and not yet cancelled. It must fall inside the configured window, and some line must still have quantity to cancel.
          • Credit notes. Any invoice that is not cancelled can be credited. A posted credit note that names the invoice is applied to it automatically, unless the Finance setting is off.
          • Deletion. An invoice with a posted journal cannot be deleted.
          • E-invoice. Once an invoice has an IRN, the e-invoice cannot be generated again.

          Example

          A distributor's sales executive releases an invoice from an order: 40 cartons of tea at 250 each for a retail customer, Sunrise General Store. The customer is in the same state as the selling branch, and the Due Date is 15 days out. The invoice opens as Draft:

          • document number INV-10102026-000318;
          • Tax Supply Type Within State;
          • lines carrying CGST and SGST.

          The Amount Summary shows a base of 10,000, a 500 scheme discount, tax of 475 and a Total Amount of 9,975.

          The executive's manager reviews the lines and chooses Post General Ledger. The status becomes Posted, the receivable appears for the customer, and Payment Status reads Unpaid. Next:

          1. Post Inventory moves the 40 cartons out of stock.
          2. Delivery creates the delivery order.
          3. Print Invoice produces the copy that travels with the goods.
          4. E Invoice Generator stages the e-invoice. A few minutes later the IRN and QR code appear in the e - Invoice panel.

          Next week the customer pays 5,000 in cash, recorded with Payment on the Amount Summary panel. Outstanding Amount drops to 4,975, and Payment Status becomes Partially Paid.

          Two cartons then arrive damaged. The manager chooses Create Credit Note, picks the tea line with quantity 2 through Create From, and posts the note for 498.75. It applies to the invoice automatically: Open Amount falls to 4,476.25. Outstanding Amount stays at 4,975, because a credit note is not a payment.

          When the due date passes, Payment Status turns Overdue until the customer pays the rest.

          Training

          Practice exercise

          In a sandbox tenant whose selling company has finance enabled:

          1. Open a confirmed sales order with at least two lines and release an invoice with Invoice (OTC).
          2. Open the invoice. Check that its status is Draft, note its document number, and compare the Amount Summary total with the order total.
          3. Choose Post General Ledger. Expected result: Status is Posted, Payment Status is Unpaid, Edit is no longer in the header, and a journal appears on the Related tab.
          4. Choose Post Inventory. Expected result: the button disappears and Inventory Posting Status reads Posted.
          5. Record a payment for half the total with Payment on the Amount Summary panel. Expected result: Outstanding Amount and Open Amount both equal the other half, Payment Status is Partially Paid, and the invoice is listed in Outstanding Invoices.
          6. Choose Create Credit Note, add one line through Create From and post the credit note. Expected result: the invoice's Open Amount drops by the credit note total, but its Outstanding Amount does not.
          7. On a second posted invoice, choose Cancel and confirm. Expected result: Status is Cancelled and Payment Status is blank.

          Quick reference

          • Invoices live in Sales → Invoices and Finance → Invoices.
          • Status is never typed: posting makes it Posted, cancelling makes it Cancelled.
          • Payment Status (Unpaid, Partially Paid, Paid, Overdue) follows Open Amount and Due Date.
          • Change amounts by changing lines and charges; header totals are calculated.
          • Account, partner account and branch are fixed once the invoice is saved.
          • Post the ledger and the stock separately: Post General Ledger, then Post Inventory.
          • A posted invoice has no Edit. Line and charge changes re-post it automatically.
          • Apply payment uses advances, receipts and credit notes the customer already has.
          • Cancel within the window (24 hours by default). After that, use Create Credit Note.
          • A posted invoice cannot be deleted.

          Permissions

          Access is set on security profiles:

          • Entity access. Read, Create, Update and Delete on Invoice decide four things: whether a user sees invoices, and whether they get New, Edit and Delete. The shipped Sales, Sales Executive, Sales Manager, Service, Standard User and System Admin profiles have full access.
          • Actions. Every other invoice button needs its own grant on the profile's Actions tab. Without the grant, the button is not shown. The shipped grants are:
          ActionShipped profiles granted
          Post General LedgerSales Manager, Standard User, System Admin
          Post InventorySales Manager, Standard User, System Admin
          DeliverySales Executive, Sales Manager, Standard User, System Admin
          Create ShipmentSales Executive, Standard User, System Admin
          Selective Create ShipmentStandard User, System Admin
          Apply SchemeSales Executive, Sales Manager, Standard User, System Admin
          Product ConfiguratorSales Manager, Standard User, System Admin
          PaymentSales Manager, Standard User, System Admin
          Create Credit NoteSales, Sales Executive, Sales Manager, Standard User, System Admin
          Print InvoiceSales Manager, Standard User, System Admin
          Print Service Invoice, PreviewStandard User, System Admin
          E Invoice Generator, E Way Bill, Cancel E-Way BillSales Executive, Sales Manager, Standard User, System Admin
          CancelSales Executive, Standard User, System Admin
          CloneSales Executive, Standard User, System Admin

          Some actions are not in the table above:

          • Full Page Invoice Print and Half Print have no shipped grant. Add them to the profiles that should print those formats.
          • Write off is granted to Standard User and System Admin where your tenant has it. Writing off more than the tolerance also needs Force Write Off, which only System Admin has.
          • The actions that record e-way bill results from the integration are granted to System Admin only. Keep them with administrators or the integration's profile.

          A print or preview action also needs the document report it renders to be shared with the user.

          Configuration

          Administrators tailor invoices in these places.

          Sales settings. Setup → Feature Hub → Modules → Sales → Settings:

          • Cancellation window. Group Invoicing, Cancel Invoice allowed within (hours, 0 = no limit). The default is 24 and the range is 0 to 8760; 0 allows cancellation at any time. The confirmation dialog always mentions 24 hours, whatever value you set, so tell users if you change it.
          • Imported invoice rounding. Group Invoicing, Round imported invoice tax by group, for invoices imported from another system.
          • Credit-limit enforcement. Group Credit limit, Route credit limit breaches to an approval process. Off (default) blocks an invoice that breaches the customer's limit. On skips the block, so that an approval process you configure governs overrides. See Credit limits.
          • Free item stock. Group Schemes, Check free item stock when adding an invoice line. Off (default) checks stock for scheme free items only at inventory posting. On refuses a line whose earned free item is out of stock.

          Finance settings. Setup → Feature Hub → Modules → Finance → Settings, group Receivables & Payables:

          SettingDefaultEffect on invoices
          Apply unapplied payments to new invoices and billsSame orderSame order carries a receipt taken against the sales order onto its invoice. Oldest first also applies the customer's other unapplied receipts when the invoice posts. Manual applies nothing
          Apply a credit note to its invoice when it postsOnA posted credit note naming the invoice settles it for the smaller of the two open amounts
          Write-off tolerance10The largest balance a user may write off without Force Write Off
          Write off small residuals automaticallyOnWrites off what an application leaves open, up to the tolerance, when a write-off posting definition exists
          Record a payment for Cash / Bank / Card invoices and billsOffSee Cash and card sales

          The Tax group's Tax rounding chooses line or document rounding for invoice tax. Details of the receivables settings are in Payment allocations and Recording and applying payments.

          Document numbering. Setup → Feature Hub → Platform → Document Settings, Invoice Document Name Setting: series INV, a date part and a six-digit counter. Changing the series or the date format restarts the counter. See Email templates and document numbering.

          GL posting and accounts.

          • Enable finance under Org Settings → Companies switches on GL Posting Enabled for the selling company. Without it, posting creates no journal.
          • Posting definitions and the chart of accounts decide which accounts each line, tax and charge hits. A line discount can be booked to its own account with an InvoiceLine / Discount posting definition.
          • Write-offs need a posting definition with role WriteOff.

          See Chart of accounts.

          Document charges. Settings → Document Charges in the Sales, Procurement and Finance apps decides which charges an invoice offers. Each row names:

          • the document (Invoice);
          • optionally, a record type;
          • a charge item: an item of type Charge Item, or a Discount Item whose Discount Tax Treatment is After Tax;
          • whether it is a Default charge that every invoice shows;
          • optionally, a Formula that calculates the amount.

          Their accounts come from posting definitions with Entity Name Invoice and Posting Role Charge or Discount.

          Print formats. The print buttons render print templates:

          ButtonTemplate
          Print Invoice, Full Page Invoice PrintTax invoice
          Half PrintHalf page invoice
          Print Service InvoiceService invoice
          PreviewTax invoice with bank details

          To change a format, duplicate the shipped template under Setup → Entities → Invoice → Layouts (Type Print). See Document prints.

          Pricing, discounts and taxes. Price lists, discount groups and tax groups decide line prices and taxes. See Pricing, discounts and taxes.

          Layouts and views. These are all tenant metadata you can change in Design Studio:

          • the record layout and its button visibility conditions;
          • the Amount Summary panel's rows, and its Show Add Charge, Show Apply Payment and Show Write Off switches;
          • the list views.

          The shipped Invoice View (Finance) layout adds GL Posting Type and TCS Eligible Amount. The shipped Amount Summary has no TDS row. Add a TDS Amount row to it to show TDS by section on posted invoices, and to correct it there. See TDS transactions.

          Business rules. The shipped rules that set the status to Posted and Cancelled are editable business rules. If you change them, keep them in step with posting. See Business rules.

          GST integration. E-invoice registration and e-way bill generation need the GST integration connected. See E-invoicing.

          Common problems

          I can't find Post General Ledger, Delivery or Apply Scheme

          On the shipped layout, these buttons show only while the invoice is Draft and still has quantity waiting for delivery. A posted invoice no longer shows them. If the invoice is Draft and they are still missing, your profile lacks the action grant.

          Edit is missing on my invoice

          The invoice is posted. Posted invoices have no Edit. Change its lines on the Lines tab (the journal re-posts itself), raise a credit note, or cancel it within the window.

          "Only a posted invoice can be cancelled."

          Either the invoice's journal has not been posted, or the invoice is already cancelled. Post it first. If it is still Draft, delete it instead of cancelling.

          "An invoice can only be cancelled within 24 hours."

          The cancellation window has passed. The message shows the invoice's date and how many hours ago that was. Raise a credit note with Create Credit Note instead. Administrators can change the window in the Sales settings.

          "No eligible invoice lines found to cancel."

          Every line has already been cancelled. There is nothing left to reverse.

          "A cancelled invoice cannot be credited."

          The invoice is cancelled, so its journal and stock are already reversed. There is nothing left to credit.

          "Invoice 'INV-…' has a posted GL journal and cannot be deleted. Reverse or un-approve it first."

          A posted invoice cannot be deleted, because its journal and receivable would be left behind. Cancel it within the window, or raise a credit note.

          "Credit limit exceeded for …"

          The customer's open receivables plus this invoice would exceed their credit limit with this company. Collect payment, raise the limit, or ask your administrator about approval-based overrides. See Credit limits.

          You tried to change Account, Partner Account, Branch or Order after the invoice was saved with a value in it. These fields are fixed for the life of the invoice. Create a new invoice for the other party instead.

          "No GL account resolved for line '…'. Configure a PostingDefinition or a chart-of-accounts default."

          Posting could not find the account for an item, a tax, the header or the counterpart. An administrator needs to add a posting definition or a chart-of-accounts default for it; then post again. A similar message appears for tax lines, round-off, reverse-charge GST and document charges.

          "A cancelled invoice cannot be posted."

          The invoice is cancelled. Create a new invoice if the sale is still valid.

          "This invoice already has an IRN; an e-invoice cannot be regenerated."

          The invoice is already registered. Corrections after registration go through credit notes.

          "HSN/SAC code is required for e-invoicing on line '…'."

          A line's item has no HSN or SAC code. Add it to the item, then generate the e-invoice again.

          "Supplier Branch is required to create a shipment."

          Fill Supplier Branch on the invoice, then choose Create Shipment again.

          I posted the invoice but no journal appeared

          The selling company does not have GL posting enabled, so posting was skipped. Ask an administrator to enable finance for the company, then post again.

          Payment Status says Paid but the invoice is still in Outstanding Invoices

          The invoice was settled partly by a credit note, withheld TDS or a write-off. These lower Open Amount, which drives Payment Status. They do not lower Outstanding Amount, which counts payments only and drives the Outstanding Invoices view. To list what customers really still owe, filter on Open Amount above zero.

          Common questions

          Why can't I change the status myself?

          Status reflects what has happened in the ledger. Shipped business rules set it to Posted when the invoice is approved for posting, and to Cancelled when its lines are cancelled. A typed status that disagreed with the posting would show the invoice as billed when no journal exists. xMatix therefore shows "Invoice Status Not Editable" instead. Use Post General Ledger or Cancel to move the status.

          Do I have to post the ledger and the stock separately?

          Yes. Post General Ledger writes the accounting entries and the customer's receivable. Post Inventory moves the stock out of the warehouse. They are separate so that finance and the warehouse can act independently. GL Posting Status and Inventory Posting Status on the Details tab show where each stands.

          What is the difference between Outstanding Amount and Open Amount?

          Outstanding Amount is the total minus the payments applied to the invoice. Open Amount is the total minus everything that settled it: payments, credit notes, TDS the customer withheld, and write-offs. Open Amount is the figure that matches the customer's receivable in the ledger, and it drives Payment Status. The two agree when only payments have been applied.

          When does an invoice show as Overdue?

          From the day after its Due Date, as long as something is still open on it. Nobody has to save the invoice for this to happen. The due date is whatever was entered or copied onto the invoice; Payment Terms is text only and does not set it. An invoice with no due date never shows Overdue. Once the open amount is settled, the status becomes Paid.

          Can I change a posted invoice?

          Partly. The header has no Edit once the invoice is posted, so the parties, dates and addresses are final on screen. You can still change lines and charges. Each saved change reverses the journal and posts a new one, and payments already applied move to the new receivable item. For returns and price corrections, a credit note keeps a cleaner audit trail.

          Can I change the date of an invoice?

          You can set an earlier date before posting. Posting then uses that date for the journal, provided its accounting period is still open. You cannot date an invoice in the future: a future date is pulled back to today. Keep in mind that the cancellation window is measured from the document date, so an older date shortens the time left to cancel.