Retrieves the company's complete data
GET/company/company_data/
This endpoint returns all registered information for the company associated with the authenticated user. It includes basic data, address, payment settings (Stripe), and the status of the digital signature.
Use Cases:
- Display company information in the profile
- Pre-fill edit forms
- Verify billing data
Example of a successful response:
{
  name: Transportes Ejemplo S.L.,
  socialName: TRANSPORTES EJEMPLO SOCIEDAD LIMITADA,
  taxid: B12345678,
  email: contacto@ejemplo.com,
  phone: +34911222333,
  address: {
    street: Calle Ejemplo 123,
    city: Madrid,
    zipcode: 28001,
    country: España
  },
  payment_settings: {
    stripe_customer: cus_123456789
  },
  sign: data:image/png;base64,...,
  hasSign: true,
  payment: premium
}
Responses
- 200
- 401
- 404
Complete company data
Unauthorized. This occurs when:
- The JWT token is invalid or has expired
- The user does not have permission to access this data
Company not found. This occurs when:
- The user is not associated with any company
- The company has been deleted