Documentation
Issuance flow
NFCom and NFS-e share the same design: asynchronous submit, status query, then file retrieval.
Possible statuses
AGENDADO
The invoice was accepted and is waiting to be processed.
PROCESSANDO
The authorizer has not returned a final result yet.
CONCLUIDO
Authorized. PDF and XML can be downloaded.
CANCELADO
Canceled after authorization.
REJEITADO
Rejected by the authorizer. Fix the payload and send again.
Webhooks
Instead of polling, register a webhook on the organization or company to receive the final status when processing finishes.
Identifiers
Store the `id` returned on submit. It unlocks query, PDF, XML, email, and cancellation. You can also query by `idIntegracao` + tax id, access key, or protocol.