Skip to main content
PUT
Update Profile

Authentication

This endpoint requires authentication using a JWT token in the Authorization header.

Path Parameters

string
required
The unique identifier of the profile to update

Request Body

All fields are optional. Only include the fields you want to update.
string
Name of the profile or business entity
string
RFC (Registro Federal de Contribuyentes) - Mexican tax identification number. Must be valid according to SAT format rules.
enum
Type of taxpayer entity:
  • FISICA: Individual taxpayer (Persona Física)
  • MORAL: Corporation or legal entity (Persona Moral)
string[]
Array of tax regime codes applicable to this profile. These are official SAT regime codes (e.g., “601”, “603”, “605”).
object
Configuration object for validation rules to enable for this profile
boolean
Validate RFC on income invoices
boolean
Validate RFC on expense invoices
boolean
Validate tax regime matches profile configuration
boolean
Check for duplicate invoice UUIDs
boolean
Block invoice processing if RFC doesn’t match
boolean
Block invoice processing if tax regime doesn’t match

Response

string
required
Success message confirming profile update
Profile
required
The updated profile object
string
required
Unique identifier for the profile
string
required
ID of the user who owns this profile
string
required
Name of the profile or business entity
string
required
RFC (Registro Federal de Contribuyentes)
enum
required
Type of taxpayer entity (FISICA or MORAL)
string[]
required
Array of tax regime codes
object
required
Configuration object for validation rules
string
required
ISO 8601 timestamp of when the profile was created
string
required
ISO 8601 timestamp of when the profile was last updated
boolean
Whether the profile is frozen
enum
Reason why the profile is frozen
string | null
ISO 8601 timestamp of when the profile was frozen

Example Request

Example Response

Error Responses

400 Bad Request

401 Unauthorized

403 Forbidden

404 Not Found

422 Unprocessable Entity

500 Internal Server Error