Basic use guide

The purpose of this guide is to explain step by step how to generate invoices.

Create an account in Facturama

You need to create an account in Facturama you must complete the requested information, it is important to correctly load your CSD (Certificado de Sello Digital)

2.- Generate authentication token

To make any call to our api you must generate your autentificación basic token using your user and password information

"Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ=="

3.- Upload your catalogs

The elements required to create an invoice (CFDI):



4.- Create your first invoice (CFDI)

5.- Download the XML or the PDF file

format:define the format, it coud be "pdf", "html" or "xml"
type: the value could be: "issued" or "received"
id: Invoice ID




Example:
https://api.facturama.mx/Cfdi/xml/issued/qQfgX3B_t5pUKTBFN3_DTww