curl --location '/v1/dian/invoices/?isTest=true&companyId=901084328&providerId=901084328' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"Id": "SETP990000514",
"TypeCode": "01",
"OperationCode": "10",
"Number": 990000514,
"Date": "2025-02-18",
"DueDate": "2025-02-18",
"CurrencyCode": "COP",
"Note": "La Firma Digital tendrá una vigencia de 1 año a partir de la fecha de activación por parte del Proveedor CAMERFIRMA COLOMBIA S.A.S\r\n",
"Cufe": "",
"SchemeName": "",
"FileName": "",
"QrCode": "",
"OrderReference": {
"Number": "",
"Date": "2025-01-27T00:00:00"
},
"NumberingRange": {
"Id": 18760000001,
"Date": "2019-03-14",
"Prefix": "SETP",
"FromNumber": 990000000,
"ToNumber": 995000000,
"TechnicalKey": "fc8eac422eba16e22ffd8c6f94b3f40a6e38162c",
"StartDate": "2019-01-19",
"EndDate": "2030-01-19"
},
"SoftwareProvider": {
"Id": "ecf4f36c-6a79-4beb-b1dd-3183691b3b55",
"Name": "901084328Cuental",
"Pin": "84328",
"TestSetId": "f8d85a4d-920c-43f5-a34e-115de12d59c4",
"ProviderId": "901084328",
"ProviderName": "",
"Origin": "Cuental"
},
"SigningCertificate": {
"Password": "MyLNgMAeGqhXWmeY",
"Content": "",
"Url": "https://app.cuental.com/ImagesArchivo/CF_20240628115545269.p12",
"Token": "aHR0cHM6Ly9hcHAuY3VlbnRhbC5jb20vSW1hZ2VzQXJjaGl2by9DRl8yMDI0MDYyODExNTU0NTI2OS5wMTJ-TXlMTmdNQWVHcWhYV21lWQ"
},
"CompanyParty": {
"ProviderId": "901084328",
"ImageUrl": "https://app.cuental.com/ImagesArchivo/PM_20180517201411241.jpg",
"Id": "901084328",
"IdentificationType": "31",
"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": "R-99-PN",
"TaxLevelCode": "R-99-PN",
"TaxResidentCode": "10",
"TaxCode": null,
"CorporateRegistration": "05-376678-16",
"IndustryClassificationCode": "6201",
"Email": "facturacion@grafosoft.com",
"Phone": "3108697825"
},
"CustomerParty": {
"Id": "901084328",
"IdentificationType": "31",
"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": "R-99-PN",
"TaxLevelCode": "R-99-PN",
"TaxResidentCode": "10",
"TaxCode": null,
"CorporateRegistration": "05-376678-16",
"IndustryClassificationCode": "6201",
"Email": "facturacion@grafosoft.com",
"Phone": "3108697825"
},
"Items": [
{
"Code": "37091",
"Description": "Certificado Facturacion Electronica Vigencia 1 Año",
"Quantity": 1.00,
"Price": 126050.42,
"PriceReference": 150000.00,
"SubtotalAmount": 126050.42,
"UnitCode": "EA",
"BrandName": "",
"ModelName": "",
"Note": "",
"ThirdPartyIdentification": "",
"consignmentTransport": null,
"Discounts": [],
"Charges": [],
"Taxes": [
{
"Code": "01",
"Amount": 23949.58,
"Percentage": 19.00,
"TaxableAmount": 126050.42,
"PerUnitAmount": 0.0,
"Concept": "Tarifa general"
}
]
}
],
"PaymentMeans": {
"Code": "2",
"MethodCode": "31",
"Date": "2025-03-18"
},
"LegalMonetaryTotal": {
"GrossAmount": 126050.42,
"TaxExclusiveAmount": 126050.4200,
"TaxInclusiveAmount": 150000.00,
"DiscountAmount": 0.0,
"ChargeAmount": 0.0,
"PrepaidAmount": 0.00,
"PayableAmount": 150000.00
},
"PaymentExchangeRate": null,
"DeliveryTerms": {
"Code": "",
"SpecialTerms": ""
},
"CustomizePrintFormat": {
"HeaderText": "",
"FooterText": "Esta Factura de Venta se asimila en sus efectos a la letra de Cambio (Art. 621 y 774 de C.C.)"
},
"Period": {
"StartDate": "2025-01-27T22:45:00.42",
"EndDate": "2025-01-27T22:45:00.42"
},
"HealthSectorExtension": null,
"CashRegister": null,
"BuyerBenefits": null
}'{
"Id": "SETP990000514",
"TypeCode": "01",
"OperationCode": "10",
"Number": 990000514,
"Date": "2025-02-18",
"DueDate": "2025-02-18",
"CurrencyCode": "COP",
"Note": "La Firma Digital tendrá una vigencia de 1 año a partir de la fecha de activación por parte del Proveedor CAMERFIRMA COLOMBIA S.A.S\r\n",
"Cufe": "",
"SchemeName": "",
"FileName": "",
"QrCode": "",
"OrderReference": {
"Number": "",
"Date": "2025-01-27T00:00:00"
},
"NumberingRange": {
"Id": 18760000001,
"Date": "2019-03-14",
"Prefix": "SETP",
"FromNumber": 990000000,
"ToNumber": 995000000,
"TechnicalKey": "fc8eac422eba16e22ffd8c6f94b3f40a6e38162c",
"StartDate": "2019-01-19",
"EndDate": "2030-01-19"
},
"SoftwareProvider": {
"Id": "ecf4f36c-6a79-4beb-b1dd-3183691b3b55",
"Name": "901084328Cuental",
"Pin": "84328",
"TestSetId": "f8d85a4d-920c-43f5-a34e-115de12d59c4",
"ProviderId": "901084328",
"ProviderName": "",
"Origin": "Cuental"
},
"SigningCertificate": {
"Password": "MyLNgMAeGqhXWmeY",
"Content": "",
"Url": "https://app.cuental.com/ImagesArchivo/CF_20240628115545269.p12",
"Token": "aHR0cHM6Ly9hcHAuY3VlbnRhbC5jb20vSW1hZ2VzQXJjaGl2by9DRl8yMDI0MDYyODExNTU0NTI2OS5wMTJ-TXlMTmdNQWVHcWhYV21lWQ"
},
"CompanyParty": {
"ProviderId": "901084328",
"ImageUrl": "https://app.cuental.com/ImagesArchivo/PM_20180517201411241.jpg",
"Id": "901084328",
"IdentificationType": "31",
"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": "R-99-PN",
"TaxLevelCode": "R-99-PN",
"TaxResidentCode": "10",
"TaxCode": null,
"CorporateRegistration": "05-376678-16",
"IndustryClassificationCode": "6201",
"Email": "facturacion@grafosoft.com",
"Phone": "3108697825"
},
"CustomerParty": {
"Id": "901084328",
"IdentificationType": "31",
"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": "R-99-PN",
"TaxLevelCode": "R-99-PN",
"TaxResidentCode": "10",
"TaxCode": null,
"CorporateRegistration": "05-376678-16",
"IndustryClassificationCode": "6201",
"Email": "facturacion@grafosoft.com",
"Phone": "3108697825"
},
"Items": [
{
"Code": "37091",
"Description": "Certificado Facturacion Electronica Vigencia 1 Año",
"Quantity": 1.00,
"Price": 126050.42,
"PriceReference": 150000.00,
"SubtotalAmount": 126050.42,
"UnitCode": "EA",
"BrandName": "",
"ModelName": "",
"Note": "",
"ThirdPartyIdentification": "",
"consignmentTransport": null,
"Discounts": [],
"Charges": [],
"Taxes": [
{
"Code": "01",
"Amount": 23949.58,
"Percentage": 19.00,
"TaxableAmount": 126050.42,
"PerUnitAmount": 0.0,
"Concept": "Tarifa general"
}
]
}
],
"PaymentMeans": {
"Code": "2",
"MethodCode": "31",
"Date": "2025-03-18"
},
"LegalMonetaryTotal": {
"GrossAmount": 126050.42,
"TaxExclusiveAmount": 126050.4200,
"TaxInclusiveAmount": 150000.00,
"DiscountAmount": 0.0,
"ChargeAmount": 0.0,
"PrepaidAmount": 0.00,
"PayableAmount": 150000.00
},
"PaymentExchangeRate": null,
"DeliveryTerms": {
"Code": "",
"SpecialTerms": ""
},
"CustomizePrintFormat": {
"HeaderText": "",
"FooterText": "Esta Factura de Venta se asimila en sus efectos a la letra de Cambio (Art. 621 y 774 de C.C.)"
},
"Period": {
"StartDate": "2025-01-27T22:45:00.42",
"EndDate": "2025-01-27T22:45:00.42"
},
"HealthSectorExtension": null,
"CashRegister": null,
"BuyerBenefits": null
}