Skip to main content

Get Device

Returns information about a fiscal device, including its current status and available tax types.

GET /api/device/{zimraDeviceId}

Path Parameters

ParameterTypeDescription
zimraDeviceIdintThe ZIMRA device ID

Response (200 OK)

FieldTypeDescription
SerialNumberstringDevice serial number
ZimraDeviceIdintZIMRA device identifier
CertificateExpiresdatetime?Device certificate expiration date
GlobalReceiptCounterintTotal number of receipts processed by this device
FiscalDayReceiptCounterintNumber of receipts in the current fiscal day
FiscalDayNumberintCurrent fiscal day number
FiscalDayOpeneddatetime?When the current fiscal day was opened
FiscalDayCloseddatetime?When the fiscal day was last closed
FiscalDayStatusstring?"FiscalDayClosed", "FiscalDayOpened", "FiscalDayCloseInitiated", or "FiscalDayCloseFailed"
FiscalDayClosingErrorCodestring?If close failed: "BadCertificateSignature", "MissingReceipts", "ReceiptsWithValidationErrors", or "CountersMismatch"
TaxPayerNamestring?Registered taxpayer name
TaxPayerTinstring?Taxpayer TIN/BP number
TaxPayerVatNumberstring?Taxpayer VAT number
TaxTypesarrayAvailable tax types for this device. See below.
SubmitReceiptsBlockedReasonstring?ZIMRA reason code if the device is blocked from submitting
SubmitReceiptsBlockedDatedatetime?When the device was blocked

Tax Types

FieldTypeDescription
NamestringTax type name (e.g. "VAT 15%")
Percentdecimal?Tax percentage. null means tax-exempt.
TaxIdintInternal tax ID (not used in receipt requests — use TaxPercent instead)
ValidFromdatetimeWhen this tax type becomes effective
ValidUntildatetime?When this tax type expires (null = no expiry)

Error Responses

Status CodeReason
401 UnauthorizedAuthentication failed
404 Not FoundDevice with the given ZIMRA device ID does not exist for this tenant