Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Singapore #451

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p

## [Unreleased]

### Added

- `sg`: added Singapore regime

## [v0.208.0] - 2025-01-07

### Added
Expand Down
178 changes: 178 additions & 0 deletions data/regimes/sg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
{
"$schema": "https://gobl.org/draft-0/tax/regime-def",
"name": {
"en": "Singapore"
},
"time_zone": "Asia/Singapore",
"country": "SG",
"currency": "SGD",
"tags": [
{
"schema": "bill/invoice",
"list": [
{
"key": "simplified",
"name": {
"de": "Vereinfachte Rechnung",
"en": "Simplified Invoice",
"es": "Factura Simplificada",
"it": "Fattura Semplificata"
},
"desc": {
"de": "Wird für B2C-Transaktionen verwendet, wenn die Kundendaten nicht verfügbar sind. Bitte wenden Sie sich an die örtlichen Behörden, um die Grenzwerte zu ermitteln.",
"en": "Used for B2C transactions when the client details are not available, check with local authorities for limits.",
"es": "Usado para transacciones B2C cuando los detalles del cliente no están disponibles, consulte con las autoridades locales para los límites.",
"it": "Utilizzato per le transazioni B2C quando i dettagli del cliente non sono disponibili, controllare con le autorità locali per i limiti."
}
},
{
"key": "reverse-charge",
"name": {
"de": "Umkehr der Steuerschuld",
"en": "Reverse Charge",
"es": "Inversión del Sujeto Pasivo",
"it": "Inversione del soggetto passivo"
}
},
{
"key": "self-billed",
"name": {
"de": "Rechnung durch den Leistungsempfänger",
"en": "Self-billed",
"es": "Facturación por el destinatario",
"it": "Autofattura"
}
},
{
"key": "customer-rates",
"name": {
"de": "Kundensätze",
"en": "Customer rates",
"es": "Tarifas aplicables al destinatario",
"it": "Aliquote applicabili al destinatario"
}
},
{
"key": "partial",
"name": {
"de": "Teilweise",
"en": "Partial",
"es": "Parcial",
"it": "Parziale"
}
},
{
"key": "receipt",
"name": {
"en": "Receipt"
}
}
]
}
],
"scenarios": [
{
"schema": "bill/invoice",
"list": [
{
"tags": [
"reverse-charge"
],
"note": {
"key": "legal",
"src": "reverse-charge",
"text": "This supply is subject to reverse charge. GST to be accounted for by the recipient."
}
},
{
"tags": [
"simplified"
],
"note": {
"key": "legal",
"src": "simplified",
"text": "Price Payable includes GST"
}
},
{
"tags": [
"receipt"
],
"note": {
"key": "legal",
"src": "receipt",
"text": "Price Payable includes GST"
}
}
]
}
],
"corrections": [
{
"schema": "bill/invoice",
"types": [
"credit-note"
]
}
],
"categories": [
{
"code": "GST",
"name": {
"en": "GST"
},
"title": {
"en": "Goods and Services Tax"
},
"rates": [
{
"key": "zero",
"name": {
"en": "Zero Rate"
},
"desc": {
"en": "Zero-rated supplies are goods and services that are taxable at 0%: this referes to international services and export of goods."
},
"values": [
{
"percent": "0.0%"
}
]
},
{
"key": "standard",
"name": {
"en": "Standard rate"
},
"desc": {
"en": "For the majority of sales of goods and services: it applies to all products or services for which no other rate is expressly provided."
},
"values": [
{
"since": "2024-01-01",
"percent": "9%"
}
]
},
{
"key": "exempt",
"name": {
"en": "Exempt"
},
"desc": {
"en": "Certain goods and services are exempt from GST: this includes financial services, sale and lease of residential properties, digital payment tokens, and the import of investment precious metals."
},
"exempt": true
}
],
"sources": [
{
"title": {
"en": "Goods and Services Tax (GST)"
},
"url": "https://www.iras.gov.sg/taxes/goods-services-tax-(gst)/"
}
]
}
]
}
4 changes: 4 additions & 0 deletions data/schemas/bill/invoice.json
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,10 @@
"const": "PT",
"title": "Portugal"
},
{
"const": "SG",
"title": "Singapore"
},
{
"const": "US",
"title": "United States of America"
Expand Down
34 changes: 34 additions & 0 deletions examples/sg/invoice-receipt.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"$schema": "https://gobl.org/draft-0/bill/invoice",
"$regime": "SG",
"uuid": "3aea7b56-59d8-4beb-90bd-f8f280d852a0",
"code": "1234",
"currency": "SGD",
"issue_date": "2024-01-15",
"tax": {
"tags": ["receipt"]
},
"supplier": {
"name": "EXAMPLE SUPPLIER",
"tax_id": {
"country": "SG",
"code": "201312345A"
}
},
"lines": [
{
"quantity": "1",
"item": {
"name": "Useful service",
"price": "200000.00"
},
"taxes": [
{
"cat": "GST",
"rate": "standard"
}
]
}
]

}
41 changes: 41 additions & 0 deletions examples/sg/invoice-simple.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"$schema": "https://gobl.org/draft-0/bill/invoice",
"$regime": "SG",
"uuid": "3aea7b56-59d8-4beb-90bd-f8f280d852a0",
"code": "1234",
"currency": "SGD",
"issue_date": "2024-01-15",
"tax": {
"tags": ["simplified"]
},
"supplier": {
"name": "EXAMPLE SUPPLIER",
"tax_id": {
"country": "SG",
"code": "201312345A"
},
"addresses": [
{
"street": "Example street 123",
"locality": "Singapore",
"country": "SG"
}
]
},
"lines": [
{
"quantity": "1",
"item": {
"name": "Useful service",
"price": "200000.00"
},
"taxes": [
{
"cat": "GST",
"rate": "standard"
}
]
}
]

}
49 changes: 49 additions & 0 deletions examples/sg/invoice.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"$schema": "https://gobl.org/draft-0/bill/invoice",
"$regime": "SG",
"uuid": "3aea7b56-59d8-4beb-90bd-f8f280d852a0",
"code": "1234",
"currency": "SGD",
"issue_date": "2024-01-15",
"supplier": {
"name": "EXAMPLE SUPPLIER",
"tax_id": {
"country": "SG",
"code": "201312345A"
},
"addresses": [
{
"street": "Example street 123",
"locality": "Singapore",
"country": "SG"
}
]
},
"customer": {
"name": "EXAMPLE CUSTOMER",
"addresses": [
{
"street": "Example street 321",
"locality": "Singapore",
"country": "SG"
}
]
},
"lines": [
{
"quantity": "1",
"item": {
"name": "Useful service",
"price": "200000.00"
},
"taxes": [
{
"cat": "GST",
"rate": "standard"
}
]
}
]

}

Loading
Loading