eKasa: pridať využitie aj pre občanov

POST cez https://reqbin.com/ a payload {"receiptId":"O-AC6D5656CDC64336AD5656CDC60336E0"} ide. Ved normalne treba otvorit chrome/firefox console, copy&paste a hotovo.

Naspat dostanes toto:

{
"returnValue": 0,
"receipt": {
    "receiptId": "O-AC6D5656CDC64336AD5656CDC60336E0",
    "ico": "17147786",
    "cashRegisterCode": "88820205189620059",
    "issueDate": "07.10.2020 16:57:12",
    "createDate": "07.10.2020 16:57:12",
    "customerId": "1005501",
    "dic": "2020518962",
    "icDph": "SK2020518962",
    "invoiceNumber": null,
    "okp": "2FD0230C-3898327F-6C7F3BD8-A9B895FF-AA157673",
    "paragon": false,
    "paragonNumber": null,
    "pkp": "MKiCXF2a9CDrhA60bxI3S9jPFTuNqtd1in6bXy6OO+jgXabFNKpNOCv9fHxAIrJBiUFT9fe/Zqd2BAD8RSijuAOull4fH/gWJevkRETPiugYD1m6n5Z6PdDPzEV1KXeosdaxbBxBFp4QlM0mvfod/EH0w/2GDiaD1HA4AHRxwXdLgqBdl1ISISU1dAlissTFPhxABVs3XrzAI7KUNthfh7m1Vm754+deM7ImLcSNCOM9bRvanLIgT83zHyYh4mZIKRBEr4Yt6iKivZIGcmZP/6602MvfJNYT1/VuyRQOo/wcg/tTUHifl819lS62VTmZDELjHvGl66aqGbqQQpn1bw==",
    "receiptNumber": 1570,
    "type": "PD",
    "taxBaseBasic": 11.4700,
    "taxBaseReduced": 2.2100,
    "totalPrice": 16.2000,
    "freeTaxAmount": null,
    "vatAmountBasic": 2.3000,
    "vatAmountReduced": 0.2200,
    "vatRateBasic": 20.0000,
    "vatRateReduced": 10.0000,
    "items": [{
        "name": "REZY KAKAOVE EXT",
        "itemType": "K",
        "quantity": 3.0000,
        "vatRate": 20.00,
        "price": 1.330
    }, {
        "name": "OCOT 0.8% 1L FRU",
        "itemType": "K",
        "quantity": 1.0000,
        "vatRate": 20.00,
        "price": 0.480
    }, {
        "name": "ROZOK 50g BEZ E",
        "itemType": "K",
        "quantity": 4.0000,
        "vatRate": 10.00,
        "price": 0.320
    }, {
        "name": "TEHLA EIDAM 30%",
        "itemType": "K",
        "quantity": 1.0000,
        "vatRate": 20.00,
        "price": 0.750
    }, {
        "name": "TEHLA EIDAM 30%",
        "itemType": "K",
        "quantity": 1.0000,
        "vatRate": 20.00,
        "price": 0.750
    }, {
        "name": "TEHLA BLOK 400G",
        "itemType": "K",
        "quantity": 1.0000,
        "vatRate": 20.00,
        "price": 3.510
    }, {
        "name": "HUBKA 2ks TOP CL",
        "itemType": "K",
        "quantity": 1.0000,
        "vatRate": 20.00,
        "price": 0.960
    }, {
        "name": "PARENICKA NEUDEN",
        "itemType": "K",
        "quantity": 1.0000,
        "vatRate": 20.00,
        "price": 1.110
    }, {
        "name": "JABLKA CERVE.II",
        "itemType": "K",
        "quantity": 0.8950,
        "vatRate": 10.00,
        "price": 0.870
    }, {
        "name": "SUS.OVSENE COKOL",
        "itemType": "K",
        "quantity": 1.0000,
        "vatRate": 20.00,
        "price": 0.380
    }, {
        "name": "SUSIENKY BRUSIEN",
        "itemType": "K",
        "quantity": 2.0000,
        "vatRate": 20.00,
        "price": 1.180
    }, {
        "name": "SUS.OVSENE COKOL",
        "itemType": "K",
        "quantity": 2.0000,
        "vatRate": 20.00,
        "price": 0.770
    }, {
        "name": "JOGURT DUETKO ce",
        "itemType": "K",
        "quantity": 2.0000,
        "vatRate": 10.00,
        "price": 0.620
    }, {
        "name": "JOGURT DUETKO JA",
        "itemType": "K",
        "quantity": 2.0000,
        "vatRate": 10.00,
        "price": 0.620
    }, {
        "name": "CAJ ZAZVOR.PROTI",
        "itemType": "K",
        "quantity": 1.0000,
        "vatRate": 20.00,
        "price": 1.350
    }, {
        "name": "CAJ ZAZVOROVY S",
        "itemType": "K",
        "quantity": 1.0000,
        "vatRate": 20.00,
        "price": 1.200
    }],
    "organization": {
        "buildingNumber": null,
        "country": "Slovensko",
        "dic": "2020518962",
        "icDph": "SK2020518962",
        "ico": "17147786",
        "municipality": "Prešov",
        "name": "MILK-AGRO, spol. s r.o.",
        "postalCode": "08046",
        "propertyRegistrationNumber": "36",
        "streetName": "Čapajevova",
        "vatPayer": true
    },
    "unit": {
        "cashRegisterCode": "88820205189620059",
        "buildingNumber": null,
        "country": "Slovensko",
        "municipality": "Prešov",
        "postalCode": "08001",
        "propertyRegistrationNumber": "36",
        "streetName": "PRJ02, Čapajevova",
        "name": null,
        "unitType": "STANDARD"
    },
    "exemption": false
},
"searchIdentification": {
    "createDate": 1605884766736,
    "bucket": 0,
    "internalReceiptId": "O-AC6D5656CDC64336AD5656CDC60336E0",
    "searchUuid": "ea389f20-2b41-11eb-bae2-e159335e628c"
}

}