Receipt fields and settings
Every field well and every setting in the format pane of version 1.0.0.0, read from the package you download. The internal names in grey are what a PBIR file or a report-authoring agent uses. Which features need a licence is on the Receipt page; every setting works in edit mode with or without one.
14 fields · 13 cards · 89 settings Markdown for AI assistantscatalog.json
Fields
| Field | Takes | Needed | What it is for |
|---|---|---|---|
Itemitem | Column | Optional | Line items: account, product, cost element. |
Sectionsection | Column | Optional | Optional grouping with a header and a subtotal: Revenue, Cost of sales, Operating costs. |
Amountamount | Measure | Optional | The value of each line. Costs can be negative, or positive with Lines > Signs set to subtract them. |
Quantityquantity | Measure | Optional | Optional. Printed as 3 @ 12.00 under the item, or as a column. |
Comparisoncompare | Measure | Optional | Optional budget or prior-period measure: a difference column and a footer line (premium). |
Second Comparisoncompare2 | Measure | Optional | Optional second comparison, such as prior year next to budget: a difference % column or a footer line (premium). |
Taxtax | Measure | Optional | Optional tax amount per line; the receipt prints the sum as the tax line. |
Discountdiscount | Measure | Optional | Optional discount per line; printed as one line taken off the subtotal. |
Periodperiod | Measure | Optional | Optional text or date for the header and the barcode, for example SELECTEDVALUE or MAX of a date. |
Receipt ByreceiptBy | Column | Optional | Optional: one receipt per value, side by side (premium). |
Code ContentcodeContent | Measure | Optional | Optional text or link the QR or barcode carries, one per receipt: an order in your ERP, an approval form (premium). |
Stampstamp | Measure | Optional | Optional status printed as the rubber stamp, one per receipt: Approved, Pending, Overdue (premium). |
Iconicon | Column | Optional | Optional emoji or symbol printed before each item. |
Tooltipstooltips | Measure | Optional · up to 5 | Extra measures shown in the tooltip. |
Themetheme
| Setting | Type and options |
|---|---|
ThemeselectedTheme |
|
Transparent BackgroundtransparentBg | On / off |
Paperpaper
| Setting | Type and options |
|---|---|
Stylestyle |
|
TemplatetemplateSets the default labels, stamp words and footer for the kind of receipt. Anything you type in the cards wins. |
|
PaperpaperStyle |
|
Paper Width (Characters, 0 = Auto)width | Number |
Long Receiptsfit |
|
Text Size (px, 0 = Auto)fontSize | Number |
Fontfont |
|
Show Printer SlotshowPrinter | On / off |
Torn EdgetornEdge | On / off |
Letter CaseletterCase |
|
Paper ColorpaperColor | Colour |
Ink ColorinkColor | Colour |
Accent ColoraccentColor | Colour |
Background ColorcounterColor | Colour |
Headerheader
| Setting | Type and options |
|---|---|
Show Headershow | On / off |
Store Nametitle | Text |
Address Linesaddress | Text |
Show PeriodshowPeriod | On / off |
Period PrefixperiodPrefix | Text |
Show Receipt NumbershowNumber | On / off |
Show RulesshowRules | On / off |
Lineslines
| Setting | Type and options |
|---|---|
Section HeaderssectionHeaders | On / off |
Section SubtotalssectionSubtotals | On / off |
Sort Linessort |
|
Lines Per Section (0 = All)topN | Number |
Hide Zero LineshideZero | On / off |
Quantityquantity |
|
Long NameslongNames |
|
Dot LeadersdotLeaders | On / off |
Share BarsshareBars | On / off |
Negative Numbersnegative |
|
Numbersnumbers |
|
Currency Symbolcurrency |
|
Custom SymbolcurrencyText | Text |
Signssigns |
|
Sections To SubtractsubtractSectionsSection names, comma separated, whose amounts are subtracted: for a P&L model that stores costs as positive numbers. | Text |
Section OrdersectionOrderThe statement order, one section per line or ; separated. Sections you leave out follow in the data order. Running totals add up in this order. | Text |
Running TotalsrunningTotalsA line after a section with the running total so far, one per line or ; separated: Cost of sales = Gross profit. | Text |
Of Which Lines (premium)ofWhichParts of a line, printed under it and never added: one per line or ; separated, Item = Parent item, or just Item for the line before it. Premium: readers without a licence do not see them; the totals are the same. | Text |
Totalstotals
| Setting | Type and options |
|---|---|
Show SubtotalshowSubtotal | On / off |
Subtotal LabelsubtotalLabel | Text |
Section Subtotal LabelsectionSubtotalLabel | Text |
Discount LabeldiscountLabel | Text |
Discount (%)discountPct | Number |
TaxtaxMode |
|
Tax Rate (%)taxRate | Number |
Tax LabeltaxLabel | Text |
Total LabeltotalLabel | Text |
Total Size (%)totalSize | Number |
Show Item CountshowCount | On / off |
Item Count LabelcountLabel | Text |
Comparison (premium)comparison
| Setting | Type and options |
|---|---|
Show Comparisonshow | On / off |
Labellabel | Text |
Show Asdisplay |
|
Better Isfavourable |
|
Better ColorgoodColor | Colour |
Worse ColorbadColor | Colour |
Show Second Comparisonshow2 | On / off |
Second Labellabel2 | Text |
Second Comparison Shows Asdisplay2 |
|
Ratios (premium)ratios
| Setting | Type and options |
|---|---|
Show Ratiosshow | On / off |
Base SectionbaseEvery ratio is a share of this section, usually Revenue. Empty: the first section. | Text |
Margin LabelmarginLabel | Text |
% Of Base Columncolumn | On / off |
Barcode (premium)code
| Setting | Type and options |
|---|---|
Codetype |
|
ContentcontentText or link the code carries when no Code Content field is bound. Empty: store name, period and total. The visual never opens a link; a phone scans it. | Text |
Print The Text Under The BarcodeshowText | On / off |
Printinganimation
| Setting | Type and options |
|---|---|
Print On LoadprintOnLoad | On / off |
Lines Per Secondspeed | Number |
Reprint When Data Changesreprint | On / off |
Receipts (premium)receipts
| Setting | Type and options |
|---|---|
Receipts Per Row (0 = Auto)perRow | Number |
Gap (px)gap | Number |
Export (premium)export
| Setting | Type and options |
|---|---|
Show CSV ButtonshowButtonA CSV button in the top-right corner, shown on hover and keyboard focus. Needs the tenant setting Allow downloads from custom visuals. | On / off |
Accessibilityaccessibility
| Setting | Type and options |
|---|---|
Reduce MotionreduceMotionPrint the receipt at once instead of feeding it out. Follow system setting honours the viewer's reduced-motion preference. |
|
Focus Outline ColorfocusColorColour of the keyboard focus outline. Empty follows the theme; high contrast always uses the system colour. | Colour |
Focus Outline Width (px, 0 = Auto)focusWidthWidth of the keyboard focus outline. 0 uses 2 px. | Number |
Minimum Text Size (px, 0 = Off)minFontSizeNo receipt text is drawn smaller than this; a long receipt scrolls instead of shrinking further. | Number |
Setting a value in PBIR
In a visual.json, a setting goes under visual.objects, by card and internal name. Toggles take true or false, choices and text a value in single quotes ('auto'), numbers a D suffix (12D).
"visual": {
"visualType": "smartVisualsReceiptC3E1A7F05B2D4E8F9A61D2B7E4C80F13",
"objects": {
"theme": [{
"properties": {
"transparentBg": { "expr": { "Literal": { "Value": "true" } } }
}
}]
}
}