Table of Contents

Enum DocumentType

Namespace
RetailForce.Fiscalisation.Model.Document
Assembly
RetailForce.Fiscalisation.Model.dll

The type of the document.

[JsonConverter(typeof(StringEnumConverter))]
[TypeConverter(typeof(EnumMemberEnumConverter))]
public enum DocumentType

Fields

[EnumMember(Value = "[1002] = AuditLog")] AuditLog = 1002

AuditLog type with no positions, used to send data to audit log.

[EnumMember(Value = "[98] = CashCheck")] CashCheck = 98

Cash check report (X-Report)

[EnumMember(Value = "[13] = CustomerOrder")] CustomerOrder = 13

Customer order represents an order of a customer.

Not to mix up with LongTermOrder. The long term order is for hospitality and gastronomy to support table orders. Customer order is a real order of a customer which will be delivered and payed (full payed) later.

[EnumMember(Value = "[2] = DeliveryNote")] DeliveryNote = 2

Delivery note to a customer.

[EnumMember(Value = "[99] = EndOfDay")] EndOfDay = 99

End Of Day Receipt (Z-report)

[EnumMember(Value = "[100] = Inventory")] Inventory = 100

Inventory (stock taking)

[EnumMember(Value = "[1] = Invoice")] Invoice = 1

Invoice to a customer.

[EnumMember(Value = "[80] = LongTermOrder")] LongTermOrder = 80

Long term order (Gastronomy = table order). Used for transactions which have a long lasting process from starting the transaction to end transaction.

[EnumMember(Value = "[1100] = MiscellaneousNonFiscal")] MiscellaneousNonFiscal = 1100

Non fiscal document type for digital receipt. Will cause an error when used for fiscalisation (TrustedFiscalModule.CreateDocument(DocumentType)/TrustedFiscalModule.StoreDocument(Document)).

[EnumMember(Value = "[1000] = NullReceipt")] NullReceipt = 1000

Null receipt to start fiscalisation.

[EnumMember(Value = "[90] = OpeningBalance")] OpeningBalance = 90

Opening balance (opening stock) of the cash register.

[EnumMember(Value = "[11] = PayIn")] PayIn = 11

Pay in to the cash register system.

[EnumMember(Value = "[10] = PayOut")] PayOut = 10

Pay out for the cash register system.

Payout has to be send with negative amount values to be a payout.

[EnumMember(Value = "[15] = PaymentReceipt")] PaymentReceipt = 15

Receipt issued to pay invoices or other receipts after issueing this receipts.

Reference to receipt which is payed is necessary.

[EnumMember(Value = "[14] = PreliminaryReceipt")] PreliminaryReceipt = 14

Receipt issued BEFORE payment in hospitality and gastronomy process. Used to inform the customer about the amount to pay.

Do not print out tax values on this receipt.

[EnumMember(Value = "[1001] = PrintingReceipt")] PrintingReceipt = 1001

Receipt type for printing receipt (only text positions) in countries with fiscal printer.

[EnumMember(Value = "[12] = ProformaInvoice")] ProformaInvoice = 12

Proforma invoice.

[EnumMember(Value = "[101] = Purchase")] Purchase = 101

Purchase document if goods are purchased for the company.

[EnumMember(Value = "[0] = Receipt")] [HelpInformation("This type represents a receipt.", null)] Receipt = 0

Receipt of a cash register system.

Remarks

Not every document type is used for every storage provider and fiscal interface.

You can find supported document types at IFiscalModulImplementation.SupportedDocumentTypes.

The document type does not reflect a change of the sign of the values (netvalue, ...) of the document. Therefore payout for instance has to be send with negative values.