Import Barueri NFS-e
POST/v1/nfes/import-barueri
Imports a Barueri NFS-e into the database. Accepts a raw XML (returned by POST /nfes/fetch-barueri) or the codigo_autenticidade + cnpj_tomador to re-fetch before importing. Creates the taker BillingAccount when it does not yet exist. Requires the import access level — write is not enough.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 429
- 500
Import result with created/updated flags and the persisted NF-e.
Request body failed validation.
Missing or invalid bearer token.
Token is valid but lacks permission for this operation. With code insufficient_scope, details.required carries the one minimal set of scopes that, added to details.granted, would let the request through: the resource scope (billing/{resource}, or billing/all off the catalogue) then the bare verb — e.g. ["billing/customers", "delete"].
Resource not found in the current organization.
Request body failed validation.
Rate limit exceeded.
Unexpected server error.