API Reference

TSE (Technische Sicherheitseinrichtung)

Manage your fiskaly Cloud TSE integration. The TSE is the tamper-resistant security module required by German law (KassenSichV) to cryptographically sign every fiscal transaction.

Check TSE Status

Returns the current health status of the TSE and the result of the last self-test.

GET/api/tse/statusAdmin Only

Retrieve the current health and self-test status of the connected TSE.

Response

json
{
  __PH0__: true,
  __PH1__: {
    __PH2__: "PASSED",
    __PH4__: "2026-03-20T02:00:00Z",
    __PH6__: "2026-03-20T02:00:03Z"
  },
  __PH8__: null
}

Response Fields

NameTypeRequiredDescription
healthybooleanRequiredWhether the TSE is operational and responding correctly.
last_self_testobject | nullOptionalDetails of the most recent self-test, or null if no test has been run.
last_self_test.statestringRequiredResult of the self-test. Possible values: "PASSED", "FAILED", "RUNNING".
last_self_test.started_atstring (ISO 8601)RequiredTimestamp when the self-test started.
last_self_test.finished_atstring (ISO 8601)RequiredTimestamp when the self-test completed. Null if still running.
last_self_test_errorstring | nullOptionalError message from the last self-test, if it failed.

Run Self-Test

Trigger a manual TSE self-test. Required daily by §4 KassenSichV. Possfer runs this automatically at 02:00 UTC, but you may trigger it manually at any time.

POST/api/tse/self-testAdmin Only

Initiate a manual self-test on the connected TSE. Returns immediately; the test runs asynchronously.

Response

json
{
  __PH0__: "RUNNING",
  __PH2__: "2026-03-20T14:32:10Z",
  __PH4__: null
}

TSE Information

Retrieve detailed information about the connected TSE device, including serial number, public key, and certificate expiry.

GET/api/tse/infoAdmin Only

Return metadata and identity information for the connected fiskaly Cloud TSE.

Response

json
{
  __PH0__: "tse_abc123def456",
  __PH2__: "Possfer Cloud TSE - Mein Restaurant",
  __PH4__: "INITIALIZED",
  __PH6__: "a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2",
  __PH8__: "BHxGqt5gy...",
  __PH10__: "2028-12-31T23:59:59Z"
}

Response Fields

NameTypeRequiredDescription
_idstringRequiredUnique identifier of the TSE in fiskaly.
descriptionstringRequiredHuman-readable label for this TSE instance.
statestringRequiredCurrent TSE state. Values: "INITIALIZED", "DISABLED", "DECOMMISSIONED".
serial_numberstringRequiredUnique serial number of the TSE, printed on receipts.
public_keystringRequiredPublic key for verifying TSE transaction signatures.
certificate_expirystring (ISO 8601)RequiredExpiry date of the TSE certificate. Must be renewed before this date.

List TSE Transactions

Retrieve a list of TSE-signed transactions within a date range. Useful for audit trails and DSFinV-K export verification.

GET/api/tse/transactionsAdmin Only

List TSE transactions filtered by date range.

Query Parameters

NameTypeRequiredDescription
fromstring (ISO 8601)RequiredStart of the date range (inclusive). Example: 2026-03-01T00:00:00Z
tostring (ISO 8601)RequiredEnd of the date range (inclusive). Example: 2026-03-20T23:59:59Z

Response

json
[
  {
    __PH0__: 1042,
    __PH1__: "FINISHED",
    __PH3__: "POS-001",
    __PH5__: "2026-03-20T11:05:22Z",
    __PH7__: "2026-03-20T11:05:23Z",
    __PH9__: 8847
  },
  {
    __PH10__: 1043,
    __PH11__: "FINISHED",
    __PH13__: "POS-001",
    __PH15__: "2026-03-20T11:12:45Z",
    __PH17__: "2026-03-20T11:12:46Z",
    __PH19__: 8848
  }
]

Response Fields (per transaction)

NameTypeRequiredDescription
numberintegerRequiredSequential transaction number assigned by the TSE.
statestringRequiredTransaction state. Values: "ACTIVE", "FINISHED", "CANCELLED".
client_idstringRequiredIdentifier of the POS client that initiated the transaction.
time_startstring (ISO 8601)RequiredWhen the TSE transaction was started.
time_endstring (ISO 8601)RequiredWhen the TSE transaction was finalized.
signature_counterintegerRequiredMonotonically increasing counter for tamper detection.