The Spanish version is the authoritative reference. View in Spanish
040 Endorsement Cancellation
JSON request structure
✓ = required data
C = conditional data
| Parameter | Required | Description | Data type | Size | Value |
|---|---|---|---|---|---|
| status | ✓ | Endorsement code | N | 3 | 040 |
| description | ✓ | Text describing the endorsement cancellation event | A | 1-500 | |
| operationType | ✓ | Endorsement Cancellation Type 401 = Cancellation of Endorsement in Guarantee 402 = Cancellation of Endorsement in Procuration | N | 3 | |
| IDEmisor | ✓ | NIT of the Issuer of the Cancellation | N | 3-13 | |
| IDEmisorTipo | ✓ | Identification type of the Issuer of the Cancellation | N | 2 | |
| NombreEmisor | ✓ | Name of the Issuer of the Cancellation | A | 5-450 | |
| IDEndosatario | ✓ | NIT of the Receiver of the Endorsement | N | 3-13 | |
| NombreEndosatario | ✓ | Name of the Receiver of the Endorsement | A | 5-450 | |
| TipoEndoso | ✓ | Identification type of the Endorsement to Cancel 038 = Endorsement in Guarantee 039 = Endorsement in Procuration | N | 3 | |
| IDEndoso | ✓ | ID of the electronic invoice to endorse | A | 50 | |
| CUDEEndoso | ✓ | CUFE of the electronic invoice to endorse | A | 96 | |
| Motivo | C | Reason for which the Endorsement is cancelled. Applies only to cancel an Endorsement in Procuration type 038 | A | 0-500 | |
| EndDateInvoice | ✓ | Due date of the electronic invoice to endorse | F | 10 |
JSON request example
In the following example we show how to make a JSON request where a 040 event is sent cancelling Endorsement in Guarantee 038.
{
"status":"040",
"description":"Cancelación de Endoso",
"operationType":"401",
"IDEmisor":"900508908",
"IDEmisorTipo":"31",
"NombreEmisor":"Signature South Consulting",
"IDEndosatario":"890900608",
"NombreEndosatario":"Éxito Viajes y Turismo",
"TipoEndoso":"038",
"IDEndoso":"5809181359",
"CUDEEndoso":"3f0f41655f674f08a59ae541add81e043c77d4331a469fc82bfa1f7f7c5c57d22dd417d6b2258240bd3119d485120b07",
"EndDateInvoice":"2022-12-30"
}