Invoicing via API
Order, charge and invoice in one single request.
You send a POST, Ducavo creates the Pix charge and issues the NF-e or NFS-e on payment confirmation. No separate issuer, no franchise monthly, no reconciling two systems.
Open sandbox, no card required.
-
Price per invoice
R$ 0.49
-
Monthly franchise
None
-
Types
NF-e + NFS-e
How it works
From request to authorized invoice
An invoice object enters the charge request. You don't integrate with the city hall, don't upload XML, don't run a cron.
Send the charge with invoice
The invoice object rides the charge body. You specify CFOP, operation nature, items (for NF-e) and the rest goes by default.
Payment confirms
Pix, card or boleto clears. Ducavo authenticates with the SEFAZ or the right city and submits the invoice automatically.
Invoice authorized and shipped
Webhook invoice.issued with PDF and XML. Email to the customer. Refund later? The invoice cancels along, no extra code.
Market comparison
What it costs to issue invoices today
The market's most common pricing models, side by side with Ducavo's per-invoice price.
Franchise-based invoicing
R$ 60 to 630/mo
Traditional model: tiered monthly plans by volume. Doesn't process payments, so it needs a second integration and a second bill.
Subscription + overage
R$ 140 to 1,150/mo
Franchise + overage on a separate bill. Plan upgrades usually take effect only after payment, and the A1 certificate is on you.
PSP with per-invoice fee
R$ 0.99/invoice
Charge and invoicing in the same panel, but in separate flows. Usually covers only NFS-e for services, no product NF-e.
Ducavo
R$ 0.49/invoice
Order, charge and invoice in a single request. No monthly franchise, no signup to check the price.
Operational features
Real control, not a brochure
Each card neutralizes a specific fear of someone who already issues invoices. No 'zero bureaucracy' without a noun.
Series and numbering
Configure multiple series per CNPJ, test and production environments separated, explicit numbering control.
Cancellation on refund
Refunded a charge? The invoice cancels along, automatically. Webhook invoice.cancelled with the city hall protocol.
Retry when SEFAZ is down
City hall down? We queue, retry with backoff and issue when the system returns. No code from you.
A1 certificate on the account
Upload once, Ducavo handles the rest. Renewal notified in advance, no operational downtime.
Webhook by status
invoice.processing, invoice.issued, invoice.rejected, invoice.cancelled: each change is a signed event.
Coverage by city
NFS-e per city hall adoption, with CNPJ lookup on the page. Where it doesn't work, we say so upfront.
Proof
NF-e or NFS-e, cancellation included
Pick the type, the rest goes by default. Refunded? The invoice cancels along, no extra code.
// NFS-e (serviço) na mesma requisição da cobrança Pix
const charge = await ducavo.pix.charges.create({
amount: 4990,
description: 'Plano Pro',
customer: { name: 'ACME LTDA', taxId: '12345678000199' },
invoice: {
issue: true,
type: 'nfse',
naturezaOperacao: 'Prestação de serviço de tecnologia',
itemLista: '01.05',
codigoTributacao: '105'
}
});
// Após o pagamento confirmar, a NFS-e é emitida na prefeitura
// e o link do PDF chega pelo webhook 'invoice.issued'.NFS-e, NF-e and cancellation per endpoint, with status webhook.
Pricing
R$ 0.49 per invoice, no monthly franchise
Pay only for the invoices you issue. No certificate fee, no tiered monthly, no upgrade only after invoice paid.
| NF-e or NFS-e issued per invoice | R$ 0,49 |
| Cancellation per invoice | Free |
| Monthly franchise no franchise | Free |
| A1 certificate (annual renewal) charged by a third party | ~R$ 200/year |
FAQ
Frequently asked questions about invoicing
Does my city issue NFS-e here?
NFS-e coverage depends on city hall adoption. Ducavo keeps a public list with CNPJ lookup on the product page. Where the city doesn't have a web service, we warn you before you sign up, not after.
Do I need a digital A1 certificate? Who configures it?
Yes, NF-e and NFS-e require an A1 certificate for the issuing CNPJ (typical cost R$ 150 to R$ 250/year with a certifying authority). You upload it once via panel; Ducavo handles submissions and renewal notifications.
What does it really cost? Franchise, overage, catch?
R$ 0.49 per issued invoice. No franchise, no issuer monthly, no 'separate invoice' overage. The same number in title, hero, table and /pricing, with a visible update date.
What if the customer refunds after invoice issuance?
When you refund the charge, the invoice cancels automatically. The invoice.cancelled webhook arrives with the reason and the city hall protocol. You don't need to fire cancellation separately.
What when the city hall or SEFAZ is down?
We queue the invoice, retry with backoff and issue as soon as the system returns. You follow via invoice.processing and get invoice.issued when done. No cron from you, no rework.
Is it hard to integrate? Do I rewrite my checkout?
No. Same charge endpoint, with an invoice object added. If you already process Pix or card on Ducavo, adding invoicing is a field. If migrating, the test key and sandbox are self-service.
Payment methods
Everything you need to get paid
One API, every payment method. Integrate once and offer Pix, card, boleto and more.
Issue the next invoice with the next charge
Open sandbox, assisted city hall homologation, migration from another issuer without stopping operations.