Fiskaliza
Referenca e API-sëKomandat

Read a command's line items

Kept off the command reads so a list does not carry every line of every receipt.

GET/v1/commands/{command_id}/items

Kept off the command reads so a list does not carry every line of every receipt.

Authorization

fiskalizaKey fiskaliza:commands:read
AuthorizationBearer <token>

An opaque Fiskaliza API key. Each operation lists the capabilities required on that key.

In: header

Scope: fiskaliza:commands:read

Path Parameters

command_id*string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/commands/string/items"
{  "success": true,  "warnings": [    "string"  ],  "data": {    "items": [      {        "line_id": "string",        "original_line_id": "string",        "name": "string",        "unit": "string",        "type": "string",        "unit_price_cents": 0,        "quantity": 1,        "subtotal_cents": 0,        "discount_cents": 0,        "total_cents": 0,        "tax_category": "A"      }    ]  }}