curl --location '/v1/dian/payroll-documents/?isTest=true&companyId=901084328&providerId=901084328' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"TypeCode": "102",
"Number": 193,
"Date": "2025-02-12T16:55:25.487",
"Note": "",
"NumberingRange": {
"Id": 0,
"Date": "2021-10-01T00:00:00",
"Prefix": "DSNP",
"FromNumber": 1,
"ToNumber": 100000,
"TechnicalKey": "",
"StartDate": "2021-10-01T00:00:00",
"EndDate": "2050-12-31T00: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"
},
"EmployeeParty": {
"Code": "222222222222",
"TypeCode": "01",
"SubtypeCode": "00",
"IsPensionRisk": false,
"FirstName": "Consumidor",
"MiddleName": "",
"FirstSurname": "Final",
"SecondSurname": "",
"ContractType": "2",
"IsIntegralSalary": true,
"SalaryAmount": 1800000.00,
"Name": "Consumidor Final",
"Id": "222222222222",
"IdentificationType": "13",
"PhysicalLocation": {
"Address": "",
"CityCode": "68276",
"SubentityCode": "68",
"CountryCode": "CO",
"PostalZone": ""
},
"OrganizationTypeCode": "2",
"RegimeCode": "R-99-PN",
"TaxLevelCode": "R-99-PN",
"TaxResidentCode": "10",
"TaxCode": "", //GetAllTaxTypes
"CorporateRegistration": "00000",
"Email": "facturacion@grafosoft.com",
"Phone": ""
},
"Information": {
"Date": "2024-02-12T16:55:25.487",
"Address": "NATURA ECOPARQUE EMPRESARIAL KM 2 ANILLO VIAL OF 628 T2",
"CurrencyCode": "COP",
"CurrencyBaseRate": 1.0,
"PeriodCode": "4"
},
"Period": {
"EntryDate": "2023-11-16T00:00:00",
"FinishDate": null,
"StartDate": "2024-01-01T00:00:00",
"EndDate": "2024-01-31T00:00:00",
"TimeWorkedDays": 76
},
"Pay": {
"Code": "1",
"Date": "2024-01-31T00:00:00",
"MethodCode": "31"
},
"Account": {
"Bank": "",
"Type": "Ahorros",
"Number": ""
},
"Items": [
{
"Type": "Devengo",
"code": "Basico",
"Quantity": 15.00,
"Description": "",
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"Amount": 900000.00,
"InhabilityCode": "0",
"IsSalary": false
},
{
"Type": "Devengo",
"code": "Basico",
"Quantity": 15.00,
"Description": "",
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"Amount": 900000.00,
"InhabilityCode": "0",
"IsSalary": false
},
{
"Type": "Devengo",
"code": "Transporte",
"Quantity": 15.00,
"Description": "",
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"Amount": 81000.00,
"InhabilityCode": "0",
"IsSalary": false
},
{
"Type": "Devengo",
"code": "Transporte",
"Quantity": 15.00,
"Description": "",
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"Amount": 81000.00,
"InhabilityCode": "0",
"IsSalary": false
},
{
"Type": "Deduccion",
"code": "Salud",
"Quantity": 1.00,
"Description": "",
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"Amount": 36000.00,
"InhabilityCode": "0",
"IsSalary": false
},
{
"Type": "Deduccion",
"code": "Salud",
"Quantity": 1.00,
"Description": "",
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"Amount": 36000.00,
"InhabilityCode": "0",
"IsSalary": false
},
{
"Type": "Deduccion",
"code": "FondoPension",
"Quantity": 1.00,
"Description": "",
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"Amount": 36000.00,
"InhabilityCode": "0",
"IsSalary": false
},
{
"Type": "Deduccion",
"code": "FondoPension",
"Quantity": 1.00,
"Description": "",
"StartDate": "0001-01-01T00:00:00",
"EndDate": "0001-01-01T00:00:00",
"Amount": 36000.00,
"InhabilityCode": "0",
"IsSalary": false
}
],
"CustomizePrintFormat": {
"HeaderText": "",
"FooterText": ""
},
"MonetaryTotal": {
"PayableAmount": 1962000.0,
"DiscountAmount": 144000.0,
"TotalAmount": 1818000.0
}
}'