Set the fiscal data of the issuer
Creates the issuer the first time and replaces its fiscal data afterwards: a field that is omitted is cleared, except tax_regime, which stays as it is unless sent. To change some fields without overwriting what someone else saved, use PATCH /v1/issuer with the revision. On the live organization the RUC is the one it was created with and cannot change (tax_id_immutable); an older live organization without an issuer creates it here once. A test organization already has a test issuer with the same RUC; there everything can change. email is where customers reply: every email to a customer carries it as reply-to.
https://api.invox.page/v1/issuerAuthorization
Header parameters
Request body JSON required
- tax_regimeoptional
The tax regime: general, mype (Régimen MYPE Tributario), especial (Régimen Especial) or nrus (Nuevo RUS). Required before asking for production. Under nrus the issuer issues boletas and their notes, never facturas. Omitted: it stays as it is; null clears it. It cannot change while an activation request is open.
- default_templateoptional
The template this face prints with when an invoice names none (II-D191): the id of one of your templates or a shared one (
system:thermal-80). It must be printable on this face: on the live face, a template with a promoted version (template_version_not_promoted); on the test face, a published one. Omitted: it stays as it is; null goes back tosystem:a4.
Returns
200
The issuer, updated.
201
The issuer, created.