Order of the Quantity and Unit Price Columns in Printed Invoices by Layout
The Quantity & unit price options field in a print layout sets the order of the quantity and unit price columns in the item table of the printed invoice, or hides both columns. You set it once in the layout, and it applies to every invoice that uses that layout when it is previewed or printed.
Article contents
Before you start
- The Edit General Settings permission to open and edit print layouts (the owner always has it).
- At least one print layout in Invoice/Estimate Layouts; every account has the Default Invoice Layout.
- Know which layout your invoices use: it shows in the Invoice Layout field at the top of the invoice form.
Steps to set the quantity and unit price order
First: open the layout
- From the main menu click Sales, then Sales Settings.
- Click the Invoice/Estimate Layouts card.
- Click Edit next to the layout your invoices use.
Second: choose the order and save
- In Quantity & unit price options choose one of:
- Show unit price before quantity (default).
- Show quantity before unit price.
- Hide quantity and unit price: both columns are removed from the printout.
- Click Save.
Third: check the result
- Open any invoice that uses this layout.
- The Invoice tab shows the printout in the new order; click Print to print it.
Note: The change applies at once to every invoice that uses the layout, including invoices created before the change; you do not need to open or save the invoice again.
Fields
| Field | Required / optional | Default | Accepted values | What it does |
|---|---|---|---|---|
| Quantity & unit price options | Optional | Show unit price before quantity | Show unit price before quantity / Show quantity before unit price / Hide quantity and unit price | Sets the order of the two columns in the item table of the printout, or hides them. |
| Invoice Layout (on the invoice form) | Optional | Default Invoice Layout | Any invoice layout in the account | Sets the layout the invoice is printed with, and with it the column order. |
Settings that affect it
No other setting affects this option; the order follows only the layout chosen on the invoice.
Validations and error messages
This option shows no error messages: the field is a list of three fixed choices, and any of them saves directly.
Restrictions
| Restriction | Details |
|---|---|
| Per layout | Each layout keeps its own value; changing one layout does not change the others. |
| Printout | The option shows in the printout and its preview in the Invoice tab. |
| Purchase layouts | Purchase layouts in Purchase Invoice Layouts have the same field, set per layout. |
| Hiding both columns | With Hide quantity and unit price the two columns are removed from the printout only; each item’s Subtotal and the totals stay. |
Permissions
| Permission | What it allows | Without it |
|---|---|---|
| Edit General Settings | Open and edit print layouts and save this option | Cannot open the layout edit page. |
| Permission to view invoices | Open the invoice, preview its printout and print it | Does not see the invoice or its printout. |
What happens after saving
- The option is saved in the layout itself.
- Every invoice that uses the layout shows the new order when previewed or printed, old and new.
- Quantities, prices and totals do not change; only the position of the two columns changes.
- No journal entries or stock movements are created.
Troubleshooting
| Problem | Cause | Fix |
|---|---|---|
| The column order did not change on the printed invoice | The invoice uses a different layout from the one you edited. | Open the invoice, check Invoice Layout, then edit that layout. |
| The quantity and unit price columns disappeared from the printout | The layout is set to Hide quantity and unit price. | Change the option to Show unit price before quantity or Show quantity before unit price. |
| The layout’s Edit button is missing or its page does not open | The user does not have Edit General Settings. | Add the permission to the user’s role, or ask the owner to make the change. |
| Older invoices changed order | The option applies to every invoice that uses the layout. | For a different order on some invoices, create another layout and choose it on those invoices. |
FAQs
Does the option change quantities, prices or totals?
No. Only the position of the two columns in the printout changes; values and totals stay the same.
Does the change apply to invoices created before the layout was edited?
Yes. Every invoice that uses the layout shows the new order when previewed or printed.
Can different invoices use different orders?
Yes. Set each layout to an order, then choose the right layout in the Invoice Layout field of each invoice.
What happens when Hide quantity and unit price is chosen?
Both columns are removed from the printout; the Subtotal column and the totals stay.
Do purchase layouts have the same option?
Yes. Open Purchase Invoice Layouts from Purchase Settings and set the field in the layout.
What is the default in layouts?
Show unit price before quantity.