BOS Document Designer Interface

The BOS Document Designer is a flexible designer that allows organisations to create and customise their own forms such as invoices and quotations. These forms can be output in JSON, HTML or PDF.

Documents are designed by stacking bands on top of each other from the top down. Certain bands do not work with HTML because they rely on pages (e.g. Page Footer).

Two open-source fonts are supported with three styles each:

  • Roboto – Light, Regular, Bold
  • Roboto Serif – Light, Regular, Bold

If the text includes Thai characters, the fonts are substituted with these fonts:

  • Roboto > Noto Sans Thai
  • Roboto Serif > Noto Sans Thai Looped

Navigation: Main Menu > Setup > Form Designer > BOS Document Designer


List View

Buttons Explained

ButtonDescription
RefreshUpdates the display.
NewCreates a new document template.
MenuLayout

Fields Explained

FieldDescription
Field Chooser (*)Allows columns to be added or removed.
IDThe system-generated number allocated to the entry.
CodeThe brief description of the document.
DescriptionThe document’s description.
Page Depth (mm)The length of the page in mm.
Page Width (mm)The width of the page in mm.
CreatedThe date on which the document was created.
UpdatedThe date on which the document was updated.
Updated ByThe user who last updated the document.
WidgetA submenu with the following options:
– Copy
– Edit
– Delete

Edit View

Buttons Explained

ButtonDescription
ArrowsNavigates between documents.
EditAllows the entries to be edited.
NewCreates a new document.
SaveSaves any changes.
ActionsCopy Template: Copies the template to create a new one.
Delete Template: Deletes the template.
Preview
JSON: Displays a JSON preview.
HTML: Displays an HTML preview.
PDF: Displays a PDF preview.
PDF (With Border): Displays a PDF preview and draws lines to include the various fields’ borders.
MenuLayout

Header Explained

FieldDescription
DescriptionType a name for the document.
CodeType a brief description for the document.
Page Size – Depth (mm)Type the depth (length) of the page.
Page Size – Width (mm)Type the width of the page.

Bands Fields Explained

FieldDescription
Band (button next to Add)Adds a new band as selected from this list:
– Image
– Caption
– Text
– Line
– Image and Text
– Attributes/Specification
– Transaction Header
– Transaction Items
– Transaction Totals
– Page Footer
Field Chooser (*)Allows columns to be added or removed.
IDThe system-generated number for the entry.
Order IDThe system-generated number for the order of the entry.
DescriptionType the description.
The description is the only editable field in this section.
BandThe name of the band that was added.
CreatedThe date on which the entry was created.
UpdatedThe date on which the entry was updated.
Updated ByThe user who lasted updated the entry.
PlacementThe placement of the entry which can be selected for certain bands but is fixed for others.
WidgetA submenu with the following options:
– Move Up
– Move Down
– Delete

Selected Bands Field Explained

FieldDescription
+ – (buttons)Expands or collapses the display under the respective headings.
Field Chooser (*)Allows columns to be added or removed.
IDThe system-generated number for the entry.
DescriptionThe names of the fields that must be completed.
The descriptions are divided into blocks which change depending on the selected band. (See below.)
ValueThe values that must be typed in, checked, or selected.

The caption field is used for a large heading (e.g. QUOTATION).

FieldDescription
1. Caption
ContentClick the pencil to open a notepad where text can be entered.
AlignmentSelect an alignment from this list:
– Left
– Centre
– Right
Font NameSelect a font from this list:
– Roboto – Thin
– Roboto – Regular
– Roboto – Bold
– Roboto Serif – Thin
– Roboto Serif – Regular
– Roboto Serif – Bold
Examples of these fonts can be seen here.
Font SizeType the font size (e.g. 14).
2. Layout
PlacementSelect a placement from this list:
– Top
– Bottom
– Header
– Footer
Start New PageCheck the checkbox to start a new page.
Show on First PageCheck the checkbox to display the caption on the first page.
Show on Last PageCheck the checkbox to display the caption on the last page.
3. Margins
Top (mm)Type a number for the top margin.
Bottom (mm)Type a number for the bottom margin.
Left (mm)Type a number for the left margin.
Right (mm)Type a number for the right margin.

A horizontal line that is used to separate sections.

FieldDescription
1. Line
ColourClick the colour block to display an arrow.
Click the arrow to select a colour for the line.
HeightType the height of the line in mm (e.g. 0.25).
2. Layout
PlacementSelect a placement from this list:
– Top
– Bottom
3. Margins
Top (mm)Type a number for the top margin.
Bottom (mm)Type a number for the bottom margin.
Left (mm)Type a number for the left margin.
Right (mm)Type a number for the right margin.

The transaction header includes the customer or supplier’s details and other relevant information such as the name of the rep.

FieldDescription
1. Text
Label – NumberType a label for the number field (e.g. No.).
Label – DateType a label for the date field (e.g. Date).
Label – Due DateType a label for the due date (e.g. Due Date).
This field can be customised and might not be used as a due date.
Check the transaction for the correct caption.
Label – VAT No.Type a label for the VAT registration number (e.g. VAT No.)
Label – RepType a label for the rep field (e.g. Rep).
The field displays the rep’s code (short name).
Font NameSelect a font from this list:
– Roboto – Thin
– Roboto – Regular
– Roboto – Bold
– Roboto Serif – Thin
– Roboto Serif – Regular
– Roboto Serif – Bold
Font SizeType the font size (e.g. 8).
Line Height (em)Type the line height in em quadrant. (e.g. 1.4).
The em unit is the height of the font in nominal points or inches.
2. Layout
PlacementThe placement is fixed to Top.
Start New PageCheck the checkbox to start a new page.
3. Margins
Top (mm)Type a number for the top margin.
Bottom (mm)Type a number for the bottom margin.
Left (mm)Type a number for the left margin.
Right (mm)Type a number for the right margin.

This band is for the details of the transaction (e.g. the line items on a quotation).

FieldDescription
01. Column – Item No.
Label Type a label for the number field (e.g. No.).
AlignmentSelect an alignment from this list:
– Left
– Centre
– Right
VisibleCheck the checkbox to display the field.
Width (mm)Type the width in mm.
02. Column – Description
LabelType a label for the description (e.g. Description).
AlignmentSelect an alignment from this list:
– Left
– Centre
– Right
VisibleCheck the checkbox to display the field.
Width (mm)Enter the width in mm.
03. Column – Quantity
LabelType a caption for the quantity (e.g. Qty).
AlignmentSelect an alignment from this list:
– Left
– Centre
– Right
VisibleCheck the checkbox to display the field.
Width (mm)Type the width in mm.
04. Column – Unit
LabelType a label for the unit (e.g. Unit).
AlignmentSelect an alignment from this list:
– Left
– Centre
– Right
VisibleCheck the checkbox to display the field.
Width (mm)Type the width in mm.
05. Column – Unit Price
LabelType a label for the unit price (e.g. Unit Price).
AlignmentSelect an alignment from this list:
– Left
– Centre
– Right
VisibleCheck the checkbox to display the field.
Width (mm)Type the width in mm.
06. Column – Total Exc
LabelType a label for the VAT exclusive total (e.g. Total (excl. VAT)).
AlignmentSelect an alignment from this list:
– Left
– Centre
– Right
VisibleCheck the checkbox to display the field.
Width (mm)Type the width in mm.
07. Column – VAT
LabelType a label for the VAT amount (e.g. VAT).
AlignmentSelect an alignment from this list:
– Left
– Centre
– Right
VisibleCheck the checkbox to display the field.
Width (mm)Type the width in mm.
08. Column – Total Inc
LabelType a label for the unit price (e.g. Unit Price).
AlignmentSelect an alignment from this list:
– Left
– Centre
– Right
VisibleCheck the checkbox to display the field.
Width (mm)Type the width in mm.
09. Text
Font NameSelect a font from this list:
– Roboto – Thin
– Roboto – Regular
– Roboto – Bold
– Roboto Serif – Thin
– Roboto Serif – Regular
– Roboto Serif – Bold
Font SizeType the font size (e.g. 8).
10. Layout
PlacementThe placement is fixed to Body.
Start New PageCheck the checkbox to start a new page for the transaction items.
11. Margins
Top (mm)Type a number for the top margin.
Bottom (mm)Type a number for the bottom margin.
Left (mm)Type a number for the left margin.
Right (mm)Type a number for the right margin.

This section is for the totals (sum of all the transaction item totals).

FieldDescription
1. Column – Left
TextClick the field then click the pencil to open a notepad where text can be entered.
With (mm)Type the width for the field in mm.
2. Column – Centre
TextClick the field then click the pencil to open a notepad where text can be entered.
3. Column – RightType the font size (e.g. 8).
Label – SubtotalType a label for the subtotal (e.g. Subtotal).
Label – VATType a label for the VAT amount (e.g. VAT).
Label – TotalType a label for the total (e.g. Total).
Width (mm)Type the width for the entry in mm.
Label Width (mm)Type the width for the label in mm.
4. Text
Font NameSelect a font from this dropdown list:
– Roboto – Thin
– Roboto – Regular
– Roboto – Bold
– Roboto Serif – Thin
– Roboto Serif – Regular
– Roboto Serif – Bold
Font SizeType the font size (e.g. 8).
Line Height (em)Type the line height in em quadrant. (e.g. 1.4).
5. Layout
PlacementSelect Top or Bottom as the placement.
Start New PageCheck the checkbox to start a new page.
6. Margins
Top (mm)Type a number for the top margin.
Bottom (mm)Type a number for the bottom margin.
Left (mm)Type a number for the left margin.
Right (mm)Type a number for the right margin.

This section is for information to place in the footer such as the date printed.

FieldDescription
1. Column – Left
LeftSelect what data should be displayed from this list:
– Page Set
– Date Printed
– Custom Text
Custom TextType the custom text if that option was selected.
2. Column – Centre
CentreSelect what data should be displayed from this list:
– Page Set
– Date Printed
– Custom Text
Custom TextType the custom text if that option was selected.
3. Column – Right
RightSelect what data should be displayed from this list:
– Page Set
– Date Printed
– Custom Text
Custom TextType the custom text if that option was selected.
4. Text
Font NameSelect a font from this list:
– Roboto – Thin
– Roboto – Regular
– Roboto – Bold
– Roboto Serif – Thin
– Roboto Serif – Regular
– Roboto Serif – Bold
Font SizeType the font size (e.g. 8).
5. Layout
PlacementThe placement is fixed to Footer.
Show on First PageCheck the checkbox to display the footer on the first page.
Show on Last PageCheck the checkbox to display the footer on the last page.
6. Margins
Top (mm)Type a number for the top margin.
Bottom (mm)Type a number for the bottom margin.
Left (mm)Type a number for the left margin.
Right (mm)Type a number for the right margin.

This band allows an image to be included.

FieldDescription
1. Image
Image URLType or paste an URL.
PlacementSelect a placement from this list:
– Top
– Centre
– Bottom
Width (mm)Type the image width in mm.
Height (mm)Type the image height in mm.
2. Layout
PlacementSelect a placement from this list:
– Top
– Bottom
– Header
– Footer
– Background
Start New PageCheck the checkbox to start a new page.
Show on First PageCheckbox. If checked, the image is displayed on the first page.
Show on Last PageCheckbox. If checked, the image is displayed on the last page.
3. Margins
Top (mm)Type a number for the top margin.
Bottom (mm)Type a number for the bottom margin.
Left (mm)Type a number for the left margin.
Right (mm)Type a number for the right margin.

This band allows text to be included.

FieldDescription
1. Text
ContentClick the pencil to type or paste the text.
AlignmentSelect the alignment form this list:
– Left
– Centre
– Right
– Justify
Font NameSelect the font from this list:
– Roboto – Thin
– Roboto – Regular
– Roboto – Bold
– Roboto Serif – Thin
– Roboto Serif – Regular
– Roboto Serif – Bold
Font SizeType the font size (e.g. 8).
Line Height (em)Type the line height in em.
2. Layout
PlacementSelect a placement from this list:
– Top
– Bottom
– Header
– Footer
– Body
Start New PageCheck the checkbox to start a new page.
Show on First PageCheckbox. If checked, the text is displayed on the first page.
Show on Last PageCheckbox. If checked, the text is displayed on the last page.
ColumnsType the number of columns.
Column GapType a number for the space between columns.
3. Margins
Top (mm)Type a number for the top margin.
Bottom (mm)Type a number for the bottom margin.
Left (mm)Type a number for the left margin.
Right (mm)Type a number for the right margin.

This band can be used to insert a header such as the company name and logo.

FieldDescription
1. Image
Image URLType or paste an URL.
PlacementSelect a placement from this list:
– Left
– Right
Width (mm)Type the image width in mm.
Height (mm)Type the image height in mm.
2. Text
ContentClick the pencil to type or paste the text.
AlignmentSelect the text’s alignment form this list:
– Left
– Centre
– Right
– Justify
Font NameSelect the font from this list:
– Roboto – Thin
– Roboto – Regular
– Roboto – Bold
– Roboto Serif – Thin
– Roboto Serif – Regular
– Roboto Serif – Bold
Font SizeType the font size (e.g. 8)
Line Height (em)Type the line height in em.
3. Layout
PlacementSelect a placement from this list:
– Top
– Bottom
– Header
– Footer
– Body
Start New PageCheck the checkbox to start a new page.
Show on First PageCheckbox. If checked, the text and image are displayed on the first page.
Show on Last PageCheckbox. If checked, the text and image are displayed on the last page.
Column GapType a number for the space between columns.
4. Margins
Top (mm)Type a number for the top margin.
Bottom (mm)Type a number for the bottom margin.
Left (mm)Type a number for the left margin.
Right (mm)Type a number for the right margin.

Preview Examples





Related Articles