Skip to content

FISCALISTO / API / REFERENCE

Team

Open in ChatGPTOpen in ClaudeOpen in Cursor

Who gets into the empresa in the app, their invitations, roles and permissions, like Ajustes › Miembros and Ajustes › Roles.

Guide to Team: what each endpoint is for, step by step and with examples.

The object Member

Fields
  1. Member

A person who signs in to the empresa in the app.

id*string

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

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 (iss_…).

name*|

Name.

email*string

Email to send it to (several separated by commas). Only used if sending is requested.

role*string

The role (id from GET /v1/roles).

all_permissions*boolean

true: every permission, including those added later.

permissions_added*array<string>

Permissions on top of the role's.

permissions_removed*array<string>

The role's permissions this person doesn't have.

tax_ids*array<string>|

Only works with these RFCs of the empresa; null: with all of them.

branches*array<string>|

Only issues from these branches (brn_…, or "matriz"); null: from all of them.

permissions*array<string>

What they can do in the end: the role's permissions, plus the added ones, minus the removed ones.

two_factor_enabled*boolean

Whether they sign in with two-step verification.

created_at*string

When it was created, ISO 8601 with Mexico City time (-06:00).

Example Member

{  "id": "mem_OufpKqnrvx9p3fT0aW9CxR2YhJ8kLmNqP4",  "object": "member",  "livemode": true,  "issuer": "iss_OufpKqnrvx9p",  "name": "Laura Méndez",  "email": "laura@inmobiliariacva.mx",  "role": "facturista",  "all_permissions": false,  "permissions_added": [    "emitidas:exportar"  ],  "permissions_removed": [],  "tax_ids": null,  "branches": [    "matriz",    "brn_OufpKqnrvx9p3"  ],  "permissions": [    "clientes:ver",    "emitidas:exportar",    "emitidas:ver",    "facturar:timbrar"  ],  "two_factor_enabled": true,  "created_at": "2026-10-02T10:14:00.000Z"}

The object Invitation

Fields
  1. Invitation

An invitation to the empresa that hasn't been accepted yet.

id*string

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

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 (iss_…).

email*string

Email to send it to (several separated by commas). Only used if sending is requested.

role*string

The role (id from GET /v1/roles).

all_permissions*boolean

true: every permission, including those added later.

permissions_added*array<string>

Permissions on top of the role's.

permissions_removed*array<string>

The role's permissions this person doesn't have.

tax_ids*array<string>|

Only works with these RFCs of the empresa; null: with all of them.

branches*array<string>|

Only issues from these branches (brn_…, or "matriz"); null: from all of them.

status*string

pending: their link works. canceled: it was canceled.

One of"pending""canceled"
expires_at*string

Until when their link works (7 days).

Example Invitation

{  "id": "mbi_OufpKqnrvx9p5kE2nT7wQaZ0bY3cXv1dG8",  "object": "invitation",  "livemode": true,  "issuer": "iss_OufpKqnrvx9p",  "email": "contador@despachoruiz.mx",  "role": "contador",  "all_permissions": false,  "permissions_added": [],  "permissions_removed": [],  "tax_ids": null,  "branches": null,  "status": "pending",  "expires_at": "2026-11-21T18:00:00.000Z"}

The object Role

Fields
  1. Role

A role in the empresa: a name and its permissions.

id*string

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

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 (iss_…).

name*string

Name.

description*|

Description.

all_permissions*boolean

true: the role has every permission, including future ones.

permissions*array<string>

Its permissions (empty with all_permissions).

type*string

owner: Propietario. starter: one of Fiscalisto's (can be changed, not deleted). custom: one of the empresa's.

One of"owner""starter""custom"
members*number

How many members have it.

invitations*number

How many pending invitations grant it.

Example Role

{  "id": "facturista",  "object": "role",  "livemode": true,  "issuer": "iss_OufpKqnrvx9p",  "name": "Facturista",  "description": "Timbra y envía facturas.",  "all_permissions": false,  "permissions": [    "clientes:ver",    "emitidas:ver",    "facturar:timbrar"  ],  "type": "starter",  "members": 2,  "invitations": 0}

The object Permission

Fields
  1. Permission

Something a person can do in the empresa.

id*string

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

object*string

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

name*string

Name.

group*string

Its group, as in Ajustes › Roles.

sensitive*boolean

Sensitive (team, credentials, security, plan): granting or removing it is done in the app.

Example Permission

{  "id": "facturar:timbrar",  "object": "permission",  "name": "Timbrar",  "group": "Facturar",  "sensitive": false}

Was this page helpful?