FISCALISTO / API / REFERENCE
Get an issuer's self-invoicing portal · Self-invoicing
The issuer's self-invoicing portal: its address, until when a receipt can be invoiced and how the global invoice is put together.
bearerAuthAuthorizationBearer <key>Your secret key: fk_test_… in test mode, fk_live_… in production. Desarrolladores › Llaves.
id*stringThe object's id.
OK.
application/json- response
An issuer's self-invoicing portal and its rules.
object*stringWhat kind of object it is («invoice», «customer»…).
livemode*booleantrue in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT.
issuer*stringThe issuer.
portal_url*stringThe issuer's permanent portal: there any buyer invoices with their code and total.
window*stringmonth: it can be invoiced until the end of the sale's month. days: until window_days days after.
"month""days"window_days*integerDays to invoice with window: days.
-9007199254740991 <= value <= 9007199254740991global_periodicity*stringHow often the global invoice is stamped on its own with what nobody invoiced: 01 daily, 02 weekly, 03 biweekly, 04 monthly.
"01""02""03""04"global_invoice*stringauto: tickets nobody invoiced go on their own to their period's global invoice. off: Fiscalisto doesn't make a global invoice for these tickets (you make it elsewhere).
"auto""off"ask_total*booleanWhether the portal asks for the total to find the ticket (true) or only its code (false).
portal_title*|The portal's title, or null for «Facture su ticket».
portal_message*|The message under the title, or null.
code_hint*|Where the buyer finds their code, under the field; null for Fiscalisto's text.
portal_theme*stringauto: the theme of the buyer's device, which they can change. light or dark: always that one, on the portal page, its QRs and inside your site.
"auto""light""dark"portal_accent*|The portal's button color («#rrggbb»), or null for Fiscalisto's.
portal_radius*|The portal's corners in pixels (0 to 24), or null for Fiscalisto's.
portal_style*How the portal looks besides its theme, color and corners: layout, header, colors, font, texts, ways to give the details, back button and CSS.
invoice_concepts*Broken down, in a single line item or by the empresa's groups, and what the buyer can choose (Autofactura › Conceptos de la factura).
retention_mode*stringWhen invoicing a persona moral that withholds (1.25% ISR in RESICO, or the product's). keep_total: the base grows and the invoice adds up to what was paid. subtract: the base is the ticket's and the total is what was paid minus the withholding.
"keep_total""subtract"invoice_series*|The series for invoices issued from the portal and from a ticket, like AF, or null for the issuer's invoice series. The global invoice doesn't use it.
customer_notes*booleantrue: the portal asks the buyer for a note for their invoice's PDF (up to 500 characters). It only appears on the PDF, never in the XML.
failure_email*booleantrue: when a buyer can't invoice because of something on the issuer's side, an email goes out; false: it only stays in Alertas.
split_max*integerThe most invoices a receipt can have (splitting a receipt into several invoices), counting the one that takes all that's left; 0: it can't be split.
-9007199254740991 <= value <= 9007199254740991split_min*numberThe least each invoice of a split receipt can be, taxes included; less can't be left to invoice either, except by the invoice that takes all that's left.
split_same*booleantrue: a buyer can make several invoices with the same details at once (4 of 250 from a 1,000 receipt).
global_concepts*stringticket: the global invoice carries one «Venta» line item per ticket, with its folio. summary: only the period's total amount, one per tax combination (NoIdentificacion «Resumen»), for a persona física in RESICO (rule 2.7.1.21 of the RMF 2026).
"ticket""summary"The issuer is archived and no longer stamps. Its documents can still be read and canceled.
The account has several issuers and the request doesn't say which: send
issuer(iss_…).The object belongs to the other mode: an fk_test_ key only sees test data and an fk_live_ key only live data.
Live, this part of the API (inventario, portal de proveedores, pedidos, comprobación de gastos) follows the empresa's plan, as in the app: it comes with Operaciones (added to any paid plan; included in Corporativo). The books (the /v1/accounting routes except DIOT, cross checks, IVA refunds and fixed assets) come with Contabilidad (added to Independiente, Emprendedor or Negocio; included in Despacho and Corporativo): without it, changing the books answers this error, and reading them works only up to the last month it had it. Add either in Ajustes › Plan y pagos; test mode has everything.
That issuer is an empresa of the app connected to your account: through the API it only offers its Portal de proveedores (/v1/portal_suppliers and /v1/supplier_invoices) and, once someone who may pay suppliers and change Configurar pagos turned them on, its supplier payouts (/v1/payouts and /v1/payroll_payouts). It also stops when whoever connected it (or turned its payouts on) no longer has that permission in the empresa: message_es says which. Do everything else in the app.
This key can't use that issuer.
There is no such issuer in the account (or it belongs to the other mode).
Plus those of any call (key, fields, limits): Errors. They all carry code, message and, when it's about a field, param.
curl -X GET 'https://api.fiscalisto.com/v1/issuers/iss_OufpKqnrvx9p/self_invoicing' \ -H 'Authorization: Bearer fk_test_…'{ "object": "self_invoicing", "livemode": false, "issuer": "iss_OufpKqnrvx9p", "portal_url": "https://fiscalisto.com/autofactura/Tx8mQ2vLp9WnR4c", "window": "month", "window_days": 7, "global_periodicity": "04", "global_invoice": "auto", "ask_total": true, "portal_title": null, "portal_message": null, "code_hint": null, "portal_theme": "auto", "portal_accent": "#0b7c77", "portal_radius": null, "portal_style": { "layout": "checkout", "density": "comfortable", "header": "name_rfc", "logo_size": "m", "logo_shape": "rounded", "font": "system", "heading_font": null, "heading_size": "m", "borders": "subtle", "shadow": "soft", "ways": { "constancia": true, "qr": true, "cif": true, "recall": true, "abroad": true, "norfc": false }, "email_required": false, "show_deadline": true, "back": null, "css": "", "colors": { "background": null, "card": null, "text": null, "button_text": null }, "noun": "ticket", "texts": {} }, "retention_mode": "keep_total", "invoice_series": null, "customer_notes": false, "failure_email": true, "split_max": 4, "split_min": 100, "split_same": true, "global_concepts": "ticket", "invoice_concepts": { "mode": "itemized", "customer_choice": true, "customer_options": [ "itemized", "single", "grouped" ], "description": "Consumo", "product_key": null, "unit_key": null, "groups": [ { "name": "Alimentos y bebidas", "product_key": "90101501", "unit_key": "E48", "sat_keys": [ "901015" ], "categories": [] }, { "name": "Hospedaje", "product_key": null, "unit_key": null, "sat_keys": [], "categories": [ "Hotel › Habitaciones" ] } ], "ungrouped": "group", "ungrouped_name": "Otros servicios", "line_detail": "customer" }}Was this page helpful?