Create Profile
Profiles
Create Profile
Create a new profile for managing CFDI invoices
POST
Create Profile
Documentation Index
Fetch the complete documentation index at: https://docs.contafy.com.mx/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
This endpoint requires authentication using a JWT token in the Authorization header.Request Body
Name of the profile or business entity
RFC (Registro Federal de Contribuyentes) - Mexican tax identification number. Must be valid according to SAT format rules.
Type of taxpayer entity:
FISICA: Individual taxpayer (Persona Física)MORAL: Corporation or legal entity (Persona Moral)
Array of tax regime codes applicable to this profile. These are official SAT regime codes (e.g., “601”, “603”, “605”).
Configuration object for validation rules to enable for this profile
Validate RFC on income invoices
Validate RFC on expense invoices
Validate tax regime matches profile configuration
Check for duplicate invoice UUIDs
Block invoice processing if RFC doesn’t match
Block invoice processing if tax regime doesn’t match
Response
Success message confirming profile creation
The created profile object
Unique identifier for the newly created profile
ID of the user who owns this profile
Name of the profile or business entity
RFC (Registro Federal de Contribuyentes)
Type of taxpayer entity (
FISICA or MORAL)Array of tax regime codes
Configuration object for validation rules
ISO 8601 timestamp of when the profile was created
ISO 8601 timestamp of when the profile was last updated
Whether the profile is frozen
Reason why the profile is frozen
ISO 8601 timestamp of when the profile was frozen