Consultar estado de nómina en la DIAN¶
Url GET
¶
/service/payrolls/:payrollId
Headers¶
Content-Type: application/json Accept: application/json Authotization: Bearer :tokenNota
El texto :token debe ser reemplazado por el token generado en el SSO.
Parameters¶
- payrollId *:
Type: string
Id respondido por el servio al hacer el envío del documento electronico.
Responses¶
Response
200
OK¶Si el correo se envió correctamente.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 { "data": { "id": 1000, "payroll_id": null, "testing_set": "d4efd9ac-4a40-4e69-99a4-0b78b53ea973", "signed_xml_key": "aae91288-6e07-4c81-b5ea-678cd9a3e386", "generator_id": "0000366", "signed_xml": "nie09012851792100000012.xml", "consecutive_id": 366, "type": "Habilitación", "xml_type": 102, "status": 2, "created_at": "2021-09-24T16:34:19.000000Z", "updated_at": "2021-09-24T16:50:28.000000Z" }, "dianResponse": { "responseDian": { "Envelope": { "Header": { "Action": { "_attributes": { "mustUnderstand": "1" }, "_value": "http://wcf.dian.colombia/IWcfDianCustomerServices/GetStatusZipResponse" }, "Security": { "_attributes": { "mustUnderstand": "1" }, "Timestamp": { "_attributes": { "Id": "_0" }, "Created": "2021-09-24T16:50:28.695Z", "Expires": "2021-09-24T16:55:28.695Z" } } }, "Body": { "GetStatusZipResponse": { "GetStatusZipResult": { "DianResponse": { "ErrorMessage": { "_attributes": { "nil": "true" } }, "IsValid": "false", "StatusCode": "2", "StatusDescription": "Set de prueba con identificador XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX se encuentra Aceptado.", "StatusMessage": { "_attributes": { "nil": "true" } }, "XmlBase64Bytes": { "_attributes": { "nil": "true" } }, "XmlBytes": { "_attributes": { "nil": "true" } }, "XmlDocumentKey": { "_attributes": { "nil": "true" } }, "XmlFileName": { "_attributes": { "nil": "true" } } } } } } } }, "isValid": false, "applicationResponseBytes": null, "attachedDocumentBytes": null } }