Below are documented:
print-order.html page for printing an orderprint-quote.html page for printing a quoteprint-return.html page for printing a returnprint-invoice.html page for printing an invoiceprint-shippinginvoice.html page for printing a shipping invoiceprint-proforma.html page for printing a pro forma invoiceprint-creditnote.html page for printing a credit noteprint-receipt.html page for printing a receiptprint-packingslip.html page for printing a packing slip (DDT)Order print page. It is used in the admin when printing an order and on the site inside the view.html page.
var (
// Billing address.
billingAddress html
// Billing VAT number.
billingCompanyCode string
// Billing REA number.
billingCompanyCode2 string
// Billing email address.
billingEmail string
// Billing fax number.
billingFaxNumber string
// Billing mobile number.
billingMobileNumber string
// Billing tax code.
billingPersonalCode string
// Billing phone number.
billingPhoneNumber string
// Date when the order was created.
date Time
// Discount as the sum of discounts applied to the total cost.
discount Decimal
// Discounts applied to the total cost.
discounts []Decimal
// Recipient code or PEC address for the electronic invoice.
invoiceRecipient string
// Ordered product SKUs.
items []PrintedItem
// Order number.
number string
// Payment method.
payment string
// Payment fee (VAT excluded).
paymentCost Decimal
// Total cost before applying any discount.
prediscountSubtotal Price
// Reference number.
referenceNumber string
// Type of document it refers to.
referenceType html
// Customer requests.
requests string
// Seller address.
sellerAddress html
// Seller VAT number.
sellerCompanyCode string
// Seller email address.
sellerEmail string
// Seller fax number.
sellerFaxNumber string
// Seller mobile number.
sellerMobileNumber string
// Seller tax code.
sellerPersonalCode string
// Seller phone number.
sellerPhoneNumber string
// Shipping method.
shipping string
// Shipping address.
shippingAddress html
// Shipping costs (VAT excluded).
shippingCost Decimal
// Total cost.
subtotal Price
// Total tax amount.
taxAmount Decimal
// Taxes for each VAT class.
taxes []PrintedTax
// Terms and conditions.
terms string
// Total.
total Price
)
Quote print page. It is used in the admin when printing a quote and on the site inside the view.html page.
var (
// Billing address.
billingAddress html
// Billing VAT number.
billingCompanyCode string
// Billing REA number.
billingCompanyCode2 string
// Billing email address.
billingEmail string
// Billing fax number.
billingFaxNumber string
// Billing mobile number.
billingMobileNumber string
// Billing tax code.
billingPersonalCode string
// Billing phone number.
billingPhoneNumber string
// Date when the quote was created.
date Time
// Discount as the sum of discounts applied to the total cost (shown
// only if the status is sent, accepted, or expired).
discount Decimal
// Discounts applied to the total cost (shown only if the status is sent,
// accepted, or expired).
discounts []Decimal
// Due date (shown only if the status is sent, accepted, or expired).
dueDate Time
// Recipient code or PEC address for the electronic invoice.
invoiceRecipient string
// Product SKUs quoted or to be quoted.
items []PrintedItem
// Quote number (shown only if the status is sent, accepted, or expired).
number string
// Payment method (shown only if the status is sent, accepted, or expired).
payment string
// Payment fee (VAT excluded) (shown only if the status is sent, accepted,
// or expired).
paymentCost string
// Total cost before applying any discount (shown only if the status is
// sent, accepted, or expired).
prediscountSubtotal Price
// Reference number.
referenceNumber string
// Type of document it refers to.
referenceType html
// Customer requests.
requests string
// Seller address.
sellerAddress html
// Seller VAT number.
sellerCompanyCode string
// Seller email address.
sellerEmail string
// Seller fax number.
sellerFaxNumber string
// Seller mobile number.
sellerMobileNumber string
// Seller tax code.
sellerPersonalCode string
// Seller phone number.
sellerPhoneNumber string
// Shipping method (shown only if the status is sent, accepted, or expired).
shipping string
// Shipping address.
shippingAddress html
// Shipping costs (shown only if the status is sent, accepted, or expired).
shippingCost Decimal
// Total cost (shown only if the status is sent, accepted, or expired).
subtotal Price
// Total tax amount (shown only if the status is sent, accepted, or expired).
taxAmount Decimal
// Taxes for each VAT class (shown only if the status is sent, accepted,
// or expired).
taxes []PrintedTax
// Terms and conditions (shown only if the status is sent, accepted, or expired).
terms string
// Total (shown only if status is sent, accepted, or expired).
total Price
)
Return print page. It is used in the admin when printing a return and on the site inside the view.html page.
var (
// Customer address.
customerAddress html
// VAT number.
customerCompanyCode string
// REA number.
customerCompanyCode2 string
// Email address.
customerEmail string
// Fax number.
customerFaxNumber string
// Mobile number.
customerMobileNumber string
// Tax code.
customerPersonalCode string
// Phone number.
customerPhoneNumber string
// Date when the return was requested.
date Time
// Recipient code or PEC address for the electronic invoice.
invoiceRecipient string
// Product SKUs for which a return was requested.
items []PrintedReturnItem
// Return number.
number string
// Seller address.
sellerAddress html
// Seller VAT number.
sellerCompanyCode string
// Seller email address.
sellerEmail string
// Seller fax number.
sellerFaxNumber string
// Seller mobile number.
sellerMobileNumber string
// Seller tax code.
sellerPersonalCode string
// Seller phone number.
sellerPhoneNumber string
// Status.
status html
)
Invoice print page. It is used in the admin when printing an invoice and on the site inside the view.html page.
The variables from print-invoice.html are also used by the print-creditnote.html, print-proforma.html, and print-receipt.html pages.
var (
// Billing address.
billingAddress html
// Billing VAT number.
billingCompanyCode string
// REA number.
billingCompanyCode2 string
// Email address.
billingEmail string
// Fax number.
billingFaxNumber string
// Mobile number.
billingMobileNumber string
// Tax code.
billingPersonalCode string
// Phone number.
billingPhoneNumber string
// Discount as the sum of discounts applied to the total cost.
discount Decimal
// Discounts applied to the total cost.
discounts []Decimal
// Due date.
dueDate Time
// Recipient code or PEC address for the electronic invoice.
invoiceRecipient string
// Invoice rows.
items []PrintedItem
// Issue date.
issueDate Time
// Invoice number.
number string
// Payment method.
payment string
// Payment fee (VAT excluded).
paymentCost Decimal
// Total cost before applying any discount.
prediscountSubtotal Price
// Reference number.
referenceNumber string
// Type of document it refers to.
referenceType html
// Seller address.
sellerAddress html
// Seller VAT number.
sellerCompanyCode string
// Seller email address.
sellerEmail string
// Seller fax number.
sellerFaxNumber string
// Seller mobile number.
sellerMobileNumber string
// Seller tax code.
sellerPersonalCode string
// Seller phone number.
sellerPhoneNumber string
// Shipping method.
shipping string
// Shipping address.
shippingAddress html
// Shipping costs.
shippingCost Decimal
// Total cost.
subtotal Price
// Total tax amount.
taxAmount Decimal
// Taxes for each VAT class.
taxes []PrintedTax
// Terms and conditions.
terms string
// Total.
total Price
)
Shipping invoice print page. It is used in the admin when printing a shipping invoice and on the site inside the view.html page.
var (
// Billing address.
billingAddress html
// VAT number.
billingCompanyCode string
// REA number.
billingCompanyCode2 string
// Email address.
billingEmail string
// Fax number.
billingFaxNumber string
// Mobile number.
billingMobileNumber string
// Tax code.
billingPersonalCode string
// Phone number.
billingPhoneNumber string
// Discount as the sum of discounts applied to the total cost.
discount Decimal
// Discounts applied to the total cost.
discounts []Decimal
// Due date.
dueDate Time
// Appearance of goods.
goodsAppearance string
// Recipient code or PEC address for the electronic invoice.
invoiceRecipient string
// Indicates whether freight is assigned.
isPortoAssegnato bool
// Indicates whether freight is prepaid.
isPortoFranco bool
// Invoice rows.
items []PrintedItem
// Issue date.
issueDate Time
// Invoice number.
number string
// Number of packages.
numberOfPackages int
// Payment method.
payment string
// Payment fee (VAT excluded).
paymentCost Decimal
// Freight, can be Prepaid or Collect.
porto string
// Total cost before applying any discount.
prediscountSubtotal Price
// Reference number.
referenceNumber string
// Type of document it refers to.
referenceType html
// Seller address.
sellerAddress html
// Seller VAT number.
sellerCompanyCode string
// Seller email address.
sellerEmail string
// Seller fax number.
sellerFaxNumber string
// Seller mobile number.
sellerMobileNumber string
// Seller tax code.
sellerPersonalCode string
// Seller phone number.
sellerPhoneNumber string
// Shipping method.
shipping string
// Shipping address.
shippingAddress html
// Shipping costs.
shippingCost Decimal
// Shipping date and time.
shippingTime Time
// Total cost.
subtotal Price
// Total tax amount.
taxAmount Decimal
// Taxes for each VAT class.
taxes []PrintedTax
// Terms and conditions.
terms string
// Total.
total Price
// Shipment tracking number.
trackingNumber string
// Transport reason.
transportReason string
// Total weight of the rows.
weight Decimal
)
Pro forma print page. It is used in the admin when printing a pro forma invoice and on the site inside the view.html page.
The variables are the same as in the print-invoice.html page.
Credit note print page. It is used in the admin when printing a credit note and on the site inside the view.html page.
The variables are the same as in the print-invoice.html page.
Receipt print page. It is used in the admin when printing a receipt and on the site inside the view.html page.
The variables are the same as in the print-invoice.html page.
Packing slip print page. It is used in the admin when printing a DDT and on the site inside the view.html page.
var (
// Billing address.
billingAddress html
// VAT number.
billingCompanyCode string
// REA number.
billingCompanyCode2 string
// Email address.
billingEmail string
// Fax number.
billingFaxNumber string
// Mobile number.
billingMobileNumber string
// Tax code.
billingPersonalCode string
// Phone number.
billingPhoneNumber string
// Discount as the sum of discounts applied to the total cost.
discount Decimal
// Discounts applied to the total cost.
discounts []Decimal
// Appearance of goods.
goodsAppearance bool
// Indicates whether freight is assigned.
isPortoAssegnato bool
// Indicates whether freight is prepaid.
isPortoFranco bool
// DDT rows.
items []PrintedItem
// DDT number.
number string
// Number of packages.
numberOfPackages int
// Payment method.
payment string
// Payment fee (VAT excluded).
paymentCost Decimal
// Total cost before applying any discount.
prediscountSubtotal Price
// Freight, can be "Prepaid" or "Collect".
porto string
// Reference number.
referenceNumber string
// Type of document it refers to.
referenceType html
// Seller address.
sellerAddress html
// Seller VAT number.
sellerCompanyCode string
// Seller email address.
sellerEmail string
// Seller fax number.
sellerFaxNumber string
// Seller mobile number.
sellerMobileNumber string
// Seller tax code.
sellerPersonalCode string
// Seller phone number.
sellerPhoneNumber string
// Shipping method.
shipping string
// Shipping address.
shippingAddress html
// Shipping costs.
shippingCost Decimal
// Shipping date and time.
shippingTime string
// Total cost.
subtotal Price
// Total tax amount.
taxAmount Decimal
// Taxes for each VAT class.
taxes []PrintedTax
// Terms and conditions.
terms string
// Total.
total Price
// Shipment tracking number.
trackingNumber string
// Transport reason.
transportReason string
// Total weight of the rows.
weight Decimal
)