{
"invoice_type": "I",
"client": {
"id": "string",
"search": {
"on_key": "string",
"on_value": "string",
"auto_create": true
},
"name": "string",
"email": "user@example.com",
"legal_name": "string",
"tax_id": "string",
"tax_system": "string",
"address": {
"country": "MEX",
"street": "Av. Insurgentes Sur",
"zip": "03100",
"city": "Ciudad de México",
"state": "CDMX",
"exterior": "123",
"interior": "4B",
"municipality": "Benito Juárez",
"neighborhood": "Del Valle"
}
},
"currency": "string",
"exchange_rate": 0,
"use": "string",
"payment_form": "01",
"payment_method": "PUE",
"items": [
{}
],
"series": "string",
"folio_number": 0,
"automation_type": "payment",
"exports": "01",
"complements": [
{
"type": "string",
"data": "string"
}
],
"related_documents": [
{
"relationship": "string",
"documents": [
"string"
]
}
],
"global": {
"periodicity": "string",
"months": "string",
"year": 0
},
"invoice_pdf_notes": "string",
"addenda": "string",
"send_email": true,
"emails": [
"user@example.com"
],
"metadata": {
"property1": "string",
"property2": "string"
}
}