☰

Start Receipt

The Start Receipt is the very first fiscal request for a merchant. It initialises the merchant's fiscal queue so that Viva can sign and report the documents that follow. You send it once per merchant, not per sale.

What it is

  • An initial operations receipt (ftReceiptCase type 4001) with no charge items and no pay items.
  • Not a sale — it carries no amounts and is not a document for your customer.
  • The step that turns a merchant with fiscalisation enabled into a merchant that can sign documents.

When to send it

SituationSend a Start Receipt?
Viva has enabled fiscalisation on the merchant account (Demo or Production)Yes, once per Merchant ID, as the first request, before any fiscal document.
A new production merchant of yours is onboardedYes, once for that merchant, after the activation is completed (see Production Onboarding).
Before fiscalisation is enabled on the accountNo. Wait for the confirmation from Viva.
For every sale or every dayNo. It is a one-time initialisation.
You send it a second time by mistakeHarmless: the answer is "The queue is already operational".

Using both terminals and online sales, or several branches? Ask your Viva contact whether your setup needs more than one Start Receipt.

How to send it

A

Without a terminal (online / ISV)

Send it to the fiscalisation endpoint you use for documents: POST /fiscalization/v1/receipts:sign for a merchant, or POST /fiscalization/v1/isv/receipts:sign?merchantId=… for an ISV. Use a fresh sessionId (UUID v4) and the current UTC time in cbReceiptMoment.

{
  "sessionId": "<new UUID v4>",
  "cbReceiptReference": "Start-receipt-2026-11-26T11:30:04Z",
  "cbReceiptMoment": "2026-11-26T11:30:04Z",
  "cbChargeItems": [],
  "cbPayItems": [],
  "cbReceiptAmount": 0,
  "ftReceiptCase": 5139205309155262465,
  "currencyCode": "978"
}

5139205309155262465 is the decimal value of 0x4752200000004001 (4752 = Greece, version 2000, type 4001). Do not use older samples with 5139170124783173633 (version 0000).

B

Through a terminal (Sale request)

Send the Start Receipt with the fiscalisation data of the Queue-Start-Receipt sample inside a Sale request. The sale amount must be greater than 0 (any value you like).

Check that the queue is ready

Send a Zero Receipt (ftReceiptCase 5139205309155254272). It creates no document and sends nothing to the tax authority, it only reports the queue state. ftState 5139205309155246080 (0x4752200000000000) means the queue is ready. See the Zero Receipt sample.

If something goes wrong

You seeWhat it means
“The queue is already operational”The Start Receipt was already processed for this merchant. Nothing to do.
Documents or the Zero Receipt are rejected before the Start ReceiptThe queue is not initialised yet. Send the Start Receipt once, then try again.
HTTP 502 on the Start ReceiptDo not retry with a new sessionId before checking whether the first one completed. Send Viva the full request, the Merchant ID and the exact timestamp.
404 FiskaltrustInvalidMerchantOrTerminalFiscalisation is not set up for this merchant, or the wrong merchantId was used. As an ISV, send the request from the ISV endpoint with the right merchantId per merchant.