Finance template
Australia Tax Invoice
ATO compliant tax invoice (GSTR 2013/1) with 11-digit ABN, GST 10% breakdown, and customer ABN block for supplies above AUD 1,000.
Pro, Business & Scale plansCountry: AULanguage: enAU-ATO
slug: au-tax-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": "au-tax-invoice",
"data": {
"invoiceNumber": "INV-AU-2026-0258",
"issueDate": "2026-04-15",
"currency": "AUD",
"includesGst": true,
"supplier": {
"name": "Sydney Cloud Pty Ltd",
"abn": "12 345 678 901",
"address": [
"Level 14, 8 Chifley Square",
"Sydney NSW 2000"
],
"email": "[email protected]",
"phone": "+61 2 9000 8800",
"bsb": "062-000",
"accountNumber": "1234 5678"
},
"customer": {
"name": "Melbourne Logistics Pty Ltd",
"abn": "98 765 432 109",
"address": [
"Level 6, 600 Collins Street",
"Melbourne VIC 3000"
],
"email": "[email protected]"
},
"lineItems": [
{
// …
}
}'node.js
import { Kamy } from "@kamydev/sdk";
const kamy = new Kamy({ apiKey: process.env.KAMY_API_KEY! });
const { url } = await kamy.render({
templateSlug: "au-tax-invoice",
data: {
"invoiceNumber": "INV-AU-2026-0258",
"issueDate": "2026-04-15",
"currency": "AUD",
"includesGst": true,
"supplier": {
"name": "Sydney Cloud Pty Ltd",
"abn": "12 345 678 901",
"address": [
"Level 14, 8 Chifley Square",
"Sydney NSW 2000"
],
"email": "[email protected]",
"phone": "+61 2 9000 8800",
"bsb": "062-000",
"accountNumber": "1234 5678"
},
"customer": {
"name": "Melbourne Logistics Pty Ltd",
"abn": "98 765 432 109",
"address": [
"Level 6, 600 Collins Street",
"Melbourne VIC 3000"
],
"email": "[email protected]"
},
"lineItems": [
{
// …
},
});
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": "au-tax-invoice",
"data": {
"invoiceNumber": "INV-AU-2026-0258",
"issueDate": "2026-04-15",
"currency": "AUD",
"includesGst": true,
"supplier": {
"name": "Sydney Cloud Pty Ltd",
"abn": "12 345 678 901",
"address": [
"Level 14, 8 Chifley Square",
"Sydney NSW 2000"
],
"email": "[email protected]",
"phone": "+61 2 9000 8800",
"bsb": "062-000",
"accountNumber": "1234 5678"
},
"customer": {
"name": "Melbourne Logistics Pty Ltd",
"abn": "98 765 432 109",
"address": [
"Level 6, 600 Collins Street",
"Melbourne VIC 3000"
],
"email": "[email protected]"
},
"lineItems": [
{
// …
},
},
)
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": "INV-AU-2026-0258",
"issueDate": "2026-04-15",
"currency": "AUD",
"includesGst": true,
"supplier": {
"name": "Sydney Cloud Pty Ltd",
"abn": "12 345 678 901",
"address": [
"Level 14, 8 Chifley Square",
"Sydney NSW 2000"
],
"email": "[email protected]",
"phone": "+61 2 9000 8800",
"bsb": "062-000",
"accountNumber": "1234 5678"
},
"customer": {
"name": "Melbourne Logistics Pty Ltd",
"abn": "98 765 432 109",
"address": [
"Level 6, 600 Collins Street",
"Melbourne VIC 3000"
],
"email": "[email protected]"
},
"lineItems": [
{
"description": "Cloud hosting · April 2026",
"quantity": 1,
"unitPrice": 4500,
"netAmount": 4500,
"gstAmount": 450,
"lineTotal": 4950
},
{
"description": "DevOps consulting (8h)",
"quantity": 8,
"unitPrice": 220,
"netAmount": 1760,
"gstAmount": 176,
"lineTotal": 1936
}
],
"subtotal": 6260,
"discountAmount": 0,
"totalGst": 626,
"total": 6886,
"paymentTerms": "Net 30 from issue date.",
"notes": "Standard GST 10% applied per A New Tax System (GST) Act 1999."
}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",
"customer",
"lineItems",
"subtotal",
"totalGst",
"total"
],
"properties": {
"invoiceNumber": {
"type": "string",
"minLength": 1
},
"issueDate": {
"type": "string"
},
"currency": {
"type": "string",
"minLength": 3,
"maxLength": 3
},
"includesGst": {
"type": "boolean"
},
"supplier": {
"type": "object",
"required": [
"name",
"abn"
],
"properties": {
"name": {
"type": "string"
},
"abn": {
"type": "string",
"pattern": "^[0-9 ]{11,14}$"
},
"address": {
"type": "array",
"items": {
"type": "string"
}
},
"email": {
"type": "string",
"format": "email"
},
"phone": {
"type": "string"
},
"bsb": {
"type": "string"
},
"accountNumber": {
"type": "string"
}
}
},
"customer": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"abn": {
"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",
"netAmount",
"lineTotal"
],
"properties": {
"description": {
"type": "string"
},
"quantity": {
"type": "number"
},
"unitPrice": {
"type": "number"
},
"netAmount": {
"type": "number"
},
"gstAmount": {
"type": "number"
},
"lineTotal": {
"type": "number"
}
}
}
},
"subtotal": {
"type": "number"
},
"discountAmount": {
"type": "number"
},
"totalGst": {
"type": "number"
},
"total": {
"type": "number"
},
"notes": {
"type": "string"
},
"paymentTerms": {
"type": "string"
}
}
}