REST API
Escala com notas.
Sem retrabalho.
Integre a emissão fiscal diretamente no seu sistema com a API REST da Emitfy. Webhooks, idempotência, retry automático e logs completos.
< 30semissão
99,9%uptime
RESTpadrão
HMACsegurança
POST /v1/invoice
curl -X POST https://api.emitfy.com/v1/invoice \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{
"orderId": "ORD-00492",
"amount": 497.00,
"customer": {
"name": "João Silva",
"document": "123.456.789-00",
"email": "[email protected]"
}
}'
// Response 200
{
"id": "nfs_01JDKZG...",
"status": "approved",
"number": 4921,
"xml": "https://...",
"pdf": "https://..."
}Endpoints
API limpa e bem documentada.
POST
/v1/invoiceEmitir nota fiscal de serviçoGET
/v1/invoice/:idConsultar status de uma notaGET
/v1/invoiceListar notas com filtros e paginaçãoDELETE
/v1/invoice/:idCancelar nota fiscal emitidaPOST
/v1/webhookRegistrar endpoint de notificaçõesGET
/v1/healthStatus da API e prefeituras integradasWebhooks
Eventos em tempo real.
Receba notificações no seu sistema para cada evento da operação fiscal. Idempotente, com retry automático e assinatura HMAC.
invoice.created
invoice.approved
invoice.failed
invoice.cancelled
webhook payload
{
"event": "invoice.approved",
"id": "nfs_01JDKZG...",
"status": "approved",
"number": 4921,
"xml_url": "https://...",
"timestamp": "2025-05-26T18:00:00Z"
}Integre em horas, não semanas.
API REST documentada, suporte técnico via WhatsApp e 7 dias grátis para testar.
Criar conta e acessar API