CFDI lines

A product or service line of a Mexican electronic invoice.

Fields

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

NameAPI nameTypeRequiredDescription
IDidRecord IDYes
CFDIfiscalmxcfdiIdReferenceYes
Product or service keyclaveProdServTextYesSAT c_ClaveProdServ key for the concept.
QuantitycantidadDecimalYesQuantity in the unit of measure used on this line.
IdentificationnoIdentificacionText
RecordtableUidConstantBusiness table this row points to.
Record IDrecordIdText
Unit keyclaveUnidadTextYesSAT c_ClaveUnidad key for the concept.
UnitunidadTextUnit name printed on the concept.
DescriptiondescripcionTextYes
Tax objectobjetoImpConstantYesFixed option from the allowed set for this field.
Third-party tax IDrfcACuentaTercerosText
Third-party namenombreACuentaTercerosText
Third-party tax addressdomicilioFiscalACuentaTercerosText
Unit valuevalorUnitarioCurrencyYesAmount in the document or line currency.
AmountimporteCurrencyYesAmount in the document or line currency.
DiscountdescuentoCurrencyAmount in the document or line currency.
Third-party tax regimeregimenFiscalACuentaTercerosText
Created bycreatedByUser
Created atcreatedAtDate and TimeYes
Updated byupdatedByUser
Updated atupdatedAtDate and TimeYes
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
CFDI fiscalmxcfdiIdTax receipts (CFDI)owned by

Actions

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

NameAPI nameDescriptionWhere
CreatecreateAdd an new invoice line.App · WebMCP · API · CLI
EditupdateSave changes to this invoice line.App · API · MCP · CLI
DeletedeleteDelete this invoice line and the data that belongs with it. This cannot be undone.App · WebMCP · API · CLI