Skip to main content
POST
Upload the store's digital certificate and set NF-e numbering (Brazil)

Authorizations

Authorization
string
header
required

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

Body

application/json
certificate_base64
string<byte>
required

The A1 certificate file (.pfx/.p12) encoded in Base64

Example:

"<base64-encoded-pfx-file>"

certificate_password
string
required

Export password of the certificate

Example:

"<certificate-password>"

invoice_series
required

NF-e series, 1 to 999. Digits only; parsed in base 10.

Example:

1

next_invoice_number
required

Number of the next NF-e the store will issue, 1 to 999999999. Digits only; parsed in base 10.

Example:

4567

Response

Certificate uploaded and numbering configured

store_id
integer
required

Id of the store

Example:

4821

certificate
object
required
invoice_numbering
object
required