Skip to main content

Resources Endpoints

Access lookup data for invoice validation

Endpoint​

GET /api/v1/resources/{resource}
Content-Type:application/json

Example Request​

curl -X 'GET' \
'https://uat.einvoicing.avetiumtechnologies.com/api/v1/resources' \
-H 'accept: */*'

Available Resources​

  • GET /resources/countries - Get list of supported countries with ISO codes
  • GET /resources/currencies - Get list of supported currencies
  • GET /resources/tax-categories - Get tax category codes and values
  • GET /resources/payment-means - Get payment method codes
  • GET /resources/invoice-types - Get invoice type codes
  • GET /resources/invoice-quantity-codes - Get invoice quantity codes
  • GET /resources/services-codes - Get invoice service code
  • GET /resources/vat-exemptions - Get VAT-exempt items
  • GET /resources/lgas - Get invoice LGAs
  • GET /resources/states - Get invoice States

Get Countries​

Returns all supported countries with ISO 3166 codes. Use the alpha_2 value as the country field in postal_address objects.

GET /api/v1/resources/countries

Example Countries Response​

{
"success": true,
"message": "Resource fetched successfully",
"data": [
{
"name": "Canada",
"alpha_2": "CA",
"alpha_3": "CAN",
"country_code": "124",
"iso_3166_2": "ISO 3166-2:CA",
"region": "Americas",
"sub_region": "Northern America",
"intermediate_region": "",
"region_code": "019",
"sub_region_code": "021",
"intermediate_region_code": ""
},
{
"name": "Nigeria",
"alpha_2": "NG",
"alpha_3": "NGA",
"country_code": "566",
"iso_3166_2": "ISO 3166-2:NG",
"region": "Africa",
"sub_region": "Sub-Saharan Africa",
"intermediate_region": "Western Africa",
"region_code": "002",
"sub_region_code": "202",
"intermediate_region_code": "011"
}
]
}

Get Currencies​

Returns all supported currencies. Use the code value as document_currency_code or tax_currency_code (e.g. 'NGN').

GET /api/v1/resources/currencies

Example Currencies Response​

{
"success": true,
"message": "Resource fetched successfully",
"data": [
{
"symbol": "$",
"name": "US Dollar",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "USD",
"name_plural": "US dollars"
},
{
"symbol": "₦",
"name": "Nigerian Naira",
"symbol_native": "₦",
"decimal_digits": 2,
"rounding": 0,
"code": "NGN",
"name_plural": "Nigerian nairas"
}
]
}

Get Tax Categories​

Returns supported tax category codes for use in tax_total[].tax_subtotal[].tax_category.id.

GET /api/v1/resources/tax-categories
CodeDescriptionRate
STANDARD_VATStandard Value-Added Tax7.5%
ZERO_VATZero Value-Added Tax0.0%
REDUCED_GSTReduced Goods and Services TaxNot Available

Example Tax Categories Response​

{
"success": true,
"message": "Resource fetched successfully",
"data": [
{
"code": "STANDARD_VAT",
"value": "Standard Value-Added Tax",
"percent": "7.5"
},
{
"code": "ZERO_VAT",
"value": "Zero Value-Added Tax",
"percent": "0.0"
},
{
"code": "REDUCED_GST",
"value": "Reduced Goods and Services Tax",
"percent": "Not Available"
}
]
}

Get Payment Means​

Returns supported payment method codes for use in payment_means[].payment_means_code.

GET /api/v1/resources/payment-means
CodePayment Means
10Cash
20Cheque
48Bank Card
50Credit Card

Example Payment Means Response​

{
"success": true,
"message": "Resource fetched successfully",
"data": [
{
"code": "10",
"value": "Cash"
},
{
"code": "20",
"value": "Cheque"
},
{
"code": "48",
"value": "Bank Card"
},
{
"code": "50",
"value": "Credit Card"
},
]
}

Get Invoice Types​

Returns supported invoice type for use in invoice_types.

GET /api/v1/resources/invoice-types
CodeInvoice Type
380Credit Note
381Commercial Invoice
402Shipping Instructions
{
"success": true,
"message": "Resource fetched successfully",
"data": [
{
"code": "380",
"value": "Credit Note"
},
{
"code": "381",
"value": "Commercial Invoice"
},
{
"code": "402",
"value": "Shipping Instructions"
}
]
}

Get Invoice Quantity Codes​

Returns supported invoice quantity codes for use in invoice_quantity_codes.

GET /api/v1/resources/invoice-quantity-codes
CodeInvoice Quantity
10Group
15Stick, Military
2JCubic Centimetre Per Second
{
"success": true,
"message": "Resource fetched successfully",
"data": [
{
"code": "10",
"name": "group",
"description": "A unit of count defining the number of groups (group: set of items classified together)."
},
{
"code": "15",
"name": "stick, military",
"description": "A unit of count defining the number of military sticks (military stick: bombs or paratroops released in rapid succession from an aircraft)."
},
{
"code": "2J",
"name": "cubic centimetre per second",
"description": "cubic centimetre per second"
},
]
}

Get Service Codes​

Returns a list of service classification codes.

GET /api/v1/resources/services-codes
CodeInvoice Service
0111Growing of cereals (except rice), leguminous crops and oil seeds
0115Growing of tobacco
0128Growing of spices, aromatic, drug and pharmaceutical crops

Example Service Codes Response​

{
"success": true,
"message": "Resource fetched successfully",
"data": [
{
"description": "Growing of cereals (except rice), leguminous crops and oil seeds",
"code": "0111"
},
{
"description": "Growing of tobacco",
"code": "0115"
},
{
"description": "Growing of spices, aromatic, drug and pharmaceutical crops",
"code": "0128"
},
]
}

Get VAT Exemptions​

Returns a list of VAT-exempt items and their harmonized system codes.

GET /api/v1/resources/vat-exemptions
CodeTariffVAT-Exempt Items
2915.3100Ethyl acetateSaturated acyclic monocarboxylic acids and their derivatives
2939.6100Ergometrin (INN) and its saltsVegetable alkaloids, natural or reproduced by synthesis
3002.1000Vaccines for human medicineGlands and other organs for organotherapeutic uses

Example VAT Exemptions Response​

{
"success": true,
"message": "Resource fetched successfully",
"data": [
{
"heading_no": "29.15",
"harmonized_system_code": "2915.3100",
"tariff_category": "MEDICAL, VENTIRINARY AND PHARMACEUTICAL RAW MATERIALS AND PRODUCTS",
"tariff": "Ethyl acetate",
"description": "Saturated acyclic monocarboxylic acids and their derivatives."
},
{
"heading_no": "29.39",
"harmonized_system_code": "2939.6100",
"tariff_category": "MEDICAL, VENTIRINARY AND PHARMACEUTICAL RAW MATERIALS AND PRODUCTS",
"tariff": "Ergometrin (INN) and its salts",
"description": "Vegetable alkaloids, natural or reproduced by synthesis"
},
{
"heading_no": "30.01",
"harmonized_system_code": "3002.1000",
"tariff_category": "MEDICAL, VENTIRINARY AND PHARMACEUTICAL RAW MATERIALS AND PRODUCTS",
"tariff": "Vaccines for human medicine",
"description": "Glands and other organs for organotherapeutic uses"
}
]
}

Get LGA Codes​

Returns

GET /api/v1/resources/lgas
CodeState Code
NG-FC-AMLNG-FC
NG-ED-OEANG-ED
NG-LA-EOSNG-LA

Example LGA Code Response​

{
"success": true,
"message": "Resource fetched successfully",
"data": [
{
"name": "Abuja Municipal",
"code": "NG-FC-AML",
"state_code": "NG-FC"
},
{
"name": "Owan East",
"code": "NG-ED-OEA",
"state_code": "NG-ED"
},
{
"name": "Eti-Osa",
"code": "NG-LA-EOS",
"state_code": "NG-LA"
}
]
}

Get State Codes​

Returns

GET /api/v1/resources/states
CodeState
NG-FCAbuja Federal Capital Territory
NG-EDEdo
NG-LALagos

Example State Code Response​

{
"success": true,
"message": "Resource fetched successfully",
"data": [
{
"name": "Abuja Federal Capital Territory",
"code": "NG-FC"
},
{
"name": "Edo",
"code": "NG-ED"
},
{
"name": "lagos",
"code": "NG-LA"
}
]
}