1. Live Endpoints
PearlPOS
  • Inbound
    • postMasterdata
      POST
    • postPOSdata
      POST
  • Outbound
    • POSLog XSD
    • POSlog
      POST
  • Live Endpoints
    • getCustomers
      GET
    • getCustomerOrders
      GET
    • verifyDigitalArticle
      GET
    • verifyCustomerReference
      GET
    • purchaseDigitalArticle
      POST
    • getRelatedProducts
      GET
    • getSerialNumberVerification
      GET
    • getAvailableValueCodes
      POST
    • getValueCodes
      GET
    • getStockLevels
      GET
    • lookupPrices
      POST
    • lookupMargins
      POST
    • getLegacyReceipts
      GET
  • Schemas
    • TransactionType
    • RetailTransactionType
    • LineItemType
    • TransactionLinkType
    • SaleReturnType
    • RetailPriceModifierType
    • ActionAmountType
    • TaxType
    • CustomerInformationType
    • CustomerOrderType
    • TenderLineItemType
    • TenderType
    • AuthorizationType
    • RoundingType
    • VoidsLineItemType
    • PriceModificationType
    • TenderControlTransactionType
    • TillSettleType
    • TenderSummaryType
    • SummaryAmountType
    • ForeignSummaryAmountType
    • TenderLoanType
    • TenderPickupType
    • TotalsType
    • POSLog
  1. Live Endpoints

getLegacyReceipts

GET
/getLegacyReceipts
This endpoint shall be implemented by the customer system and called by PearlPOS. It lets a cashier find receipts issued in a previous cash register system and return goods against them. Read-only.
One endpoint serves both the list and a single receipt:
List search: businessUnitID, dateFrom and dateTo are sent, together with any of the optional filters. All filters sent must match (AND). The lines (lineItems) may be left out.
One receipt: businessUnitID and receiptNumber are sent. Return an array with that one receipt, including its lines (lineItems).
When nothing is found, return HTTP 200 with an empty receipts array.
When the search matches more receipts than the system can return, return HTTP 200 with tooManyResults true and an empty receipts array. PearlPOS asks the cashier to narrow the search.
Amounts are numbers including VAT. Dates and times are ISO 8601. receiptNumber is a string, returned exactly as printed on the receipt; PearlPOS never interprets its format. Only completed, paid receipts are returned.
A list search can be paged. When pageSize is sent, return at most that many receipts together with totalCount, and nextPageToken when more receipts exist. PearlPOS sends the same request again with pageToken set to the received nextPageToken to get the next page. Sort by endDateTime descending, then receiptNumber, the same on every page. A request with receiptNumber is not paged.

Request

Query Params

Responses

🟢200
application/json
Matching receipts
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/getLegacyReceipts?businessUnitID=4100&dateFrom=2026-09-01&dateTo=2026-09-30&receiptNumber=40110100000001&customer=undefined&customerName=Hansen&phoneNumber=undefined&customerReference=undefined&pageSize=undefined&pageToken=undefined'
Response Response Example
List
{
    "tooManyResults": false,
    "receipts": [
        {
            "receiptNumber": "40110100000001",
            "endDateTime": "2026-09-14T13:42:10+02:00",
            "businessUnitID": "4100",
            "totalInclTax": 1017.0,
            "customer": {
                "customer": "0001000123",
                "name": "Byggmester Hansen AS"
            }
        },
        {
            "receiptNumber": "40110100000002",
            "sourceReference": "0004711002",
            "endDateTime": "2026-09-14T14:05:31+02:00",
            "businessUnitID": "4100",
            "totalInclTax": 349.0
        }
    ]
}
Modified at 2026-11-24 09:34:56
Previous
lookupMargins
Next
TransactionType
Built with