# Purchase receipts

The issuer's purchases paid without an invoice: AI reads the photo of the receipt and the invoice is requested from the store.

The guide, step by step: https://fiscalisto.com/en/docs/api/tickets-de-compra.md

## Endpoints

- [Save a purchase receipt](https://fiscalisto.com/en/docs/api/referencia/tickets-de-compra/create-purchase-receipt.md): `POST /v1/purchase_receipts`
- [List purchase receipts](https://fiscalisto.com/en/docs/api/referencia/tickets-de-compra/list-purchase-receipts.md): `GET /v1/purchase_receipts`
- [Get a purchase receipt](https://fiscalisto.com/en/docs/api/referencia/tickets-de-compra/get-purchase-receipt.md): `GET /v1/purchase_receipts/{id}`
- [Correct a purchase receipt](https://fiscalisto.com/en/docs/api/referencia/tickets-de-compra/update-purchase-receipt.md): `POST /v1/purchase_receipts/{id}`
- [Delete a purchase receipt](https://fiscalisto.com/en/docs/api/referencia/tickets-de-compra/delete-purchase-receipt.md): `DELETE /v1/purchase_receipts/{id}`
- [Request the invoice from the store](https://fiscalisto.com/en/docs/api/referencia/tickets-de-compra/request-purchase-receipt-invoice.md): `POST /v1/purchase_receipts/{id}/request`
- [The invoice arrived](https://fiscalisto.com/en/docs/api/referencia/tickets-de-compra/mark-purchase-receipt-invoiced.md): `POST /v1/purchase_receipts/{id}/mark_invoiced`
- [Mark as non-deductible](https://fiscalisto.com/en/docs/api/referencia/tickets-de-compra/mark-purchase-receipt-non-deductible.md): `POST /v1/purchase_receipts/{id}/mark_non_deductible`
- [Request the invoice again](https://fiscalisto.com/en/docs/api/referencia/tickets-de-compra/reopen-purchase-receipt.md): `POST /v1/purchase_receipts/{id}/reopen`

## The PurchaseReceipt object

An issuer's purchase ticket without an invoice: what was read from its photo and whether it was requested, arrived or isn't deductible.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `id` | string | yes | Object identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_). |
| `livemode` | boolean | yes | true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT. |
| `object` | `"purchase_receipt"` | yes | What kind of object it is («invoice», «customer»…). |
| `issuer` | string | yes | The issuer (the one that bought). |
| `status` | `pending`, `requested`, `invoiced`, `non_deductible` | yes | pending (to request), requested (requested from the store), invoiced (it has an invoice now) or non_deductible (there was no invoice). |
| `store` | object | yes | The store: name, tax_id (its RFC), email, portal_url (its portal or the QR's link) and on_fiscalisto (invoices with Fiscalisto: method fiscalisto stamps it right away). |
| `store.name` | string or null | yes | Name. |
| `store.tax_id` | string or null | yes | RFC (Rfc), 12 characters for a persona moral and 13 for a persona física. |
| `store.email` | string or null | yes | Email to send it to (several separated by commas). Only used if sending is requested. |
| `store.portal_url` | string or null | yes | Its invoicing portal or the QR's link, or null. |
| `store.on_fiscalisto` | boolean | yes | true if it invoices with Fiscalisto: method fiscalisto stamps the invoice right away. |
| `date` | string or null | yes | The purchase day (YYYY-MM-DD), or null. |
| `total` | number or null | yes | The total paid, in pesos, or null. |
| `payment_method` | `efectivo`, `tarjeta`, `otro` or null | yes | efectivo, tarjeta or otro, or null. |
| `folio` | string or null | yes | The folio or ticket number, or null. |
| `fields` | array of object | yes | Other details the store's portal asks for to invoice (Web ID, branch, register…). |
| `fields[].label` | string | yes | What the receipt calls it (Web ID, Sucursal…). |
| `fields[].value` | string | yes | What the receipt says in that field. |
| `use` | string or null | yes | The CFDI use requested, or null: G03 if the issuer's tax regime allows it, otherwise S01. |
| `note` | string or null | yes | A note, or null. |
| `file_type` | string or null | yes | The saved file's type (image/jpeg, application/pdf…). |
| `cash_over_limit` | boolean | yes | true if more than $2,000 was paid in cash: even with an invoice, it isn't deductible (LISR art. 27 fr. III). |
| `days_left_in_month` | integer or null | yes | To request: the days left in the purchase's month, Mexico time (many stores only invoice within the month); otherwise null. |
| `requested` | object or null | yes | When and how it was requested (method: fiscalisto, email, portal or manual; to: the store or its email), or null. |
| `requested.method` | string or null | yes | egreso (the full invoice and then a credit note for the advance payment, option A) or remanente (the invoice only for what's left, option B). |
| `requested.to` | string or null | yes | To whom (emails separated by commas). |
| `requested.at` | string (date-time) or null | yes | When it was requested. |
| `invoice_uuid` | string or null | yes | The tax folio of the invoice that covers it, or null. |
| `invoice` | string or null | yes | The received invoice (sat_…) that covers it, if it already arrived with the SAT downloads, or null. |
| `invoiced_at` | string (date-time) or null | yes | When it was invoiced, or null. |
| `non_deductible_at` | string (date-time) or null | yes | When it was marked non-deductible, or null. |
| `created_at` | string (date-time) or null | yes | When it was saved. |

Example:

```json
{
  "id": "rct_OufpKqnrvx9p4X",
  "object": "purchase_receipt",
  "livemode": false,
  "issuer": "iss_OufpKqnrvx9p",
  "status": "pending",
  "store": {
    "name": "Gasolinera Las Palmas",
    "tax_id": "GLP0503158A2",
    "email": null,
    "portal_url": "https://facturacion.laspalmas.mx",
    "on_fiscalisto": false
  },
  "date": "2026-10-30",
  "total": 348.5,
  "payment_method": "tarjeta",
  "folio": "A-48213",
  "fields": [
    {
      "label": "Web ID",
      "value": "7Q3K9"
    }
  ],
  "use": null,
  "note": null,
  "file_type": "image/jpeg",
  "cash_over_limit": false,
  "days_left_in_month": 1,
  "requested": null,
  "invoice_uuid": null,
  "invoice": null,
  "invoiced_at": null,
  "non_deductible_at": null,
  "created_at": "2026-10-30T18:20:00-06:00"
}
```
