➕ Create a new account

In order to create a new peruvian account, you will need to send the mexican digital certificate as an additional field, as this is a requirement to issue electronic invoices. Remember to get the token from the /auth endpoint first.

The field company_logo only supports PNG format and must be uploaded as base64.

🚧 Prerequisite: If you want to try creating accounts, you’ll need a real digital certificate, which you can purchase from us or use the one you already have.

Endpoint: https://api-billing.koywe.com/V1/accounts

  • Method: POST
  • Required headers:
    • Content-Type: application/json
    • Authorization: Bearer <token>
    • Accept: */*
1{
2 "country_id": 83,
3 "contact_name": "fernando rojas",
4 "contact_phone": "+51999888777",
5 "admin_email": "test@company.com",
6 "admin_password": "enternewpassword",
7 "registration_legal_name_company": "my company",
8 "registration_tax_id_code": "12345678901",
9 "registration_tax_id_type": "PE-RUC",
10 "registration_company_size": 1,
11 "registration_company_industry_sector": "1",
12 "registration_type_use": 1,
13 "registration_terms_of_use": 1,
14 "registration_additional_data": {
15 "company_logo": "SOIFsDCCA5igAwIBAgIUMzAwMDEw..."
16 }
17}