Skip to main content
POST
Provision the store's fiscal account (Brazil)

Authorizations

Authorization
string
header
required

Token returned by POST /auth/token, sent as Authorization: Bearer <token>.

Body

application/json
cnpj
string
required

Company CNPJ, with or without punctuation. Stored on the store as digits only.

Example:

"00.000.000/0001-91"

Legal company name (razao social)

Example:

"Partner Store SP LTDA"

tax_regime
enum<string>
required

Brazilian tax regime; case-insensitive

Available options:
SIMPLES_NACIONAL,
LUCRO_REAL,
LUCRO_PRESUMIDO
Example:

"SIMPLES_NACIONAL"

address
object
required

Fiscal address of the company

trade_name
string

Trade name (nome fantasia)

Example:

"Partner Store"

state_registration
string

State registration number (Inscricao Estadual)

Example:

"123456789"

unit_type
enum<string>
default:matriz

Whether this CNPJ is the head office (matriz) or a branch (filial)

Available options:
matriz,
filial
Example:

"matriz"

email
string<email>

Contact email for the fiscal account

Example:

"fiscal@example.com"

Response

Fiscal account provisioned (or updated) and company data registered

store_id
integer
required

Id of the store the account belongs to

Example:

4821

fiscal_account
object
required