Fiscal Transactions
The FiscalTransactions entity represents the technical fiscal data associated with a receipt or document, typically used for legal reporting and fiscal memory.
Fields
| Field | Type | Description |
|---|---|---|
id | Integer | Unique identifier (Primary Key). |
date | DateTime | Date and time of the fiscal transaction. |
amount | Float | Total amount reported to the fiscal service. |
type | Enum | Type of fiscal operation (e.g., receipt, refund, zReport). |
receipt | Relation | Link to the associated Receipt. |
conveniq | Relation | Link to the Conveniqs device. |
transactionData | JSON | Detailed response data from the fiscal service provider. |
createdAt | DateTime | Metadata: Creation timestamp. |
updatedAt | DateTime | Metadata: Last update timestamp. |
Get List of Fiscal Transactions
Fetch a list of fiscal transactions.
Endpoint: POST /core/data/FiscalTransactions/select
Example Request:
json
{
"fields": {
"id": true,
"date": true,
"amount": true,
"type": { "id": true, "value": true },
"receipt": { "id": true, "number": true }
},
"conditions": {
"operator": "and",
"filters": [
{
"field": "date",
"comparator": ">",
"value": "2025-01-01T00:00:00Z"
}
]
},
"orderBy": [
{
"field": "date",
"order": "desc"
}
],
"limit": 50,
"offset": 0
}Get Single Fiscal Transaction
Retrieve details for a specific fiscal transaction by ID.
Endpoint: POST /core/data/FiscalTransactions/select
Example Request:
json
{
"fields": {
"id": true,
"amount": true,
"transactionData": true,
"receipt": { "id": true }
},
"conditions": {
"filters": [
{
"field": "id",
"comparator": "=",
"value": 6001
}
]
},
"limit": 1
}