Table of Contents

Class CanadianFiscalProperties

Namespace
RetailForce.Fiscalisation.Implementation.Canada
Assembly
RetailForce.Fiscalisation.Model.dll

Fiscal country properties for Canada.

public class CanadianFiscalProperties : FiscalCountryPropertiesBase<CanadaFiscalisationRequiredAttribute>, IFiscalCountryProperties
Inheritance
CanadianFiscalProperties
Implements
Inherited Members

Properties

AdditionalTaxesMayApply

True if additional taxes have to be sent according to the legislation; otherwise false.

public override bool AdditionalTaxesMayApply { get; }

Property Value

bool

AuditLogMandatory

True if the audit log has to be filled up; otherwise false.

public override bool AuditLogMandatory { get; }

Property Value

bool

CertificationType

Returns if pos certification process is mandatory or not.

public override CertificationType CertificationType { get; }

Property Value

CertificationType

CompanyIdentification

Returns mapping for company identification to local numbering systems.

public override Dictionary<CompanyIdentification.IdentificationType, CompanyIdentificationInformation> CompanyIdentification { get; }

Property Value

Dictionary<CompanyIdentification.IdentificationType, CompanyIdentificationInformation>

CountryModuleVersion

Returns the version of the country module.

public override Version CountryModuleVersion { get; }

Property Value

Version

CustomerDisplayMandatory

True if the customer display fiscal interface has to be implemented; otherwise false.

public override bool CustomerDisplayMandatory { get; }

Property Value

bool

FiscalCountry

The fiscal country for this property collection.

public override FiscalCountry FiscalCountry { get; }

Property Value

FiscalCountry

FiscalDocumentTypes

Returns a list of all fiscal necessary document types for this country.

public override List<DocumentType> FiscalDocumentTypes { get; }

Property Value

List<DocumentType>

FiscalLineInterface

True if the items must be transmitted to the fiscal interface individually; False if the whole document must be transmitted at once.

public override bool FiscalLineInterface { get; }

Property Value

bool

FiscalisationType

Returns the type of the fiscalisation for this country.

public override FiscalisationType FiscalisationType { get; }

Property Value

FiscalisationType

GetCloudArchiveAccessLicense

Returns the cloud archive access license for the respective country.

public override string GetCloudArchiveAccessLicense { get; }

Property Value

string

Remarks

Return empty string if there is not cloud

MaximumHourIntervalForClosing

The maximum interval in hours between two daily closings. If set to -1 it is infinite.

public override int MaximumHourIntervalForClosing { get; }

Property Value

int

Remarks

If the maximum interval is set and documents (except EndOfDay) are sent to the service the documents are blocked with an exception.

MustRecordDocumentReprint

True if the methods TrustedFiscalModule.ReprintDocument(Guid, User, string, int) or TrustedFiscalModule.ReprintDocument(Document, string) must be used to store the number of reprints of a document.

public override bool MustRecordDocumentReprint { get; }

Property Value

bool

MustSendCanceledPosition

Returns how deleted positions have to be handled.

public override bool MustSendCanceledPosition { get; }

Property Value

bool

MustSendClosingPerDay

True if the pos software must send a closing EndOfDay document each day; otherwise false.

public override bool MustSendClosingPerDay { get; }

Property Value

bool

NetValuePositionCalculation

Returns how the tax positions will be validated.

public override bool NetValuePositionCalculation { get; }

Property Value

bool

NotSupportedBusinessTransactionTypes

Returns a list of all not supported business transaction types.

public override List<BusinessTransactionType> NotSupportedBusinessTransactionTypes { get; }

Property Value

List<BusinessTransactionType>

NotSupportedDocumentTypes

Returns a list of not supported document types (normal case: MiscellaneousNonFiscal.

public override List<DocumentType> NotSupportedDocumentTypes { get; }

Property Value

List<DocumentType>

Remarks

A not supported document type must not be included in FiscalDocumentTypes.

NotSupportedPaymentTypes

Returns a list of all not supported payment types.

public override List<PaymentType> NotSupportedPaymentTypes { get; }

Property Value

List<PaymentType>

OverpaymentNotAllowed

Returns a list of payments for which overpayment (and thus cash return) is not allowed, e.g. voucher payment in some countries.

public override List<PaymentType> OverpaymentNotAllowed { get; }

Property Value

List<PaymentType>

PrintFiscalDocumentNumber

Returns whether the fiscal document number (of FiscalResponse) has to be printed out on the receipt or not.

public override bool PrintFiscalDocumentNumber { get; }

Property Value

bool

ReprintAllowedDomain

Returns the domain within reprints are allowed.

public override ReceiptDomain ReprintAllowedDomain { get; }

Property Value

ReceiptDomain

RequiredTimeZone

If set, time zone will be validated; otherwise null or empty.

public override string? RequiredTimeZone { get; }

Property Value

string

ReturnAndSaleBehavior

Returns whether one or more receipts have to be created when return and sales would both exist on one receipt.

public override ReturnAndSaleBehavior ReturnAndSaleBehavior { get; }

Property Value

ReturnAndSaleBehavior

ReturnDomainAllowed

Returns the domain where document references are allowed.

public override ReceiptDomain ReturnDomainAllowed { get; }

Property Value

ReceiptDomain

ReturnReferenceBehavior

Returns if more than one document is allowed to reference in one document (Multiple); otherwise not (Single).

public override ReturnReferenceBehavior ReturnReferenceBehavior { get; }

Property Value

ReturnReferenceBehavior

SupportedBusinessTransactionTypes

Returns a list of all supported business transaction types.

public override List<BusinessTransactionType> SupportedBusinessTransactionTypes { get; }

Property Value

List<BusinessTransactionType>

SupportedDocumentTypes

Returns a list of all by the fiscal module supported document types. Contains all document types (including fiscal document types).

public override List<DocumentType> SupportedDocumentTypes { get; }

Property Value

List<DocumentType>

Remarks

A supported document type can be send to the fiscal system, but is not a fiscalized document. Non fiscalized documents normally will not send a FiscalResponse.

SupportedPaymentTypes

Returns a list of all supported payment types.

public override List<PaymentType> SupportedPaymentTypes { get; }

Property Value

List<PaymentType>

SupportedPlatformTypes

Returns a list of all supported os platform types.

public override List<PlatformType> SupportedPlatformTypes { get; }

Property Value

List<PlatformType>

Remarks

Please note that although os platform is supported by the country, there could be limitation by a possible security device (tss in Germany, ...)

SupportedVatDefinitions

Returns the supported vat definitions for this country.

public override ReadOnlyCollection<Vat> SupportedVatDefinitions { get; }

Property Value

ReadOnlyCollection<Vat>

Remarks

It is important that values in this list are not changed but only added with respective date span (ValidFrom, ValidTo) to keep the history of vat rates!

SurchargesPossible

True if surcharges in fiscal document types are allowed; otherwise false.

public override bool SurchargesPossible { get; }

Property Value

bool

TaxFreeVat

The tax free vat class for this country.

public override Vat TaxFreeVat { get; }

Property Value

Vat

TerminalSlaveSupported

True if this country supports slave terminals; otherwise false.

public override bool TerminalSlaveSupported { get; }

Property Value

bool

TrainingModeAllowed

True if the training mode in this country is allowed; otherwise false.

public override bool TrainingModeAllowed { get; }

Property Value

bool

Methods

ValidateClientImplementation(FiscalClient, bool)

Validate client implementation for specific country

protected override List<ValidationError> ValidateClientImplementation(FiscalClient client, bool isNewClient)

Parameters

client FiscalClient

Fiscal client

isNewClient bool

Flag to indicate if client is newly created. If true, extended checks are performed.

Returns

List<ValidationError>