https://www.brainiac.software/api/v1/indirect-tax/eu-oss-threshold-check$0.03 USDCEU OSS €10,000 threshold place-of-supply check
Decide whether an EU-established supplier's B2C cross-border TBE services and distance sales stay taxed at home or switch to the customer's Member State under the EU-wide €10,000 threshold.
Body
| Field | Required | Notes |
|---|---|---|
supplierCountry | Yes | string |
establishedInOtherMemberStates | Yes | boolean |
previousYearTotalEurCents | Yes | integer |
sales | Yes | array; Array |
optedForDestination | No | boolean; Default: false |
Request exampleJSON
{
"supplierCountry": "DE",
"establishedInOtherMemberStates": false,
"previousYearTotalEurCents": 800000,
"sales": [
{
"date": "2026-03-01",
"customerCountry": "FR",
"kind": "tbe_service",
"netEurCents": 950000
},
{
"date": "2026-05-10",
"customerCountry": "IT",
"kind": "tbe_service",
"netEurCents": 60000
}
],
"optedForDestination": false
}Response exampleJSON
{
"threshold": 1000000,
"previousYearExceeded": false,
"exceededOn": {
"date": "2026-05-10",
"saleIndex": 1,
"runningTotal": 1010000
},
"perSale": [
{
"index": 0,
"placeOfSupply": "DE"
},
{
"index": 1,
"placeOfSupply": "IT"
}
],
"ossRelevant": true,
"sources": [
{
"source": "European Commission One Stop Shop — €10,000 EU-wide threshold for TBE and intra-Community distance sales",
"url": "https://vat-one-stop-shop.ec.europa.eu/one-stop-shop_en",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…",
"Threshold applies to B2C TBE services and intra-Community distance sales of goods for EU-established suppliers. Domesti…",
"…"
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/indirect-tax/eu-oss-threshold-check" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"supplierCountry": "DE",
"establishedInOtherMemberStates": false,
"previousYearTotalEurCents": 800000,
"sales": [
{
"date": "2026-03-01",
"customerCountry": "FR",
"kind": "tbe_service",
"netEurCents": 950000
},
{
"date": "2026-05-10",
"customerCountry": "IT",
"kind": "tbe_service",
"netEurCents": 60000
}
],
"optedForDestination": false
}
JSONhttps://www.brainiac.software/api/v1/indirect-tax/canada-gst-hst-pst$0.02 USDCCanada GST/HST and PST rate and tax amount
Look up GST/HST (and PST where the CRA table lists one) for a province and date, and compute tax on an amount in cents.
Body
| Field | Required | Notes |
|---|---|---|
province | Yes | string; One of: AB, BC, MB, NB, NL, NT, NS, NU, ON, QC, PE, SK, YT |
date | Yes | string; date |
amountCents | Yes | integer |
supply | No | string; One of: taxable, zero_rated; Default: "taxable" |
Request exampleJSON
{
"province": "NS",
"date": "2026-11-14",
"amountCents": 100000,
"supply": "taxable"
}Response exampleJSON
{
"regime": "HST",
"gstOrHstRate": 0.14,
"pstRate": null,
"gstOrHstCents": 14000,
"pstCents": 0,
"totalCents": 114000,
"effectiveFrom": "2025-04-01",
"sources": [
{
"source": "CRA GST/HST calculator (and rates)",
"url": "https://www.canada.ca/en/revenue-agency/services/tax/businesses/topics/gst-hst-businesses/charge-collect-which-rate/cal…",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…",
"Place of supply is the caller's input; this endpoint does not decide it.",
"…"
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/indirect-tax/canada-gst-hst-pst" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"province": "NS",
"date": "2026-11-14",
"amountCents": 100000,
"supply": "taxable"
}
JSONhttps://www.brainiac.software/api/v1/indirect-tax/australia-nz-gst$0.02 USDCAustralia and New Zealand GST registration threshold
Test AU/NZ GST registration thresholds from monthly turnover and optionally extract GST from an inclusive or exclusive price.
Body
| Field | Required | Notes |
|---|---|---|
country | Yes | string; One of: AU, NZ |
nonProfit | No | boolean; Default: false |
monthlyTurnoverCents | Yes | array; Array |
projectedNextMonthsCents | Yes | array; Array |
taxiOrRideSourcing | No | boolean; Default: false |
priceCents | No | integer |
priceIncludesGst | No | boolean; Default: true |
Request exampleJSON
{
"country": "AU",
"nonProfit": false,
"monthlyTurnoverCents": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
3117000
],
"projectedNextMonthsCents": [
280000,
280000,
280000,
280000,
280000,
280000,
280000,
280000,
280000,
280000,
280000
],
"taxiOrRideSourcing": false,
"priceCents": 11000,
"priceIncludesGst": true
}Response exampleJSON
{
"rate": 0.1,
"threshold": 7500000,
"currentTurnover": 3117000,
"projectedTurnover": 6197000,
"mustRegister": false,
"reason": "below_threshold",
"gstCents": 1000,
"netCents": 10000,
"sources": [
{
"source": "ATO Registering for GST / How GST works",
"url": "https://www.ato.gov.au/businesses-and-organisations/gst-excise-and-indirect-taxes/gst/registering-for-gst",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…",
"AU current GST turnover = current month + previous 11 months; projected = current month + next 11 months. Register with…"
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/indirect-tax/australia-nz-gst" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"country": "AU",
"nonProfit": false,
"monthlyTurnoverCents": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
3117000
],
"projectedNextMonthsCents": [
280000,
280000,
280000,
280000,
280000,
280000,
280000,
280000,
280000,
280000,
280000
],
"taxiOrRideSourcing": false,
"priceCents": 11000,
"priceIncludesGst": true
}
JSONhttps://www.brainiac.software/api/v1/indirect-tax/uk-vat-flat-rate$0.02 USDCUK VAT Flat Rate Scheme percentage and VAT due
Return the HMRC Flat Rate Scheme percentage for a business type and date (including limited-cost and first-year discount) and compute VAT due on VAT-inclusive turnover.
Body
Send the JSON body shown in the request example.
Request exampleJSON
{
"businessType": "Computer and IT consultancy or data processing",
"date": "2026-11-14",
"vatInclusiveTurnoverPence": 120000,
"goodsCostPence": 500,
"periodTurnoverForLcbPence": 120000,
"periodMonths": 3,
"firstYearOfRegistration": false
}Response exampleJSON
{
"rate": 0.165,
"baseRate": 0.145,
"limitedCostBusiness": true,
"firstYearDiscountApplied": false,
"vatDuePence": 19800,
"sources": [
{
"source": "GOV.UK VAT Flat Rate Scheme: how much you pay (OGL v3.0)",
"url": "https://www.gov.uk/vat-flat-rate-scheme/how-much-you-pay",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…",
"Limited-cost business uses 16.5% when goods cost is less than 2% of VAT-inclusive turnover or less than £1,000 a year p…",
"…"
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/indirect-tax/uk-vat-flat-rate" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"businessType": "Computer and IT consultancy or data processing",
"date": "2026-11-14",
"vatInclusiveTurnoverPence": 120000,
"goodsCostPence": 500,
"periodTurnoverForLcbPence": 120000,
"periodMonths": 3,
"firstYearOfRegistration": false
}
JSONhttps://www.brainiac.software/api/v1/indirect-tax/vat-invoice-requirements$0.03 USDCUK VAT invoice content requirements check
Check a supplied invoice against HMRC Notice 700/21 full and simplified VAT invoice content rules and recompute arithmetic.
Body
| Field | Required | Notes |
|---|---|---|
invoice | Yes | object; Object |
supplierIsRetailer | No | boolean; Default: false |
type | No | string; One of: full, simplified, auto; Default: "auto" |
Request exampleJSON
{
"invoice": {
"number": "174",
"timeOfSupply": "2007-10-30",
"issueDate": "2007-11-01",
"supplier": {
"name": "Supplier Ltd",
"address": "1 High St",
"vatNumber": "987654321"
},
"customer": {
"name": "Customer Ltd",
"address": "2 Low St"
},
"lines": [
{
"description": "Radios, SW15",
"quantity": 6,
"unitPricePence": 2520,
"vatRate": 0.2,
"netPence": 15120
},
{
"description": "DVD players",
"quantity": 4,
"unitPricePence": 2360,
"vatRate": 0.2,
"netPence": 9440
}
],
"cashDiscountRate": null,
"totalNetPence": 24560,
"totalVatPence": 4912,
"totalGrossPence": 29472,
"currency": "GBP"
},
"supplierIsRetailer": false,
"type": "full"
}Response exampleJSON
{
"type": "full",
"missing": [],
"warnings": [],
"arithmetic": {
"linesNet": 24560,
"vat": 4912,
"ok": true
},
"sources": [
{
"source": "HMRC VAT Notice 700/21 sections 4.1, 4.4, 4.5 (OGL v3.0)",
"url": "https://www.gov.uk/guidance/record-keeping-for-vat-notice-70021",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…",
"Full invoice rules follow Notice 700/21 §4.1; simplified rules follow §4.4/4.5 when gross ≤ £250.",
"…"
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/indirect-tax/vat-invoice-requirements" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"invoice": {
"number": "174",
"timeOfSupply": "2007-10-30",
"issueDate": "2007-11-01",
"supplier": {
"name": "Supplier Ltd",
"address": "1 High St",
"vatNumber": "987654321"
},
"customer": {
"name": "Customer Ltd",
"address": "2 Low St"
},
"lines": [
{
"description": "Radios, SW15",
"quantity": 6,
"unitPricePence": 2520,
"vatRate": 0.2,
"netPence": 15120
},
{
"description": "DVD players",
"quantity": 4,
"unitPricePence": 2360,
"vatRate": 0.2,
"netPence": 9440
}
],
"cashDiscountRate": null,
"totalNetPence": 24560,
"totalVatPence": 4912,
"totalGrossPence": 29472,
"currency": "GBP"
},
"supplierIsRetailer": false,
"type": "full"
}
JSONhttps://www.brainiac.software/api/v1/indirect-tax/uk-mtd-itsa-obligations$0.02 USDCUK MTD for Income Tax mandate and quarterly deadlines
Tell a sole trader or landlord when Making Tax Digital for Income Tax applies from qualifying income, and list quarterly update deadlines.
Body
| Field | Required | Notes |
|---|---|---|
entity | Yes | string; One of: sole_trader, landlord, partnership |
qualifyingIncomePence | Yes | object |
updatePeriods | No | string; One of: standard, calendar; Default: "standard" |
taxYear | Yes | string |
Request exampleJSON
{
"entity": "sole_trader",
"qualifyingIncomePence": {
"2024-25": 4500000,
"2025-26": 3200000,
"2026-27": null
},
"updatePeriods": "standard",
"taxYear": "2027-28"
}Response exampleJSON
{
"mandatedFrom": "2027-04-06",
"triggerYear": "2025-26",
"deadlines": [
{
"period": "2027-04-06/2027-07-05",
"deadline": "2027-08-07"
},
{
"period": "2027-04-06/2027-10-05",
"deadline": "2027-11-07"
},
"…"
],
"sources": [
{
"source": "GOV.UK Making Tax Digital for Income Tax eligibility and quarterly updates (OGL v3.0)",
"url": "https://www.gov.uk/guidance/check-if-youre-eligible-for-making-tax-digital-for-income-tax",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…",
"Mandation uses strictly-over thresholds: £50,000 (2024–25), £30,000 (2025–26), £20,000 (2026–27).",
"…"
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/indirect-tax/uk-mtd-itsa-obligations" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"entity": "sole_trader",
"qualifyingIncomePence": {
"2024-25": 4500000,
"2025-26": 3200000,
"2026-27": null
},
"updatePeriods": "standard",
"taxYear": "2027-28"
}
JSONhttps://www.brainiac.software/api/v1/indirect-tax/us-use-tax-accrual$0.02 USDCUS use-tax accrual from caller rates
Compute use tax owed on purchases where the vendor charged less than the caller-supplied combined rate, with per-jurisdiction totals.
Body
| Field | Required | Notes |
|---|---|---|
purchases | Yes | array; Array |
rates | Yes | object |
Request exampleJSON
{
"purchases": [
{
"id": "PO-1",
"shipToJurisdiction": "WA-King",
"taxableAmountCents": 100000,
"salesTaxChargedCents": 0,
"exempt": false
}
],
"rates": {
"WA-King": 0.1035
}
}Response exampleJSON
{
"lines": [
{
"id": "PO-1",
"rate": 0.1035,
"taxDueCents": 10350,
"chargedCents": 0,
"useTaxAccrualCents": 10350
}
],
"totalAccrualCents": 10350,
"byJurisdiction": {
"WA-King": 10350
},
"sources": [
{
"source": "Caller-supplied combined rates and purchase amounts processed locally",
"url": "https://www.brainiac.software/api/v1/indirect-tax",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determination…",
"No state rate table is bundled; rates are caller-supplied. Over-charged lines report overchargedCents and are not nette…"
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/indirect-tax/us-use-tax-accrual" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"purchases": [
{
"id": "PO-1",
"shipToJurisdiction": "WA-King",
"taxableAmountCents": 100000,
"salesTaxChargedCents": 0,
"exempt": false
}
],
"rates": {
"WA-King": 0.1035
}
}
JSON