CFDI XML imports
An uploaded CFDI XML file with its validation result, before it links to an electronic invoice.
Fields
The API name is what the API, MCP and the CLI use.
| Name | API name | Type | Required | Description |
|---|---|---|---|---|
| ID | id | Record ID | Yes | |
| UUID | uuid | Text | ||
| XML | xml | Yes | ||
| CFDI type | tipoDeComprobante | Constant | Fixed option from the allowed set for this field. | |
| Issuer tax ID | emisorRfc | Text | ||
| Receiver tax ID | receptorRfc | Text | ||
| CFDI | fiscalmxcfdiId | Reference | ||
| Status | status | Constant | Yes | Lifecycle or processing state from the allowed values for this record. |
| 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
| Field | Points to | Kind |
|---|---|---|
CFDI fiscalmxcfdiId | Tax receipts (CFDI) | reference |
Actions
What you can do with a record. Every action also sends the webhook event fiscalmxcfdiimports.<action>. Reads (find, get, count) work on every table.
| Name | API name | Description | Where |
|---|---|---|---|
| Create | create | Add a new xml import. | App · WebMCP · API · MCP · CLI |
| Archive | archive | Retire this xml import from daily use. It leaves active lists and pickers, and most actions stop. Unarchive to restore it. | App · WebMCP · API · CLI |
| Restore | unarchive | Return this xml import to active lists and actions. | App · WebMCP · API · CLI |
| Delete | delete | Delete this xml import and the data that belongs with it. This cannot be undone. | App · WebMCP · API · CLI |