CFDI lines
A product or service line of a Mexican electronic invoice.
- API name:
fiscalmxcfdiitems - Domain: FiscalMX
- Modules: Finances, Human resources
Fields
The API name is what the API, MCP and the CLI use.
| Name | API name | Type | Required | Description |
|---|---|---|---|---|
| ID | id | Record ID | Yes | |
| CFDI | fiscalmxcfdiId | Reference | Yes | |
| Product or service key | claveProdServ | Text | Yes | SAT c_ClaveProdServ key for the concept. |
| Quantity | cantidad | Decimal | Yes | Quantity in the unit of measure used on this line. |
| Identification | noIdentificacion | Text | ||
| Record | tableUid | Constant | Business table this row points to. | |
| Record ID | recordId | Text | ||
| Unit key | claveUnidad | Text | Yes | SAT c_ClaveUnidad key for the concept. |
| Unit | unidad | Text | Unit name printed on the concept. | |
| Description | descripcion | Text | Yes | |
| Tax object | objetoImp | Constant | Yes | Fixed option from the allowed set for this field. |
| Third-party tax ID | rfcACuentaTerceros | Text | ||
| Third-party name | nombreACuentaTerceros | Text | ||
| Third-party tax address | domicilioFiscalACuentaTerceros | Text | ||
| Unit value | valorUnitario | Currency | Yes | Amount in the document or line currency. |
| Amount | importe | Currency | Yes | Amount in the document or line currency. |
| Discount | descuento | Currency | Amount in the document or line currency. | |
| Third-party tax regime | regimenFiscalACuentaTerceros | Text | ||
| Created by | createdBy | User | ||
| Created at | createdAt | Date and Time | Yes | |
| Updated by | updatedBy | User | ||
| Updated at | updatedAt | Date and Time | Yes | |
| Blocked by | blockedBy | User | ||
| Blocked at | blockedAt | Date and Time | ||
| Archived by | archivedBy | User | ||
| Archived at | archivedAt | Date and Time |
Relations
Owned records (solid line) are deleted with their owner. Grouped records (dashed line) can exist alone.
| Field | Points to | Kind |
|---|---|---|
CFDI fiscalmxcfdiId | Tax 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.
| Name | API name | Description | Where |
|---|---|---|---|
| Create | create | Add an new invoice line. | App · WebMCP · API · CLI |
| Edit | update | Save changes to this invoice line. | App · API · MCP · CLI |
| Delete | delete | Delete this invoice line and the data that belongs with it. This cannot be undone. | App · WebMCP · API · CLI |