Register a Service Item

POST/api/v1/items/service

Register a service item with Kenya Revenue Authority using a simplified interface. The API automatically sets item classification to SV (Service) and fills default values. Use this for software, subscriptions, consulting, and other non-physical services.

Requires x-api-key

http://localhost:8100/api/v1/items/service

Auto-Generated Item Code Format

Item Code Pattern

Headers

FieldTypeRequiredDescription
x-api-keystringRequiredYour Ushuru API key
Content-TypestringRequiredMust be application/json

Request Body

FieldTypeRequiredDescription
itemNamestringRequiredDisplay name of the service item (max 100 chars)
taxTypestringRequiredTax type code: A=Exempt, B=16% VAT, C=0% VAT, D=Non-VAT
pricenumberOptionalDefault unit price in KES (inclusive of VAT). Optional, can be set per-transaction.
itemCodestringOptionalCustom item code. Auto-generated if omitted.
descriptionstringOptionalInternal description for your records.
useYnstringOptionalActive flag: Y=Active, N=Inactive. Defaults to Y.

Request

{
  "itemName": "Monthly SaaS Subscription",
  "taxType": "B",
  "price": 5000,
  "description": "Per-seat monthly subscription fee"
}

Response

{
  "resultCd": "000",
  "resultMsg": "Item registered successfully",
  "data": {
    "itemCd": "SV0000000Z001",
    "itemNm": "Monthly SaaS Subscription",
    "itemClsCd": "SV",
    "taxTyCd": "B",
    "useYn": "Y",
    "regDt": "20240115",
    "modiDt": "20240115"
  }
}
curl -X POST http://localhost:8100/api/v1/items/service \\
  -H "x-api-key: YOUR_API_KEY" \\
  -H "Content-Type: application/json" \\
  -d '{
    "itemName": "Monthly SaaS Subscription",
    "taxType": "B",
    "price": 5000
  }'