curl --location '/v1/dian/equivalent-documents/?isTest=true&companyId=804005998&providerId=900791776' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"TypeCode": "60",
"OperationCode": "601",
"Number": 1,
"Date": "2024-06-05T09:52:00.76",
"DueDate": "2024-06-05T09:52:00.76",
"CurrencyCode": "COP",
"Note": "",
"OrderReference": {
"Number": "",
"Date": "2024-06-05T00:00:00"
},
"NumberingRange": {
"Id": 0,
"Date": "2024-05-28T00:00:00",
"Prefix": "SETP",
"FromNumber": 1,
"ToNumber": 1000000,
"StartDate": "2024-05-28T00:00:00",
"EndDate": "2026-05-28T00:00:00"
},
"SoftwareProvider": {
"Origin": "TRANSFORWEB"
},
"SigningCertificate": {
"Password": "",
"Content": ""
},
"CompanyParty": {
"ImageUrl": null,
"Id": "804005998",
"IdentificationType": "31",
"Name": "EMPRESA MUNICIPAL DE SERVICIOS PUBLICOS DOMICILIARIOS DE OIBA E.S.P. OIBANA DE SERVICIOS PUBLICOS",
"PhysicalLocation": {
"Address": "DG 13 8 24",
"CityCode": "68500",
"SubentityCode": "68",
"CountryCode": "CO",
"CountryName": "Colombia",
"PostalZone": ""
},
"OrganizationTypeCode": "2",
"RegimeCode": "R-99-PN",
"TaxLevelCode": "R-99-PN",
"TaxCode": null,
"CorporateRegistration": "000000",
"IndustryClassificationCode": "00000",
"Email": "oibanadeserviciospublicos@hotmail.com",
"Phone": "7173340"
},
"CustomerParty": {
"Id": "222222222",
"IdentificationType": "31",
"Name": "Consumidor final",
"PhysicalLocation": {
"Address": "",
"CityCode": "54001",
"SubentityCode": "54",
"CountryCode": "CO",
"CountryName": "Colombia",
"PostalZone": ""
},
"OrganizationTypeCode": "2",
"RegimeCode": "R-99-PN",
"TaxLevelCode": "R-99-PN",
"TaxCode": "",
"CorporateRegistration": "00000",
"IndustryClassificationCode": "",
"Email": "consumidorfinal@gmail.com",
"Phone": ""
},
"Items": [
{
"Code": "200332",
"Description": "ITEM 1",
"Quantity": 1.00,
"Price": 840.34,
"PriceReference": 27800.00,
"SubtotalAmount": 840.34,
"UnitCode": "94",
"BrandName": "",
"ModelName": "",
"Note": "",
"Taxes": [
{
"Code": "01",
"Amount": 159.66,
"Percentage": 19.00,
"TaxableAmount": 840.34,
"PerUnitAmount": 0.0,
"Concept": "Tarifa general"
}
],
"Discounts": [
{
"Code": "00",
"Percentage": 0.0,
"Amount": 0.00,
"BaseAmount": 0.00,
"Reason": "razon/motivo del descuento"
}
],
"Charges": [
{
"Code": "02",
"Percentage": 0.0,
"Amount": 0.00,
"BaseAmount": 0.00,
"Reason": "razon/motivo del recargo"
}
]
}
],
"PaymentMeans": {
"Code": "1",
"MethodCode": "10",
"Date": "2024-06-05T00:00:00"
},
"LegalMonetaryTotal": {
"GrossAmount": 840.34,
"TaxExclusiveAmount": 840.3400,
"TaxInclusiveAmount": 1000.00,
"DiscountAmount": 0.0,
"ChargeAmount": 0.0,
"PrepaidAmount": 0.00,
"PayableAmount": 1000.00
},
"CashRegister": {
"plateNumber": "886", // nit empresa
"Location": "CR 0 0 0", // direccion empresa
"Cashier": "contacto@miempresa.com", //mismo correo
"Type": "CAJA POS",
"saleCode": "FP2", // número
"subtotalAmount": 840.34 // GrossAmount
},
"BuyerBenefits": {
"Code": "222222222", // nit customer
"Name": "COnsumidor final", // nombre customer
"Points": "1"
},
"CustomizePrintFormat": {
"HeaderText": "",
"FooterText": ""
}
}'