Before the first invoice
Complete issuer setup for the intended team and environment. The owner must supply a valid CSD and complete the invoicing connection. The team SAT connection guide documents certificate upload. Use a test key and the synthetic fiscal customer from the recipe for the first practice run.Customer fields
The customer recipe includes a complete test
fixture. Its example values are not defaults for your own customers.
Creating a contact alone does not establish fiscal validity; inspect
fiscal_validation when returned.
Invoice fields
Choose the fiscal codes and taxes that match the actual sale. The tutorial’s 16% IVA
example is not a universal rate. Use the Mexico · SAT catalogs section for code lists.
Follow a complete example
- CFDI in five minutes: documents and payment timing explained through one sale.
- Draft, preview, and issue: review before issuance, then retrieve XML and PDF.
- Invoice now, get paid later: PPD, partial payments, and payment complements.
- Create an invoiceable receipt: the customer requests their invoice later.
- Issue a credit note: adjust the fiscal document without assuming a refund.
- Cancel and verify a CFDI: separate a submitted cancellation from its final state.
- Record or request a refund: distinguish refund records from returning money.
livemode: false. See
verification coverage for the operations, observed responses, and limits.
They do not establish equivalent behavior for another country’s provider.