# Version History

This section describes changes made in subsequent releases and the new features in this API:

| Release   | Enhancements | API Version
| ----------- | ----------- | ----------- |
|**2026.3** and Patch in **2026.2**| As part of VRP's ownership-aware model for items, a new property **OwnerNodeNumber** associated with the corresponding item in a sale transaction, has been introduced in the **OutputUnifiedDocumentItem** schema (*OutputUnifiedDocumentItem* > *items*).<br /> This property denotes the management node (corporate, country, chain, region, or store) associated with the respective item. <br /> **OwnerNodeNumber** appears in the response (200) of the following endpoints: <br />- **GET /api/v3/documents/unified/{ctrTransactionId}** <br />- **GET /api/v3/documents/unified** <br />- **POST /api/v3/documents/unified-list**.|v3
|**2026.3**|As part of the Vynamic Autonomous POS implementation, a new endpoint **POST /api/v1/Customer/customer-visit** has been introduced, which returns the customer visit information from the Central Transaction Repository so that the customer's visit history can be displayed on the Customer dashboard. < br/> Request parameters such as *Customer loyalty ID*, *Start date of the analysis period (dateFrom)*, and *End date of the analysis period (dateTo)* should return the following parameters in the response: <br /> - *lastVisit* - the date of the customer's most recent eligible transaction within the specified period. <br /> - *countOfvisit* - the total number of eligible customer transactions within the specified period.|v3
|**2026.3** and Patch in **2026.2** and **2024.2-SP5**|As part of extensions to the Vynamic Retail Managemenent, when a Cashier attempts to sign-on with any available authentication method and the attempt fails, the system processes this failure and creates a retail and **POSLOG** document for the invalid sign-on attempt. <br /> - For this purpose a **DocumentTypeID** type , Failed login attempt - **36001** is introduced in the unified format.<br /> When a Cashier **reprints** a document from the Electronic Journal:<br /> - The system creates a VRx and POSLOG document with **DocumentType 35001 - Receipt Reprint** <br /> - Additionally, Documents for reprint has **DocumentLinkTypeId = 21 (reprint)** to signify that the parent document was reprinted The **LinkedDocumentCode** parameter signifies the code of original document. <br /> - The **ReprintCount** parameter is incremented by 1 when document is reprinted and denotes the counter value of the reprint operation. For example, 2 when Document/Receipt was reprinted twice.<br /> When a Cashier **resumes** the shift:<br /> - The system creates a unified document for *Shift resume* with **DocumentTypeId = 30215** <br />When a Cashier **pauses** the shift:<br />- The system creates a unified document for *Shift pause* with **DocumentTypeId = 30214** . <br/> Additionally, the **NoSale** (300) document contains the **_DocumentReasonNo_** field which is used for updating the reason code for Cash Drawer Open|v3|**2026.3** and Patch in **2026.2**|As part of extensions to the Vynamic Retail Managemenent, the following new retail document have been added: <br /> **30043** - **SafeDeclaration** and LineType, **30209** - **SafeAmountDeclared** is introduced. Additionally, **LinkTypes** were extended with **20 - Correction** and **21 - ReprintReceipt**. The following endpoints are extended for their response fields:<br /> - **GET/documents/unified** <br /> - **GET/documents/unified/{ctrTransactionId}**<br /> - **POST/documents/unified-list**.<br /> The following properties were added to the **SafeDeclaration** schema: lineNumber, lineTypeId, cashBoxNumber, cashBoxId, methodOfPaymentNumber, methodOfPaymentName, currencyId, currencyCode, currencyRate, expectedAmount, declaredAmount, declaredBaseAmount, variance. The **denomination** schema is also updated with the fields methodOfPaymentNo, mopDenominationQuantity, mopDenominationNumber and unit. Additionally, the **linkedChildDocuments** schema is also updated with the field, linkedDocumentId, documentLinkTypeId, linkedDocumentCode, linkedBasketId and linkedDocumentStateName .|v3
|**2026.3** and Patch in **2026.2**|As part of extensions to the Vynamic Retail Managemenent, a new retail document **30043** - **SafeDeclaration** and LineType, **30209** - **SafeAmountDeclared** is introduced. Additionally, **LinkTypes** were extended with **20 - Correction** and **21 - ReprintReceipt**. The following endpoints are extended for their response fields:<br /> - **GET/documents/unified** <br /> - **GET/documents/unified/{ctrTransactionId}**<br /> - **POST/documents/unified-list**.<br /> The following properties were added to the **SafeDeclaration** schema: lineNumber, lineTypeId, cashBoxNumber, cashBoxId, methodOfPaymentNumber, methodOfPaymentName, currencyId, currencyCode, currencyRate, expectedAmount, declaredAmount, declaredBaseAmount, variance. The **denomination** schema is also updated with the fields methodOfPaymentNo, mopDenominationQuantity, mopDenominationNumber and unit. Additionally, the **linkedChildDocuments** schema is also updated with the field, linkedDocumentId, documentLinkTypeId, linkedDocumentCode, linkedBasketId and linkedDocumentStateName .|v3
|**2026.3**|As part of Vynamic POS's implementation of set-item sale in duty-free transactions, Vynamic CTR stores and processes such sale details in unified model format. A new component **ItemContentLine** has been introduced in the schema of the following endpoints:<br /> - **GET/documents/unified** <br /> - **GET/documents/unified/{ctrTransactionId}**<br /> - **POST/documents/unified-list**.<br /> This component will define the composition of the corresponding set item. Each content line represents an individual component included in the set, along with its attributes such as item number, article number, quantity, content factor, and quota information.|v3
|**2026.3**|A new endpoint **POST/search/items** has been introduced in *Search Documents* section of CTR API, as part of Vynamic POS's item refund/return mechanism enhancement. This endpoint will help retrieve/track the total number of items yet to be returned using the original receipt, avoiding duplications in different shops/locations. Users can retrieve such details by the externalDocumentId value, that is, the unique DocumentID value from the original document generated on POS. The *Response* will display a property **message** in selected conditions:<br /> - In case the **externalDocumentId** value is of a refund document, that is, if the **RefundTypeId** was set to any value other than *0* in the document, then the value of this property - **Provided ExternalDocumentId is for refund type document**. <br />- In case the queried **externalDocumentId** value is of a document, that does not exist in the **DocumentRegister** table of CTR's *Registry Database* , then the value of this property - **Provided ExternalDocumentId was not found in DocumentRegister. UnifiedModel with the provided ExternalDocumentId might not exist in CTR.**|v3
|**2026.2**| We have introduced a new property **CanisterIdentifier** in *Payments* section of CTR's Unified Model, to store *BagId* value generated during Safe Drop or Safe Out transactions, in Vynamic POS. This implementation is part of an initiative of launching a smart threshold to remove excess foreign and local currency from the POS drawer during active shifts.<br /> The **CanisterIdentifier** field will appear in the *Payments* section in **Response** of the following endpoints:<br /> - **GET/documents/unified** <br /> - **GET /documents/unified/{ctrTransactionId}** <br /> - **POST/documents/unified-list**|v3
|**2026.2| A new field - **discountedPriceunrounded** has been introduced as a non-rounded unit gross property, in CTRs Unified Model. This field will display the exact calculated price after discount application, preserving full precision for subsequent calculations. <br /> The **discountedPriceunrounded** field will appear in the *Items* property in **Response** of the following endpoints:<br /> - **POST/documents/unified-list** <br /> - **GET/documents/unified** <br /> - **GET/documents/unified/{ctrTransactionId}**|v3
|**2026.2 and Patch in API 2024.2-SP5, 2024.2-SP3**| We have introduced a reliable mechanism in CTR (Central Transaction Repository) to track and verify whether documents have been successfully delivered to third-party client systems. We introduced the following new endpoints: <br /> - **POST/ThirdPartyDeliveryStatus/save-document-third-party-delivery-status**: stores the delivery status information received from a third-party system for a specific document.<br /> - **POST/ThirdPartyDeliveryStatus/get-document-third-party-status-info** - Performs search for stored data from the **DocumentThirdPartyDeliveryStatus** table. The filters allowed for this endpoint are ctrUid, originDocumentId and documentCode and they only accept value or valueArray. <br /> Additionally, we performed the following changes in **POST/api/documents/search-extended** <br /> - Added query parameter includeThirdPartyStatusInfo:<br/> - Added Response fields **result.externalId** and **result.status** |v3
|**2026.2 and Patch in API 2024.2-SP5, 2024.2-SP3**| A possibility to categorize documents in the **IncludedDocuments** section of the following document (period workflows) types as inconsistent/problematic, has been introduced in CTR: <br /> - End of Day document (EOD - 2703) <br /> - Business End of Day document (BEOD - 2705) <br /> - End of Month (EOM - 2707) <br /> - Wet stock (fuel) reconciliation document (WetStockReconciliation - 30203). <br /> This categorization will also help list out if the documents ever had a history of inconsistency. <br /> Three new properties have been added to support this implementation in the **IncludedDocuments** section: <br /> - *IsPreviouslyInvalid* <br /> - *LastInvalidStateId* <br /> - *LastInvalidStateName*. <br /> Impacted endpoints: <br /> - **GET ​/Documents​/unified** <br /> - **GET /documents/unified/{ctrTransactionId}** <br /> - **POST /documents/unified-list**|v3
|**2026.2**| CTR now has a new service, the **Scheduler Service**, to reload report-schedules configured in **Vynamic Reporting** (Retail Management > Reporting > Report Builder > Vynamic Reporting - *Scheduler*). It operates by executing the **POST/ReportsScheduler/reloadreportschedules** endpoint, that is triggered when a user either creates a *new* report schedule or modifies an *existing* report schedule on **Vynamic Reporting**. This endpoint ensures that **CTR Scheduler Service** uses *latest* schedule-related details, for the respective report(s).|v3
|**2026.2**|To validate in-flight passenger details by storing relevant boarding-pass information, for determining tax-free purchase eligibility, the endpoints **GET /documents/unified**, **GET /documents/unified/{ctrTransactionId}**, and **POST /documents/unified-list** have been extended with few new parameters in the *Customer* section. The following parameters have been incorporated:<br/>  *customers.externalCustomerCode* <br/>  *customers.boardingPassDetails* <br/> - customers.boardingPassDetails.id <br/> - customers.boardingPassDetails.documentId <br/> - customers.boardingPassDetails.customerInformationId <br/> - customers.boardingPassDetails.lineNumber <br/> - customers.boardingPassDetails.boardingPassDocumentType <br/> - customers.boardingPassDetails.boardingPassRaw <br/> - customers.boardingPassDetails.boardingPassEntryTypeId <br/> - customers.boardingPassDetails.boardingPassEntryTypeName <br/> - customers.boardingPassDetails.formatCode <br/> - customers.boardingPassDetails.numberOfLegsEncoded <br/> - customers.boardingPassDetails.passengerName <br/> - customers.boardingPassDetails.passengerDescription <br/> - customers.boardingPassDetails.electronicTicketIndicator <br/> - customers.boardingPassDetails.versionNumber <br/> - customers.boardingPassDetails.sourceOfCheckIn <br/> - customers.boardingPassDetails.sourceOfBoardingPassIssuance <br/> - customers.boardingPassDetails.dateOfIssueOfBoardingPassJulian <br/> - customers.boardingPassDetails.airlineDesignatorOfBoardingPassIssuer <br/> - customers.boardingPassDetails.baggageTagLicencePlateNumber <br/> - customers.boardingPassDetails.creationDate <br/>  *customers.boardingPassSegment* <br/> - customers.boardingPassSegment.id <br/> - customers.boardingPassSegment.lineNumber <br/> - customers.boardingPassSegment.operatingCarrierPNR <br/> - customers.boardingPassSegment.fromCityAirportCode <br/> - customers.boardingPassSegment.toCityAirportCode <br/> - customers.boardingPassSegment.operatingCarrierDesignator <br/> - customers.boardingPassSegment.flightNumber <br/> - customers.boardingPassSegment.dateOfFlight <br/> - customers.boardingPassSegment.compartmentCode <br/> - customers.boardingPassSegment.seatNumber <br/> - customers.boardingPassSegment.checkInSequenceNumber <br/> - customers.boardingPassSegment.passengerStatus <br/> - customers.boardingPassSegment.selecteeIndicator <br/> - customers.boardingPassSegment.internationalDocumentationVerification <br/> - customers.boardingPassSegment.airlineNumericCode <br/> - customers.boardingPassSegment.documentFormSerialNumber <br/> - customers.boardingPassSegment.marketingCarrierDesignator <br/> - customers.boardingPassSegment.frequentFlyerAirlineDesignator <br/> - customers.boardingPassSegment.frequentFlyerNumber <br/> - customers.boardingPassSegment.idadIndicator <br/> - customers.boardingPassSegment.isSeatAssigned <br/> - customers.boardingPassSegment.freeBaggageAllowance <br/> - customers.boardingPassSegment.flightCode <br/> - customers.boardingPassSegment.fastTrack <br/> - customers.boardingPassSegment.firstNonConsecutiveBaggageTagLicensePlateNo <br/> - customers.boardingPassSegment.secondNonConsecutiveBaggageTagLicensePlateNo <br/> - customers.boardingPassSegment.customsId.|v3
|**2026.2**|To enhance the support for cashier in searching the ticket from Electronic Journal, as part of the Autonomous POS Client initiative, we extended the **POST/documents/search-extended** endpoint with the ability to sort response on the following fields: <br />- *documentDateTimeLocal* <br />- *documentDateTime* <br />- *modifiedDate* <br /> To sort this, two new parameters are introduced:<br />- *sortDirectionAsc* <br />- *sortField*<br />|v3
|**2026.2**|To generate a report or invoice from the CPaaS, a seller's address is required. Previously, addresses were stored in the cpaas.masterdata service, which is now deprecated. The cpaas.tenant service has replaced it, and addresses have been migrated there as location parameters. To avoid duplicate storage of addresses in both Retail and CPaaS, as well as to synchronize them and reduce the coupling between the two products, a new solution has been implemented. As part of this change, we have updated the following endpoints to include new fields in the response contract:<br /> - **GET /documents/unified** <br /> - **POST /documents/unified-list**<br /> - **GET /documents/unified/{ctrTransactionId}**<br /> The following optional property has been added to the AddressDetail object in the response contract under customers and counterparties: *name* (string).<br /> *customers.addressDetails.name* <br /> *counterparties.addressDetails.name* <br /> The seller's address is now extracted for the Unified Model document from the CTR. Only one address is stored in the document, located under the counterparties section, and the address from the most recent document is used.|v3
|**2026.2**|To enhance the support for cashier in retrieving the ticket from Electronic Journal via search and filters and, as part of the Autonomous POS Client initiative, we extended the **POST/documents/search-extended** endpoint by adding the following optional response fields: <br />- *DocumentTypeGroupId* <br />- *OperatorId* <br />- *NumberOfItemLines* <br /> Additionally, the fields *LocationId - BusinessUnitId* was mapped from the original document's *StationId* and the field *LocationName - BusinessUnitIdentifier* was mapped from the original document's *StationName*.<br />|v3
|**2026.2**|CTR now has the possibility of storing and distinguishing sources of items, received as a part of source application (in this case FCx) documents. Previously, to track and distinguish items, prefixes such as *6000* and *3000* for dry and fuel items respectively, were used in CTR processing.  With this implementation, a technical property, **ItemSource** has been introduced in Unified Model, to help simplify retrieving such data in the following field endpoints: <br />- **GET /documents/unified** <br /> - **GET /documents/unified/{ctrTransactionId}** <br /> - **POST /documents/unified-list** <br />The attribute supports tracking the incoming data using the following valid values: <br />**0 - Unknown/Undefined** - default value for non-fcx incoming document types,<br /> **1 - ItemMovementLines** - indicates details of all dry items,such as - *cookies*,<br /> **2 - FuelMovementLines** - indicates details of all wet items,such as - *gasolene*,<br /> **3 - ItemStatementLines** - indicates inventory count details.|v3
|**2026.2**|Retailers at airports are aiming to create a shopping environment specifically for their employees, contractors, and airline staff, who need a comprehensive sales program. To implement these discount programs effectively, it’s important to recognize employees and crew as a distinct customer type within the point-of-sale (POS) application. This identification allows them to receive appropriate discounts. Additionally, to store employee and crew data in the CTR unified model for further processing, the following existing endpoints are updated to include new fields: <br />- **GET /documents/unified**<br />- **GET /documents/unified/{ctrTransactionId}**<br />The following fields are added to the array of Customers.<br />*customsId*, *customsIdentifier*, *employeeIdentifier*, *fullName*, *employeeDetails*, and *crewDetails*.<br />*groupExternalId* and *isEligibleForDiscount* under *employeeDetails*,<br />*groupExternalId*, *isEligibleForDiscount*, and *hashedCrewId* under *crewDetails*.|v3
|**2026.2**| As part of the initiative to enhance document processing, a validation mechanism is adopted that ensures the correctness of values in the unified model. To support the enhancement, we introduced the new endpoint: <br /> - **GET /validation/details/{ctrUId}**. <br /> This endpoint retrieves details about validation problems. The endpoint enhances transparency and enables better integration with external workflows. |v3
|**2024.2-SP5** and Patch in API **2024.2**| CTR's Accounting Ledger report is now able to provide a more enhanced granular view of segmented transactional details. This enhancement is based on a customer request and includes the implementation of following new fields: *businessUnitCounterPartyName* and *fuelPriceChanges.departmentDescription*. <br /> These fields are added to the response of the following endpoints: **GET /documents/unified** , **GET /documents/unified/{ctrTransactionId}** and **POST /documents/unified-list**. <br /> Data type for the following fields are changed from long to string for the above mentioned endpoints. <br /> *operatorUserRoleNumber*, *loyaltyInfo.approverId* and *authorizedBy.approverUserRoleNumber*.  <br /> Due to the **breaking change** released in the CTR API, we changed its version to **v3**. <br /> Version (v2) remains functional until further notice for all the CTR endpoints except the above mentioned CTR endpoints for unified model.|v3
|**2024.2-SP5**|For the continuous improvement of the solution and to manage export service from CTR, we have introduced following new endpoints: <br /> - **PATCH /config/enable**. <br /> It enables an export configuration from CTR. <br /> - **PATCH /config/disable**. <br /> It disables an export configuration from CTR. |v2
|**2024.2-SP5** and Patch in API **2024.2**|A new report type, **accounting-ledger** has been introduced in CTR's Report Service to display transactional data attached to item(s) by filtering by financial group/account or ledger IDs. To add this improvement and maintain consistency with private CTR API we have added the value: *accounting-ledger* as a supported value for the *reportType* request field in the **POST /report/init** endpoint.|v2
|**2024.2-SP5**|To support the POS system in processing digital transactions (digital wallet, mobile payments, etc.)., a new method of payment type, **34-DigitalPayment**, has been added to CTR's Unified Model (*Enum > MethodOfPaymentTypes*). To add this improvement and maintain consistency with private CTR API we have added the value: "**34 - Digital payment**" to *payments.methodOfPaymentTypeId* and *fundBalances.methodOfPaymentTypeId* fields in the **GET /documents/unified**, **GET /documents/unified/{ctrTransactionId}**, **POST /documents/unified-list** endpoints.|v2
|**2024.2-SP5** and Patch in API **2024.2**|To enable a service-level health check, we introduced a new endpoint: <br/> - **GET /healthCheck**. <br/> It allows the API client to check the **status of the dependent backend services**. On the 200 response, the client receives the overall status information: *healthy*, *degraded*, *unhealthy*.|v2
|**2024.2-SP5**|A new document type, **30213 - PriceListFuelPOS** has been added in CTR's library to support manual fuel price change in Vynamic POS. To add this improvement and maintain consistency with private CTR API we have added a new enum value: "30213 - Price List for Fuel Items from POS" to  *documentTypeId* field in the **GET /documents/unified**, **GET /documents/unified/{ctrTransactionId}**, **POST /documents/unified-list** endpoints.|v2
|**2024.2-SP5**, Patch in API **2024.2**|CTR Unified model was extended with the field **Inquiries** (a list of Inquiry objects). This has been introduced as a part of VRx POS's configuration of **Inquiry forms** that are displayed on cashiers' screens for certain POS sales operations. To reflect this enhancement in the public API, we introduced a new array: *inquiries []* in the following endpoints: **GET /documents/unified**, **GET /documents/unified/{ctrTransactionId}**, and **POST /documents/unified-list**.<br/> The new field represents an inquiry with its details. Inquiry forms enable retailers to obtain additional information during transactions as may be required for business operations. |v2
|**2024.2-SP5**|As a part of **Rebates handling** enhancement, associated with Local Accounts, CTR unified model was extended with a new *documentLineType* = *Rebate*. It enables rebate information to be stored along with other invoice data related to Local Accounts. To support this extension, we added a new value to adjustments.lineTypeId field: **19 = Rebate** to the following endpoints: **GET /documents/unified**, **GET /documents/unified/{ctrTransactionId}**, and **POST /documents/unified-list**.<br/>It depicts a price change transaction in document containing local account related transactions with rebates.|v2
|**2024.2-SP5**|CTR's unified model (Model > Item) has been extended to support storing **content factor details** added in Vynamic Retail Management for all transactions. To reflect these changes in Public API we added the following new fields in the **GET /documents/unified**, **GET /documents/unified/{ctrTransactionId}**, **POST /documents/unified-list** endpoints:<br/>- *items.contentFactor* - depicts the quantity of the article per selling unit. <br/> - *items.contentFactorUnit* - unique identifier of a unit of measure in the system. <br/>- *items.contentFactorUnitName* - defines the unit of measurement of the product content. <br/> - *items.contentFactorUnitLabel* - depicts the unit label. <br/>- *originDatabaseId* -  indicates the id of the database that generated the document with the content factor details. <br/> The new properties: *ContentFactor*, *ContentPackageUnitNo*, *ContentPackageUnitName* were also added to the **list of filters**. To obtain the list of available filters, use the **GET /search/filters** endpoint.|v2
|**2024.2-SP5**|A new field *CountingDate* (Model > Item) has been added to CTR's unified model as a part of Vynamic Retail Management's **time control feature**. Time control enhancement enables you to track the time of counting items (on an individual basis) in the inventory. To support this extension we introduced a new field: *items.countingDate* in the **GET /documents/unified**, **GET /documents/unified/{ctrTransactionId}** and **POST /documents/unified-list** endpoints. <br/> The *items.countingDate* field depicts a timestamp (date and time) of item counting during stock count in 30010 - InventoryCount documents.|v2
|**2024.2-SP5**|Retention policies to streamline data storage per tenant were implemented in CTR's Cloud Blob Storage. As a result of this implementation, the data are moved from Hot to Cool, and then to the Archive tier after fixed intervals of time. When you encounter problems accessing documents from CTR and are informed that the required data are in the Archive tier, you can initiate **Rehydration process** to fully reconstitute and use data from Archive. To support this enhancement we exposed the following endpoints:<br/> - **POST /rehydration/init**  - initiates a rehydration process. <br/> - **GET /rehydration/status/{rehydrationProcessId}** - retrieves the status of a rehydration process using the respective *rehydrationProcessId*.|v2
|**2023.3-SP2**, **2024.1**, **2024.2**, **2024.2-SP5**|To maintain consistency with the CTR unified model, we added the following response field: *PosGrossSaleChecksum* to the **GET /documents/unified**, **GET /documents/unified/{ctrTransactionId}**, and **POST /documents/unified-list** endpoints. It depicts the **POS gross sale checksum** amount populated from the source End Of Day document, generated in the POS.|v2
|**2024.2-SP5 and Patch in API 2024.2-SP3**|CTR Unified model **DocumentCounterparty**, which represent the model of counterparty role in a document. has been enhanced with storing and returning **Dealer details**. To support this feature in public API, we added the following new enum value: 7 to *documentCounterparties.documentCounterpartyRoleId* in **GET /documents/unified**, **GET /documents/unified/{ctrTransactionId}**, and **POST /documents/unified-list** endpoints. It depicts **dealer-related details** regarding any sales transactions performed both normally or by involving **Local Account**.|v2
|**2024.2-SP5**|To support handling **Predefined Discounts** in documents, CTR Unified Model was extended with a new field: PriceChangeReasonNo (in Adjustment Array). It represents the **price change reason number**. We introduced the *adjustments.priceChangeReasonNo* field in the following endpoints (in response): **GET /documents/unified**, **GET /documents/unified/{ctrTransactionId}**, and **POST /documents/unified-list**.|v2
|**2024.2**|To support **Local Customer Account** implementation and **local account invoices** handling, CTR updated the unified model with new data depicting local account details. We enhanced the following endpoints: **GET /documents/unified**, **GET /documents/unified/{ctrTransactionId}**, **POST /documents/unified-list** in order to provide complete unified model details:<br/> <br/> - we added the following **new fields**: <br/> *payments.methodOfPaymentTypeName* - depicts **method of payment type** name. (For example, Local Account in base currency.) <br/> *payments.methodOfPaymentDescription* - depicts **method of payment description**.<br/> *payments.methodOfPaymentNumberOfCopies* - depicts **method of payment number of copies**.<br/> *customers.localAccountId* - indicates the **local account identifier**. <br/> *customers.localAccountDetails.'* - represents properties describing the **local account details**.<br/> *items.netAmount* -  indicates **net amount** <br/> *documentCounterparties []* - represents the model of **counterparty role** in a document. <br/> <br/>- we **updated enum values** with a new properties related to Local Account invoice operations in the following fields:  *documentTypeId, fiscalInfo.documentTypeId,  includedDocuments.documentTypeId, linkedDocuments.linkTypeId, linkedDocumentLines.linkTypeId, adjustments.lineTypeId* <br/> <br/> - to resolve an issue with a wrong data type, we corrected the following fields types from **int32 to int64**:  *payments.methodOfPaymentNumber*, *fundBalances.methodOfPaymentNumber* <br/><br/>- To maintain consistency with the backend and other endpoints related to the unified model, we changed the *periods.periodNumber* field type from  **int32 to int64** in the **GET /api/documents/unified/{ctrTransactionId}** endpoint.|v2
|**2024.1**|Vynamic CTR has introduced a new document type, **100001 - CashOut**, in the dictionary as the part of a client-specific enhancement. To enable an Public API User to see the complete list of document types, we introduced the new document type enum value: *100001 - CashOut* to the following endpoints documentation: <br/> - **GET /documents/unified**, **GET /documents/unified/{ctrTransactionId}**, **POST /documents/unified-list** (*documentTypeId*, *fiscalInfo.documentTypeId*, *includedDocuments.documentTypeId* response fields)  <br/> - **POST /documents/search-extended** (*result.documentTypeId*, *result.derivativeDocuments.documentTypeId* response fields). <br/> The **100001 - CashOut** document type is generated as a part of transaction completed using the Cash Out option in Vynamic POS.|v2
|**2024.1**|To close a gap in validation the CTR product has changed the _basketId_ and _documentTypeId_ fields in _documentData_ to mandatory in the **POST /documents** endpoint backend. Both, _basketId_ and _documentTypeId_, are important for identification and data consistency in CTR.|v2
|**2024.1**|To solve the issue of missing result fields (_firstName_  and  _lastName_) we added the following response fields to the  **POST /documents/search-extended**  endpoint: *result.firstName*, *result.lastName*|v2
|**2024.1**|We added the optional response field _tenantId_ in the **POST /documents/unified-list** endpoint. Tenant Id can be returned in a response as it is a part of the unified model contract.|v2
|**2024.1**|CTR uses the **Process Code** and Flag mechanism to mark respective documents. All documents are identified with specific process **Flags** that are assigned to them. Process codes and the flag mechanism makes it possible to manage export data. We introduced the following endpoints that check process code existence and retrieve the process flag:<br /> - **GET /processCode/exists** - checks the process code existence <br /> - **GET /processCode/getProcessFlag** - retrieves documents with a specific process flag and the CTR document Id (*ctrTransactionId*) value | v2
|**2024.1**|CTR Documents can be exported one-by-one or in batches. **Batch export** enables users to extract all unified documents in a single .zip file instead of processing each file. We implemented specific endpoints to support this process:<br /> - **POST /documentsBatch/init** - initiates export for batch documents in a unified format.<br /> - **GET /documentsBatch/status/{requestId}** - retrieves the status of an export process using the respective requestId.<br /> - **GET /documentsBatch/download/{requestId}** - downloads the generated DocumentsBatch file, using the respective export ID (requestId) <br /> We also exposed **GET /search/filters** endpoint which returns a list of available filters used in search endpoints. The user can extract all unified documents by using respective filters obtained from the **GET /search/filters**.|v2
|**2023.3-SP1**|To meet the legal and tax requirements necessary for enabling the Recapitulative Invoice implementation, we have extended the **POST /documents/search/extended** endpoint. We introduced the following new response fields:<br /> -   _numberOfPages_ <br />-   _documentNetAmountBaseCurrency_<br />-   _documentTaxAmountBaseCurrency_<br />-   _counterparties.companyName_<br /> To support collecting all of the issued invoices (complete and simplified) from CTR, assigned to the particular customer, we also introduced 3 new possible filters: _customers.fiscalCode_, _customers.fiscalCodeType_, _counterparties.contactDetails.taxId_|v2
|**2023.3-SP1**|To keep consistency with the current implementation we added the _message_ object which encapsulated existing fields _message.tenantId_ and _message.transactions_ to **POST /posLog** SAPI.|v2
|**2023.3**|To enable storing information about events, and retrieving them for auditing purposes, we have introduced three new endpoints:   <br />  - **POST /events** - initiates registering and storing an event. <br /> -  **GET /events/{dbId}** - retrieves an event based on internal identifiers, defined values and properties useful for further analysis.<br />    - **POST /events/search** - searches and sorts events by a variety of filters. <br /> Events stores details on all "non sale" activities, for example: cash drawer openings, suspended transactions, price changes, void receipts, customer or item modifications, etc.|2.3.21
|**2023.3**|To support extensions of the CTR Documents unified model, we introduced the following changes to endpoints: **GET /documents/unified**,  **GET /documents/unified/{ctrTransactionId}**  and  **POST /documents/unified-list**: <br /> - To enable the POS system to provide additional information about workstations and clients producing documents received by CTR, we added the following fields:  _workstationTypeId_,  _workstationTypeName_,  _clientId_,  _clientCode_,  _clientName_. <br /> - To retrieve sales person (assistant) details from sales transactions received in the CTR unified document, we added the following fields:  _items.salesPersonId_,  _items.salesPersonName_. <br /> - To maintain consistency with private CTR API, we exposed in public API the following fields:  _customers.fiscalCode_  and  _customers.fiscalCodeType._ <br /> - To retrieve payment details of the shift sign off transactions received in the CTR unified document, we have changed  _payments.lineTypeId_  field: we added two new unique identifiers of the document line type: *FloatIn* = 30210 and *FloatOut* = 30211. <br />  - To retrieve additional item details of the sales transactions received in the CTR unified document, we added the additional value to  _items.itemTypeId_  identifiers:  _50 - Product with Variants_, and extended the Item array with the following fields to support tare and measurements information:  <br /> 1.  _items.itemTareWeight_  (decimal)  <br /> 2.  _items.measurementTypeId_  (int)  <br /> 3. _items.isItemTareOverwrite_  (boolean)  <br />  4.  _items.itemTareNumber_  (string max. 255)  <br />  5.  _items.itemTareName_  (string max. 255) | 2.3.21
|**2023.3**|To provide complete information within the  **CTR unified format**, we enhanced the existing endpoints: **GET /documents/unified**, **GET /documents/unified/{ctrTransactionId}**, **POST /documents/unified-list**. Part of the enhancements are related to POSLog changes. <br /> <br /> To enable the system to transform additional attributes from the list of attributes available in the sales transactions into the unified model in CTR, we added the following fields: <br />  - Details about the **organization's hierarchy**  (_businessUnitGroupId, businessUnitGroupName, businessUnitGroupTypeName, businessUnitGroupTypeId_); <br />  - POS  **device identifier**  and **TaxId**  (_workstationDeviceIdentifier, workstationTaxIdentifier_); <br /> -   **Operator User Role** and  **Approver User Role**  number and name (*operatorUserRoleNumber*, *operatorUserRoleName*, *authorizedBy*, *authorizedBy.approverUserRoleNumber*, *authorizedBy.approverUserRoleName*); <br />  -  We extended the  **Items array**  by 16 new fields providing detailed information on items, such as: the last cost, the average cost, the country of origin, sales restrictions, the financial group, etc.); <br />  - We extended the  **Payments array**  by new fields:  *payments.methodOfPaymentExternalId*, *payments.methodOfPaymentGroupId*, *payments.methodOfPaymentGroupName*; <br />  - We extended  **FundBalances array** by new fields: *fundBalances.methodOfPaymentExternalId*, *fundBalances.methodOfPaymentGroupId*, *fundBalances.methodOfPaymentGroupName*; <br />   - We extended the **Periods array**  by adding start and end dates; <br />  - We added a new field to the  **Taxes array**: *taxes.taxAmountAdjusted*; <br />   - We added new fields to the  **Cards array**: _cards.authorizationCode_ and _cards.expirationDate._ <br />  <br />  We also introduced the following changes to the existing fields: <br />  -  _periods.periodTypeId_ - we added new enum values ​​describing the period type, <br />   - _linkedDocuments.linkTypeId_ and _linkedDocumentLines.linkTypeId_ - we added new enum values describing link type identifiers, <br />  - _counterparties.typeId_ - we added new enum value describing the counterparty type identifier. <br /> <br /> To align the API response with the CTR private endpoint response we also added the following additional fields and variables: <br /> -  _periods.additionalInfo_ array (_periods.additionalInfo.attribute_,  _periods.additionalInfo.value_),  <br /> - _itemPayments.additionalInfo_  array (_itemPayments.additionalInfo_._attribute_,  _itemPayments.additionalInfo.value_), <br />  - to the Taxes array: _taxes.taxRuleDescription_  field, <br />  -  to the Customers:  _customers.addressDetails.location, customers.addressDetails.location.latitude, customers.addressDetails.location.longitude, customers.addressDetails.additionalInfo array, customers.contactDetails.additionalInfo_  array, <br />  -  to the FiscalInfo array:  _fiscalInfo.documentTypeId_, <br />  -  to the IncludedDocuments array:  _includedDocuments.originDocumentId_  attribute, <br />  - _counterparties.addressDetails.additionalInfo_  array,  _counterparties.contactDetails.additionalInfo_  array,  _counterparties.bankAccounts.additionalInfo_  array, <br />  - _loyaltyInfo.additionalInfo_  array (loyaltyInfo.additionalInfo.attribute, loyaltyInfo.additionalInfo.value), <br /> -   _fuelItemExtensions.additionalInfo_  array (_fuelItemExtensions.additionalInfo.attribute_,  _fuelItemExtensions.additionalInfo.value_), <br />  - _basketId_ and _originDocumentId_ fields.|2.3.21
|**2023.3**|To enable retailers to count the number of transactions available in a transformed document, exported from CTR, within a given business unit for a selected date range, we exposed the following endpoint that retrieves some statistical data: <br /> **POST /statistic**  - retrieves the number of transactions for a business unit per chosen date range.|2.3.21
|**2023.2**|To support CTR's Reporting Service, we have added the following set of endpoints, allowing to configure and download a predefined report types based on CTR identifiers: <br /> - **POST /report/init** to initiate a report with input parameters defined <br /> - **GET /report/status/{exportId}** to check status of a successfully initiated report <br /> - **GET /report/download/{exportId}** to download the ready report <br /> Reports contain analytical information for a particular period and could be used for example to evaluate the current customer billing metrics set according to standard pricing strategies. The generated report is prepared in the selected format (json or csv) and packed in the ZIP archive that is returned as a response. | 2.2.39
