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, and free. Sandbox actions draw on a free monthly allowance of test credits, at the same credit costs as live, so sandbox usage shows you what live will cost. A signed-in user can top the allowance up for free in the Yona app, up to 1,000 credits a top-up and 3 top-ups a month; an API key cannot. See Credits and billing.
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 organizationRequest it in the Yona app; Elyonar reviews it. GET /a/v1/organizations/me/readiness reports where it stands (liveStatus, liveEnabled, nextStep)
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 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
CreditsA free monthly allowance, and free top-ups by a signed-in userPlan credits and paid top-ups
DataSeparateSeparate

Moving to live

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