curl --location '/v1/dian/invoices/?isTest=false&companyId=901084328&providerId=901084328' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"TypeCode": "01",
"OperationCode": "10",
"Number": 3,
"Id": "0",
"Date": "2025-01-10",
"DueDate": "2025-01-10",
"CurrencyCode": "COP",
"Note": "",
"OrderReference": {
"Number": "0",
"Date": "2025-01-10"
},
"NumberingRange": {
"Id": 18764079400315,
"Date": "2024-09-12T00:00:00+00:00",
"Prefix": "EP",
"FromNumber": 1,
"TechnicalKey": "6158f7542b91c3deba7ab41dc1199e05c1c04cf509793c27a9d60e305db0cda6",
"ToNumber": 500,
"StartDate": "2024-09-12T00:00:00+00:00",
"EndDate": "2026-09-12T00:00:00+00:00"
},
"SoftwareProvider": {
"TestSetId": "",
"Origin": "Bilidox"
},
"SigningCertificate": {
"Password": "",
"Content": ""
},
"CompanyParty": {
"ImageName": "",
"ImageUrl": "",
"Id": "901084328",
"IdentificationType": "31",
"ProviderId": "901084328",
"Name": "GRAFOSOFT SAS",
"PhysicalLocation": {
"Address": "NATURA ECOPARQUE EMPRESARIAL KM 2 ANILLO VIAL OF 628 T2",
"CityCode": "68276",
"SubentityCode": "68",
"CountryCode": "CO",
"CountryName": "",
"PostalZone": ""
},
"OrganizationTypeCode": "1",
"RegimeCode": "",
"TaxLevelCode": "R-99-PN",
"TaxResidentCode": "",
"TaxCode": "",
"CorporateRegistration": "05-376678-16",
"IndustryClassificationCode": "",
"Email": "facturacion@grafosoft.com",
"Phone": "3108697825"
},
"CustomerParty": {
"Id": "222222222222",
"IdentificationType": "13",
"Name": "Consumidor Final",
"PhysicalLocation": {
"Address": "",
"CityCode": "11001",
"SubentityCode": "11",
"CountryCode": "CO",
"CountryName": "",
"PostalZone": ""
},
"OrganizationTypeCode": "2",
"RegimeCode": "R-99-PN",
"TaxLevelCode": "R-99-PN",
"TaxResidentCode": "10",
"TaxCode": "01",
"CorporateRegistration": "",
"IndustryClassificationCode": "",
"Email": "facturacion@grafosoft.com",
"Phone": ""
},
"PaymentMeans": {
"Code": "1",
"Date": "2025-01-10",
"MethodCode": "10"
},
"Items": [
{
"Code": "0",
"Description": "natilla",
"Quantity": 18,
"Price": "2000.00",
"PriceReference": "2000.00",
"consignmentTransport": null,
"ThirdPartyIdentification": "",
"UnitValue": "2000.00",
"SubtotalAmount": "36000.00",
"UnitCode": "94",
"BrandName": "",
"ModelName": "",
"Note": "",
"Discounts": [
{
"Code": "00",
"Percentage": "0.00",
"Amount": "0.00",
"BaseAmount": "36000.00",
"Reason": "razon/motivo del descuento"
}
],
"Charges": [
{
"Code": "02",
"Percentage": 0,
"Amount": 0,
"BaseAmount": 0,
"Reason": "razon/motivo del recargo"
}
],
"Taxes": [
{
"Code": "01",
"Amount": "0.00",
"Percentage": "0.00",
"TaxableAmount": "2000.00",
"PerUnitAmount": "0.00",
"Concept": "excluded"
}
]
}
],
"CustomizePrintFormat": {
"HeaderText": "",
"FooterText": ""
},
"LegalMonetaryTotal": {
"GrossAmount": "36000.00",
"TaxExclusiveAmount": "36000.00",
"TaxInclusiveAmount": "36000.00",
"DiscountAmount": 0,
"ChargeAmount": 0,
"PrepaidAmount": 0,
"PayableAmount": "36000.00"
},
"ConceptCode": "1",
"DocumentReference": {
"Number": "",
"Date": "",
"TypeCode": "",
"Uuid": "",
"SchemeName": ""
},
"HealthSectorExtension": null,
"FileName": "",
"QrCode": "",
"PaymentExchangeRate": null,
"Period": {
"StartDate": "2025-01-10",
"EndDate": "2025-01-10"
},
"CashRegister": null,
"BuyerBenefits": null
}'