Issue an electronic sales invoice (factura electrónica de venta) to the DIAN through the technology provider and archive XML, DIAN response and ZIP into the Space.
Issue an electronic sales invoice (factura electrónica de venta) to the DIAN through the technology provider and archive XML, DIAN response and ZIP into the Space.
Authorization
bearerApiKey Create a scoped API key in the Adlass settings.
In: header
Path Parameters
Resource identifier: connection_id.
uuidHeader Parameters
Optional correlation identifier.
length <= 128A unique key for this intended write. Reuse it only for an identical retry.
1 <= length <= 200Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/integrations/connections/123e4567-e89b-42d3-a456-426614174000/providers/facturacion/invoices/create" \ -H "Idempotency-Key: 123e4567-e89b-42d3-a456-426614174000" \ -H "Content-Type: application/json" \ -d '{ "number": 1, "payments": [ {} ], "customer": { "name": "Customer documents", "identification_number": "example" }, "items": [ { "description": "example", "quantity": 1, "price": 0 } ] }'{ "invocation_id": "123e4567-e89b-42d3-a456-426614174000", "status": "ACTIVE", "job_id": "example"}