API Timbre (Facturas)
Create Invoice for Organization
Create invoice with organization context
POST
Overview
Create an invoice (factura) from a receipt image within an organization context. This endpoint allows you to specify which member’s RFC to use for the invoice.This operation requires 1 credit. Credits are deducted from the organization’s balance.
Request Body
string
required
Imagen del ticket codificada en Base64. Formatos soportados: JPEG, PNG.
string
required
Código de uso CFDI. Valores comunes:
G01- Adquisición de mercancíasG02- Devoluciones, descuentos o bonificacionesG03- Gastos en generalP01- Por definir
string
Descripción opcional del gasto. Ejemplo:
Compra de equipostring
required
The RFC (Mexican tax ID) of the organization member to generate the invoice for
Response
string
Unique invoice identifier
string
Invoice status. Values:
pending, processing, completed, failednumber
Invoice total amount (extracted from receipt)
string
Currency code (e.g.,
MXN)string
Vendor name (extracted from receipt)
string
RFC of the member the invoice was generated for
string
ISO 8601 timestamp of creation
string
URL to download the invoice PDF (available when status is
completed)string
URL to download the invoice XML/CFDI (available when status is
completed)