Creating a Sales Invoice
A sales invoice lets you record the products and services you sold to your clients, calculate tax and discounts, record payments, and create journal entries automatically. This guide explains every part of the invoice creation screen, and how tax is calculated and recorded in the tax account.
🛈
Note: Make sure the Sales app is enabled, and that you have the permission to add new invoices (to all clients or to your clients only), or the permission to add draft invoices.
Table of Contents
- Opening the Invoice Creation Screen
- Invoice Details
- Client Balance on the Invoice Screen
- Invoice Items
- Fixing the Selling Price in Invoices and POS
- Tax on the Invoice
- Is Tax Recorded in the Tax Account Automatically?
- Tabs Below the Items
- The Warehouse the Goods Are Issued From
- Notes on the Invoice
- Cash or Credit Invoice?
- Recording the Payment
- Preview and Save
- After Saving the Invoice
- FAQs
Opening the Invoice Creation Screen
- From the main menu, click Sales.
- Click Create Invoice.
Invoice Details
| Field | Description |
|---|---|
| Use Pre-filled Templates | To start the invoice with data previously saved in a template. |
| Invoice Layout | The invoice appearance when viewed and printed. Leave Default Invoice Layout, or choose another layout from Invoice/Estimate Layouts. |
| Client (required) | Choose the client, or click New to add a client quickly. To add them with full details, use Add Client. After choosing them, their balances appear below their details; see Client Balance on the Invoice Screen. |
| Edit Currency | Appears below the client to change the invoice currency and exchange rate. |
| Invoice Number | Generated automatically according to the auto numbering settings. |
| Invoice Date | The invoice date on which reports and the tax return are calculated. Changing it requires the Edit Invoice Date permission. |
| Issue Date | The invoice issue date if it differs from the day it was created. |
| Payment Terms | The number of days allowed to pay the invoice. |
| PO Number | The client’s purchase order number (optional). |
| Sales Person | The employee responsible for the sale, and more than one employee can be chosen with Multiple. |
| Order Source | Where the order came from (optional). |
| Cost Center / Sales Account | They appear according to the general accounting settings and account routing. |
| Add Extra Custom Field | To add fields that appear on the printed invoice. |
Client Balance on the Invoice Screen
After choosing the client in the Client field, their balances appear directly below their details, in the invoice currency, so you know the client’s position before saving the invoice:
| Balance | What it shows |
|---|---|
| Credit | The credit balance available to the client. A Distribute button appears next to it to distribute it to the client’s unpaid invoices, for users with permission. |
| Open | The total unpaid amounts on the client in their previous invoices. |
- The balance doesn’t appear if its value is zero.
- Balances update automatically when the client or the invoice currency changes.
- You can use the credit balance to pay the invoice by choosing Client Credit as a payment method; see Recording the Payment.
🛈
Note: Balances appear for users with the permission to view all clients, or the permission to view their clients if the client is one of theirs. To view all of the client’s balances and transactions, open the client file or their statement.
Invoice Items
Add the invoice items in the table; each line contains:
| Column | Description |
|---|---|
| Items | Search for the product or service by name or code. |
| Details | An additional description for the item. |
| Unit Price | The unit selling price. |
| Qty | The quantity sold. |
| Discount | A discount on the item (percentage or amount). |
| Tax | The first tax for the item, and a second tax column appears if you have two or more enabled taxes. |
| Subtotal | The line total. |
- To add a line, click Add, and to add many items at once, choose Paste from Sheet.
- Below the table, Total, Paid, and Balance Due appear.
Fixing the Selling Price in Invoices and POS
If you want employees to sell only at the product’s recorded price without editing it, or not to sell below a certain limit, use the following options:
| Goal | Option | Location |
|---|---|---|
| Prevent editing the price, name, and description in the invoice, and prevent entering unregistered items | Manual Item Edits and Custom Entry | Invoicing Settings › Invoice Configuration |
| Allow editing the price as long as it isn’t below a minimum | Minimum Sales Price Calculation + Minimum Price for the product | Invoicing Settings › Pricing & Discounts |
| Prevent editing the price or discount in POS | Permissions: Edit Product Price and Add Discount | Roles |
1. Manual Item Edits and Custom Entry
- Open Invoicing Settings, then the Invoice Configuration section.
- Turn off the Manual Item Edits and Custom Entry option (when enabled, it shows Allow, which is the default).
- Click Save.
After turning it off, when creating the invoice:
- Unit Price comes from the product (or from the price list) and can’t be edited.
- The item name and Details can’t be edited.
- An item not registered as a product or service can’t be entered (custom entry); the item must be chosen from the list.
- When editing the invoice, the product in the line can’t be changed.
- Editing the Qty, Discount, and Tax stays available.
It applies to sales invoices, estimates, sales orders, credit and debit notes, and refunds.
🛈
Warning: A product whose recorded price is 0 stays with an editable price even when the option is off; so record a selling price for each product. This option doesn’t apply to POS.
2. Minimum Sales Price Calculation
It allows the employee to edit the price, but prevents selling below the Minimum Price set for the product:
- In Invoicing Settings › Pricing & Discounts, enable Advanced Pricing Options (requires the Inventory app).
- In Minimum Sales Price Calculation, choose:
- Include Tax (the default): the minimum is compared with the unit price after tax.
- Exclude Tax: the minimum is compared with the unit price before tax.
- Save, then open each product and enter the Minimum Price in the pricing details.
- When selling below the limit, the message Product … has a minimum price … appears and the invoice isn’t saved.
- The price is calculated after the discount; so the limit can’t be bypassed with a discount on the item or the invoice.
- The minimum is in the account’s base currency, and the invoice price in a foreign currency is converted for comparison.
- It applies to invoices, estimates, and sales orders, as well as when saving POS invoices.
- A user with the Allow to Sell Under Product Minimum Price permission isn’t subject to the limit.
To show the minimum and the last selling price to the employee while creating the invoice, set Minimum and Last Selling Price Per Item Display in Invoice Configuration.
3. Fixing the Price in POS
In POS, the price is fixed through permissions (there is no setting in POS Settings for that):
- From Roles, remove the Edit Product Price permission from the cashier role; the price edit button disappears from the POS screen.
- And remove the Add Discount permission to prevent discounts on items and the invoice in POS.
- The Minimum Price stays applied when saving the invoice, and the price comes from the default POS price list.
Price Lists
If the client has a Price List, the item takes its price from it (otherwise from the default list or the product price). To prevent changing the list in the invoice, keep the Change Price List When Creating Invoices option disabled.
🛈
Note: To prevent selling below cost, use the Selling Items Below Average Cost option in Pricing & Discounts.
Tax on the Invoice
Choosing the Tax for Each Item
- The tax is chosen for each item from the Tax column, or choose No Tax for an item without tax.
- The tax is filled automatically according to the Default Tax setting in Sales Settings › Invoicing Settings: Match Product Tax (the default, takes the product tax), or No Tax, or Specific Tax. You can also make Require Tax 1 so an invoice without tax can’t be saved.
- To add a tax or edit its name or rate, choose Tax Settings from the tax list, or open Tax Settings.
Is the Price Tax-Inclusive or Exclusive?
This is set by the Included column for each tax in Tax Settings:
| Setting | What happens to the price you enter | Example: a price of 1,000 and a 15% tax |
|---|---|---|
| Exclusive (the default) | The price is without tax, and the tax is added to it. | Tax 150, and total 1,150. |
| Inclusive | The price includes tax, and the tax is extracted from it. | Net 869.57, tax 130.43, and total 1,000. |
- The discount is applied first, then the tax is calculated on the amount after the discount.
- If you choose two taxes for the same item, each is calculated on the item net, and the second tax isn’t calculated on the first.
- Each invoice keeps the tax rate at the time it was created. If you change the tax rate later and then edit the invoice, a message about the tax value change appears with the options Update or Ignore.
Is Tax Recorded in the Tax Account Automatically?
Yes, provided that the tax type is chosen on the item. The system doesn’t add tax on its own just because you entered the price without tax; you must choose the tax (such as VAT) in the Tax column for each taxable item. Then the tax is calculated, and when the invoice is saved, an automatic journal entry is created in which its amount is recorded in the tax account.
🛈
Warning: If the Tax column is left on No Tax, no tax is calculated on the item and no amount is recorded in the tax account, even if the price you entered is without tax. So before saving, make sure to choose the tax for each item, or set the Default Tax to be chosen automatically, or make Require Tax 1 so an invoice without tax can’t be saved.
Example: an invoice of 1,000, with 15% VAT (exclusive) chosen on the item:
| Account | Debit | Credit |
|---|---|---|
| Client | 1,150.00 | |
| Sales | 1,000.00 | |
| Income VAT | 150.00 | |
| Total | 1,150.00 | 1,150.00 |
- For each tax, an account Income [Tax Name] is created under [Tax Name] Payable in Current Liabilities, and a separate line is recorded in it for each tax in the invoice.
- To view the entry, open the invoice, click the entry link, then Open Full Entry (requires the Accounting app and the permission to view journal entries).
Tax isn’t recorded in the tax account in the following cases:
| Case | Reason |
|---|---|
| No tax was chosen on the item (No Tax) | There is no tax on the item at all. Choose the tax type in the Tax column. |
| The invoice is a Draft | Drafts don’t create journal entries until you issue them. |
| Sales routing is set to Cancel Account Routing | No journal entry is created for the whole invoice. |
| The Accounting app isn’t enabled | No journal entries are created. |
🛈
Warning: If you enter a tax-inclusive price while the tax is set to Exclusive, the tax is added again to the price and the total increases. In this case, enter the price without tax, or make the tax Inclusive.
Tabs Below the Items
| Tab | What it contains |
|---|---|
| Discount & Adjustment | A discount on the whole invoice (Percentage or Amount), and the Adjustment to set the final value. |
| Deposit | Advance Deposit: the amount required from the client, or recording an amount already paid with the treasury and the payment method. |
| Shipping Details / Warehouse | The shipping option, the Shipping Fees and their tax, the warehouse the goods are issued from, and Select Warehouse Per Item. |
| Attach Documents | Upload files or choose previously uploaded files. |
| Automatic Reminders | Automatic reminders linked to the invoice, such as payment dates. |
| Terms & Conditions | The terms that appear in the invoice when printing or sending. |
Then add Notes / Terms if you want (see Notes on the Invoice).
The Warehouse the Goods Are Issued From
When selling products whose stock is tracked, the quantities are deducted from the Warehouse set in the Shipping Details / Warehouse tab, and a cost of sales entry is recorded on this warehouse’s account:
| Account | Debit | Credit |
|---|---|---|
| Cost of sales | 100.00 | |
| The account of the warehouse the goods were issued from | 100.00 | |
| Total | 100.00 | 100.00 |
- Before saving, make sure the selected warehouse is the one where the goods actually are (such as the finished goods warehouse and not the raw materials warehouse).
- If the items are in more than one warehouse, enable Select Warehouse Per Item, and set each item’s warehouse from the Store column.
- The warehouse is filled automatically with the user’s default warehouse, then the branch’s, then the Primary warehouse. The field doesn’t appear if the user has permission on only one warehouse.
🛈
Warning: If the invoice was issued on the wrong warehouse, the credit side of the cost of sales entry shows that warehouse’s account (such as raw materials inventory instead of finished goods inventory), and the quantity is deducted from it and its balance may become negative. To correct it: edit the invoice, choose the correct warehouse, then save, and the stock transaction and the entry are recreated automatically.
To avoid this in all invoices, make the correct warehouse the default for selling: from default warehouse per employee for sales employees, or the Default Warehouse for the branch from Inventory & Products Settings, or make it Primary from Warehouses.
Notes on the Invoice
The system has two different types of notes on the invoice:
| Notes / Terms | Add Note / Attachment | |
|---|---|---|
| What it is | Text that appears inside the printed invoice and to the client. | Internal notes and follow-ups on the invoice (with attachments and appointments), and they can be shared with the client. |
| Where it is | In the invoice create/edit form, below the items and tabs. | A button on the invoice view page after saving it (or in the options menu). |
| When it appears | Always, in all invoices. | Only when the Follow Up Clients app is enabled, and for users with permission to add notes. |
| Appears in printing | Yes (through the layout). | No. |
The Notes / Terms Field
- A text editor that supports bold, italic, colors, lists, and links.
- It is filled automatically with the content of the Notes set in the Invoice Layout; so if you have fixed text (such as terms or bank account details), add it in the layout to appear in every invoice.
- Note: when you change the Invoice Layout in the form, the notes are replaced with the new layout’s notes, and what you wrote before the change is deleted. So choose the layout first, then write the notes.
- The notes appear in the printed invoice, the PDF file, and to the client, through the {%invoice_notes%} placeholder in the layout. If you edit the layout and delete this placeholder, the notes won’t be printed.
- The notes can be edited after issuing the invoice, even with e-invoicing enabled (which prevents editing the rest of the invoice data).
Add Note / Attachment
- Enable the Follow Up Clients app from the apps management (if it isn’t enabled).
- Open the invoice, and click Add Note / Attachment (or from the More Options / “…” menu on small screens).
- Write the note, attach files, and set the action or appointment if any. To show it to the client in their portal, enable sharing with the client.
- Save; it appears in the Notes / Attachments tab on the invoice page.
🛈
Note: The user needs the Add Notes / Attachments / Appointments for All Clients or for His Assigned Clients permission (for clients assigned to them or invoices they created). The Notes / Attachments tab appears only after adding the first note.
The Difference Between Notes and Terms & Conditions
The Terms & Conditions tab is different from the notes field: it is for choosing previously saved terms the client must accept before online payment, and it appears only when sending the invoice by email (not for printing), and doesn’t appear in estimates, notes, and refunds.
Cash or Credit Invoice?
There is no separate field in the invoice to choose “cash” or “credit”; the invoice type is determined by recording the payment when creating it:
| Invoice type | What to do in the invoice form | Result |
|---|---|---|
| Cash | Enable Already Paid, and choose a Payment Method and the treasury. | A payment is recorded for the full amount, and the invoice is saved with the Paid status. |
| Credit | Leave Already Paid unselected, and set the Payment Terms in days (such as 30). | The amount stays due from the client, the invoice is saved with the Unpaid status, and the due date is calculated automatically. |
| Partial cash and the rest credit | From the Deposit tab, record the paid amount in Advance Deposit (amount or percentage) with Already Paid. | A payment is recorded for the paid amount, and the invoice is saved with the Partially Paid status. |
Credit Invoices and Payment Terms
- Due Date = invoice date + the number of Payment Terms days. If the field is left empty, the invoice is due on the same day it is issued.
- After the due date passes without payment, the invoice appears as overdue.
- You can print the due date on the invoice by adding it from Custom Fields in the invoice layout, and set up reminders for the client from Automatic Reminders.
- When the client pays later, open the invoice and click Add Payment.
Making All Invoices Cash by Default
If most of your sales are cash, enable Mark Invoices As Already Paid By Default from Sales Settings › Invoicing Settings › Payments & Credits. Then Already Paid appears selected automatically in every new invoice, and you can unselect it manually for a credit invoice.
Client Credit Limit
If you enable Credit Limit or Credit Period Limit from the clients settings and set their value for the client, the system prevents saving a credit (or partially paid) invoice if the client exceeds the limit, with the message Client passed the credit limit or Client passed the credit period. This prevention doesn’t apply to a fully paid invoice.
Journal Entries in Both Cases
| Cash invoice | Credit invoice | |
|---|---|---|
| Invoice entry | Debit the client, and credit sales and tax. | Debit the client, and credit sales and tax. |
| Payment entry | Debit the treasury, and credit the client (at the same time). | None until the client pays. |
| Client balance | Zero. | Debit by the invoice value until payment. |
🛈
Note: Even a cash invoice goes through the client account and is then paid from it to the treasury; so the client statement shows the invoice and the payment together with a zero balance.
Recording the Payment
- If the client paid the invoice value, enable Already Paid.
- Choose the Payment Method and the treasury, and enter the Ref No. if any. The default payment method and the main treasury appear automatically.
- If the client paid in more than one way, choose Multiple and add a line for each payment with its payment method, treasury, and amount.
- If the client has a credit balance (shown below their details as in Client Balance on the Invoice Screen), you can choose Client Credit as a payment method.
Preview and Save
- Preview: to view the invoice in the browser or as PDF before saving (if preview is enabled in the invoicing settings).
- Save as Draft: the invoice is saved without a number or journal entries until you issue it.
- Save & Send Email / Save & Don’t Email: to send the invoice to the client by email on saving or not.
- Save & Print / Save & Don’t Print / Save & Add New: choose from the arrow next to the save button.
After Saving the Invoice
You go to the invoice page, from which you can Print the invoice, download it as PDF, or send it, and Add Payment, edit, clone, or delete, and follow the Payments, Activity Log, and Invoice Profit tabs. The invoice journal entry is also created automatically, as well as the cost of sales entry for stocked products.
FAQs
Does the client balance appear in the sales invoice?
Yes; after choosing the client on the invoice creation screen, their balances appear below their details in the invoice currency: Credit (the credit balance available to the client) and Open (the total unpaid amounts on the client). The balance doesn’t appear if its value is zero, and the user needs permission to view the client. Details.
Why did the cost of sales entry appear on raw materials inventory instead of finished goods inventory?
Because the invoice was issued on the main warehouse (the raw materials store). Edit the invoice, choose the finished goods warehouse in the Warehouse tab, then save, and set the default selling warehouse as in The Warehouse the Goods Are Issued From.
Why doesn’t the Add Note button appear in the invoice?
The Add Note / Attachment button on the invoice page appears only when the Follow Up Clients app is enabled, and it needs permission to add notes. To write a note that appears on the printed invoice, use the Notes / Terms field in the invoice form (from editing the invoice). See Notes on the Invoice.
I wrote notes and they didn’t appear on the printed invoice?
Make sure the invoice layout contains the {%invoice_notes%} placeholder in the notes section, and that you didn’t change the layout after writing the notes.
How do I set the invoice as credit or cash?
For a cash invoice, enable Already Paid and choose the payment method and treasury. For a credit invoice, leave Already Paid unselected, and set the Payment Terms in payment days. Details in Cash or Credit Invoice?.
Can the word “Cash” or “Credit” be printed on the invoice?
There is no ready placeholder for that, but you can show the Payment Status or Payment Method or Due Date from Custom Fields in the invoice layout.
I entered the amount without tax; is the tax recorded in the tax account automatically?
Yes, provided that you choose the tax type in the Tax column for each item; without choosing it, no tax is calculated and nothing is recorded in the tax account. If the tax is Exclusive, it is added to the amount, and recorded in the collected tax account when the invoice is saved.
Why doesn’t tax appear on the item?
Because the product has no tax and the default setting is Match Product Tax, or because the setting is No Tax. Choose the tax manually, set a tax for the product, or change the default tax.
Why doesn’t the second tax column appear?
It appears only if you have two or more enabled taxes in Tax Settings.
How do I fix the selling price in invoices?
Turn off Manual Item Edits and Custom Entry from Invoicing Settings, or set a Minimum Price for each product with Minimum Sales Price Calculation. Details.
How do I fix the price in POS?
Remove the Edit Product Price and Add Discount permissions from the cashier role.
I turned off item editing and a product price is still editable?
Because the product’s recorded price is 0; record a selling price for it.
The total is higher than expected?
You most likely entered a tax-inclusive price while the tax is Exclusive, so it was added again.
How do I set more than one sales person on the same invoice?
You can assign a sales person to each item in the same invoice, so each employee’s sales are calculated from their own items.
In the sales invoice:
- Open Create Invoice.
- In the Sales Person field, open the list and choose Multiple at its bottom.
- The Sales Person column appears in the items table. Choose the employee responsible for each item.
- Save the invoice.
In POS: Enable Assign Salesperson to Each Product or Service from POS Settings, then set the sales person for each item in the order.
To know each employee’s sales at the end of the month, open the Sales by Sales Person or Item Sales by Sales Person report from Reports. In invoices with more than one sales person, each employee is credited with the value of their own items only.
🛈
Note: The Sales Person field appears in the invoice only for users with the Change Sales Person permission.
Can several invoices with different dates and amounts be created for the client at once?
More than one invoice can’t be created at the same time from the invoice creation screen; each invoice is created separately. But you can add several invoices at once by importing them from an Excel or CSV file. In this case, prepare the invoice data (dates, amounts, and items) in the file first, then the system uploads it and creates the invoices from it.
Steps to import invoices:
- Open Invoices, click the arrow next to the add invoice button, then choose Import.
- Click Download Sample to download a sample file, and fill it with the invoice data. Give each invoice its own date, amount, and items.
- Upload the file, then click Next Step.
- In Fields Mapping, map each System Field to the Corresponding Field in File.
- Review the Import Options, then click Import.
- The Result appears with the number of imported invoices, and the rows with errors if any.
🛈
Note: The Import option appears for users who have the permission to add invoices.
How do I remove the barcode from the delivery note?
The barcode appears in the delivery note from the print template, and it is removed by editing the template:
- Open Invoice Layouts.
- Click Edit on the delivery note template.
- Delete the barcode according to its place in the template:
- Invoice barcode: delete the Invoice barcode field (and the barcode number if any) from the template content.
- Product barcode: remove the Barcode column from Item Columns.
- Click Save, then print the note again.
🛈
Note: The default Packing Slip document from the Vouchers list always prints the invoice barcode and it can’t be removed. If you want a delivery note without a barcode, create a special template without a barcode, and add it to the list from Mark as Voucher.