How do I choose which layout a document is printed with?
The document layout is the template the PDF of an invoice, a delivery note or a quote comes out with. You choose it on the document itself, with the Layout drop-down, and it also decides how the body of the paper is grouped.
Where is the drop-down?
On the invoice form, in the header, there is a Layout field. The same drop-down also appears in the form’s footer, so you don’t have to scroll up.
When you invoice delivery notes in bulk, the Invoice delivery notes screen has its own Layout, with a Document type default option at the start.
If the drop-down doesn’t appear, there is no layout in the catalogue for that type of document. It is sorted out in Reports → Print layouts.
Which options do I get and why?
Only the layouts compatible with that particular document appear. An incompatible layout isn’t offered, and if it ever got set, it wouldn’t be used.
What decides compatibility:
- The document type. A sales invoice only offers sales invoice layouts.
- Whether it is a credit note. A corrective invoice only offers corrective layouts, and a normal invoice only offers the ones that aren’t.
- Where the document comes from. The ‘from delivery notes’ layouts —summarised, detailed, combined, individual— are only offered if the invoice was made by grouping delivery notes. If it is a direct invoice, the Direct layout is offered and not the grouping ones.
- Your company’s tax scheme. In the foral territories, the (TicketBai) layouts are offered; in the common territory, the ones that aren’t.
The layouts in the POS sales documents folder aren’t offered here: the till receipt is printed from the POS itself.
In the document header each option shows its short name with the number —for example, ‘Invoice 1’—, so that it fits. Hovering over it shows the full title, ‘Direct sales invoice (Invoice 1)’. When you open the document, the one that is going to be used is already selected.
Can I print a document I am only viewing with a different layout?
Yes. The Layout drop-down can also be changed when viewing and on an issued invoice: it is about which paper it comes out on, not a detail of the document. Print, Open PDF and Download come out with the layout chosen.
When viewing, the choice applies to printing and isn’t saved on the document: the next time you open it, it will come out with its own.
What happens if I don’t touch the drop-down?
The default layout for the document type comes out. It is the one with the Default mark in Reports → Print layouts, and the one used whenever the document doesn’t set one.
If that default isn’t compatible with the document —for example, the company marked a ‘from delivery notes’ invoice as default and this invoice is direct—, the first in the list of compatible ones comes out. The drop-down shows it selected and the PDF comes out with it: what you see is what is printed.
Leaving it at the default isn’t the same as choosing it by hand: if you leave it as it is, the document isn’t pinned to any sheet, and if the company’s default is changed tomorrow, that document will come out with the new one. If you choose it expressly, it keeps that one.
If your company has its own layout and there is another factory one for the same paper, your own always wins.
Why does the layout change what you see on the paper?
Because choosing the layout is choosing how the body is grouped. There is no second switch that contradicts it. There are three modes:
- Detailed — the detail as it is. If the invoice comes from several delivery notes, each one comes out as a section with its subtotal.
- Summary — each section collapses into one line: the delivery note’s title and its amount. An invoice without sections has nothing to summarise, so it comes out in detail.
- Combined — groups the lines of the same item, with the same price and the same discount, and adds up their quantities and amounts. POS receipts always come out like this.
In all three modes the total is the same: the amounts of the grouped line are the sum of those already saved, not a recalculation. The VAT breakdown doesn’t change either.
Printing doesn’t change the document. The grouped lines only exist on paper.
Why does my invoice come out with a watermark?
Because it is still a draft document. Tax documents in draft come out stamped with SIN VALIDEZ FISCAL · BORRADOR (not valid for tax purposes · draft).
A tax draft has no final number, no hash, no QR code and no record with the Tax Agency. Printing it unmarked would produce a piece of paper you couldn’t tell apart from an issued invoice, and that is a legal problem.
The mark disappears on its own when you issue it. It can’t be removed from any option, and it doesn’t matter how it is printed: the preview, the printout and the archived PDF carry the same mark.
Documents that aren’t tax documents —quote, order, delivery note— are never marked: they are valid as soon as they are saved.
How do I make it go straight to the printer?
The document bar’s ⋯ menu has Direct printing. Unticked —which is how it comes— the PDF opens so you can look at it before printing. Ticked, the Print button sends the document to the workstation’s local agent, which prints it without a dialog on the printer set up for that terminal.
The change applies to the next printout, not to the one already on screen.
If the workstation has no terminal linked to it, or the agent isn’t running, printing falls back to the preview on its own. The document is never lost.
It is a workstation preference, not a company one: each operator has their own.
A landscape layout also prints in landscape this way, even if the workstation doesn’t have the Landscape tick box ticked in Configuration → Terminals. That tick box is for the opposite: printing a portrait page in landscape.
The Print button is separate: it opens the last PDF generated again and launches the browser’s print dialog. If the browser blocks the window, it warns you, and the Open PDF and Download icons stay to hand on the same bar.
If something goes wrong
| What you see | What has happened | What to do |
|---|---|---|
| The Layout field doesn’t appear | There are no layouts in the catalogue for that document type | Check Reports → Print layouts |
| ‘There is no default layout in the catalogue for …’ | That document type has no sheet marked Default | In Reports → Print layouts, choose the sheet and click Use as default |
| The layout I want isn’t in the list | It isn’t compatible with that document | Check whether the invoice is direct or from delivery notes, and whether it is a credit note |
| ‘Could not render layout … (no .rpt imported, or rendering failed?)’ | The chosen sheet is empty or the design fails | Choose another layout and tell whoever administers the ERP |
| A message with the name of a function | The layout asks for a calculation the system can’t work out | Choose another layout; that one needs checking |
| The default layout came out and I had chosen another | The chosen sheet was deleted from the catalogue, or stopped being compatible | Choose the layout on the document again |
| The invoice comes out with SIN VALIDEZ FISCAL · BORRADOR | It is still a draft document | Issue it |
| I ticked Direct and the viewer still opens | The workstation has no terminal, or the local agent isn’t responding | It is the intended fallback; check the workstation’s agent |
See also: Change the design of an invoice · Issue an invoice · Invoice several delivery notes at once
More about Reports
- How do I group and total a report?
- How do I see what share of the year’s sales falls in a period?
- How do I change the design of an invoice?
- How do I create a custom report?
- Where is each report?
- How do I export a report to Excel?
- How do I print labels?
- Running reports and formatting documents
- The standard reports in each area
- How do I run a report?