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). This property denotes the management node (corporate, country, chain, region, or store) associated with the respective item. OwnerNodeNumber appears in the response (200) of the following endpoints: - GET /api/v3/documents/unified/{ctrTransactionId} - GET /api/v3/documents/unified - 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: - lastVisit - the date of the customer's most recent eligible transaction within the specified period. - 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. - For this purpose a DocumentTypeID type , Failed login attempt - 36001 is introduced in the unified format. When a Cashier reprints a document from the Electronic Journal: - The system creates a VRx and POSLOG document with DocumentType 35001 - Receipt Reprint - 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. - 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. When a Cashier resumes the shift: - The system creates a unified document for Shift resume with DocumentTypeId = 30215 When a Cashier pauses the shift: - The system creates a unified document for Shift pause with DocumentTypeId = 30214 . 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, 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: - GET/documents/unified - GET/documents/unified/{ctrTransactionId} - POST/documents/unified-list. 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: - GET/documents/unified - GET/documents/unified/{ctrTransactionId} - POST/documents/unified-list. 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: - 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. - 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. The CanisterIdentifier field will appear in the Payments section in Response of the following endpoints: - GET/documents/unified - GET /documents/unified/{ctrTransactionId} - 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. The discountedPriceunrounded field will appear in the Items property in Response of the following endpoints: - POST/documents/unified-list - GET/documents/unified - 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: - POST/ThirdPartyDeliveryStatus/save-document-third-party-delivery-status: stores the delivery status information received from a third-party system for a specific document. - 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. Additionally, we performed the following changes in POST/api/documents/search-extended - Added query parameter includeThirdPartyStatusInfo: - 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: - End of Day document (EOD - 2703) - Business End of Day document (BEOD - 2705) - End of Month (EOM - 2707) - Wet stock (fuel) reconciliation document (WetStockReconciliation - 30203). This categorization will also help list out if the documents ever had a history of inconsistency. Three new properties have been added to support this implementation in the IncludedDocuments section: - IsPreviouslyInvalid - LastInvalidStateId - LastInvalidStateName. Impacted endpoints: - GET /Documents/unified - GET /documents/unified/{ctrTransactionId} - 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: customers.externalCustomerCode customers.boardingPassDetails - customers.boardingPassDetails.id - customers.boardingPassDetails.documentId - customers.boardingPassDetails.customerInformationId - customers.boardingPassDetails.lineNumber - customers.boardingPassDetails.boardingPassDocumentType - customers.boardingPassDetails.boardingPassRaw - customers.boardingPassDetails.boardingPassEntryTypeId - customers.boardingPassDetails.boardingPassEntryTypeName - customers.boardingPassDetails.formatCode - customers.boardingPassDetails.numberOfLegsEncoded - customers.boardingPassDetails.passengerName - customers.boardingPassDetails.passengerDescription - customers.boardingPassDetails.electronicTicketIndicator - customers.boardingPassDetails.versionNumber - customers.boardingPassDetails.sourceOfCheckIn - customers.boardingPassDetails.sourceOfBoardingPassIssuance - customers.boardingPassDetails.dateOfIssueOfBoardingPassJulian - customers.boardingPassDetails.airlineDesignatorOfBoardingPassIssuer - customers.boardingPassDetails.baggageTagLicencePlateNumber - customers.boardingPassDetails.creationDate customers.boardingPassSegment - customers.boardingPassSegment.id - customers.boardingPassSegment.lineNumber - customers.boardingPassSegment.operatingCarrierPNR - customers.boardingPassSegment.fromCityAirportCode - customers.boardingPassSegment.toCityAirportCode - customers.boardingPassSegment.operatingCarrierDesignator - customers.boardingPassSegment.flightNumber - customers.boardingPassSegment.dateOfFlight - customers.boardingPassSegment.compartmentCode - customers.boardingPassSegment.seatNumber - customers.boardingPassSegment.checkInSequenceNumber - customers.boardingPassSegment.passengerStatus - customers.boardingPassSegment.selecteeIndicator - customers.boardingPassSegment.internationalDocumentationVerification - customers.boardingPassSegment.airlineNumericCode - customers.boardingPassSegment.documentFormSerialNumber - customers.boardingPassSegment.marketingCarrierDesignator - customers.boardingPassSegment.frequentFlyerAirlineDesignator - customers.boardingPassSegment.frequentFlyerNumber - customers.boardingPassSegment.idadIndicator - customers.boardingPassSegment.isSeatAssigned - customers.boardingPassSegment.freeBaggageAllowance - customers.boardingPassSegment.flightCode - customers.boardingPassSegment.fastTrack - customers.boardingPassSegment.firstNonConsecutiveBaggageTagLicensePlateNo - customers.boardingPassSegment.secondNonConsecutiveBaggageTagLicensePlateNo - 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: - documentDateTimeLocal - documentDateTime - modifiedDate To sort this, two new parameters are introduced: - sortDirectionAsc - sortField | 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: - GET /documents/unified - POST /documents/unified-list - GET /documents/unified/{ctrTransactionId} The following optional property has been added to the AddressDetail object in the response contract under customers and counterparties: name (string). customers.addressDetails.name counterparties.addressDetails.name 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: - DocumentTypeGroupId - OperatorId - NumberOfItemLines 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. | 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: - GET /documents/unified - GET /documents/unified/{ctrTransactionId} - POST /documents/unified-list The attribute supports tracking the incoming data using the following valid values: 0 - Unknown/Undefined - default value for non-fcx incoming document types, 1 - ItemMovementLines - indicates details of all dry items,such as - cookies, 2 - FuelMovementLines - indicates details of all wet items,such as - gasolene, 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: - GET /documents/unified - GET /documents/unified/{ctrTransactionId} The following fields are added to the array of Customers. customsId, customsIdentifier, employeeIdentifier, fullName, employeeDetails, and crewDetails. groupExternalId and isEligibleForDiscount under employeeDetails, 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: - GET /validation/details/{ctrUId}. 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. These fields are added to the response of the following endpoints: GET /documents/unified , GET /documents/unified/{ctrTransactionId} and POST /documents/unified-list. Data type for the following fields are changed from long to string for the above mentioned endpoints. operatorUserRoleNumber, loyaltyInfo.approverId and authorizedBy.approverUserRoleNumber. Due to the breaking change released in the CTR API, we changed its version to v3. 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: - PATCH /config/enable. It enables an export configuration from CTR. - PATCH /config/disable. 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: - GET /healthCheck. 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. 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. 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: - items.contentFactor - depicts the quantity of the article per selling unit. - items.contentFactorUnit - unique identifier of a unit of measure in the system. - items.contentFactorUnitName - defines the unit of measurement of the product content. - items.contentFactorUnitLabel - depicts the unit label. - originDatabaseId - indicates the id of the database that generated the document with the content factor details. 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. 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: - POST /rehydration/init - initiates a rehydration process. - 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: - we added the following new fields: payments.methodOfPaymentTypeName - depicts method of payment type name. (For example, Local Account in base currency.) payments.methodOfPaymentDescription - depicts method of payment description. payments.methodOfPaymentNumberOfCopies - depicts method of payment number of copies. customers.localAccountId - indicates the local account identifier. customers.localAccountDetails.' - represents properties describing the local account details. items.netAmount - indicates net amount documentCounterparties [] - represents the model of counterparty role in a document. - 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 - to resolve an issue with a wrong data type, we corrected the following fields types from int32 to int64: payments.methodOfPaymentNumber, fundBalances.methodOfPaymentNumber - 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: - GET /documents/unified, GET /documents/unified/{ctrTransactionId}, POST /documents/unified-list (documentTypeId, fiscalInfo.documentTypeId, includedDocuments.documentTypeId response fields) - POST /documents/search-extended (result.documentTypeId, result.derivativeDocuments.documentTypeId response fields). 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: - GET /processCode/exists - checks the process code existence - 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: - POST /documentsBatch/init - initiates export for batch documents in a unified format. - GET /documentsBatch/status/{requestId} - retrieves the status of an export process using the respective requestId. - GET /documentsBatch/download/{requestId} - downloads the generated DocumentsBatch file, using the respective export ID (requestId) 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: - numberOfPages - documentNetAmountBaseCurrency - documentTaxAmountBaseCurrency - counterparties.companyName 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: - POST /events - initiates registering and storing an event. - GET /events/{dbId} - retrieves an event based on internal identifiers, defined values and properties useful for further analysis. - POST /events/search - searches and sorts events by a variety of filters. 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: - 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. - To retrieve sales person (assistant) details from sales transactions received in the CTR unified document, we added the following fields: items.salesPersonId, items.salesPersonName. - To maintain consistency with private CTR API, we exposed in public API the following fields: customers.fiscalCode and customers.fiscalCodeType. - 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. - 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: 1. items.itemTareWeight (decimal) 2. items.measurementTypeId (int) 3. items.isItemTareOverwrite (boolean) 4. items.itemTareNumber (string max. 255) 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. 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: - Details about the organization's hierarchy (businessUnitGroupId, businessUnitGroupName, businessUnitGroupTypeName, businessUnitGroupTypeId); - POS device identifier and TaxId (workstationDeviceIdentifier, workstationTaxIdentifier); - Operator User Role and Approver User Role number and name (operatorUserRoleNumber, operatorUserRoleName, authorizedBy, authorizedBy.approverUserRoleNumber, authorizedBy.approverUserRoleName); - 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.); - We extended the Payments array by new fields: payments.methodOfPaymentExternalId, payments.methodOfPaymentGroupId, payments.methodOfPaymentGroupName; - We extended FundBalances array by new fields: fundBalances.methodOfPaymentExternalId, fundBalances.methodOfPaymentGroupId, fundBalances.methodOfPaymentGroupName; - We extended the Periods array by adding start and end dates; - We added a new field to the Taxes array: taxes.taxAmountAdjusted; - We added new fields to the Cards array: cards.authorizationCode and cards.expirationDate. We also introduced the following changes to the existing fields: - periods.periodTypeId - we added new enum values describing the period type, - linkedDocuments.linkTypeId and linkedDocumentLines.linkTypeId - we added new enum values describing link type identifiers, - counterparties.typeId - we added new enum value describing the counterparty type identifier. To align the API response with the CTR private endpoint response we also added the following additional fields and variables: - periods.additionalInfo array (periods.additionalInfo.attribute, periods.additionalInfo.value), - itemPayments.additionalInfo array (itemPayments.additionalInfo.attribute, itemPayments.additionalInfo.value), - to the Taxes array: taxes.taxRuleDescription field, - to the Customers: customers.addressDetails.location, customers.addressDetails.location.latitude, customers.addressDetails.location.longitude, customers.addressDetails.additionalInfo array, customers.contactDetails.additionalInfo array, - to the FiscalInfo array: fiscalInfo.documentTypeId, - to the IncludedDocuments array: includedDocuments.originDocumentId attribute, - counterparties.addressDetails.additionalInfo array, counterparties.contactDetails.additionalInfo array, counterparties.bankAccounts.additionalInfo array, - loyaltyInfo.additionalInfo array (loyaltyInfo.additionalInfo.attribute, loyaltyInfo.additionalInfo.value), - fuelItemExtensions.additionalInfo array (fuelItemExtensions.additionalInfo.attribute, fuelItemExtensions.additionalInfo.value), - 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: 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: - POST /report/init to initiate a report with input parameters defined - GET /report/status/{exportId} to check status of a successfully initiated report - GET /report/download/{exportId} to download the ready report 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 |