Storyous Public APIs
  1. Bills API
Storyous Public APIs
  • Introduction
  • Merchants API
    • Get merchant and all its places
  • Menu API
    • Get a menu tree
    • Get time-based menu
    • Get Remaining amounts of time-based menu
  • Bills API
    • Get list of payment bills
      GET
    • Get detail of a payment bill
      GET
  • Delivery API
    • Create an order through delivery API
    • Get status of delivery order
  • Deskview API
    • Get list of desks
    • Get list of sections
    • Get desk view of a place
  • Features API
    • Get list of merchants/places with a feature
  • Hotel accounts integration API
    • Provide list of accounts
    • Write consumed items to hotel account
  • Stocks API
    • Get list of stocks
    • Get list of items
    • Get list of stock ups
    • Get detail of stock up
    • Create new stock up
    • Modify stock up
    • Delete stock up
    • Get list of stock takings
    • Get detail of stock taking
    • Create new stock taking
    • Modify stock taking
    • Delete stock taking
    • Get suppliers
  • Loyalty API
    • Introduction
    • Get benefit offer
    • Report offer validation error
    • Report benefit usage
    • Get loyalty benefit usages
    • Mark benefit usages as synchronized
  • DataSync
    • Webhook receiving endpoint
      • Receive new or updated records
    • Data domains
      • Stock management
        • Stocks domain
        • StockItemCategories domain
        • StockItems domain
        • StockMovements domain
      • Sales and costs
        • Bills domain
        • BillCosts domain
        • TerminalTransactions domain
        • PaymentTypes domain
        • Loyalty domain
      • Desks
        • DeskSections domain
        • Desks domain
      • Menu
        • ItemCategories domain
        • Items domain
        • PlaceITems domain
      • Merchants
        • Merchants domain
        • Places domain
        • Persons domain
  • Schemas
    • Schemas
      • Loyalty api
        • BalanceBenefitOfferRequest
        • ThirdPartyLoyaltyOfferRequest
        • LoyaltyOfferValidationError
        • LoyaltyBenefitUsagesPayload
        • BenefitInput
        • PaidItem
        • Applied Benefits
        • PaymentByBalance
        • UsedBalance
        • LoyaltyOfferResponse
        • MenuProductDefinition
        • UsedGeneralDiscount
      • Desk
      • Section
  1. Bills API

Get detail of a payment bill

GET
https://api.storyous.com/bills/{sourceId}/{billId}
Get payment bills for a sourceId (merchantId-placeId) and billId

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Responses

🟢200OK
application/json
OK
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.storyous.com/bills/5a75b658f60a3c15009312f1-5a75b658f60a3c15009312f2/BA2018000001' \
--header 'Authorization: Bearer <token>'
Response Response Example
{
    "billId": "KB2018007144",
    "sessionCreated": "2018-04-20T14:48:29+02:00",
    "createdAt": "2018-04-20T14:49:03+02:00",
    "paidAt": "2018-04-20T14:49:02+02:00",
    "fiscalizedAt": "2018-04-20T14:49:07+02:00",
    "finalPrice": "10.00",
    "finalPriceWithoutTax": "8.26",
    "taxSummaries": {
        "15": "1.74"
    },
    "taxes": [
        {
            "vat": "15",
            "totalVat": "1.74",
            "totalWithoutVat": "8.26"
        }
    ],
    "discount": "0.00",
    "rounding": "0.00",
    "tips": "0.00",
    "currencyCode": "CZK",
    "refunded": false,
    "deleted": false,
    "paymentMethod": "cash",
    "payments": [
        {
            "paymentMethod": "cash",
            "priceWithVat": "10"
        }
    ],
    "createdBy": {
        "personId": 2187839,
        "fullName": "George Bush",
        "userName": "thegeorgebush"
    },
    "paidBy": {
        "personId": 2187839,
        "fullName": "Slide a Lama",
        "userName": "theslidealama"
    },
    "personCount": 1,
    "deskId": null,
    "issuedAsVatPayer": true,
    "fiscalData": {
        "mode": 1,
        "endpoint": "https://prod.eet.cz:443/eet/services/EETServiceSOAP/v3",
        "fik": "4974d3d2-3adb-4608-b046-a51f47829fff-01",
        "pkp": "JXMIBqSrrfwefregeg8qW9Uncr6VgLa9kWlV+1H1/dxN98qWq3W9r85RkawllTlJnrmSc/VZu9LPy5Uofsoo1ZAFUwe+ZVZ7qDKa8ZPZGFV9lAm+C8v0ze8KXrmmxjY5UVyVnoWaB2UFyHE1aw/cUjqj5zmW7O/T+V5/u/q7kmWf2CVA4FfioWQDxsc1L0noQReL64oYmgKiZPfuFDZcdlH41gWG5mc+n0a5WMfDZXZOoAXIwAGxw67w9/WzG7hKZePk4T5kqvsFthsyKh/1gwJCxy8fKkmBYRHyzn0TclwRrToPZk1RU0hfrcyG81hqYqdKRRmkyWM/mQCzSYxrQ==",
        "bkp": "daf0575c-5fde4f72-d96778f6-06455d77-b115f6ff",
        "httpStatusCode": 200
    },
    "invoiceData": null,
    "customerId": null,
    "loyaltyOfferId": null,
    "loyaltyProviderId": null,
    "keepLoyaltyBenefitsUsed": true,
    "orderProvider": {
        "code": "dj",
        "orderId": "5a75b658f60a3c15009312f1"
    },
    "items": [
        {
            "name": "Hotdog",
            "amount": 1,
            "measure": "pcs",
            "price": 45,
            "vatRate": 0.15,
            "productId": "p:xf75Uew",
            "decodedId": 54,
            "categoryId": "c:abcdfes",
            "hasAdditionsWithCode": null,
            "additionsCode": null,
            "ean": "012345678910",
            "discounts": [
                {
                    "originalPrice": 50,
                    "amountType": "percentage",
                    "percentValue": 10,
                    "absoluteValue": 5,
                    "discountType": "customPerItem",
                    "note": "discount note"
                }
            ]
        },
        {
            "name": "Pizza",
            "amount": 1,
            "measure": "pcs",
            "price": 55,
            "vatRate": 0.15,
            "productId": "p:ief75ew",
            "decodedId": 88,
            "categoryId": "c:sijsfjwd",
            "hasAdditionsWithCode": "00e99787-2939-417a-b043-6047ceb0117d",
            "additionsCode": null,
            "ean": null,
            "discounts": null
        },
        {
            "name": "Extra cheese on pizza",
            "amount": 1,
            "measure": "pcs",
            "price": 15,
            "vatRate": 0.15,
            "productId": "p:taHFmNmJt",
            "decodedId": 65,
            "categoryId": null,
            "hasAdditionsWithCode": null,
            "additionsCode": "00e99787-2939-417a-b043-6047ceb0117d",
            "ean": null,
            "discounts": null
        }
    ]
}
Previous
Get list of payment bills
Next
Create an order through delivery API
Built with