curl --location 'https://isv.aliaddo.net/api/v1/public/documents/support/test' \
--header 'x-api-key: key-66ee24fe7d694bfba5368013b09c91a8-016085' \
--header 'Content-Type: application/json' \
--data-raw '{
"format": "Estandar",
"emailSender": "",
"consecutive": "{{$number.int(min=990000000,max=995000000)}}",
"externalNumber": "",
"currencyCode": "COP",
"currencyRate": 0,
"date": "{{$date.now}}",
"dateDue": "",
"dateStart": "",
"dateEnd": "",
"typeOfOperation": "10",
"observation": "",
"termDay": 0,
"paymentMeanCode": "48",
"resolution": {
"resolutionKey": "fc8eac422eba16e22ffd8c6f94b3f40a6e38162c",
"resolutionPrefix": "SETP",
"resolutionNumber": "18760000001",
"resolutionRangeInitial": "990000000",
"resolutionRangeFinal": "995000000",
"resolutionValidFrom": "2019-01-19",
"resolutionValidUntil": "2030-01-19"
},
"supplier": {
"companyName": "supplier",
"personType": "1",
"regimeType": "48",
"firstName": "supplier",
"lastName": "supplier",
"identification": "000000001",
"digitCheck": "8",
"identificationTypeCode": "13",
"email": "email@email.com",
"phone": "",
"merchantRegistration": "",
"responsibleFor": "ZZ",
"responsibilities": "R-99-PN",
"economicActivities": "2817;3092",
"billingAddress": "KR con Calle",
"billingCountryName": "Colombia",
"billingCountryCode": "CO",
"billingRegionName": "Cundinamarca",
"billingRegionCode": "25",
"billingCityName": "Chipaque",
"billingCityCode": "25178",
"billingPostalCode": "",
"billingNeighborhood": "",
"billingPhone": "",
"billingContactName": "",
"shippingAddress": "",
"shippingCountryName": "",
"shippingCountryCode": "",
"shippingRegionName": "",
"shippingRegionCode": "",
"shippingCityName": "",
"shippingCityCode": "",
"shippingPostalCode": "",
"shippingNeighborhood": "",
"shippingPhone": "",
"shippingContactName": ""
},
"supportDocumentDetails": [
{
"standardType": "",
"standardCode": "",
"itemCode": "0001",
"itemName": "Item",
"itemModel": "",
"description": "Item prueba",
"brandName": "",
"itemCodeSupplier": "",
"isPresent": false,
"isRemmitance": false,
"remmitanceNumber": "",
"remmitanceConsecutive": "",
"remmitanceValue": 0,
"remmitanceQuantityValue": 0,
"remmitanceMeasurementUnit": "",
"unitMeasurementCode": "94",
"unitMeasurementName": "Unidad",
"price": "100",
"quantity": "1",
"taxes": [
{
"name": "Iva",
"code": "01",
"type": "P",
"rate": 19,
"amount": 19
}
],
"isvMandante": {
"name": "Mandante",
"identification": "000001",
"digitCheck": "8",
"identificationTypeCode": "13"
}
}
],
"totals": {
"amount": 100
}
}'