#Releasenotes V1.3.3

ATTENTION: Please take a look at the implementation instructions (new for 1.3.3).

##Main Features
- [x] France version BETA 2 (country module version 0.9.0)
- [x] Critical: Change: Improvement: Added validation for country specific required attributes to all country implementations.
- [x] Sweden version BETA 2 (country module version 0.9.0)

##TrustedFiscalModule 
- [x] Critical: Change: Improvement: Added validation for country specific required attributes to all country implementations.
- [x] Improvement: StorageRecord and all inhterited records no longer serializes signature if null.
- [x] Improvement: DepositOnEmpties are also allowed on document type LongTermOrder.
- [x] Improvement: France: Added several additional fiscal relevant fields to document.
- [x] Improvement: Added vat validation check to country agnostic code.
- [x] Improvement: France: Added original document number and type of reprint status to signature data of reprint document method.
- [x] Bugfix: ReprintDocument does not set RequestTime, RequestCompletionTime and PrintMessage (Test information).
- [x] Bugfix: AuditLog does not set RequestTime, RequestCompletionTime and PrintMessage (Test information).
- [x] Improvement: Added possibility to query the individual version of the country module.
- [x] Bugfix: France: Invoice is also recorded for reprint count. 
- [x] Bugfix: France: ReprintCount in fiscal response was not a reprint count over all document types.
- [x] Improvement: France: Added valdidation for partner/customer and appropriate fields.
- [x] Bugfix: France: Individual signature trail for invoice reprinting.
- [x] Improvement: France: Added document type PreleminaryReceipt for gastronomy/hospitality process france.
- [x] Bugfix: France: Signature chaining is implemented for each individual signature chain.
- [x] Improvement: France: DocumentType receipt will be an french invoice if partner fields are set (validation for partner fields added).
- [x] Improvement: Added extension function GetBookingPosition on document.
- [x] Bugfix: Possible NullReferenceException at extension method GetItemPositions.
- [x] Improvement: France: Added signature for grand total document. 
- [x] BugFix: France: First reprint starts with duplicate number 1.
- [x] BugFix: France: First reprint starts with duplicate number 1.
- [x] Bugfix: France: Signaturedata created for document does not show "Y" when prevouis signature was supplied.
- [x] Bugfix: France: First auditlog has CashRegisterID as previous signature instead of null.
- [x] Bugfix: France: ReprintDocument uses DocumentId instead of DocumentNr for creating unique duplicate document number.
- [x] Improvement: France: Purgable jet is also signed with a separate signature chain.
- [x] Improvement: France: EventId of jet is progressive number.
- [x] Improvement: Added MaximumHourIntervalForClosing check when storing documents.
- [x] Improvement: Added methods to check the last closing date and if a closing a necessary.
- [x] Bugfix: Preliminary receipt throws validation error total sum of payments must be equal total sum of receipt.
- [x] Bugfix: France: JetEntry format check does not reflect entries without previous signature.
- [x] Improvement: Added json null value handling (ignore) to StoredDocument properties to save disk space.
- [x] Improvement: Added method FetchAllAfter to DataStorage.
- [x] Improvement: France: Added ValidationException if document.User is not set at reprint document.
- [x] Improvement: France: Added closing grand total to FrenchArchive.
- [x] Improvement: Added possibility for rounding of document (total sum rounding).
- [x] Improvement: Denmark: Added rounding to saf-t export.
- [x] Improvement: Added methods to add json objects as string to zip file.
- [x] Improvement: Added new storage class to store json objects in file system (JsonFileStorage).
- [x] Improvement: JsonFileStorage: Added possibility to add string format to json file storage attributes.
- [x] Improvement: JsonFileStorage: Added additional attributes dictionary to addobject methods to add additional attributes to object.
- [x] Bugfix: In certain cases if fiscal client in nuget implementation is used with a deep path error storing documents can occur.
- [x] Bugfix: Romania: Taxgroup was not sent in item sale and voucher sale.
- [x] Bugfix: Poland: Taxgroup was not sent in item sale and voucher sale.
- [x] Bugfix: Romania: Taxgroup was not sent in item sale and voucher sale.
- [x] Bugfix: Romania: Added quantityunit at the item sale command.
- [x] Improvement: Romania: Added quantity unit and property id as required for romania at itemposition.
- [x] Improvement: Romania: Command cache is cleared in case of an error response or exception from the flink interface.
- [x] Improvement: Bulgaria: Command cache is cleared in case of an error response or exception from the flink interface.
- [x] Improvement: Poland: Command cache is cleared in case of an error response or exception from the flink interface.
- [x] Improvement: France: Added legal form and capital to fiscalclient.
- [x] Improvement: ValidateClient reflects also on country specific required attribute at fiscal client.
- [x] Improvement: Germany: SwissbitCloud export tar automatically at end of day.
- [x] Improvement: Improved json null value handling on document model.
- [x] Improvement: Improved json null value handling on fiscal client.
- [x] Improvement: Improved json null value handling on auditlog model.
- [x] Improvement: Removed unnecessary interface IFiscalResponseCountryBase.
- [x] Improvement: GetTaxFreeVat moved to fiscal country properties.
- [x] Improvement: Sweden: According to swedish regulation transaction is prohibited if ccu cannot be reached.
- [x] Improvement: Sweden: Added validation for store and terminal number to contain only numbers and characters.
- [x] Bugfix: Sweden: Client validation fails if FiscalClient.CompanyIdentification is set to null.
- [x] Bugfix: Sweden: Typo in validation error for business identification number fixed (9 numbers).
- [x] Improvement: Sweden: Added PayIn, PayOut, OpeningBalance, Invoice, ProformaInvoice. 
- [x] Improvement: Sweden: ReprintDocument endpoint implemented.
- [x] Improvement: Added TradeRegisterNumber to companyidentification type.
- [x] Improvement: France: Added FiscalModuleName, FiscalModuleVersion and FiscalCountryModuleVersion to FrenchArchive.
- [x] Improvement: Sweden: Added SignatureDeviceState to FiscalClientStatus for status about central control unit.
- [x] Improvement: Sweden: Added documentation.
- [x] Improvement: Germany: Performance improvement on fiscalisation process.

##TrustedFiscalService
- [x] Improvement: AddAuditLog will respond with status code 202 if same auditlog is sent twice.
- [x] Critical: Swagger documentation not working.
- [x] Improvement: Germany: Added file format to documentation of ExportTaxonomy endpoint.
- [x] Improvement: Added possibility to query the individual version of the country module.
- [x] Improvement: Added methods to check the last closing date and if a closing a necessary.

##FiscalServiceClient.net2 & FiscalServiceClient
- [x] Improvement: Germany: Added file format to documentation of ExportTaxonomy endpoint.
- [x] Improvement: Added methods to check the last closing date and if a closing a necessary.

##FiscalServiceClient sample
- [x] Bugfix: Item combo was only filled up for Germany and Austria -> all other countries added.
- [x] Improvement: Updated nuget packages.

##RetailCloud
- [x] Improvement: Added documentation to certificate end points.
- [x] Improvement: Added additional generic method to export json data to export file from cloud storage.
- [x] Improvement: France: Fiscal archive is now signed.
- [x] Improvement: Possiblity to store organisation and company identification more than one time on more organisations/companies when type is not in NotUniqueTypes.
- [x] Improvement: Added possibility to validate generated certificates (terminal and organization.
- [x] Improvement: Added possibility to validate signatures with terminal and organization certificates.
- [x] Improvement: Denmark: Added rounding to saf-t export.
- [x] Improvement: France: Added legal form and capital to organization and company model.
- [x] Bugfix: It is no longer possible to store a second active terminal with the same terminal number in the same store.
- [x] Improvement: Sweden: Adding cashregister serial (UniqueCashRegisterId) as device id to Control Unit Provisioning.
- [x] Bugfix: Austria: Export of dep sometimes fails when date range was before actual date.

##Testing
- [x] Improvement: France: Added test certificate to source control for france ci tests.
- [x] Improvement: France: Added testunit for signature data string creation of documents.
- [x] Improvement: France: Added testunit for signature data creating of jet entries.
- [x] Improvement: France: Added testunit for signature data creating of grand totals.
- [x] Improvement: Added MaximumHourIntervalForClosing parameter to fiscal country properties.
- [x] Improvement: Testunit for audit log store test improved.
- [x] Improvement: Added testunit for boolean XOR testunit.
- [x] Improvement: Added testunit for partner field check (validation).
- [x] Improvement: Added testunit for duplicate counter of document reprint.
- [x] Improvement: Added testunit for using the correct signature trail according to document type.
- [x] Improvement: France: Added testunit for jet signature chain.
- [x] Improvement: France: Added testunit for progressive number eventId.
- [x] Improvement: France: Added testunit to book preliminary receipt.
- [x] Improvement: France: Added testunit for signature creation of reprint.
- [x] Improvement: France: Added testunit to check if Document.User is set at reprint document.
- [x] Improvement: Added testunit to test total rounding of document.
- [x] Improvement: France: Added testunit to test total rounding of document.
- [x] Improvement: Added zip file extended test units to ci tests.
- [x] Improvement: Added additional test for zip file extended add json objects.
- [x] Improvement: Possibility to set parameter if UpdateClientByCloud should be included in the test.
- [x] Bugfix: Positioncount of document wasn't set correct in test routine.
- [x] Improvement: Added test for swissbit cloud client (fiscalservice.net2 test).
- [x] Improvement: Denmark: Adapted test unit to support also denmark.
- [x] Improvement: France: Added several additional testunits to CI tests.
- [x] Improvement: Sweden: Added additional testcases for axena control unit.
- [x] Improvement: Redefined basic test base for fiscal module tests and further unified business case tests.

##Common
- [x] Improvement: Added boolean xor extension method.
- [x] Improvement: Added Path.GetLastFilename and Path.GetFiles to Common.IO.Path.
- [x] Improvement: Added GetDictionary method to string extensions to return dictionary out of formatted key value pair record string.

##Swissbit Testform
- [x] Improvement: Germany: Updated nuget packages for swissbit testform.
