Change some fields of the issuer, without overwriting what someone else saved
Writes ONLY the fields sent, with the same rules as PUT (tax_id_immutable on the live organization, tax_regime_locked, the default template printable on this face). Send the revision you read and, as base, the value you read of each field you send: a field whose saved value changed meanwhile (by a person, an agent or the RUC sweep) and differs from yours is a conflict, issuer_revision_conflict lists only those fields and nothing is written; a field nobody else touched is written. Without revision nor base, each field sent is written as it is. The answer carries the new revision.
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, with its new revision.