Paying with Juridical Person
The customer associated with the transaction can be a Juridical Person. In this case, the Company's Corporate Name and CNPJ must be informed.
For Juridical Person, in the case of issuance of slips, it will not be mandatory to send name and CPF, only the other customer data. However, if you want to send your name and CPF, they will be useful to identify the person who is making the payment on behalf of the company. Otherwise, you can omit the cpf
attribute in the customer
array and proceed with providing the cnpj
.
The rest of this page has the detailed procedures, but you need to install one of our libraries on your server to run the sample code. Make sure that the Gerencianet SDK has been installed.
The example below shows how this can be done, using the SDK's available:
- PHP
- Python
- NodeJS
- .NET
- Java
- GO
- Ruby
- Delphi
a) Hierarchical structure of Schema attributes that can be used:
b) Attributes to be sent (legal entity data):
Attribute | Description | Required | Type |
---|---|---|---|
corporate_name | Company name | Yes | String |
cnpj | CNPJ of the company. Size: 14 characters. | Yes | String |