[AR] Tax Id Validation with Invoicing
To issue an e-invoice in Argentina you need the buyer's billing data: legal name, address and IVA condition. You don't have to collect it yourself. Send the buyer's CUIT to /tax-id-validations and Brinta returns that data from ARCA. Then use it on /invoices.
This guide shows the practical flow:
- Validate the buyer's CUIT with
/tax-id-validations. Brinta returns their legal name, registered address and IVA condition. - Issue the invoice with
/invoices, using that data for the buyer.
You can do it in two ways:
| Option | Use it when |
|---|---|
| A. Store the buyer (recommended) | You invoice the same buyer more than once. Validate once, invoice by company_id. |
| B. Validate only | A one-off buyer. Nothing is stored: you copy the data into the invoice yourself. |
API reference: Create a company · Tax ID validation · Get a validation · Tax ID validation for Argentina · Create an invoice · Company codes
sequenceDiagram
participant You
participant Brinta
participant ARCA
You->>Brinta: POST /companies (buyer CUIT)
You->>Brinta: POST /tax-id-validations (company_id, update_company: true)
Brinta->>ARCA: Legal name, address, IVA condition
Brinta-->>You: webhook validation.succeeded
Note over Brinta: Legal name, address and IVA condition stored on the company
You->>Brinta: POST /invoices (buyer.company_id)
What the invoice needs from the buyer
| Invoice field | Where it comes from |
|---|---|
buyer.company.legal_name | /tax-id-validations: legal name registered at ARCA |
buyer.company.address | /tax-id-validations: registered address (street, province, postal code) |
buyer.company.tax_registrations[].number | The CUIT you validated |
buyer.company.tax_registrations[].status | /tax-id-validations: IVA condition, for example Responsable inscripto |
The IVA condition also decides the invoice letter: a Responsable inscripto buyer gets a Factura A, and a Responsable monotributo or Exento buyer gets a Factura B.
Option A: Store the buyer and invoice by company_id
company_idStep 1: Create the buyer
Reference: Create a company. The CUIT is enough. Validation fills in the rest.
curl -X POST https://api.brinta.com/companies \
-H "Authorization: Bearer $BRINTA_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Cliente Ejemplo",
"type": "business",
"role": "buyer",
"currency_international": "USD",
"external_id": "CUST-30710455259",
"address": { "country": "AR" },
"tax_registrations": [
{ "number": "30710455259", "type": "CUIT", "level": "country", "location": "AR" }
]
}'Keep the returned id.
Step 2: Validate the CUIT
Reference: Tax ID validation.
curl -X POST https://api.brinta.com/tax-id-validations/ \
-H "Authorization: Bearer $BRINTA_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"company_id": "456c6c4f-f64a-4069-9988-8164c015cf80",
"update_company": true,
"locations": ["AR"],
"validation_type": "ARCA"
}'validation_typeselects which check Brinta runs. Depending on what you need, align with your TAM to define thevalidation_typeto use.update_company: truewrites the result to the company. Withfalse, you get the data back but nothing is stored.- The validation runs asynchronously. The
POSTanswers with{ "id": "...", "status": "in_process" }. Wait for thevalidation.succeededwebhook, or read it with Get a validation.
Step 3: Issue the invoice
Reference: Create an invoice.
curl -X POST https://api.brinta.com/invoices \
-H "Authorization: Bearer $BRINTA_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"supplier_company_id": "5c6e4b83-a032-11ee-a484-0a8bae22163d",
"invoice_type": "debit",
"document_type": "invoice",
"e_invoice": true,
"invoice_date": "2026-12-04",
"invoice_serie": "A",
"currency": "ARS",
"exchange_rate": 1,
"buyer": { "company_id": "456c6c4f-f64a-4069-9988-8164c015cf80" },
"items": [
{
"name": "Monthly consulting service",
"quantity": 1,
"unit_amount": 100000,
"amount": 100000,
"taxes": [
{ "name": "IVA", "type": "VAT", "rate": 0.21, "rate_type": "percentage", "amount": 21000,
"level": "country", "location": "AR" }
]
}
]
}'buyer.company_id(orbuyer.company_external_id) is the validated buyer. Brinta takes the legal name, address and IVA condition from the company. You don't send them.- For the rest of the invoice payload, see the [AR] invoice guide.
Option B: Validate only and copy the data
Step 1: Validate the CUIT without a company
Send the buyer inline in company. Nothing is stored.
curl -X POST https://api.brinta.com/tax-id-validations/ \
-H "Authorization: Bearer $BRINTA_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"locations": ["AR"],
"validation_type": "ARCA",
"company": {
"type": "business",
"tax_registration": { "number": "30710455259", "type": "CUIT", "level": "country", "location": "AR" }
}
}'Depending on what you need, align with your TAM to define the validation_type to use.
Step 2: Read the result
When the validation.succeeded webhook arrives, read it with Get a validation:
{
"id": "tiv2-188be839-bd78-4692-9fd4-53e67e2d28bc",
"status": "succeeded",
"data": [
{
"locationIsoCode": "AR",
"status": "succeeded",
"company": {
"legal_name": "Cliente Ejemplo SA",
"tax_registrations": [
{ "number": "30710455259", "type": "CUIT", "level": "country", "location": "AR",
"status": "Responsable inscripto", "authority": "AFIP", "activities": ["620900"] }
],
"address": { "address_line_1": "Av. Corrientes 1234", "state": "AR-C", "postal_code": "C1043", "country": "AR" }
}
}
]
}Step 3: Issue the invoice with that data
Copy data[].company into buyer.company:
"buyer": {
"company": {
"name": "Cliente Ejemplo SA",
"legal_name": "Cliente Ejemplo SA",
"type": "business",
"address": {
"address_line_1": "Av. Corrientes 1234",
"state": "AR-C",
"postal_code": "C1043",
"country": "AR"
},
"tax_registrations": [
{ "type": "CUIT", "number": "30710455259", "level": "country", "location": "AR",
"status": "Responsable inscripto" }
]
}
}The rest of the payload is the same as in Option A.
Common mistakes
| Mistake | Fix |
|---|---|
Validating with update_company: false and invoicing by company_id | Only update_company: true stores the data on the company. |
| Issuing the invoice before the validation finishes | Wait for the validation.succeeded webhook. |
Validating one company and invoicing with buyer.company inline | An inline buyer doesn't use the stored data. Send company_id or company_external_id. |
Sending status that doesn't match ARCA | Use the IVA condition the validation returned. It decides the invoice letter. |
state: "CABA" or "Buenos Aires" | Use AR-C and AR-B. |
Updated about 11 hours ago
