Finance template
Kuwait Commercial Invoice
Bilingual EN/AR commercial invoice for B2B trade in Kuwait. Uses Commercial Licence numbers; no VAT — Kuwait has not yet implemented the GCC VAT framework.
Pro, Business & Scale plansCountry: KWLanguage: ar+en
slug: kw-commercial-invoiceRendered with sample data
01
Quick start
Reference the template by its slug and pass your data. The same call works from any language; pick whichever fits your stack. Replace $KAMY_API_KEY with a key from the dashboard.
curl
curl https://kamy.dev/api/v1/render \
-H "Authorization: Bearer $KAMY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"templateSlug": "kw-commercial-invoice",
"data": {
"invoiceNumber": "KW-2026-00154",
"issueDate": "2026-04-15",
"supplyDate": "2026-04-15",
"currency": "KWD",
"supplier": {
"name": "Kuwait Industrial Supply Co.",
"licence": "KW-CR-882134",
"address": [
"Shuwaikh Industrial Area, Block 4",
"Kuwait City 70450"
],
"email": "[email protected]",
"phone": "+965 2462 7700",
"iban": "KW81 NBOK 0000 0000 0000 0098 7654"
},
"recipient": {
"name": "Al-Ahmadi Refinery Operations Co.",
"licence": "KW-CR-993421",
"address": [
"Al Ahmadi Industrial Zone",
"Ahmadi 64001, Kuwait"
],
"email": "[email protected]"
},
"lineItems": [
{
"description": "Industrial valves — DN200, ANSI 600",
// …
}
}'node.js
import { Kamy } from "@kamydev/sdk";
const kamy = new Kamy({ apiKey: process.env.KAMY_API_KEY! });
const { url } = await kamy.render({
templateSlug: "kw-commercial-invoice",
data: {
"invoiceNumber": "KW-2026-00154",
"issueDate": "2026-04-15",
"supplyDate": "2026-04-15",
"currency": "KWD",
"supplier": {
"name": "Kuwait Industrial Supply Co.",
"licence": "KW-CR-882134",
"address": [
"Shuwaikh Industrial Area, Block 4",
"Kuwait City 70450"
],
"email": "[email protected]",
"phone": "+965 2462 7700",
"iban": "KW81 NBOK 0000 0000 0000 0098 7654"
},
"recipient": {
"name": "Al-Ahmadi Refinery Operations Co.",
"licence": "KW-CR-993421",
"address": [
"Al Ahmadi Industrial Zone",
"Ahmadi 64001, Kuwait"
],
"email": "[email protected]"
},
"lineItems": [
{
"description": "Industrial valves — DN200, ANSI 600",
// …
},
});
console.log(url); // signed URL, valid for 1 hourpython
import os, requests
resp = requests.post(
"https://kamy.dev/api/v1/render",
headers={"Authorization": f"Bearer {os.environ['KAMY_API_KEY']}"},
json={
"templateSlug": "kw-commercial-invoice",
"data": {
"invoiceNumber": "KW-2026-00154",
"issueDate": "2026-04-15",
"supplyDate": "2026-04-15",
"currency": "KWD",
"supplier": {
"name": "Kuwait Industrial Supply Co.",
"licence": "KW-CR-882134",
"address": [
"Shuwaikh Industrial Area, Block 4",
"Kuwait City 70450"
],
"email": "[email protected]",
"phone": "+965 2462 7700",
"iban": "KW81 NBOK 0000 0000 0000 0098 7654"
},
"recipient": {
"name": "Al-Ahmadi Refinery Operations Co.",
"licence": "KW-CR-993421",
"address": [
"Al Ahmadi Industrial Zone",
"Ahmadi 64001, Kuwait"
],
"email": "[email protected]"
},
"lineItems": [
{
"description": "Industrial valves — DN200, ANSI 600",
// …
},
},
)
resp.raise_for_status()
print(resp.json()["url"])02
Sample payload
The full sample data the live preview above renders from. Use it as a starting point for your own integration — every field is optional except those marked required in the schema below.
json
{
"invoiceNumber": "KW-2026-00154",
"issueDate": "2026-04-15",
"supplyDate": "2026-04-15",
"currency": "KWD",
"supplier": {
"name": "Kuwait Industrial Supply Co.",
"licence": "KW-CR-882134",
"address": [
"Shuwaikh Industrial Area, Block 4",
"Kuwait City 70450"
],
"email": "[email protected]",
"phone": "+965 2462 7700",
"iban": "KW81 NBOK 0000 0000 0000 0098 7654"
},
"recipient": {
"name": "Al-Ahmadi Refinery Operations Co.",
"licence": "KW-CR-993421",
"address": [
"Al Ahmadi Industrial Zone",
"Ahmadi 64001, Kuwait"
],
"email": "[email protected]"
},
"lineItems": [
{
"description": "Industrial valves — DN200, ANSI 600",
"quantity": 24,
"unitPrice": 142,
"lineTotal": 3408
},
{
"description": "Freight + clearance",
"quantity": 1,
"unitPrice": 280,
"lineTotal": 280
}
],
"subtotal": 3688,
"discountAmount": 0,
"total": 3688,
"paymentTerms": "Net 30 from issue date.",
"notes": "Goods delivered EXW Shuwaikh per Incoterms 2020."
}03
JSON Schema
The render endpoint validates your payload against this JSON Schema before queuing the render. Validation errors come back with HTTP 400 and a VALIDATION_FAILED code listing every offending path.
json
{
"type": "object",
"required": [
"invoiceNumber",
"issueDate",
"supplier",
"recipient",
"lineItems",
"subtotal",
"total"
],
"properties": {
"invoiceNumber": {
"type": "string",
"minLength": 1
},
"issueDate": {
"type": "string"
},
"supplyDate": {
"type": "string"
},
"currency": {
"type": "string",
"minLength": 3,
"maxLength": 3
},
"exchangeRate": {
"type": "number"
},
"supplier": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"minLength": 1
},
"licence": {
"type": "string"
},
"address": {
"type": "array",
"items": {
"type": "string"
}
},
"email": {
"type": "string",
"format": "email"
},
"phone": {
"type": "string"
},
"iban": {
"type": "string"
}
}
},
"recipient": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"minLength": 1
},
"licence": {
"type": "string"
},
"address": {
"type": "array",
"items": {
"type": "string"
}
},
"email": {
"type": "string",
"format": "email"
}
}
},
"lineItems": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"required": [
"description",
"quantity",
"unitPrice",
"lineTotal"
],
"properties": {
"description": {
"type": "string",
"minLength": 1
},
"quantity": {
"type": "number"
},
"unitPrice": {
"type": "number"
},
"lineTotal": {
"type": "number"
}
}
}
},
"subtotal": {
"type": "number"
},
"discountAmount": {
"type": "number"
},
"total": {
"type": "number"
},
"notes": {
"type": "string"
},
"paymentTerms": {
"type": "string"
}
}
}