curl --request GET \
--url https://api.openfiskal.com/v1/registers/{registerId}/sales \
--header 'Authorization: Bearer <token>'{
"object": "<string>",
"data": [
{
"id": "op_01HXYZ",
"object": "<string>",
"type": "sale",
"state": "open",
"register_id": "<string>",
"location_id": "<string>",
"organization_id": "<string>",
"external_id": "<string>",
"sequence_number": 123,
"cashier": {
"id": "<string>",
"display_name": "Maria R."
},
"fiscal": {
"regime": "<string>",
"document_type": "Kassenbeleg",
"transmission_status": "transmitted",
"fiscal_unit_id": "fu_01HXYZ",
"document_number": "2026-004822",
"transmitted_at": "2023-11-07T05:31:56Z",
"verification": {
"url": "<string>",
"qr_data": "<string>"
},
"tse_serial": "<string>",
"client_id": "<string>",
"signature_algorithm": "ecdsa-plain-SHA384",
"time_format": "utcTime",
"start_event": {
"signed_at": "2023-11-07T05:31:56Z",
"transaction_counter": 4821,
"signature": "aSDinaTvuI8gbWludGxpZnk=",
"process_type": "<string>",
"process_data": "<string>"
},
"end_event": {
"signed_at": "2023-11-07T05:31:56Z",
"transaction_counter": 4821,
"signature": "aSDinaTvuI8gbWludGxpZnk=",
"process_type": "<string>",
"process_data": "<string>"
}
},
"fiscal_state": "pending",
"references": {
"original_operation_id": "<string>",
"reason": "<string>"
},
"metadata": {},
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"data": {
"currency": "EUR",
"line_items": [
{
"id": "li_01HXYZ",
"position": 1,
"description": "Wiener Schnitzel",
"quantity": 2,
"unit": "piece",
"unit_price_gross": 1800,
"product_ref": "<string>",
"flags": [
"deposit"
],
"subtotal_gross": 3600,
"line_discounts": [
{
"source": "manual",
"amount": 360,
"id": "ldsc_01HXYZ",
"type": "percentage",
"label": "Happy Hour",
"rate": "0.10"
}
],
"line_discount_amount": 360,
"subtotal_after_line_discounts": 3240,
"cart_discount_allocations": [
{
"discount_id": "cdsc_01HXYZ",
"amount": 162,
"label": "SAVE10 coupon"
}
],
"cart_discount_amount": 324,
"total_gross": 2916,
"tax": {
"rate": "0.19",
"category": "standard",
"included_in_price": true,
"taxable_amount": 2651,
"tax_amount": 265
},
"total_net": 2651
}
],
"cart_discounts": [
{
"source": "coupon",
"id": "cdsc_01HXYZ",
"total_amount": 500,
"type": "percentage",
"label": "SAVE10 coupon",
"code": "SAVE10",
"allocation_method": "proportional",
"rate": "0.10",
"amount": 500
}
],
"payments": [
{
"method": "cash",
"direction": "inbound",
"amount": 4250,
"currency": "<string>",
"reference": "<string>",
"cash": {
"amount_tendered": 5000
},
"card": {
"scheme": "visa",
"last4": "4242",
"authorization_code": "<string>",
"terminal_id": "<string>",
"application_id": "<string>"
},
"wallet": {
"provider": "apple_pay",
"scheme": "visa",
"last4": "4242",
"authorization_code": "<string>"
},
"voucher": {
"code": "SUMMER20",
"type": "promotional"
},
"gift_card": {
"gift_card_id": "<string>",
"last4": "8821"
},
"online": {
"provider": "paypal",
"transaction_reference": "<string>"
},
"id": "<string>",
"status": "approved"
}
],
"totals": {
"subtotal_gross": 123,
"total_line_discounts": 123,
"subtotal_after_line_discounts": 123,
"total_cart_discounts": 123,
"subtotal_after_all_discounts": 123,
"rounding_adjustment": 123,
"total_gross": 123,
"total_net": 123,
"total_tax": 123,
"tax_breakdown": [
{
"rate": "<string>",
"category": "<string>",
"taxable_amount": 123,
"tax_amount": 123,
"total_gross": 123
}
],
"net_payable": 123
},
"customer": {
"id": "<string>",
"display_name": "<string>",
"tax_id": "<string>",
"tax_id_type": "codice_fiscale",
"email": "jsmith@example.com",
"phone": "<string>",
"loyalty_number": "<string>"
},
"notes": [
{
"type": "custom",
"text": "<string>"
}
]
}
}
],
"cursor": "<string>"
}curl --request GET \
--url https://api.openfiskal.com/v1/registers/{registerId}/sales \
--header 'Authorization: Bearer <token>'{
"object": "<string>",
"data": [
{
"id": "op_01HXYZ",
"object": "<string>",
"type": "sale",
"state": "open",
"register_id": "<string>",
"location_id": "<string>",
"organization_id": "<string>",
"external_id": "<string>",
"sequence_number": 123,
"cashier": {
"id": "<string>",
"display_name": "Maria R."
},
"fiscal": {
"regime": "<string>",
"document_type": "Kassenbeleg",
"transmission_status": "transmitted",
"fiscal_unit_id": "fu_01HXYZ",
"document_number": "2026-004822",
"transmitted_at": "2023-11-07T05:31:56Z",
"verification": {
"url": "<string>",
"qr_data": "<string>"
},
"tse_serial": "<string>",
"client_id": "<string>",
"signature_algorithm": "ecdsa-plain-SHA384",
"time_format": "utcTime",
"start_event": {
"signed_at": "2023-11-07T05:31:56Z",
"transaction_counter": 4821,
"signature": "aSDinaTvuI8gbWludGxpZnk=",
"process_type": "<string>",
"process_data": "<string>"
},
"end_event": {
"signed_at": "2023-11-07T05:31:56Z",
"transaction_counter": 4821,
"signature": "aSDinaTvuI8gbWludGxpZnk=",
"process_type": "<string>",
"process_data": "<string>"
}
},
"fiscal_state": "pending",
"references": {
"original_operation_id": "<string>",
"reason": "<string>"
},
"metadata": {},
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"data": {
"currency": "EUR",
"line_items": [
{
"id": "li_01HXYZ",
"position": 1,
"description": "Wiener Schnitzel",
"quantity": 2,
"unit": "piece",
"unit_price_gross": 1800,
"product_ref": "<string>",
"flags": [
"deposit"
],
"subtotal_gross": 3600,
"line_discounts": [
{
"source": "manual",
"amount": 360,
"id": "ldsc_01HXYZ",
"type": "percentage",
"label": "Happy Hour",
"rate": "0.10"
}
],
"line_discount_amount": 360,
"subtotal_after_line_discounts": 3240,
"cart_discount_allocations": [
{
"discount_id": "cdsc_01HXYZ",
"amount": 162,
"label": "SAVE10 coupon"
}
],
"cart_discount_amount": 324,
"total_gross": 2916,
"tax": {
"rate": "0.19",
"category": "standard",
"included_in_price": true,
"taxable_amount": 2651,
"tax_amount": 265
},
"total_net": 2651
}
],
"cart_discounts": [
{
"source": "coupon",
"id": "cdsc_01HXYZ",
"total_amount": 500,
"type": "percentage",
"label": "SAVE10 coupon",
"code": "SAVE10",
"allocation_method": "proportional",
"rate": "0.10",
"amount": 500
}
],
"payments": [
{
"method": "cash",
"direction": "inbound",
"amount": 4250,
"currency": "<string>",
"reference": "<string>",
"cash": {
"amount_tendered": 5000
},
"card": {
"scheme": "visa",
"last4": "4242",
"authorization_code": "<string>",
"terminal_id": "<string>",
"application_id": "<string>"
},
"wallet": {
"provider": "apple_pay",
"scheme": "visa",
"last4": "4242",
"authorization_code": "<string>"
},
"voucher": {
"code": "SUMMER20",
"type": "promotional"
},
"gift_card": {
"gift_card_id": "<string>",
"last4": "8821"
},
"online": {
"provider": "paypal",
"transaction_reference": "<string>"
},
"id": "<string>",
"status": "approved"
}
],
"totals": {
"subtotal_gross": 123,
"total_line_discounts": 123,
"subtotal_after_line_discounts": 123,
"total_cart_discounts": 123,
"subtotal_after_all_discounts": 123,
"rounding_adjustment": 123,
"total_gross": 123,
"total_net": 123,
"total_tax": 123,
"tax_breakdown": [
{
"rate": "<string>",
"category": "<string>",
"taxable_amount": 123,
"tax_amount": 123,
"total_gross": 123
}
],
"net_payable": 123
},
"customer": {
"id": "<string>",
"display_name": "<string>",
"tax_id": "<string>",
"tax_id_type": "codice_fiscale",
"email": "jsmith@example.com",
"phone": "<string>",
"loyalty_number": "<string>"
},
"notes": [
{
"type": "custom",
"text": "<string>"
}
]
}
}
],
"cursor": "<string>"
}Platform API key sent as Authorization: Bearer ofk_platform_....
Platform integrators also pass OpenFiskal-Organization: org_xxx
to act on behalf of a merchant.
Merchant organization ID. Required for platform integrators acting on behalf of a specific merchant. Omit when using an organization-scoped API key directly.
Filter results to those created at or after this timestamp (ISO 8601).
Filter results to those created at or before this timestamp (ISO 8601).
Maximum number of results to return per page.
1 <= x <= 200Pagination cursor from a previous response's cursor field.
Omit to start from the beginning.