Skip to content

Reference data

Invoice types

Invoice type codes for invoiceTypeCode, such as 380 for a commercial invoice.

GET{baseUrl}/{stage}/external/{businessId}/resources/invoice-types

Retrieve available invoice types for a specific business.

Quick Reference

MethodEndpointAuthentication Required
GET{baseUrl}/{stage}/external/businesses/:businessId/resources/invoice-typesYes

Request Structure

Path Parameters

businessIdstringrequired
Unique identifier of the businessExample: 26ede24b-ac50-475f-aacc-5ea6339f0863

Headers

Content-Typerequired
application/json or */*
Acceptrequired
application/json or */*
X-Business-Keyrequired

Response Format

Success Response (200)

JSON
{
  "responseCode": "00",
  "responseMessage": "Invoice types retrieved successfully",
  "data": [
    {
      "code": "389",
      "value": "Standard Invoice"
    },
    {
      "code": "381",
      "value": "Credit Note"
    },
    {
      "code": "383",
      "value": "Debit Note"
    },
    {
      "code": "326",
      "value": "Partial Invoice"
    }
  ]
}

Response Data Structure

Invoice Type Object

codestring
FIRS invoice type code
valuestring
Descriptive name of the invoice type

Error Responses

Error CodeMessageDescription
404Business not foundBusiness ID doesn't exist
403Access deniedUser doesn't have permission
400Invalid business IDBusiness ID format is invalid

Example Error Response

JSON
{
  "responseCode": "404",
  "responseMessage": "Business not found with ID: invalid-business-id",
  "data": null
}

Related Endpoints

  • POST /invoices - Create invoice (uses invoice type codes)
  • GET /businesses/{businessId}/settings - Get business configuration

This endpoint provides FIRS-compliant invoice types for businesses to use when creating invoices.