This article describes the modifications in the document model since document model version 1.0. Current version (03/2022) of the Document Object Model (DOM): 1.1.0
The changes are made in the course of the implementation of additional countries. Existing implementations are not affected, the model is downward compatible.
In order to be able to meet the fiscalisation requirements in additional countries via the RetailForce Fiscal Middleware, it is recommended to adapt existing implementations and to transfer the new fields to the middleware in the future, provided they are available in the POS system.
- FiscalClient as of version 1.2.11
Changes in the Document Modell
- Added PrintCount property - number of prints when creating the receipt.
- Added property ProformaPrintCount - number of prints before saving the receipt (e.g.: information print in gastronomy)
- Added property DeliveryPrintCount - number of prints of intermediate orders / e.g.: table orders, or kitchen/bar print.
- Property SalesPerson added (Object type: User)
- Added property CustomerCount - number of customers on a receipt.
- Added property CreateDate - creation date of the position, if available
Item positions (DocumentPositionItem)
- Added property CostPrice - purchase price
- ItemDateOfEntry - entry date of the item
- Added CreateDate property - creation date of the payment, if any.
- Added User property - the user who entered the item
- Added SalesPerson property - the seller of the item
- Added PaymentTerminalReferenceId property - a possible transaction id of an attached payment terminal
- Property Identifier added
Additional document types (DocumentType)
- Document type ProformaInvoice added
- Document type Inventory (for inventories / stocktakings) added
Additional payment methods (PaymentType)
- CryptoCurrency - for payments with BitCoin & co.
- MobilePhoneApps - for payments with mobile phone apps
- BankAccount - payment by bank transfer
- CustomerCard - customer account
- Loyalty - payment with points, coupons
- Check - payment by cheque
- CreditNote - payment with credit note
Additional business transaction types (BusinessTransactionType)
- GrantGenuine - real grant
- GrantUnreal - fake grant
Additional reference types (ReferenceType)
- Predecessor - receipt / document issued before the current document (predecessing document)