📄 MIPYME Documents
Create a new company branch
POST
URL del endpoint
https://api-billing.koywe.com/V1/company_branches
Requiere autenticación
Autenticación
Envía la cabecera Authorization: Bearer <token> (obtenido en POST /auth) en los endpoints protegidos.
Parámetros
Sin parámetros.
Cuerpo de la solicitud (ejemplo)
{
"account_id": 0,
"is_headquarters": 0,
"branch_type": 0,
"name": "string",
"address": "string",
"district": "string",
"city": "string",
"phone": "string",
"company_branch_tax_code": "string",
"company_branch_internal_code": "string",
"parent_company_branch_id": 0
}
Respuestas
Company branch successfully generated
Bad request - invalid input or validation error
Unauthorized - invalid token or missing authentication
Server error - unexpected error occurred