Atomically decommissions the current active fiscal unit and provisions a new one. The register ID stays the same — POS routing is unaffected.
The old binding transitions to decommissioned (with replaced_by set),
and the new binding is created with replaces referencing the old one.
The register must have an active fiscal unit. All open operations must be completed or cancelled first.
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.
Fiscal unit replaced
Atomic replacement of a fiscal unit. The old binding is decommissioned and a new one provisioned in a single call.
"fiscal_unit_replacement"A FiscalUnit represents the link between a register and a fiscal compliance capability. A register can have one active fiscal unit at a time, with a full history of past fiscal units.
A FiscalUnit represents the link between a register and a fiscal compliance capability. A register can have one active fiscal unit at a time, with a full history of past fiscal units.
Register-scoped API key for the new binding. null if
issue_register_credential was not requested.