Skip to Content
Getting StartedSandbox vs Production

Sandbox and live

One host, two environments. The API key chooses: sk_test_ keys work on the sandbox, sk_live_ keys on the live service. Nothing else changes between them, so code written against the sandbox runs unchanged with a live key.

https://gp.useyona.com

What the sandbox does

  • Invoices are validated, signed and submitted for real, to the authority’s test system, under Yona’s own test taxpayer. You see every state an invoice goes through, with no legal effect.
  • You do not need a tax connection of your own to submit on the sandbox.
  • Sandbox data is separate from live data: buyers, items, invoices and webhook endpoints created with a sandbox key are only visible to sandbox keys.
  • Credits are separate too. Sandbox actions draw on a sandbox allowance, and you can top it up for free in the Yona app. Costs per action are the same as live, so sandbox usage shows you what live will cost.
Nothing on the sandbox is a tax invoice

Documents issued on the sandbox carry test identifiers and are not reported for your business. Do not send them to customers.

What live needs

RequirementWhere
Live access approved for your organisationRequest it in the Yona app; Elyonar reviews it
Your business connected to the tax authority, with your crypto key installedThe Yona app, under Tax authority; see Tax connection
A sk_live_ keyThe Yona app, under API keys, from a session with a second factor
CreditsYour plan’s monthly credits, plus any top-up; see Credits and billing

Until the first two are in place, a live key is refused with BIZ006, and a live submission cannot be signed as your business.

Side by side

SandboxLive
Key prefixsk_test_sk_live_
SubmissionsReal flow, to the authority’s test system, as Yona’s test taxpayerReal, as your business, irreversible once registered
Tax connectionNot neededRequired, with your crypto key
CreditsSandbox allowance and free top-upsPlan credits and paid top-ups
DataSeparateSeparate

Moving to live

Use the Going live checklist. The code change is one line: the key.