[All schemas](/reference/schemas/) · [API reference](/reference/) · [Data mapping guide](/guides/data-model/)

## Fields

| Field | Required | Type / allowed values |
| --- | --- | --- |
| `id` | Yes | string |
| `kind` | Yes | [RipsPackageKind](/reference/schemas/rips-package-kind/) |
| `status` | Yes | [RipsPackageStatus](/reference/schemas/rips-package-status/) |
| `revision` | Yes | integer |
| `isActive` | Yes | boolean |
| `statusMessage` | Yes | string or null |
| `numFactura` | Yes | string or null |
| `numNota` | Yes | string or null |
| `tipoNota` | Yes | string or null |
| `cufeOrCude` | Yes | string or null |
| `attachedDocument` | Yes | [AttachedDocument](/reference/schemas/attached-document/) |
| `sourceInvoiceId` | Yes | string or null |
| `sourceCreditNoteId` | Yes | string or null |
| `sourceDebitNoteId` | Yes | string or null |
| `sourcePackageId` | Yes | string or null |
| `procesoId` | Yes | string or null |
| `cuv` | Yes | string or null |
| `validation` | Yes | object or null |
| `lastAttempt` | Yes | object or null |
| `createdByUserId` | Yes | string or null |
| `createdAt` | Yes | string |
| `updatedAt` | Yes | string |

## JSON definition

The JSON retains the source contract descriptions. Do not translate property names or enum values.

```json
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "kind": {
      "$ref": "#/components/schemas/RipsPackageKind"
    },
    "status": {
      "$ref": "#/components/schemas/RipsPackageStatus"
    },
    "revision": {
      "type": "integer",
      "minimum": 1
    },
    "isActive": {
      "type": "boolean"
    },
    "statusMessage": {
      "type": [
        "string",
        "null"
      ]
    },
    "numFactura": {
      "type": [
        "string",
        "null"
      ]
    },
    "numNota": {
      "type": [
        "string",
        "null"
      ]
    },
    "tipoNota": {
      "type": [
        "string",
        "null"
      ]
    },
    "cufeOrCude": {
      "type": [
        "string",
        "null"
      ]
    },
    "attachedDocument": {
      "$ref": "#/components/schemas/AttachedDocument"
    },
    "sourceInvoiceId": {
      "type": [
        "string",
        "null"
      ]
    },
    "sourceCreditNoteId": {
      "type": [
        "string",
        "null"
      ]
    },
    "sourceDebitNoteId": {
      "type": [
        "string",
        "null"
      ]
    },
    "sourcePackageId": {
      "type": [
        "string",
        "null"
      ]
    },
    "procesoId": {
      "type": [
        "string",
        "null"
      ]
    },
    "cuv": {
      "type": [
        "string",
        "null"
      ],
      "description": "Solo con estado Accepted."
    },
    "validation": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "revision": {
          "type": "integer"
        },
        "outcome": {
          "type": "string",
          "enum": [
            "valid",
            "invalid"
          ]
        },
        "current": {
          "type": "boolean",
          "description": "true si corresponde a la revisión y al contexto vigentes."
        },
        "contentDigest": {
          "type": "string"
        },
        "attachedDocumentSha256": {
          "type": [
            "string",
            "null"
          ],
          "description": "sha256 del AttachedDocument leído del sistema de facturación para esta validación; null si el paquete no envía XML o no se pudo leer."
        },
        "rulesVersion": {
          "type": "string"
        },
        "contextDigest": {
          "type": "string"
        },
        "referencesDigest": {
          "type": "string"
        },
        "validatedAt": {
          "type": "string",
          "description": "Fecha y hora ISO 8601 (UTC).",
          "example": "2026-10-15T12:00:00.000Z"
        }
      },
      "required": [
        "id",
        "revision",
        "outcome",
        "current",
        "contentDigest",
        "attachedDocumentSha256",
        "rulesVersion",
        "contextDigest",
        "referencesDigest",
        "validatedAt"
      ]
    },
    "lastAttempt": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "revision": {
          "type": "integer"
        },
        "outcome": {
          "$ref": "#/components/schemas/DispatchOutcome"
        },
        "environment": {
          "$ref": "#/components/schemas/WorkspaceEnvironment"
        },
        "attemptedAt": {
          "type": "string",
          "description": "Fecha y hora ISO 8601 (UTC).",
          "example": "2026-10-15T12:00:00.000Z"
        },
        "completedAt": {
          "type": [
            "string",
            "null"
          ],
          "description": "Fecha y hora ISO 8601 (UTC).",
          "example": "2026-10-15T12:00:00.000Z"
        },
        "procesoId": {
          "type": [
            "string",
            "null"
          ]
        },
        "cuv": {
          "type": [
            "string",
            "null"
          ],
          "description": "Solo presente si el recibo es aceptado y verificado."
        },
        "message": {
          "type": [
            "string",
            "null"
          ]
        },
        "requestDigest": {
          "type": "string"
        },
        "reconciliation": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "evidenceCuv": {
              "type": "string"
            },
            "outcome": {
              "type": "string",
              "enum": [
                "accepted",
                "inconclusive"
              ]
            },
            "reconciledAt": {
              "type": "string",
              "description": "Fecha y hora ISO 8601 (UTC).",
              "example": "2026-10-15T12:00:00.000Z"
            }
          },
          "required": [
            "evidenceCuv",
            "outcome",
            "reconciledAt"
          ]
        }
      },
      "required": [
        "id",
        "revision",
        "outcome",
        "environment",
        "attemptedAt",
        "completedAt",
        "procesoId",
        "cuv",
        "message",
        "requestDigest",
        "reconciliation"
      ]
    },
    "createdByUserId": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdAt": {
      "type": "string",
      "description": "Fecha y hora ISO 8601 (UTC).",
      "example": "2026-10-15T12:00:00.000Z"
    },
    "updatedAt": {
      "type": "string",
      "description": "Fecha y hora ISO 8601 (UTC).",
      "example": "2026-10-15T12:00:00.000Z"
    }
  },
  "required": [
    "id",
    "kind",
    "status",
    "revision",
    "isActive",
    "statusMessage",
    "numFactura",
    "numNota",
    "tipoNota",
    "cufeOrCude",
    "attachedDocument",
    "sourceInvoiceId",
    "sourceCreditNoteId",
    "sourceDebitNoteId",
    "sourcePackageId",
    "procesoId",
    "cuv",
    "validation",
    "lastAttempt",
    "createdByUserId",
    "createdAt",
    "updatedAt"
  ]
}
```
