@diy-accounting-uk/diya-gl 1.2.36 → 1.2.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/data/filing/ct-computation-v1.1.toml +1 -1
- package/dist/app/data/filing/ct600-v3.toml +1 -1
- package/dist/app/data/filing/frs105-formats.toml +1 -1
- package/dist/app/data/hmrc/form-layouts/bst.json +1 -1
- package/dist/app/data/hmrc/form-layouts/se.json +1 -1
- package/dist/app/data/hmrc/form-layouts/taxi.json +1 -1
- package/dist/app/data/releases.json +52 -0
- package/dist/app/lib/calculators/ltd.js +3 -3
- package/dist/app/lib/provenance-data.js +2 -2
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# https://www.gov.uk/government/publications/corporation-tax-technical-specifications-xbrl-and-ixbrl
|
|
8
8
|
# - The format PDF:
|
|
9
9
|
# https://assets.publishing.service.gov.uk/media/691c7cd40dcbf6343e9a2999/ct-computations-format-version-1.1.pdf
|
|
10
|
-
# - Lines and XBRL tags transcribed in
|
|
10
|
+
# - Lines and XBRL tags transcribed in ../private.diyaccounting.co.uk/hmrc/publications/hmrc-forms-company.md, section 3.
|
|
11
11
|
# - sheetCell: "The tax computation view" paragraph of PLAN_DIYA_GL_LTD_CLI_MCP_WEB.md, cross-checked
|
|
12
12
|
# against CELL_MAP/standardReads() in app/products/ltd.js.
|
|
13
13
|
#
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# https://www.gov.uk/government/publications/corporation-tax-company-tax-return-ct600-2015-version-3
|
|
8
8
|
# - Form PDF, footer stamp HMRC 04/26:
|
|
9
9
|
# https://assets.publishing.service.gov.uk/media/69c543424a06660f085442bd/ct600.pdf
|
|
10
|
-
# - Box list transcribed in
|
|
10
|
+
# - Box list transcribed in ../private.diyaccounting.co.uk/hmrc/publications/hmrc-forms-company.md, section 1.
|
|
11
11
|
# - element/xmlPath/format: HMRC RIM artefacts V1.994 (10 October 2025), CT-specDoc-v1-994.xml,
|
|
12
12
|
# downloaded from https://assets.publishing.service.gov.uk/media/68e8a35c1c8b2a3b5069080c/HMRC-CT-2014-v1-994.zip
|
|
13
13
|
# (research note section 7 names this download; the zip is not committed to this repo --
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# Schedule 1, Section C (micro-entity formats, inserted by SI 2013/3008):
|
|
8
8
|
# https://www.legislation.gov.uk/uksi/2008/409/schedule/1
|
|
9
9
|
# In-force consolidated text, last modified 16 April 2025, valid from 6 April 2025.
|
|
10
|
-
# - Headings transcribed in
|
|
10
|
+
# - Headings transcribed in ../private.diyaccounting.co.uk/hmrc/publications/hmrc-forms-company.md, section 4.
|
|
11
11
|
# - sheetCell: the Companies House accounts mapping in "The look-alike forms" section of
|
|
12
12
|
# PLAN_DIYA_GL_LTD_CLI_MCP_WEB.md, cross-checked against CELL_MAP/standardReads() in
|
|
13
13
|
# app/products/ltd.js. Only one of Format 1 or Format 2 may be used for the balance sheet
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"derived": "a resolver the render owns, set only where cell is null: \"pl:C<n>\" for one Profit & Loss Acc cell, or \"sum:C<n>,C<m>\" for a total of several"
|
|
7
7
|
},
|
|
8
8
|
"sources": {
|
|
9
|
-
"boxLists": "
|
|
9
|
+
"boxLists": "../private.diyaccounting.co.uk/hmrc/publications/hmrc-forms-sole-trader.md, section 1",
|
|
10
10
|
"template": "packages/GB Accounts Basic Sole Trader 2026-04-05 (Apr26) Excel 2007/Financialaccountsto050426.xlsx"
|
|
11
11
|
},
|
|
12
12
|
"notes": {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"rule": "{ op: sum | deduct, cells: [<cell> ...], why }; deduct is the first cell minus the rest"
|
|
7
7
|
},
|
|
8
8
|
"sources": {
|
|
9
|
-
"boxLists": "
|
|
9
|
+
"boxLists": "../private.diyaccounting.co.uk/hmrc/publications/hmrc-forms-sole-trader.md, read 2026-09-04",
|
|
10
10
|
"template": "packages/GB Accounts Self Employed 2026-04-05 (Apr26) Excel 2007/Financialaccounts.xlsx, read 2026-09-05"
|
|
11
11
|
},
|
|
12
12
|
"forms": {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"derived": "a resolver the render owns, set only where cell is null: a name in DiyaGlTaxiForms.DERIVED_NAMES, \"pl:B<n>\" for one Profit & Loss Acc cell, or \"sum:B<n>,B<m>\" for a total of several"
|
|
7
7
|
},
|
|
8
8
|
"sources": {
|
|
9
|
-
"boxLists": "
|
|
9
|
+
"boxLists": "../private.diyaccounting.co.uk/hmrc/publications/hmrc-forms-sole-trader.md, section 1",
|
|
10
10
|
"template": "packages/GB Accounts Taxi Driver 2026-04-05 (Apr26) Excel 2007/Financialaccountsyearto050426.xlsx"
|
|
11
11
|
},
|
|
12
12
|
"notes": {
|
|
@@ -1169,6 +1169,58 @@
|
|
|
1169
1169
|
"scorecard": "101605 passed, 0 warnings, 0 failed"
|
|
1170
1170
|
}
|
|
1171
1171
|
}
|
|
1172
|
+
},
|
|
1173
|
+
{
|
|
1174
|
+
"tag": "diya-gl-v1.2.36",
|
|
1175
|
+
"date": "2026-09-29",
|
|
1176
|
+
"formatVersion": "diya-gl/1",
|
|
1177
|
+
"engineVersion": "1.2.26+80457d57d",
|
|
1178
|
+
"taxDataHash": "3221a7c2f39c",
|
|
1179
|
+
"reconciledCommit": "54e8731a91279975e61b1a232fbb67fda89515f0",
|
|
1180
|
+
"templates": {
|
|
1181
|
+
"bst": {
|
|
1182
|
+
"hash": "0d003e10e00c",
|
|
1183
|
+
"scorecard": "812 passed, 0 warnings, 0 failed"
|
|
1184
|
+
},
|
|
1185
|
+
"taxi": {
|
|
1186
|
+
"hash": "1ff69654d64d",
|
|
1187
|
+
"scorecard": "686 passed, 0 warnings, 0 failed"
|
|
1188
|
+
},
|
|
1189
|
+
"se": {
|
|
1190
|
+
"hash": "064605ae76ed",
|
|
1191
|
+
"scorecard": "7982 passed, 0 warnings, 0 failed"
|
|
1192
|
+
},
|
|
1193
|
+
"ltd": {
|
|
1194
|
+
"hash": "caa14632083b",
|
|
1195
|
+
"scorecard": "101605 passed, 0 warnings, 0 failed"
|
|
1196
|
+
}
|
|
1197
|
+
}
|
|
1198
|
+
},
|
|
1199
|
+
{
|
|
1200
|
+
"tag": "diya-gl-v1.2.37",
|
|
1201
|
+
"date": "2026-09-29",
|
|
1202
|
+
"formatVersion": "diya-gl/1",
|
|
1203
|
+
"engineVersion": "1.2.37+907683df0",
|
|
1204
|
+
"taxDataHash": "3221a7c2f39c",
|
|
1205
|
+
"reconciledCommit": "54e8731a91279975e61b1a232fbb67fda89515f0",
|
|
1206
|
+
"templates": {
|
|
1207
|
+
"bst": {
|
|
1208
|
+
"hash": "0d003e10e00c",
|
|
1209
|
+
"scorecard": "812 passed, 0 warnings, 0 failed"
|
|
1210
|
+
},
|
|
1211
|
+
"taxi": {
|
|
1212
|
+
"hash": "1ff69654d64d",
|
|
1213
|
+
"scorecard": "686 passed, 0 warnings, 0 failed"
|
|
1214
|
+
},
|
|
1215
|
+
"se": {
|
|
1216
|
+
"hash": "064605ae76ed",
|
|
1217
|
+
"scorecard": "7982 passed, 0 warnings, 0 failed"
|
|
1218
|
+
},
|
|
1219
|
+
"ltd": {
|
|
1220
|
+
"hash": "5bb7be9b6d97",
|
|
1221
|
+
"scorecard": "101605 passed, 0 warnings, 0 failed"
|
|
1222
|
+
}
|
|
1223
|
+
}
|
|
1172
1224
|
}
|
|
1173
1225
|
]
|
|
1174
1226
|
}
|
|
@@ -1576,7 +1576,7 @@ function buildTrialBalance(input) {
|
|
|
1576
1576
|
// Interest received arrives net of the tax deducted at source, and the
|
|
1577
1577
|
// computation charges the gross figure. EH58 is the grossing-up and EH35
|
|
1578
1578
|
// gives the same tax back as a credit against the charge.
|
|
1579
|
-
tb.EH58 = tb.EJ58 / ((100 - input.smallProfitsRatePercent) / 100) - tb.EJ58;
|
|
1579
|
+
tb.EH58 = Math.round((tb.EJ58 / ((100 - input.smallProfitsRatePercent) / 100) - tb.EJ58) * 100) / 100;
|
|
1580
1580
|
tb.EJ58 += tb.EH58;
|
|
1581
1581
|
tb.EH35 = -tb.EH58;
|
|
1582
1582
|
|
|
@@ -1867,7 +1867,7 @@ function buildCorporationTax({ admin, trialBalance, blocks, publishedPl, openAcc
|
|
|
1867
1867
|
sheet[`L${sheetRow}`] = row.marginalRelief;
|
|
1868
1868
|
sheet[`I${sheetRow}`] = row.tax;
|
|
1869
1869
|
});
|
|
1870
|
-
sheet.K35 = charge.tax;
|
|
1870
|
+
sheet.K35 = Math.round(charge.tax * 100) / 100;
|
|
1871
1871
|
sheet.K37 = trialBalance.EH35;
|
|
1872
1872
|
sheet.K39 = sheet.K35 - sheet.K37;
|
|
1873
1873
|
sheet.marginalRelief = charge.marginalRelief;
|
|
@@ -1913,7 +1913,7 @@ function buildCt600(corporationTax, pl, admin) {
|
|
|
1913
1913
|
sheet.AJ110 = sheet.AJ92;
|
|
1914
1914
|
sheet.AJ131 = sheet.AJ126 + sheet.AJ128;
|
|
1915
1915
|
sheet.Y133 = corporationTax.marginalRelief;
|
|
1916
|
-
sheet.Y135 =
|
|
1916
|
+
sheet.Y135 = corporationTax.K35;
|
|
1917
1917
|
sheet.AJ145 = sheet.Y135;
|
|
1918
1918
|
sheet.AJ154 = corporationTax.K37 > 0 ? corporationTax.K37 : 0;
|
|
1919
1919
|
sheet.AJ159 = sheet.AJ145 > 0 ? sheet.AJ145 - sheet.AJ154 : 0;
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
export const PROVENANCE_DATA = {
|
|
14
14
|
formatVersion: "diya-gl/1",
|
|
15
|
-
engineVersion: "1.2.
|
|
15
|
+
engineVersion: "1.2.37+907683df0",
|
|
16
16
|
taxDataHash: "3221a7c2f39c",
|
|
17
17
|
reconciledCommit: "54e8731a91279975e61b1a232fbb67fda89515f0",
|
|
18
18
|
templates: {
|
|
@@ -29,7 +29,7 @@ export const PROVENANCE_DATA = {
|
|
|
29
29
|
scorecard: "7982 passed, 0 warnings, 0 failed",
|
|
30
30
|
},
|
|
31
31
|
ltd: {
|
|
32
|
-
hash: "
|
|
32
|
+
hash: "5bb7be9b6d97",
|
|
33
33
|
scorecard: "101605 passed, 0 warnings, 0 failed",
|
|
34
34
|
},
|
|
35
35
|
},
|