Skip to main content
PATCH
Update your tax issuer
This replaces the configuration of the TEST (homologation) and the LIVE (production) environment, so send both homologationProperties and productionProperties in full. The organization’s own data (CNPJ, legal name, address, phone) is taken again from its registration in Portão 3 and sent to the tax provider together with the new configuration. Omitting a taxConfiguration keeps the stored one. The RPS numbers you send (nfeSequencialCode, nfeSequencialBatch) restart the tax provider’s numbering for that environment. Get your tax issuer returns the numbers set last, not the current ones (they are not advanced as documents are issued), so send the number your city hall expects next — never the value read back unchanged. When isSimplesNacional is false in an environment, the taxConfiguration of that environment must carry taxClassification, operationIndicatorCode and nationalTaxCode. The value of isSimplesNacional in productionProperties is the one registered with the tax provider. The tax issuer must be active. If the tax provider rejects the request, the error is returned with the provider’s error code and a status of 400, 409, 422 or 502.

Path Parameters

realmId
string<uuid>
required

ID of your realm.

Format: UUID

organizationId
string<uuid>
required

ID of the organization.

Format: UUID

Body

application/json
homologationProperties
object
required

Configuration of the test (homologation) environment: documents issued here have no fiscal value. Replaces the stored configuration, so send every field.

productionProperties
object
required

Configuration of the live (production) environment: documents issued here are legally valid. Replaces the stored configuration, so send every field.

Response

No Content. The operation succeeded and the response has no body.