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)
To make any call to our api you must generate your autentificación basic token using your user and password information
The elements required to create an invoice (CFDI):
format:define the format, it coud be "pdf", "html" or "xml"
type: the value could be: "issued" or "received"
id: Invoice ID