Payroll CFDI mappings
A rule that maps a payroll source to a node of the payroll complement for a company.
- API name:
fiscalmxpayrollmappings - Domain: FiscalMX
- Modules: 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 | |
| Source kind | sourceKind | Constant | Yes | Fixed option from the allowed set for this field. |
| Target node | targetNode | Text | Yes | |
| Pay component | payrollcomponentId | Reference | ||
| Requirement | requirement | Constant | Yes | Fixed option from the allowed set for this field. |
| Version | version | Whole Number | Yes | Whole number without fractional part. |
| Valid from | dateFrom | Date | Yes | First calendar date this record applies. |
| Valid to | dateTo | Date | Last calendar date this record applies, if any. | |
| Tax | taxId | Reference | ||
| Created by | createdBy | User | ||
| Created at | createdAt | Date and Time | Yes | |
| Updated by | updatedBy | User | ||
| Updated at | updatedAt | Date and Time | Yes | |
| Published by | publishedBy | User | ||
| Published at | publishedAt | Date and Time | ||
| 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 |
|---|---|---|
Pay component payrollcomponentId | Pay components | reference |
Tax taxId | Company taxes | reference |
Actions
What you can do with a record. Every action also sends the webhook event fiscalmxpayrollmappings.<action>. Reads (find, get, count) work on every table.
| Name | API name | Description | Where |
|---|---|---|---|
| Create | create | Add a new payroll fiscal mapping. | App · WebMCP · API · MCP · CLI |
| Edit | update | Save changes to this payroll fiscal mapping. | App · WebMCP · API · MCP · CLI |
| Archive | archive | Retire this payroll fiscal mapping from daily use. It leaves active lists and pickers, and most actions stop. Unarchive to restore it. | App · WebMCP · API · MCP · CLI |
| Restore | unarchive | Return this payroll fiscal mapping to active lists and actions. | App · WebMCP · API · MCP · CLI |
| Delete | delete | Delete this payroll fiscal mapping and the data that belongs with it. This cannot be undone. | App · WebMCP · API · MCP · CLI |