← Ticket Schema

Examples

Ejemplos v0.1 de documentos Ticket Schema.

Delivery Note Mx

Tipo: delivery_note · Status: fulfilled

Ver JSON crudo

{
  "$schema": "https://ticketschema.org/schema/v0.1/profiles/delivery-note.json",
  "ticketSchemaVersion": "0.1",
  "id": "ts_01HX0000000000000000000103",
  "documentType": "delivery_note",
  "status": "fulfilled",
  "issuedAt": "2026-05-22T14:15:00-06:00",
  "parties": [
    {
      "role": "sender",
      "name": "Bodega Central"
    },
    {
      "role": "receiver",
      "name": "Sucursal Roma"
    }
  ],
  "items": [
    {
      "description": "Caja de refacciones",
      "quantity": 3,
      "unit": "box"
    }
  ],
  "events": [
    {
      "type": "issued",
      "at": "2026-05-22T14:15:00-06:00",
      "by": "sender"
    },
    {
      "type": "delivery_recorded",
      "at": "2026-05-22T16:45:00-06:00",
      "by": "sender",
      "statusAfter": "fulfilled"
    },
    {
      "type": "received_confirmed",
      "at": "2026-05-22T16:50:00-06:00",
      "by": "receiver",
      "statusAfter": "fulfilled"
    }
  ]
}

Loan Note

Tipo: loan_note · Status: partially_paid

Ver JSON crudo

{
  "$schema": "https://ticketschema.org/schema/v0.1/profiles/loan-note.json",
  "ticketSchemaVersion": "0.1",
  "id": "ts_01HX0000000000000000000002",
  "documentType": "loan_note",
  "status": "partially_paid",
  "issuedAt": "2026-05-22T12:00:00-06:00",
  "currency": "MXN",
  "parties": [
    {
      "role": "issuer",
      "name": "Albin"
    },
    {
      "role": "recipient",
      "name": "Carlos"
    }
  ],
  "amounts": {
    "total": 1500,
    "paid": 500,
    "balance": 1000
  },
  "terms": {
    "dueDate": "2026-06-15",
    "description": "Préstamo personal"
  },
  "events": [
    {
      "type": "issued",
      "at": "2026-05-22T12:00:00-06:00",
      "by": "issuer"
    },
    {
      "type": "payment_recorded",
      "at": "2026-05-29T10:00:00-06:00",
      "amount": 500,
      "currency": "MXN",
      "method": "cash",
      "statusAfter": "partially_paid"
    }
  ]
}

Payment Receipt

Tipo: payment_receipt · Status: paid

Ver JSON crudo

{
  "$schema": "https://ticketschema.org/schema/v0.1/profiles/payment-receipt.json",
  "ticketSchemaVersion": "0.1",
  "id": "ts_01HX0000000000000000000001",
  "documentType": "payment_receipt",
  "status": "paid",
  "issuedAt": "2026-05-22T10:00:00-06:00",
  "currency": "MXN",
  "parties": [
    {
      "role": "issuer",
      "name": "Café Ejemplo"
    },
    {
      "role": "recipient",
      "name": "Cliente"
    }
  ],
  "amounts": {
    "subtotal": 100,
    "tax": 16,
    "total": 116,
    "paid": 116,
    "balance": 0
  },
  "items": [
    {
      "description": "Café americano",
      "quantity": 2,
      "unitPrice": 50,
      "total": 100
    }
  ],
  "events": [
    {
      "type": "issued",
      "at": "2026-05-22T10:00:00-06:00",
      "by": "issuer"
    },
    {
      "type": "payment_recorded",
      "at": "2026-05-22T10:00:10-06:00",
      "amount": 116,
      "currency": "MXN",
      "method": "card",
      "statusAfter": "paid"
    }
  ]
}

Payment Request Mx

Tipo: payment_request · Status: pending

Ver JSON crudo

{
  "$schema": "https://ticketschema.org/schema/v0.1/profiles/payment-request.json",
  "ticketSchemaVersion": "0.1",
  "id": "ts_01HX0000000000000000000102",
  "documentType": "payment_request",
  "status": "pending",
  "issuedAt": "2026-05-22T09:00:00-06:00",
  "currency": "MXN",
  "parties": [
    {
      "role": "payee",
      "name": "Taller El Rápido"
    },
    {
      "role": "payer",
      "name": "Cliente"
    }
  ],
  "amounts": {
    "total": 750,
    "paid": 0,
    "balance": 750
  },
  "terms": {
    "dueDate": "2026-05-29",
    "description": "Anticipo pendiente por reparación"
  },
  "events": [
    {
      "type": "issued",
      "at": "2026-05-22T09:00:00-06:00",
      "by": "payee"
    },
    {
      "type": "payment_requested",
      "at": "2026-05-22T09:00:01-06:00",
      "amount": 750,
      "currency": "MXN",
      "statusAfter": "pending"
    }
  ]
}

Retail Receipt Mx

Tipo: retail_receipt · Status: paid

Ver JSON crudo

{
  "$schema": "https://ticketschema.org/schema/v0.1/profiles/retail-receipt.json",
  "ticketSchemaVersion": "0.1",
  "id": "ts_01HX0000000000000000000101",
  "documentType": "retail_receipt",
  "status": "paid",
  "issuedAt": "2026-05-22T18:30:00-06:00",
  "currency": "MXN",
  "parties": [
    {
      "role": "seller",
      "name": "Abarrotes Lupita"
    },
    {
      "role": "buyer",
      "name": "Cliente mostrador"
    }
  ],
  "amounts": {
    "subtotal": 86,
    "tax": 0,
    "total": 86,
    "paid": 86,
    "balance": 0
  },
  "items": [
    {
      "description": "Leche 1L",
      "quantity": 1,
      "unitPrice": 28,
      "total": 28
    },
    {
      "description": "Pan dulce",
      "quantity": 4,
      "unitPrice": 14.5,
      "total": 58
    }
  ],
  "events": [
    {
      "type": "issued",
      "at": "2026-05-22T18:30:00-06:00",
      "by": "seller"
    },
    {
      "type": "payment_recorded",
      "at": "2026-05-22T18:30:05-06:00",
      "amount": 86,
      "currency": "MXN",
      "method": "cash",
      "statusAfter": "paid"
    }
  ]
}

Service Record Mx

Tipo: service_record · Status: partially_paid

Ver JSON crudo

{
  "$schema": "https://ticketschema.org/schema/v0.1/profiles/service-record.json",
  "ticketSchemaVersion": "0.1",
  "id": "ts_01HX0000000000000000000104",
  "documentType": "service_record",
  "status": "partially_paid",
  "issuedAt": "2026-05-22T11:20:00-06:00",
  "currency": "MXN",
  "parties": [
    {
      "role": "service_provider",
      "name": "Plomería García"
    },
    {
      "role": "customer",
      "name": "Cliente"
    }
  ],
  "amounts": {
    "total": 1200,
    "paid": 600,
    "balance": 600
  },
  "terms": {
    "description": "Cambio de mezcladora y revisión de fuga",
    "dueDate": "2026-05-25"
  },
  "events": [
    {
      "type": "issued",
      "at": "2026-05-22T11:20:00-06:00",
      "by": "service_provider"
    },
    {
      "type": "service_completed",
      "at": "2026-05-22T13:10:00-06:00",
      "by": "service_provider",
      "statusAfter": "fulfilled"
    },
    {
      "type": "payment_recorded",
      "at": "2026-05-22T13:15:00-06:00",
      "amount": 600,
      "currency": "MXN",
      "method": "transfer",
      "statusAfter": "partially_paid"
    }
  ]
}