📄 MIPYME Documents
Create a new account
POST
URL del endpoint
https://api-billing.koywe.com/V1/accounts
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)
{
"country_id": 0,
"contact_name": "string",
"contact_phone": "string",
"admin_email": "string",
"admin_password": "string",
"registration_legal_name_company": "string",
"registration_tax_id_code": "string",
"registration_tax_id_type": "string",
"registration_company_size": "string",
"registration_terms_of_use": 0,
"registration_type_use": 0,
"registration_company_industry_sector": "string",
"registration_additional_data": {
"registration_test_set_id": "string",
"registration_form_rut": "string",
"certificate_file": "string",
"certificate_key": "string",
"certificate_cer": "string",
"certificate_password": "string"
},
"account_config": {
"rounding_format": 0,
"time_zone": "UTC+0",
"allow_issuance_based_on_stock": 0,
"show_document_time": 0,
"adjust_draft_date": 0,
"sum_up_detail_lines": 0,
"order_of_added_products": 0,
"display_tax_receipt": 0,
"stock_reservation_for_quotation": 0,
"cost_greater_than_the_price": 0
}
}
Respuestas
Your account is successfully created
Bad request - invalid input or validation error
Unauthorized - invalid token or missing authentication
Server error - unexpected error occurred