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,AccountingReasonCodeandAddressare filled, the remaining fields are always empty here; - VAT invoice — the object always exists, but for a customer with no corporate counterparty everything except
Namemay 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 path | Document types |
|---|---|
Model.OrganizationDetails | Fiscal receipt appendix, Correction fiscal receipt appendix, VAT invoice |
Properties
| Name | Type | Description |
|---|---|---|
| AccountingReasonCode | string | Tax registration reason code / Fiscal code |
| Address | string | Full address |
| AddressCity | string | City |
| AddressCountry | string | Country |
| AddressHouse | string | House |
| AddressPostCode | string | Postal code |
| AddressRegion | string | Region |
| AddressStreet | string | Street |
| Code | string | Tax id |
| Name | string | Name |
| RecipientCode | string | Recipient code |