Skip to content

FISCALISTO / API / REFERENCE

Travel and expenses

Open in ChatGPTOpen in ClaudeOpen in Cursor

The object ExpensePerson

Fields
  1. ExpensePerson

Someone who travels or spends for the issuer: an employee (from Nómina) or someone paid by fees. They have their own link to upload their invoices without an account.

id*string

Object identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_).

livemode*boolean

true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT.

object*string

What kind of object it is («invoice», «customer»…).

issuer*string

The issuer they spend for.

kind*string

empleado (wages and salaries: exempt travel expenses on their payroll receipt) or honorarios (fees).

One of"empleado""honorarios"
employee*|

Their Nómina employee (emp_…), or null if paid by fees.

name*string

Its name.

tax_id*|

Their RFC, or null.

email*|

Their email, where their link and notices are sent, or null.

base_city*|

Where they work: a trip more than 50 km from there counts as travel.

department*|

Their area, or null.

link_active*boolean

true if they have a working link to upload their invoices.

archived*boolean

true if archived.

created_at*|

When they were added.

Example ExpensePerson

{  "id": "exp_OufpKqnrvx9p3",  "object": "expense_person",  "livemode": false,  "issuer": "iss_OufpKqnrvx9p",  "kind": "empleado",  "employee": "emp_OufpKqnrvx9p1",  "name": "Ana López Ruiz",  "tax_id": "LORA850101AB1",  "email": "ana@example.com",  "base_city": "Monterrey",  "department": "Ventas",  "link_active": true,  "archived": false,  "created_at": "2026-11-02T09:12:00-06:00"}

The object ExpenseReport

Status lifecycle

  • draft
  • submitted
  • rejected
  • approved
  • closed
Fields
  1. ExpenseReport

A travel expense report (one trip) or an expense report for a period: its expenses checked against the law and the policy, and the money given or returned. When it is approved its invoices become deductible and it enters the journal entries through 107.01.

id*string

Object identifier, with its prefix (iss_, inv_, ret_, cus_, prd_, emp_, bat_, brn_, whs_, stm_, adj_, evt_, whe_).

livemode*boolean

true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT.

object*string

What kind of object it is («invoice», «customer»…).

issuer*string

The issuer.

number*integer

Its number, sequential per issuer.

Range-9007199254740991 <= value <= 9007199254740991
label*string

How it is shown, for example «VIA-0012».

person*string

Who is reporting it (exp_…).

person_name*string

That person's name.

kind*string

viaje or gastos (office expenses, for a period).

One of"viaje""gastos"
title*string

Its name.

purpose*|

What it was for, or null.

destination*|

Where to, or null.

abroad*boolean

true if it was abroad.

far*boolean

true if it was more than 50 km from where the person works.

start_date*|

The departure or start of the period (YYYY-MM-DD), or null.

end_date*|

The return or end of the period (YYYY-MM-DD), or null.

status*string

draft (open), submitted (awaiting approval), rejected (sent back for correction), approved (awaiting settlement) or closed (closed, with a zero balance).

One of"draft""submitted""rejected""approved""closed"
due_date*|

The deadline to report it (the policy), or null.

submitted_at*|

When it was submitted for approval, or null.

decided_at*|

When it was approved or sent back, or null.

decision_note*|

The note from whoever approved it or sent it back, or null.

closed_at*|

When it was closed, or null.

in_payroll*boolean

true if it was already reported on a payroll receipt (travel expenses 050 and 081).

spent*number

What was spent, without the rejected expenses.

rejected*number

The amount of the rejected expenses.

proven*number

What was backed by an invoice or foreign receipt.

deductible*number

What is deductible, with the legal caps.

non_deductible*number

What isn't deductible (exceeds the caps or has no receipt).

advances*number

What was given to them as advances.

reimbursed*number

What was reimbursed to them.

returned*number

What they returned.

balance*number

Positive, what the person must return; negative, what the company must reimburse them; 0, settled. What was paid with the company card doesn't count.

ready*boolean

true if it can be submitted or approved: no expense has errors.

issues*array<>

Warnings for the whole expense report.

payroll*|

For an employee, how it will go on their payroll receipt (or null).

items*array<>

Its expenses.

movements*array<>

The money given to them or returned.

created_at*|

When it was opened.

updated_at*|

When it last changed.

Example ExpenseReport

{  "id": "exr_OufpKqnrvx9p4",  "object": "expense_report",  "livemode": false,  "issuer": "iss_OufpKqnrvx9p",  "number": 12,  "label": "VIA-0012",  "person": "exp_OufpKqnrvx9p3",  "person_name": "Ana López Ruiz",  "kind": "viaje",  "title": "Viaje a Guadalajara",  "purpose": "Visita a clientes",  "destination": "Guadalajara",  "abroad": false,  "far": true,  "start_date": "2026-11-03",  "end_date": "2026-11-05",  "status": "approved",  "due_date": "2026-11-15",  "submitted_at": "2026-11-06T10:00:00-06:00",  "decided_at": "2026-11-06T12:30:00-06:00",  "decision_note": null,  "closed_at": null,  "in_payroll": false,  "spent": 4350,  "rejected": 0,  "proven": 4350,  "deductible": 4350,  "non_deductible": 0,  "advances": 3000,  "reimbursed": 0,  "returned": 0,  "balance": -1350,  "ready": true,  "issues": [],  "payroll": null,  "items": [    {      "id": "exi_OufpKqnrvx9p5",      "object": "expense_item",      "date": "2026-11-03",      "category": "hospedaje",      "description": "HOTEL CENTRO HISTORICO SA DE CV",      "amount": 3480,      "foreign_amount": null,      "foreign_currency": null,      "people": 1,      "payment": "tarjeta_propia",      "receipt": "cfdi",      "uuid": "6F1C2D3E-4A5B-4C6D-8E9F-0A1B2C3D4E5F",      "note": null,      "rejected": false,      "reject_reason": null,      "deductible": 3480,      "non_deductible": 0,      "over_policy": false,      "issues": [],      "created_at": "2026-11-05T21:10:00-06:00"    }  ],  "movements": [    {      "id": "exm_OufpKqnrvx9p6",      "object": "expense_movement",      "kind": "anticipo",      "amount": 3000,      "date": "2026-11-02",      "method": "transferencia",      "reference": "SPEI 0098123",      "in_payroll": false,      "created_at": "2026-11-02T09:30:00-06:00"    }  ],  "created_at": "2026-11-02T09:15:00-06:00",  "updated_at": "2026-11-06T12:30:00-06:00"}

The object ExpensePolicy

Fields
  1. ExpensePolicy

The issuer's travel and expense policy: caps per category, how much without an invoice and within how many days it must be reported.

object*string

What kind of object it is («invoice», «customer»…).

livemode*boolean

true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT.

issuer*string

The issuer.

limits*

Caps per category (hospedaje, alimentos…): those not listed have no cap.

ticket_limit*number

Up to how much an expense without an invoice is accepted; 0: all of them require one.

due_days*integer

Days after the return to submit.

Range-9007199254740991 <= value <= 9007199254740991
note_over_limit*boolean

true if it asks for a note on each expense over a cap.

notify_approvers*boolean

true if it notifies the approver by email.

notify_people*boolean

true if it notifies the person when it is approved, sent back or paid.

receipt_formats*array<>

How tickets and receipts are uploaded: image (photo), pdf or both. An invoice's XML is always accepted.

Example ExpensePolicy

{  "object": "expense_policy",  "livemode": false,  "issuer": "iss_OufpKqnrvx9p",  "limits": {    "hospedaje": {      "domestic": 2500,      "abroad": 4500,      "per": "dia"    },    "alimentos": {      "domestic": 750,      "abroad": 1500,      "per": "dia"    }  },  "ticket_limit": 500,  "due_days": 10,  "note_over_limit": true,  "notify_approvers": true,  "notify_people": true,  "receipt_formats": [    "image",    "pdf"  ]}

Example ExpensePersonLink

{  "object": "expense_person_link",  "person": "exp_OufpKqnrvx9p3",  "url": "https://fiscalisto.com/comprobar/k3Jd9sQw2LmZ7xYp"}

Was this page helpful?