Fiskaliza
Referenca e API-sëOperacionet

Export evidence

Requires ALL POS access as well as the capability - a partial export is not evidence. These exports answer ATK or another state authority, so X-Fiscal-Authority naming the request being answered is required and is recorded in the audit chain; it cannot be verified, so what it buys is a disclosure that can be accounted for afterwards. An export of more than 50,000 rows is refused rather than silently cut short. Narrow it with from and to, which are half-open - from is included, to is not - so adjacent windows tile a history exactly: every row falls in one of them, none in two, none in neither.

GET/v1/exports/{kind}

Requires ALL POS access as well as the capability - a partial export is not evidence. These exports answer ATK or another state authority, so X-Fiscal-Authority naming the request being answered is required and is recorded in the audit chain; it cannot be verified, so what it buys is a disclosure that can be accounted for afterwards.

An export of more than 50,000 rows is refused rather than silently cut short. Narrow it with from and to, which are half-open - from is included, to is not - so adjacent windows tile a history exactly: every row falls in one of them, none in two, none in neither.

Authorization

fiskalizaKey fiskaliza:audit:export
AuthorizationBearer <token>

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

In: header

Scope: fiskaliza:audit:export

Path Parameters

kind*unknown

Value in

  • "audit"
  • "transmissions"
  • "untransmitted"

Query Parameters

format?unknown
Default"CSV"

Value in

  • "CSV"
  • "PDF"
from?string

Inclusive lower bound, RFC 3339.

Formatdate-time
to?string

Exclusive upper bound, RFC 3339.

Formatdate-time

Header Parameters

X-Fiscal-Authority*string

The ATK or state-authority request this export answers.

Length1 <= length <= 128

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/exports/audit" \  -H "X-Fiscal-Authority: string"
"string"