Tax receipts (CFDI)

A stamped Mexican electronic invoice for sales, credit notes, payroll, payments, or transfers.

Fields

The API name is what the API, MCP and the CLI use.

NameAPI nameTypeRequiredDescription
IDidRecord IDYes
UUIDuuidText
CustomercustomerIdReference
RecordtableUidConstantBusiness table this row points to.
Record IDrecordIdText
Global period startdateGlobalStartDateCalendar date for this value.
Global period enddateGlobalEndDateCalendar date for this value.
PeriodicityperiodicityConstantFixed option from the allowed set for this field.
SourcesourceConstantYesFixed option from the allowed set for this field.
DirectiondirectionConstantYesFixed option from the allowed set for this field.
VersionversionTextWhole number without fractional part.
SeriesserieText
FoliofolioText
Issue datefechaDate and Time
Digital sealselloText
Certificate numbernoCertificadoText
CertificatecertificadoText
Payment formformaPagoText
Payment conditionscondicionesDePagoText
CurrencymonedaText
Exchange ratetipoCambioText
CFDI typetipoDeComprobanteConstantYesFixed option from the allowed set for this field.
PurposepurposeConstantYesFixed option from the allowed set for this field.
ExportexportacionText
Payment methodmetodoPagoText
Place of issuelugarExpedicionText
ConfirmationconfirmacionText
Issuer tax IDemisorRfcText
Issuer nameemisorNombreText
Issuer tax regimeemisorRegimenFiscalText
Issuer facilityemisorFacAtrAdquirenteText
Receiver tax IDreceptorRfcText
Receiver namereceptorNombreText
Receiver tax addressreceptorDomicilioFiscalText
Receiver tax regimereceptorRegimenFiscalText
CFDI usereceptorUsoCfdiText
Receiver tax residencereceptorResidenciaFiscalText
Foreign tax IDreceptorNumRegIdTribText
Global periodicityinformacionGlobalPeriodicidadText
Global monthsinformacionGlobalMesesText
Global yearinformacionGlobalAnoText
PAC environmentenvironmentConstantEnvironment the CFDI was stamped in. Sandbox CFDIs have no fiscal validity.
Stamp versiontimbreVersionText
Stamp datetimbreFechaTimbradoDate and Time
PAC tax IDtimbreRfcProvCertifText
Stamp legendtimbreLeyendaText
CFDI sealtimbreSelloCfdText
SAT certificate numbertimbreNoCertificadoSatText
SAT sealtimbreSelloSatText
XMLxmlPDF
Cancellation acusecancellationAcusePDF
Cancellation statusstatusCancellationConstantYesFixed option from the allowed set for this field.
SAT statusstatusSatConstantYesFixed option from the allowed set for this field.
Recognition moderecognitionModeText
Host tablerecognitionHostTableUidText
Payment receipt overdueisRepOverdueBooleanYesWhen enabled, the named condition applies to this record.
Stamping overdueisStampOverdueBooleanYesWhen enabled, the named condition applies to this record.
Replacement UUIDcancellationReplacementUuidText
DiscountdescuentoCurrencyAmount in the document or line currency.
Withheld taxtotalImpuestosRetenidosCurrencyMonetary amount in the applicable currency for this record.
Transferred taxtotalImpuestosTrasladadosCurrencyAmount in the document or line currency.
Issue payment complement bydatePagoDueDateCalendar date without time of date.
Replaces CFDIfiscalmxcfdiIdReplacesReference
SubtotalsubtotalCurrencySum of line amounts before tax and withholding on this document.
TotaltotalCurrencyDocument total after discounts, tax, and withholding in document currency.
StatusstatusConstantYesLifecycle or processing state from the allowed values for this record.
Cancellation motivecancelRequestReasonConstantFixed option from the allowed set for this field.
Recognition atrecognitionAtDate and Time
Recognition byrecognitionByReference
Created bycreatedByUser
Created atcreatedAtDate and TimeYes
Updated byupdatedByUser
Updated atupdatedAtDate and TimeYes
Stamped bystampedByUser
Stamped atstampedAtDate and Time
Canceled bycanceledByUser
Canceled atcanceledAtDate and Time
SAT canceled bycanceledSatByUser
Canceled with SATcanceledSatAtDate and Time
Requested bycancellationRequestedByUser
Cancellation requestedcancellationRequestedAtDate and Time
Blocked byblockedByUser
Blocked atblockedAtDate and Time
Archived byarchivedByUser
Archived atarchivedAtDate and Time

Relations

Owned records (solid line) are deleted with their owner. Grouped records (dashed line) can exist alone.

FieldPoints toKind
Customer customerIdCustomersreference
Replaces CFDI fiscalmxcfdiIdReplacesTax receipts (CFDI)reference

Actions

What you can do with a record. Every action also sends the webhook event fiscalmxcfdis.<action>. Reads (find, get, count) work on every table.

NameAPI nameDescriptionWhere
EditupdateSave changes to this cfdi.App · WebMCP · API · MCP · CLI
CancelcancelReverse the posted effect of this cfdi.App · WebMCP · API · MCP · CLI
Revoke external linksrevokeRevoke active external share links for this cfdi.App · API · MCP · CLI
Close global periodcloseGlobalPeriodClose the global CFDI period.App · API · MCP · CLI
RecognizerecognizeLink or draft a commercial host from an imported CFDI. Does not post.App · API · MCP · CLI
Request cancellationrequestCancellationRequest cancellation of this stamped CFDI.App · API · MCP · CLI
ResealresealRefresh CFDI Fecha and rebuild XML before stamping.App · API · MCP · CLI
Share externallysharePublish and send an external link to this document.App · API · MCP · CLI
StampstampEnqueue this CFDI for PAC stamping.App · API · CLI
SubstitutesubstituteCreate a CFDI that replaces this one (relation 04) so you can cancel it with reason 01.App · API · CLI
BlockblockStop edits and deletion of this cfdi. It stays visible and can still appear on existing documents. Unblock to edit again.App · WebMCP · API · MCP · CLI
UnblockunblockAllow edits and deletion of this cfdi again.App · WebMCP · API · MCP · CLI
ArchivearchiveRetire this cfdi from daily use. It leaves active lists and pickers, and most actions stop. Unarchive to restore it.App · WebMCP · API · MCP · CLI
RestoreunarchiveReturn this cfdi to active lists and actions.App · WebMCP · API · MCP · CLI

States

How a record moves from state to state. Archive and block can happen in any state.

ActionAPI name
Cancelcancel
Request cancellationrequestCancellation