f0f1f2.studio Template reference
English
Open application
Interface

IOrganizationDetailsInfo

Definition

Namespace
Resto.Front.PrintTemplates.Cheques.Razor.TemplateModels
Available since
5.1

Requisites of the buying organisation a document is issued to: name, tax id, registration reason code, recipient code and address.

Detailed description

A cashier enters the requisites on the payment screen — in the requisites window, or in the extended "electronic invoice" window in countries that use e-invoices. What was entered is saved onto the corporate customer's card and offered again next time. The requisites can also arrive with a delivery order or be set through the API.

In a template this is Model.OrganizationDetails, and how much of it is filled depends on the document:

  • fiscal receipt appendix — before the requisites are entered the field is absent altogether; afterwards only Name, Code, AccountingReasonCode and Address are filled, the remaining fields are always empty here;
  • VAT invoice — the object always exists, but for a customer with no corporate counterparty everything except Name may be empty;
  • correction receipt appendix — the field is absent in this scenario.

The address is available both as one line (Address) and in parts (AddressCountry, AddressRegion, AddressCity, AddressStreet, AddressHouse, AddressPostCode). Among the requisite models only this one has the address in parts — and it is the buyer's address.

The stock templates of both documents are empty: they print only when a custom template is set for the document type. Do not confuse this with ICafeSetup, which holds the outlet's own requisites.

Available in documents

Access pathDocument types
Model.OrganizationDetailsFiscal receipt appendix, Correction fiscal receipt appendix, VAT invoice

Properties

NameTypeDescription
AccountingReasonCodestringTax registration reason code / Fiscal code
AddressstringFull address
AddressCitystringCity
AddressCountrystringCountry
AddressHousestringHouse
AddressPostCodestringPostal code
AddressRegionstringRegion
AddressStreetstringStreet
Codestring Tax id
NamestringName
RecipientCodestringRecipient code