TIN & VAT¶
Registers an existing business or company for a Tax Identification Number (TIN) and VAT. It's a single call.
Before you start: the business must already be registered with the CAC. Get the country ID from Countries, pick a business_nature from BusinessNatures, and upload any supporting documents with FileUpload.
Register for TIN & VAT¶
POSThttps://partners.diylaw.ng/api/order/v1/TinVat
{
"company_name": "Acme Foods Ltd",
"proprietor_name": "Adaeze Obi",
"registration_date": "2024-09-12",
"rc_number": "RC1234567",
"business_nature": "Bakery And Fast Foods",
"business_address": "12 Marina Road",
"country": 165,
"state": "Lagos",
"city": "Lagos Island",
"phone": "08012345678",
"email": "[email protected]",
"file1": "api_uploads/1/Xb7Qm2Kp9Lr4Tz8Vn1Wc4.pdf"
}
curl -X POST "https://partners.diylaw.ng/api/order/v1/TinVat" \
-H "Authorization: Bearer $DIYLAW_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"company_name": "Acme Foods Ltd",
"proprietor_name": "Adaeze Obi",
"registration_date": "2024-09-12",
"rc_number": "RC1234567",
"business_nature": "Bakery And Fast Foods",
"business_address": "12 Marina Road",
"country": 165,
"state": "Lagos",
"city": "Lagos Island",
"phone": "08012345678",
"email": "[email protected]",
"file1": "api_uploads/1/Xb7Qm2Kp9Lr4Tz8Vn1Wc4.pdf"
}
JSON
{
"orderReference": "u5c7r1z9hd",
"data": {
"company_name": "Acme Foods Ltd",
"proprietor_name": "Adaeze Obi",
"registration_date": "2024-09-12",
"rc_number": "RC1234567",
"business_nature": "Bakery And Fast Foods",
"other_business_nature": null,
"business_address": "12 Marina Road",
"country": 165,
"state": "Lagos",
"city": "Lagos Island",
"phone": "08012345678",
"email": "[email protected]",
"file1": "api_uploads/1/Xb7Qm2Kp9Lr4Tz8Vn1Wc4.pdf",
"file2": null,
"file3": null,
"file4": null
}
}
Save orderReference to read the order back or match it on your dashboard.
Fields¶
| Field | Type | Required | Notes |
|---|---|---|---|
company_name |
string, max 200 | Yes | Registered name of the business or company. |
proprietor_name |
string, max 200 | Yes | Name of the owner or a director. |
registration_date |
date, YYYY-MM-DD |
Yes | Date the business was registered with CAC. |
rc_number |
string, max 20 | Yes | CAC registration number (RC or BN number). |
business_nature |
a value from BusinessNatures | Yes | |
other_business_nature |
string, max 200 | Sometimes | Required when business_nature is Others. |
business_address |
string, max 250 | No | |
country |
ID from Countries | No | |
state |
string, max 200 | No | State name: the display from States. |
city |
string, max 200 | No | |
phone |
string, max 200 | Yes | |
email |
string, email | Yes | |
file1 |
file reference from FileUpload | No | Supporting document, e.g. CAC certificate or status report. |
file2 |
file reference from FileUpload | No | Supporting document, e.g. CAC certificate or status report. |
file3 |
file reference from FileUpload | No | Supporting document, e.g. CAC certificate or status report. |
file4 |
file reference from FileUpload | No | Supporting document, e.g. CAC certificate or status report. |
If TIN & VAT isn't enabled for your account, a valid request returns 403. See Errors.
Read a TIN & VAT order¶
GEThttps://partners.diylaw.ng/api/order/v1/TinVat?order-ref={orderReference}
{
"orderReference": "u5c7r1z9hd",
"data": {
"company_name": "Acme Foods Ltd",
"proprietor_name": "Adaeze Obi",
"registration_date": "2024-09-12",
"rc_number": "RC1234567",
"business_nature": "Bakery And Fast Foods",
"other_business_nature": null,
"business_address": "12 Marina Road",
"country": 165,
"state": "Lagos",
"city": "Lagos Island",
"phone": "08012345678",
"email": "[email protected]",
"file1": "api_uploads/1/Xb7Qm2Kp9Lr4Tz8Vn1Wc4.pdf",
"file2": null,
"file3": null,
"file4": null
}
}