PearlPOS
  1. Outbound
PearlPOS
  • Inbound
    • postMasterdata
      POST
    • postPOSdata
      POST
  • Outbound
    • POSlog
      POST
  • Live Endpoints
    • getCustomers
      GET
    • getCustomerOrders
      GET
    • verifyDigitalArticle
      GET
    • purchaseDigitalArticle
      POST
    • getRelatedProducts
      GET
    • getSerialNumberVerification
      GET
    • getAvailableValueCodes
      GET
    • getValueCodes
      GET
  1. Outbound

POSlog

POST
/POSlog
An endpoint in the customer system must be implemented by the receiving party to enable PearlPOS to post the POSLog containing transaction information
The structure of the transactions that are sent in the POSLog follows the official ARTS 6.0 XML format for retail.

Request

Body Params application/xmlRequired

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location --request POST '/POSlog' \
--header 'Content-Type: application/xml' \
--data-raw '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<POSLog>
    <Transaction CancelFlag="false" VoidFlag="false" OfflineFlag="false" TrainingModeFlag="false" Version="1.0">
        <RetailStoreID>0000001000</RetailStoreID>
        <WorkstationID>NO000001</WorkstationID>
        <SequenceNumber>100000100000749</SequenceNumber>
        <BusinessDayDate>2025-11-24</BusinessDayDate>
        <BeginDateTime>2025-11-24T14:34:14.498Z</BeginDateTime>
        <EndDateTime>2025-11-24T14:34:27.524Z</EndDateTime>
        <OperatorID>admin</OperatorID>
        <System>http://localhost:8080</System>
        <TillID>000001</TillID>
        <CurrencyCode>NOK</CurrencyCode>
        <RetailTransaction Version="1.0" TransactionStatus="Finished">
            <ReceiptDateTime/>
            <CustomerID/>
            <CustomerOrderIDTypeCode/>
            <LineItem VoidFlag="false" EntryMethod="Manu">
                <SequenceNumber>1</SequenceNumber>
                <BeginDateTime>2025-11-24T14:34:14.503Z</BeginDateTime>
                <Sale ItemType="Stock">
                    <POSIdentity EntryMethodCode="Manu">
                        <POSItemID>21610</POSItemID>
                    </POSIdentity>
                    <ItemID>21610</ItemID>
                    <MerchandiseHierarchy Level="MaterialGroup">1010010</MerchandiseHierarchy>
                    <TaxIncludedInPriceFlag>true</TaxIncludedInPriceFlag>
                    <RegularSalesUnitPrice>559</RegularSalesUnitPrice>
                    <POSPrice>77</POSPrice>
                    <ActualSalesUnitPrice>77</ActualSalesUnitPrice>
                    <ExtendedAmount>77</ExtendedAmount>
                    <ExtendedDiscountAmount>482</ExtendedDiscountAmount>
                    <ExtendedPriceIncreaseAmount>0</ExtendedPriceIncreaseAmount>
                    <Quantity UnitOfMeasureCode="STK">1</Quantity>
                    <RetailPriceModifier MethodCode="PROMOTION">
                        <SequenceNumber>1</SequenceNumber>
                        <Amount Action="Replace">77</Amount>
                        <PriceModificationBaseAmount>559</PriceModificationBaseAmount>
                        <ModifyByPercent>86.23</ModifyByPercent>
                        <ModifyByAmount>482</ModifyByAmount>
                        <ProrateFrom/>
                        <CalculationMethodCode>OVRD</CalculationMethodCode>
                        <NewPrice>77</NewPrice>
                        <Reason/>
                        <Description>Kampanjepris</Description>
                        <Source>POS</Source>
                    </RetailPriceModifier>
                    <Tax TaxType="VAT">
                        <TaxableAmount>61.6</TaxableAmount>
                        <Amount>15.4</Amount>
                        <Percent>25</Percent>
                        <TaxGroupID>U1</TaxGroupID>
                    </Tax>
                </Sale>
            </LineItem>
            <LineItem VoidFlag="false">
                <SequenceNumber>2</SequenceNumber>
                <BeginDateTime>2025-11-24T14:34:26.254Z</BeginDateTime>
                <Tender TypeCode="KONT" TenderDescription="Kontant" TenderType="CASH">
                    <Amount>77</Amount>
                </Tender>
            </LineItem>
            <Total TotalType="TransactionGrandAmount">77</Total>
            <Total TotalType="TransactionTaxAmount">15.4</Total>
            <Total TotalType="TransactionTenderAmount">77</Total>
            <Total TotalType="TransactionNetAmount">61.6</Total>
        </RetailTransaction>
    </Transaction>
    <EmployeeID>12345679</EmployeeID>
</POSLog>'
Response Response Example
{}
Modified at 2025-12-12 14:07:02
Previous
postPOSdata
Next
getCustomers
Built with