curatedapi

Accuracy report

Each row is a value published by a regulator, a standards body, a central bank or a software maker's manual, next to our API's answer for the same input. For the e-invoice validators, the cases are the rule owners' sample invoices, and the same samples with one required element removed or one amount changed. The same cases run in our test suite before every release, and against the live API every five minutes.

228 of 228 published values reproduced exactly.

This page's results: 2026-11-21 11:53 UTC, curatedapi 0.4.2.Last check of the live API: 2026-11-22 00:29 UTC, 228 of 228 passed (see the status page).

CaseEndpointPublishedOur resultOutcome
CFPB sample Loan Estimate: $162,000 at 3.875% for 30 years
CFPB Regulation Z Appendix H, form H-24(B) sample Loan Estimate
finance/loan/emi@1 emi = 761.78
emi = 761.78
match
Excel PMT example: $10,000 at 8% over 10 months
Microsoft Excel PMT function documentation
finance/loan/emi@1 emi = 1037.03
emi = 1037.03
match
CFPB sample Loan Estimate: $180,000 home, $18,000 down, 3.875% for 30 years
CFPB Regulation Z Appendix H, form H-24(B) sample Loan Estimate
finance/mortgage@1 loan_amount = 162000.00
monthly_principal_and_interest = 761.78
loan_amount = 162000.00
monthly_principal_and_interest = 761.78
match
Excel PMT example: save $50,000 in 18 years at 6%
Microsoft Excel PMT function documentation
finance/savings-goal@1 contribution = 129.08
contribution = 129.08
match
Excel NPV example 1: 10%, cost 10,000 at the end of year 1
Microsoft Excel NPV function documentation
finance/npv@1 npv = 1188.44
npv = 1188.44
match
Excel NPV example 2: 8%, 40,000 invested today
Microsoft Excel NPV function documentation
finance/npv@1 npv = 1922.06
npv = 1922.06
match
ECMA-376 IRR example, five years
ECMA-376 Office Open XML, SpreadsheetML function IRR
finance/irr@1 irr_percent = 8.6631
irr_percent = 8.6631
match
ECMA-376 IRR example, four years
ECMA-376 Office Open XML, SpreadsheetML function IRR
finance/irr@1 irr_percent = -2.1245
irr_percent = -2.1245
match
Excel IRR example, two years (Excel needs a -10% guess; no guess is needed here)
Microsoft Excel IRR function documentation
finance/irr@1 irr_percent = -44.4
irr_percent = -44.4
match
CFPB: $1,000 at 5% compounded yearly for two years
CFPB: How does compound interest work?
finance/compound-interest@1 final_amount = 1102.50
interest_earned = 102.50
final_amount = 1102.50
interest_earned = 102.50
match
$1,500 at 4.3% compounded quarterly for 6 years
Wikipedia: Compound interest (worked example)
finance/compound-interest@1 final_amount = 1938.84
final_amount = 1938.84
match
VA: first-time buyer, 200,000 home with 10,000 down, loan 190,000 at 1.5% is 2,850
US Department of Veterans Affairs: VA funding fee and loan closing costs
finance/va-funding-fee@1 funding_fee_percent = 1.5
funding_fee = 2850.00
funding_fee_percent = 1.5
funding_fee = 2850.00
match
VA chart: purchase with less than 5% down, after first use, 3.3%
US Department of Veterans Affairs: VA funding fee and loan closing costs
finance/va-funding-fee@1 funding_fee_percent = 3.3
funding_fee = 3300.00
funding_fee_percent = 3.3
funding_fee = 3300.00
match
VA chart: interest rate reduction refinance loan, 0.5%
US Department of Veterans Affairs: VA funding fee and loan closing costs
finance/va-funding-fee@1 funding_fee_percent = 0.5
funding_fee = 500.00
funding_fee_percent = 0.5
funding_fee = 500.00
match
HUD ML 2023-05: term over 15 years, up to 726,200, LTV above 95%: 55 bps for the mortgage term; upfront 175 bps
HUD Mortgagee Letter 2023-05
finance/fha-mip@1 annual_mip_basis_points = 55
mip_duration = mortgage term
upfront_mip = 5250.00
annual_mip_basis_points = 55
mip_duration = mortgage term
upfront_mip = 5250.00
match
HUD ML 2023-05: term over 15 years, above 726,200, LTV up to 90%: 70 bps for 11 years
HUD Mortgagee Letter 2023-05
finance/fha-mip@1 annual_mip_basis_points = 70
mip_duration = 11 years
annual_mip_basis_points = 70
mip_duration = 11 years
match
HUD ML 2023-05: term of 15 years or less, above 726,200, LTV over 78% up to 90%: 40 bps for 11 years
HUD Mortgagee Letter 2023-05
finance/fha-mip@1 annual_mip_basis_points = 40
mip_duration = 11 years
annual_mip_basis_points = 40
mip_duration = 11 years
match
USDA: fiscal year 2027 upfront guarantee fee 1.00%, annual fee 0.35%
USDA Rural Development: Single Family Housing Guaranteed Loan Program fees, fiscal year 2027
finance/usda-guarantee-fee@1 upfront_fee = 1000.00
annual_fee_percent = 0.35
upfront_fee = 1000.00
annual_fee_percent = 0.35
match
HP 12c Platinum handbook: call on a 42 stock, strike 40, six months, 10% rate, 20% volatility
HP 12c Platinum Financial Calculator User's Guide, section 13, Black-Scholes example 2
finance/black-scholes@1 price = 4.76
price = 4.76
match
HP 12c Platinum handbook: the put in the same example
HP 12c Platinum Financial Calculator User's Guide, section 13, Black-Scholes example 2
finance/black-scholes@1 price = 0.81
price = 0.81
match
MathWorks blkprice example: futures at 20, strike 20, four months, 9% rate, 25% volatility
MathWorks Financial Toolbox documentation: blkprice
finance/black-76@1 price = 1.1166
price = 1.1166
match
MathWorks blkprice example: the put
MathWorks Financial Toolbox documentation: blkprice
finance/black-76@1 price = 1.1166
price = 1.1166
match
MathWorks blsimpv example: a call priced at 10, stock 100, strike 95, three months, 7.5% rate
MathWorks Financial Toolbox documentation: blsimpv
finance/implied-volatility@1 implied_volatility = 0.3130
implied_volatility = 0.3130
match
Microsoft's DURATION example: 8% coupon, 9% yield, 2018 to 2048
Microsoft Excel DURATION function
finance/bond-duration-convexity@1 macaulay_duration = 10.9191453
macaulay_duration = 10.9191453
match
Microsoft's MDURATION example: 8% coupon, 9% yield, 2008 to 2016
Microsoft Excel MDURATION function
finance/bond-duration-convexity@1 modified_duration = 5.736
modified_duration = 5.736
match
Microsoft's YIELD example, with the redemption date and value as the call date and price
Microsoft Excel YIELD function
finance/yield-to-call@1 yield_to_call_percent = 6.50
yield_to_call_percent = 6.50
match
Regulation Z step-rate example: $10,000 repaid with 24 × $210.71, 24 × $220.25 and 12 × $222.59
CFPB, Regulation Z official interpretation, comment 22(a)(1)-4 (APR 10.75 percent)
finance/apr/us-reg-z@1 apr_percent = 10.75
apr_percent = 10.75
match
Regulation Z add-on rate example: 10% add-on over 3 months (on $3,000, so the payment is exactly $1,025)
CFPB, Regulation Z official interpretation, comment 22(c)-1 (14.94 percent)
finance/apr/us-reg-z@1 apr_percent = 14.94
apr_percent = 14.94
match
Regulation Z add-on rate example: 10% add-on over 21 months (on $21,000, so the payment is exactly $1,175)
CFPB, Regulation Z official interpretation, comment 22(c)-1 (18.18 percent)
finance/apr/us-reg-z@1 apr_percent = 18.18
apr_percent = 18.18
match
Regulation Z add-on rate example: 10% add-on over 60 months (on $1,000, so the payment is exactly $25)
CFPB, Regulation Z official interpretation, comment 22(c)-1 (17.27 percent)
finance/apr/us-reg-z@1 apr_percent = 17.27
apr_percent = 17.27
match
Commission example 1: €200,000, €4,000 fee at signing, 240 × €1,432.86 a month (X = 6.434412%)
European Commission, Examples for the calculation of the APRC (Mortgage Credit Directive), example 1
finance/apr/eu-aprc@1 aprc_percent = 6.434412
aprc_percent = 6.434412
match
Commission example 1, as disclosed to one decimal: APRC 6.4%
European Commission, Examples for the calculation of the APRC (Mortgage Credit Directive), example 1
finance/apr/eu-aprc@1 aprc_percent = 6.4
aprc_percent = 6.4
match
Commission example 2, case 1: signed 12 January 2012, 240 × €1,433.57 on the 15th from February 2012 (3/365 + k/12 years)
European Commission, Examples for the calculation of the APRC, example 2 case 1
finance/apr/eu-aprc@1 aprc_percent = 6.434185
aprc_percent = 6.434185
match
Commission example 2, case 2: signed 12 January 2013, 240 × €1,433.56 (3/366 + k/12 years)
European Commission, Examples for the calculation of the APRC, example 2 case 2
finance/apr/eu-aprc@1 aprc_percent = 6.434111
aprc_percent = 6.434111
match
Commission example 2, case 3: 20 yearly payments of €16,541.86 on 15 February from 2012 (34/365 + k years)
European Commission, Examples for the calculation of the APRC, example 2 case 3
finance/apr/eu-aprc@1 aprc_percent = 6.282070
aprc_percent = 6.282070
match
Commission example 3: home insurance of €200 a year in the instalment, 240 × €1,449.53
European Commission, Examples for the calculation of the APRC, example 3
finance/apr/eu-aprc@1 aprc_percent = 6.588554
aprc_percent = 6.588554
match
Commission example 4: payment protection insurance of €2,000 a year, 240 × €1,599.53
European Commission, Examples for the calculation of the APRC, example 4
finance/apr/eu-aprc@1 aprc_percent = 7.946625
aprc_percent = 7.946625
match
Commission example 5: €8,000 insurance premium financed (€208,000 owed), 240 × €1,490.18
European Commission, Examples for the calculation of the APRC, example 5
finance/apr/eu-aprc@1 aprc_percent = 6.961575
aprc_percent = 6.961575
match
Commission example 6: €100 exit cost with the last instalment
European Commission, Examples for the calculation of the APRC, example 6
finance/apr/eu-aprc@1 aprc_percent = 6.436359
aprc_percent = 6.436359
match
Stripe volume tiers ($7 up to 5, $6.50 up to 10, $6 above): 6 units cost $39
Stripe documentation: Set up tiered pricing, volume-based pricing table
billing/tiered-price@1 total = 39.00
tier = 2
total = 39.00
tier = 2
match
Stripe volume tiers: 25 units cost $150
Stripe documentation: Set up tiered pricing, volume-based pricing table
billing/tiered-price@1 total = 150.00
tier = 3
total = 150.00
tier = 3
match
Stripe graduated tiers (same prices): 6 units cost $41.50
Stripe documentation: Set up tiered pricing, graduated pricing table
billing/tiered-price@1 total = 41.50
tier = 2
total = 41.50
tier = 2
match
Stripe graduated tiers: 25 units cost $157.50
Stripe documentation: Set up tiered pricing, graduated pricing table
billing/tiered-price@1 total = 157.50
tier = 3
total = 157.50
tier = 3
match
Stripe flat amounts, volume: 12 units cost 12 × $3 + $30 = $66
Stripe documentation: Set up tiered pricing, flat amounts
billing/tiered-price@1 total = 66.00
tier = 3
total = 66.00
tier = 3
match
Stripe flat amounts, graduated: 12 units cost $111
Stripe documentation: Set up tiered pricing, flat amounts
billing/tiered-price@1 total = 111.00
tier = 3
total = 111.00
tier = 3
match
Stripe flat amounts: quantity 0 still bills the first tier's flat fee, $10
Stripe documentation: Set up tiered pricing, flat amounts
billing/tiered-price@1 total = 10.00
tier = 1
total = 10.00
tier = 1
match
Stripe preview invoice: Silver $10 to Gold $32.52 (Unix times 1596749288, 1599427688, proration_date 1598982148)
Stripe documentation: Prorations, preview invoice example (lines -166 and +541 cents)
billing/proration@1 credit = 1.66
charge = 5.41
net = 3.75
credit = 1.66
charge = 5.41
net = 3.75
match
Stripe: $10 to $20 halfway through the period (30-day period, change at day 15)
Stripe documentation: Prorations
billing/proration@1 credit = 5.00
charge = 10.00
net = 5.00
credit = 5.00
charge = 10.00
net = 5.00
match
Stripe classic billing mode: back to $10 on April 21 credits a third of $20 (total -334 cents)
Stripe documentation: Prorations, calculation logic with no prorations
billing/proration@1 credit = 6.67
charge = 3.33
net = -3.34
credit = 6.67
charge = 3.33
net = -3.34
match
Stripe flexible billing mode: the same change credits a third of the $10 billed (total 0)
Stripe documentation: Prorations, calculation logic with no prorations
billing/proration@1 credit = 3.33
charge = 3.33
net = 0.00
credit = 3.33
charge = 3.33
net = 0.00
match
Stripe custom interval: $30 to $60 on April 11 at 6:00 AM, by the second
Stripe documentation: Prorate by custom interval, default behavior
billing/proration@1 credit = 19.75
charge = 39.50
credit = 19.75
charge = 39.50
match
Stripe custom interval: the same change by day, rounded to the nearest boundary
Stripe documentation: Prorate by custom interval, after activating the script
billing/proration@1 credit = 20.00
charge = 40.00
effective_change_at = 2026-04-11T00:00:00+00:00
credit = 20.00
charge = 40.00
effective_change_at = 2026-04-11T00:00:00+00:00
match
Stripe: $40 to $80 halfway through a 30-day period, by the second
Stripe documentation: Credit and debit full product price, default behavior
billing/proration@1 credit = 20.00
charge = 40.00
net = 20.00
credit = 20.00
charge = 40.00
net = 20.00
match
Chargebee millisecond-based upgrade, $1,000 to $2,700 (term ends at the next term's start, 16:02:35.480)
Chargebee documentation: Proration, millisecond-based example 1 (2,678,400,000 ms term, 799,132,257 ms left)
billing/proration@1 credit = 298.36
charge = 805.58
net = 507.22
remaining_seconds = 799132.257
period_seconds = 2678400
credit = 298.36
charge = 805.58
net = 507.22
remaining_seconds = 799132.257
period_seconds = 2678400
match
Chargebee day-based upgrade, $300 to $600 with 22 of 31 days left (day granularity)
Chargebee documentation: Proration, day-based example
billing/proration@1 credit = 212.90
charge = 425.81
net = 212.91
credit = 212.90
charge = 425.81
net = 212.91
match
Stripe coupon: amount_off 200.00 on a 100.00 invoice leaves 0
Stripe API reference: Create a coupon
billing/discounts@1 total = 0.00
total = 0.00
match
Stripe coupon: amount_off 200.00 on a 300.00 invoice leaves 100.00
Stripe API reference: Create a coupon
billing/discounts@1 total = 100.00
total = 100.00
match
Stripe percent off up to maximum: 20% up to 50 on 200 takes 40, customer pays 160
Stripe documentation: Discount calculation scripts, percent off up to maximum
billing/discounts@1 total = 160.00
total_discount = 40.00
total = 160.00
total_discount = 40.00
match
Stripe percent off up to maximum: 20% up to 50 on 400 takes 50, customer pays 350
Stripe documentation: Discount calculation scripts, percent off up to maximum
billing/discounts@1 total = 350.00
total_discount = 50.00
total = 350.00
total_discount = 50.00
match
ISO 4217: the yen (JPY) has no minor unit, so 1234.5 JPY is 1235
ISO 4217 List One, current currencies and funds (SIX, the maintenance agency)
money/round@1 decimals = 0
rounded = 1235
decimals = 0
rounded = 1235
match
ISO 4217: the Kuwaiti dinar (KWD) has 3 decimals
ISO 4217 List One, current currencies and funds (SIX, the maintenance agency)
money/round@1 decimals = 3
rounded = 1.235
decimals = 3
rounded = 1.235
match
ISO 4217: the Unidad de Fomento (CLF) has 4 decimals
ISO 4217 List One, current currencies and funds (SIX, the maintenance agency)
money/round@1 decimals = 4
rounded = 39000.1235
decimals = 4
rounded = 39000.1235
match
ISO 4217 amendment 180: the euro (EUR, minor unit 2), now also Bulgaria's currency
ISO 4217 amendment 180 (SIX): Bulgaria, effective 1 January 2026
money/round@1 decimals = 2
rounded = 19.56
minor_units = 1956
decimals = 2
rounded = 19.56
minor_units = 1956
match
Dinero.js allocate: 10.03 USD split 50/50 is 5.02 and 5.01
Dinero.js documentation: allocate
money/allocate@1 shares = ["5.02", "5.01"]
shares = ["5.02", "5.01"]
match
Dinero.js allocate: 1.00 USD split 1:3 is 0.25 and 0.75
Dinero.js documentation: allocate
money/allocate@1 shares = ["0.25", "0.75"]
shares = ["0.25", "0.75"]
match
Dinero.js allocate: 10.03 USD split 0/50/50 gives nothing to the 0 ratio
Dinero.js documentation: allocate
money/allocate@1 shares = ["0.00", "5.02", "5.01"]
shares = ["0.00", "5.02", "5.01"]
match
Largest remainder (Hamilton) method: 11 units by 47000/16000/15800/12000/6100/3100 votes are 5, 2, 2, 1, 1, 0
Wikipedia: Quota method, Hare quota example (11 seats)
money/allocate@1 shares = ["5", "2", "2", "1", "1", "0"]
leftover_units = 3
shares = ["5", "2", "2", "1", "1", "0"]
leftover_units = 3
match
Netherlands: a cash total of 23.37 EUR is rounded to 23.35
Rijksoverheid: Mogen winkeliers betalingen afronden op 0 eurocent of 5 eurocent?
money/round@1 cash_amount = 23.35
cash_amount = 23.35
match
Netherlands: a cash total of 8.89 EUR is rounded to 8.90
Rijksoverheid: Mogen winkeliers betalingen afronden op 0 eurocent of 5 eurocent?
money/round@1 cash_amount = 8.90
cash_amount = 8.90
match
Canada: a cash total of $1.02 is rounded down to $1.00
Canada Revenue Agency: GST/HST Info Sheet GI-131, Phasing Out of the Penny, rounding table
money/round@1 cash_amount = 1.00
cash_amount = 1.00
match
Canada: a cash total of $1.08 is rounded up to $1.10
Canada Revenue Agency: GST/HST Info Sheet GI-131, Phasing Out of the Penny, rounding table
money/round@1 cash_amount = 1.10
cash_amount = 1.10
match
Malaysia: a bill of RM 82.07 is rounded down to RM 82.05
Bank Negara Malaysia: Introduction of a rounding mechanism for over-the-counter payments, rounding table
money/round@1 cash_amount = 82.05
cash_amount = 82.05
match
The Bahamas: a cash bill of $9.42 is rounded to $9.40
Central Bank of The Bahamas: Penny facts (FAQs on the elimination of the one cent coin)
money/round@1 cash_amount = 9.40
cash_amount = 9.40
match
Belgium: a cash total of 12.98 EUR is rounded up to 13.00
INAMI: Arrondir le montant payé par votre patient (examples of the rounding rule)
money/round@1 cash_amount = 13.00
cash_amount = 13.00
match
Estonia: a cash total of 0.02 EUR is not rounded to zero
Eesti Pank and Ministry of Finance: The rounding rule (booklet, 2024)
money/round@1 cash_amount = 0.02
cash_amount = 0.02
match
Slovakia: a cash price of 2 cents is rounded to 5 cents
Zákon č. 18/1996 Z. z. o cenách, section 3(4)
money/round@1 cash_amount = 0.05
cash_amount = 0.05
match
Switzerland: a cash total of CHF 25.99 is rounded down to CHF 25.95
SECO: FAQ zur Preisbekanntgabe
money/round@1 cash_amount = 25.95
cash_amount = 25.95
match
Jamaica: a cash transaction of $40.50 is rounded up to $41.00
Bank of Jamaica: Guidance on the demonetization of coins
money/round@1 cash_amount = 41.00
cash_amount = 41.00
match
Sweden: 50 öre and more round up to the next krona (10.50 SEK paid as 11)
Lag (1970:1029) om avrundning av öresbelopp, section 2
money/round@1 cash_amount = 11.00
cash_amount = 11.00
match
Chile: cash amounts ending in 5 pesos or less go down to the lower ten (1,995 paid as 1,990)
Ley 20.956, artículo 13, as published by SUSESO
money/round@1 cash_amount = 1990
cash_amount = 1990
match
Hungary: cash totals ending in 2.50 to 4.99 forints round up to 5 (1,002.50 paid as 1,005)
2008. évi III. törvény, section 2(b)
money/round@1 cash_amount = 1005.00
cash_amount = 1005.00
match
1 inch is exactly 2.54 cm
NIST Handbook 44, Appendix C (international inch, 1959)
units/length@1 result = 2.54
result = 2.54
match
1 international foot is exactly 0.3048 m
NIST Handbook 44, Appendix C
units/length@1 result = 0.3048
result = 0.3048
match
1 mile is exactly 1.609344 km
NIST Handbook 44, Appendix C
units/length@1 result = 1.609344
result = 1.609344
match
1 US survey foot is 1200/3937 m
NIST: The U.S. survey foot
units/length@1 result = 0.304800609601219
result = 0.304800609601219
match
1 nautical mile is exactly 1852 m
NIST Special Publication 811, Appendix B (international nautical mile)
units/length@1 result = 1852
result = 1852
match
1 astronomical unit is exactly 149,597,870,700 m
IAU 2012 Resolution B2
units/length@1 result = 149597870700
result = 149597870700
match
1 pound is exactly 0.45359237 kg
NIST Handbook 44, Appendix C (international pound, 1959)
units/mass@1 result = 0.45359237
result = 0.45359237
match
1 troy ounce is exactly 31.1034768 g
NIST Handbook 44, Appendix C
units/mass@1 result = 31.1034768
result = 31.1034768
match
1 grain is exactly 64.79891 mg
NIST Handbook 44, Appendix C
units/mass@1 result = 64.79891
result = 64.79891
match
1 metric carat is exactly 200 mg
NIST Handbook 44, Appendix C
units/mass@1 result = 200
result = 200
match
1 US gallon is exactly 3.785411784 L
NIST Handbook 44, Appendix C (231 cubic inches)
units/volume@1 result = 3.785411784
result = 3.785411784
match
1 imperial gallon is exactly 4.54609 L
UK Weights and Measures Act 1985, Schedule 1
units/volume@1 result = 4.54609
result = 4.54609
match
1 cup on a US nutrition label is 240 mL
21 CFR 101.9(b)(5)(viii)
units/volume@1 result = 240
result = 240
match
0 °C is 273.15 K
BIPM SI Brochure, 9th edition (degree Celsius)
units/temperature@1 result = 273.15
result = 273.15
match
Absolute zero is -459.67 °F
NIST Special Publication 811, Appendix B
units/temperature@1 result = -459.67
result = -459.67
match
1 GiB is 1,073,741,824 bytes
NIST: Prefixes for binary multiples
units/data-size@1 result = 1073741824
result = 1073741824
match
1 MB is 1,000,000 bytes
NIST: Prefixes for binary multiples
units/data-size@1 result = 1000000
result = 1000000
match
0.1 + 0.2 is exactly 0.3 (binary floating point gives 0.30000000000000004)
Python documentation: Floating-Point Arithmetic, Issues and Limitations
math/expression@1 result = 0.3
result = 0.3
match
Square root of 2 to 50 significant digits
OEIS A002193 (decimal expansion of the square root of 2)
math/expression@1 result = 1.4142135623730950488016887242096980785696718753769
result = 1.4142135623730950488016887242096980785696718753769
match
π to 50 significant digits
OEIS A000796 (decimal expansion of pi)
math/expression@1 result = 3.1415926535897932384626433832795028841971693993751
result = 3.1415926535897932384626433832795028841971693993751
match
e to 50 significant digits (the last digit rounds up: ...4709369995 becomes ...470937)
OEIS A001113 (decimal expansion of e)
math/expression@1 result = 2.7182818284590452353602874713526624977572470937
result = 2.7182818284590452353602874713526624977572470937
match
Natural logarithm of 2 to 50 significant digits
OEIS A002162 (decimal expansion of the natural logarithm of 2)
math/scientific@1 result = 0.69314718055994530941723212145817656807550013436026
result = 0.69314718055994530941723212145817656807550013436026
match
NIST StRD NumAcc1: large values with tiny spread
NIST Statistical Reference Datasets, univariate NumAcc1 (certified mean and standard deviation)
math/statistics@1 mean = 10000002
sample_std_dev = 1
mean = 10000002
sample_std_dev = 1
match
EU summer time starts on the last Sunday of March: that day has 23 hours
Directive 2000/84/EC on summer-time arrangements, Article 2
date/difference@1 total_hours = 23
total_hours = 23
match
EU summer time ends on the last Sunday of October: that day has 25 hours
Directive 2000/84/EC on summer-time arrangements, Article 3
date/difference@1 total_hours = 25
total_hours = 25
match
US daylight saving time starts on the second Sunday of March
15 U.S.C. 260a (as amended by the Energy Policy Act of 2005)
date/difference@1 total_hours = 23
total_hours = 23
match
OPM: 2026 federal holidays, with Independence Day observed on Friday 3 July
US Office of Personnel Management: Federal Holidays, 2026
date/holidays@1 count = 11
days_off = ["2026-01-01", "2026-01-19", "2026-02-16", "2026-05-25", "2026-06-19", "2026-07-03", "2026-09-07", "2026-10-12", "2026-11-11", "2026-11-26", "2026-12-25"]
count = 11
days_off = ["2026-01-01", "2026-01-19", "2026-02-16", "2026-05-25", "2026-06-19", "2026-07-03", "2026-09-07", "2026-10-12", "2026-11-11", "2026-11-26", "2026-12-25"]
match
OPM: 2027 federal holidays, with Juneteenth, Independence Day and Christmas Day observed on other days
US Office of Personnel Management: Federal Holidays, 2027
date/holidays@1 count = 11
days_off = ["2027-01-01", "2027-01-18", "2027-02-15", "2027-05-31", "2027-06-18", "2027-07-05", "2027-09-06", "2027-10-11", "2027-11-11", "2027-11-25", "2027-12-24"]
count = 11
days_off = ["2027-01-01", "2027-01-18", "2027-02-15", "2027-05-31", "2027-06-18", "2027-07-05", "2027-09-06", "2027-10-11", "2027-11-11", "2027-11-25", "2027-12-24"]
match
GOV.UK: England and Wales 2027, Christmas Day and Boxing Day moved to 27 and 28 December
GOV.UK: UK bank holidays, England and Wales
date/holidays@1 count = 8
days_off = ["2027-01-01", "2027-03-26", "2027-03-29", "2027-05-03", "2027-05-31", "2027-08-30", "2027-12-27", "2027-12-28"]
count = 8
days_off = ["2027-01-01", "2027-03-26", "2027-03-29", "2027-05-03", "2027-05-31", "2027-08-30", "2027-12-27", "2027-12-28"]
match
GOV.UK: Scotland 2028, New Year's Day and 2nd January moved to 3 and 4 January
GOV.UK: UK bank holidays, Scotland
date/holidays@1 count = 9
days_off = ["2028-01-03", "2028-01-04", "2028-04-14", "2028-05-01", "2028-05-29", "2028-08-07", "2028-11-30", "2028-12-25", "2028-12-26"]
count = 9
days_off = ["2028-01-03", "2028-01-04", "2028-04-14", "2028-05-01", "2028-05-29", "2028-08-07", "2028-11-30", "2028-12-25", "2028-12-26"]
match
GOV.UK: Northern Ireland 2027, with St Patrick's Day and the Battle of the Boyne
GOV.UK: UK bank holidays, Northern Ireland
date/holidays@1 count = 10
days_off = ["2027-01-01", "2027-03-17", "2027-03-26", "2027-03-29", "2027-05-03", "2027-05-31", "2027-07-12", "2027-08-30", "2027-12-27", "2027-12-28"]
count = 10
days_off = ["2027-01-01", "2027-03-17", "2027-03-26", "2027-03-29", "2027-05-03", "2027-05-31", "2027-07-12", "2027-08-30", "2027-12-27", "2027-12-28"]
match
GOV.UK: Scotland 2026, with the World Cup bank holiday on 15 June
GOV.UK: UK bank holidays, Scotland
date/holidays@1 count = 10
days_off = ["2026-01-01", "2026-01-02", "2026-04-03", "2026-05-04", "2026-05-25", "2026-06-15", "2026-08-03", "2026-11-30", "2026-12-25", "2026-12-28"]
count = 10
days_off = ["2026-01-01", "2026-01-02", "2026-04-03", "2026-05-04", "2026-05-25", "2026-06-15", "2026-08-03", "2026-11-30", "2026-12-25", "2026-12-28"]
match
Civil Procedure Rules 2.8(4): 3 clear days before a hearing on Monday 20 October (4 working days back)
Civil Procedure Rules 1998 (England and Wales), rule 2.8(4), example
date/working-days@1 result = 2025-10-14
weekday = Tuesday
result = 2025-10-14
weekday = Tuesday
match
EU summer time starts at 1:00 UTC on the last Sunday of March: clocks in Berlin show 3:00
Directive 2000/84/EC on summer-time arrangements, Article 2
date/timezone-convert@1 conversions = [{"timezone": "Europe/Berlin", "local": "2026-03-29T03:00:00+02:00", "weekday": "Sunday", "utc_offset": "+02:00", "abbreviation": "CEST", "daylight_saving": true}]
conversions = [{"timezone": "Europe/Berlin", "local": "2026-03-29T03:00:00+02:00", "weekday": "Sunday", "utc_offset": "+02:00", "abbreviation": "CEST", "daylight_saving": true}]
match
US daylight time starts at 2:00 on the second Sunday of March: 7:00 UTC is 3:00 in New York
15 U.S.C. 260a (Uniform Time Act), advancement of time
date/timezone-convert@1 conversions = [{"timezone": "America/New_York", "local": "2026-03-08T03:00:00-04:00", "weekday": "Sunday", "utc_offset": "-04:00", "abbreviation": "EDT", "daylight_saving": true}]
conversions = [{"timezone": "America/New_York", "local": "2026-03-08T03:00:00-04:00", "weekday": "Sunday", "utc_offset": "-04:00", "abbreviation": "EDT", "daylight_saving": true}]
match
Excel CUMIPMT: interest in the second year of a 30-year $125,000 loan at 9%
Microsoft Excel CUMIPMT function documentation
excel/cumipmt@1 cumipmt = -11135.23213
cumipmt = -11135.23213
match
Excel CUMPRINC: principal in the second year of a 30-year $125,000 loan
Microsoft Excel CUMPRINC function documentation
excel/cumprinc@1 cumprinc = -934.1071234
cumprinc = -934.1071234
match
Excel DAYS360: 30 January to 1 February 2011
Microsoft Excel DAYS360 function documentation
excel/days360@1 days = 1
days = 1
match
Excel DAYS360: the whole of 2011
Microsoft Excel DAYS360 function documentation
excel/days360@1 days = 360
days = 360
match
Excel DAYS360: 1 January to 1 February 2011
Microsoft Excel DAYS360 function documentation
excel/days360@1 days = 30
days = 30
match
Excel DB: year 1, 7 months
Microsoft Excel DB function documentation
excel/db@1 db = 186083.33
db = 186083.33
match
Excel DB: year 7, 5 months
Microsoft Excel DB function documentation
excel/db@1 db = 15845.10
db = 15845.10
match
Excel DDB: first day
Microsoft Excel DDB function documentation
excel/ddb@1 ddb = 1.32
ddb = 1.32
match
Excel DDB: first year
Microsoft Excel DDB function documentation
excel/ddb@1 ddb = 480.00
ddb = 480.00
match
Excel DDB: second year, factor 1.5
Microsoft Excel DDB function documentation
excel/ddb@1 ddb = 306.00
ddb = 306.00
match
Excel DDB: tenth year
Microsoft Excel DDB function documentation
excel/ddb@1 ddb = 22.12
ddb = 22.12
match
Excel EDATE: one month after 15 January 2011
Microsoft Excel EDATE function documentation
excel/edate@1 date = 2011-02-15
date = 2011-02-15
match
Excel EDATE: one month before
Microsoft Excel EDATE function documentation
excel/edate@1 date = 2010-12-15
date = 2010-12-15
match
Excel EDATE: two months after
Microsoft Excel EDATE function documentation
excel/edate@1 date = 2011-03-15
date = 2011-03-15
match
Excel EFFECT: 5.25% compounded quarterly
Microsoft Excel EFFECT function documentation
excel/effect@1 effect = 0.0535427
effect = 0.0535427
match
Excel EOMONTH: end of the next month
Microsoft Excel EOMONTH function documentation
excel/eomonth@1 date = 2011-02-28
date = 2011-02-28
match
Excel EOMONTH: end of the month three months earlier
Microsoft Excel EOMONTH function documentation
excel/eomonth@1 date = 2010-10-31
date = 2010-10-31
match
Excel FV: $200 a month for 10 months at 6%, $500 now
Microsoft Excel FV function documentation
excel/fv@1 fv = 2581.40
fv = 2581.40
match
Excel FV: $1,000 a month for 12 months at 12%
Microsoft Excel FV function documentation
excel/fv@1 fv = 12682.50
fv = 12682.50
match
Excel IPMT: first month of a 3-year $8,000 loan at 10%
Microsoft Excel IPMT function documentation
excel/ipmt@1 ipmt = -66.67
ipmt = -66.67
match
Excel IPMT: last year of the same loan with yearly payments
Microsoft Excel IPMT function documentation
excel/ipmt@1 ipmt = -292.45
ipmt = -292.45
match
Excel MIRR: five years
Microsoft Excel MIRR function documentation
excel/mirr@1 mirr = 0.13
mirr = 0.13
match
Excel MIRR: three years
Microsoft Excel MIRR function documentation
excel/mirr@1 mirr = -0.05
mirr = -0.05
match
Excel NETWORKDAYS: 1 October 2012 to 1 March 2013
Microsoft Excel NETWORKDAYS function documentation
excel/networkdays@1 days = 110
days = 110
match
Excel NETWORKDAYS: the same span less three holidays
Microsoft Excel NETWORKDAYS function documentation
excel/networkdays@1 days = 107
days = 107
match
Excel NETWORKDAYS: (NETWORKDAYS.INTL): Friday-Saturday weekend
Microsoft Excel NETWORKDAYS function documentation
excel/networkdays@1 days = 22
days = 22
match
Excel NOMINAL: 5.3543% effective, quarterly
Microsoft Excel NOMINAL function documentation
excel/nominal@1 nominal = 0.05250032
nominal = 0.05250032
match
Excel NPER: payments at the start of each period
Microsoft Excel NPER function documentation
excel/nper@1 nper = 59.6738657
nper = 59.6738657
match
Excel NPER: payments at the end of each period
Microsoft Excel NPER function documentation
excel/nper@1 nper = 60.0821229
nper = 60.0821229
match
Excel PMT: $10,000 at 8% a year over 10 months
Microsoft Excel PMT function documentation
excel/pmt@1 pmt = -1037.03
pmt = -1037.03
match
Excel PPMT: month 1 of a 2-year $2,000 loan at 10%
Microsoft Excel PPMT function documentation
excel/ppmt@1 ppmt = -75.62
ppmt = -75.62
match
Excel PPMT: year 10 of a 10-year $200,000 loan at 8%
Microsoft Excel PPMT function documentation
excel/ppmt@1 ppmt = -27598.05
ppmt = -27598.05
match
Excel PRICE: 5.75% semiannual coupon at a 6.5% yield
Microsoft Excel PRICE function documentation
excel/price@2 price = 94.6344
price = 94.6344
match
Excel PV: $500 a month for 20 years at 8%
Microsoft Excel PV function documentation
excel/pv@1 pv = -59777.15
pv = -59777.15
match
Excel RATE: 4-year $8,000 loan, $200 a month
Microsoft Excel RATE function documentation
excel/rate@1 rate = 0.0077
rate = 0.0077
match
Excel SLN: $30,000 truck, $7,500 salvage, 10 years
Microsoft Excel SLN function documentation
excel/sln@1 sln = 2250
sln = 2250
match
Excel SYD: year 1 of a $30,000 truck
Microsoft Excel SYD function documentation
excel/syd@1 syd = 4090.91
syd = 4090.91
match
Excel SYD: year 10
Microsoft Excel SYD function documentation
excel/syd@1 syd = 409.09
syd = 409.09
match
Excel VDB: first day
Microsoft Excel VDB function documentation
excel/vdb@1 vdb = 1.32
vdb = 1.32
match
Excel VDB: months 6 to 18
Microsoft Excel VDB function documentation
excel/vdb@1 vdb = 396.31
vdb = 396.31
match
Excel VDB: months 6 to 18 at factor 1.5
Microsoft Excel VDB function documentation
excel/vdb@1 vdb = 311.81
vdb = 311.81
match
Excel VDB: first fiscal year, 150% limit, bought mid-quarter
Microsoft Excel VDB function documentation
excel/vdb@1 vdb = 315.00
vdb = 315.00
match
Excel WORKDAY: 151 working days from 1 October 2008
Microsoft Excel WORKDAY function documentation
excel/workday@1 date = 2009-04-30
date = 2009-04-30
match
Excel WORKDAY: the same, with three holidays
Microsoft Excel WORKDAY function documentation
excel/workday@1 date = 2009-05-05
date = 2009-05-05
match
Excel WORKDAY: (WORKDAY.INTL): 90 days, Sunday-only weekend
Microsoft Excel WORKDAY function documentation
excel/workday@1 serial = 41013
serial = 41013
match
Excel XIRR: five dated cash flows
Microsoft Excel XIRR function documentation
excel/xirr@1 xirr = 0.3733625
xirr = 0.3733625
match
Excel XNPV: five dated cash flows at 9%
Microsoft Excel XNPV function documentation
excel/xnpv@1 xnpv = 2086.65
xnpv = 2086.65
match
Excel YEARFRAC: 2012, US 30/360
Microsoft Excel YEARFRAC function documentation
excel/yearfrac@1 yearfrac = 0.58055556
yearfrac = 0.58055556
match
Excel YEARFRAC: 2012, actual/actual
Microsoft Excel YEARFRAC function documentation
excel/yearfrac@1 yearfrac = 0.57650273
yearfrac = 0.57650273
match
Excel YEARFRAC: 2012, actual/365
Microsoft Excel YEARFRAC function documentation
excel/yearfrac@1 yearfrac = 0.57808219
yearfrac = 0.57808219
match
Excel YIELD: 5.75% semiannual coupon priced at 95.04287
Microsoft Excel YIELD function documentation
excel/yield@2 yield = 0.065
yield = 0.065
match
Microsoft's DURATION example: 8% coupon, 9% yield, 1 Jul 2018 to 1 Jan 2048, semiannual, actual/actual
Microsoft Excel DURATION function
excel/duration@1 duration = 10.9191453
duration = 10.9191453
match
Microsoft's MDURATION example: 8% coupon, 9% yield, 1 Jan 2008 to 1 Jan 2016, semiannual, actual/actual
Microsoft Excel MDURATION function
excel/mduration@1 mduration = 5.736
mduration = 5.736
match
GOV.UK: £1,000 at 8% plus a 0.5% base rate for 50 days is £11.50 (23p a day)
GOV.UK, Late commercial payments: charging interest and debt recovery
payments/late-interest/uk@1 daily_interest = 0.23
interest = 11.50
daily_interest = 0.23
interest = 11.50
match
UK fixed sum for a debt of £1,000 or more but under £10,000 is £70
Late Payment of Commercial Debts (Interest) Act 1998, section 5A(2)
payments/late-interest/uk@1 compensation = 70.00
compensation = 70.00
match
UK rate for interest starting in July to December 2026 uses Bank Rate on 30 June 2026 (3.75%)
SI 2002/1675 article 4, with Bank of England Bank Rate history
payments/late-interest/uk@1 reference_date = 2026-06-30
annual_rate_percent = 11.75
reference_date = 2026-06-30
annual_rate_percent = 11.75
match
Treasury: $1,500 due April 1, paid June 15, at 6% gives $18.83
Bureau of the Fiscal Service, Prompt Payment monthly interest calculation
payments/late-interest/us-prompt-payment@1 interest = 18.83
interest = 18.83
match
Prompt Payment rate for July 1 to December 31, 2026 is 4.75%
Bureau of the Fiscal Service, Prompt Payment interest rates
payments/late-interest/us-prompt-payment@1 annual_rate_percent = 4.75
annual_rate_percent = 4.75
match
Basiszinssatz from 1 July 2026 is 1.52%: B2B default interest 10.52% a year
Deutsche Bundesbank, Basiszinssatz from 1 July 2026, with § 288 (2) BGB
payments/late-interest/germany@1 interest = 530.32
interest = 530.32
match
Verzugspauschale of €40 when the debtor is not a consumer
§ 288 (5) BGB
payments/late-interest/germany@1 compensation = 40.00
margin_percent = 9
compensation = 40.00
margin_percent = 9
match
EU directive: at least €40 fixed compensation for recovery costs
Directive 2011/7/EU, Article 6(1)
payments/late-interest/eu@1 compensation = 40.00
compensation = 40.00
match
MSMED Act: with no agreed date, interest runs from the day after 15 days from acceptance
MSMED Act 2006, sections 2(b), 15 and 16
payments/late-interest/india-msme@1 due_date = 2026-01-25
days_late = 1
due_date = 2026-01-25
days_late = 1
match
MSMED Act: an agreed period cannot exceed 45 days from acceptance
MSMED Act 2006, section 15 proviso
payments/late-interest/india-msme@1 due_date = 2026-02-24
due_date = 2026-02-24
match
IFRS 16 Example 18: ten payments of CU100,000 in arrears at 6% give a liability of CU736,009
IFRS 16 Leases, Illustrative Example 18
accounting/lease/ifrs16@1 initial_liability = 736009
initial_rou_asset = 736009
initial_liability = 736009
initial_rou_asset = 736009
match
HMRC: £100,000 a year in advance for 10 years at 5%, with a premium and restoration costs
HMRC Business Leasing Manual, BLM18000
accounting/lease/ifrs16@1 initial_liability = 710782
initial_rou_asset = 840780
total_interest = 189218
initial_liability = 710782
initial_rou_asset = 840780
total_interest = 189218
match
ASC 842 Example 3, finance lease: $50,000 in advance for 10 years at 5.87% with $15,000 IDC
FASB ASC 842-20-55, Example 3 (as reproduced in Deloitte's Roadmap: Leases)
accounting/lease/asc842@1 initial_liability = 342017
initial_rou_asset = 407017
initial_liability = 342017
initial_rou_asset = 407017
match
ASC 842 Example 3, operating lease: single lease cost of $51,500 a year
FASB ASC 842-20-55, Example 3 (as reproduced in Deloitte's Roadmap: Leases)
accounting/lease/asc842@1 initial_rou_asset = 407017
total_lease_cost = 515000
initial_rou_asset = 407017
total_lease_cost = 515000
match
ASC 842 Example 4, operating lease: $10,000 rising 5% a year at 6%, IDC $5,000, incentive $10,000
FASB ASC 842-20-55, Example 4 (as reproduced in Deloitte's Roadmap: Leases)
accounting/lease/asc842@1 initial_liability = 90434
initial_rou_asset = 85434
initial_liability = 90434
initial_rou_asset = 85434
match
ASC 842 Example 23: purchase option, asset amortized over 7 years; $71,094 left after the 5-year term
FASB ASC 842-20-55, Example 23 (as reproduced in Deloitte's Roadmap: Leases)
accounting/lease/asc842@1 initial_liability = 248834
rou_asset_end_of_term = 71094
initial_liability = 248834
rou_asset_end_of_term = 71094
match
IRS Table A-1: 5-year property, half-year convention, 20% in year 1
IRS Publication 946, Appendix A, Table A-1
accounting/depreciation/macrs@1 first_year_total = 2000.00
first_year_total = 2000.00
match
IRS Table A-6: residential rental placed in service in July, 1.667% in year 1
IRS Publication 946, Appendix A, Table A-6
accounting/depreciation/macrs@1 first_year_total = 4584.25
first_year_total = 4584.25
match
IRS Table A-7a: nonresidential real property placed in service in January, 2.461% in year 1
IRS Publication 946, Appendix A, Table A-7a
accounting/depreciation/macrs@1 first_year_total = 24610.00
first_year_total = 24610.00
match
Schedule II, WDV with a 5% residual over 10 years: rate 25.89%
Companies Act 2013, Schedule II: rate = 1 − (residual / cost)^(1 / life)
accounting/depreciation/india-companies-act@1 rate_percent = 25.8866
rate_percent = 25.8866
match
Asset put to use on 4 October is used under 180 days in the tax year: half the rate
Income-tax Act, 2025, section 33(4)
accounting/depreciation/india-income-tax@1 depreciation = 7500.00
half_rate_base = 100000.00
depreciation = 7500.00
half_rate_base = 100000.00
match
SWIFT IBAN registry: the United Kingdom example
SWIFT IBAN Registry, release 103
check/iban@1 valid = true
country = GB
normalized = GB29NWBK60161331926819
valid = true
country = GB
normalized = GB29NWBK60161331926819
match
SWIFT IBAN registry: the Germany example
SWIFT IBAN Registry, release 103
check/iban@1 valid = true
country = DE
normalized = DE89370400440532013000
valid = true
country = DE
normalized = DE89370400440532013000
match
SWIFT IBAN registry: the France example, with a letter in the account
SWIFT IBAN Registry, release 103
check/iban@1 valid = true
country = FR
normalized = FR1420041010050500013M02606
valid = true
country = FR
normalized = FR1420041010050500013M02606
match
SWIFT IBAN registry: the Brazil example, 29 characters
SWIFT IBAN Registry, release 103
check/iban@1 valid = true
country = BR
normalized = BR1800360305000010009795493C1
valid = true
country = BR
normalized = BR1800360305000010009795493C1
match
SWIFT IBAN registry: the Norway example, 15 characters
SWIFT IBAN Registry, release 103
check/iban@1 valid = true
country = NO
normalized = NO9386011117947
valid = true
country = NO
normalized = NO9386011117947
match
GLEIF's own Legal Entity Identifier
GLEIF: ISO 17442, the LEI code structure
check/lei@1 valid = true
normalized = 506700GE1G29325QX363
valid = true
normalized = 506700GE1G29325QX363
match
Australian Business Register: the worked example, weighted sum 534 = 6 x 89
Australian Business Register: Format of the ABN
check/abn@1 valid = true
normalized = 51824753556
valid = true
normalized = 51824753556
match
CUSIP Global Services: FactSet Research Systems common stock
CUSIP Global Services: CUSIP identifiers
check/cusip@1 valid = true
normalized = 303075105
valid = true
normalized = 303075105
match
CUSIP Global Services: a CINS number, which starts with a letter
CUSIP Global Services: CUSIP identifiers
check/cusip@1 valid = true
normalized = G0052B105
valid = true
normalized = G0052B105
match
CUSIP Global Services: the ISIN of Amazon.com common stock (CUSIP 023135106)
CUSIP Global Services: CUSIP identifiers
check/isin@1 valid = true
normalized = US0231351067
valid = true
normalized = US0231351067
match
Deutsche Bundesbank: its own BIC
Deutsche Bundesbank, SCL Directory Notice, version 2.8
check/bic@1 valid = true
country = DE
bic8 = MARKDEFF
primary_office = true
test_bic = false
valid = true
country = DE
bic8 = MARKDEFF
primary_office = true
test_bic = false
match
Deutsche Bundesbank: its test BIC
Deutsche Bundesbank, SCL Directory Notice, version 2.8
check/bic@1 valid = true
country = DE
test_bic = true
valid = true
country = DE
test_bic = true
match
US Treasury's routing number, as the SEC prints it for wire payments
US Securities and Exchange Commission: Filing fee Fedwire tags and terminology
check/us-routing-number@1 valid = true
check_digit = 4
expected_check_digit = 4
valid = true
check_digit = 4
expected_check_digit = 4
match
Deutsche Bundesbank: its own VAT identification number
Deutsche Bundesbank: Imprint
check/vat-number@1 valid = true
country = DE
normalized = DE114103555
valid = true
country = DE
normalized = DE114103555
match
Reserve Bank of India: the GSTIN printed in its tender notice
Reserve Bank of India: tender notice, College of Agricultural Banking, Pune
check/india-gstin@1 valid = true
state_code = 27
pan = AAIFR5286M
check_character = G
expected_check_character = G
valid = true
state_code = 27
pan = AAIFR5286M
check_character = G
expected_check_character = G
match
Reserve Bank of India: the PAN printed in its tender notice
Reserve Bank of India: tender notice, College of Agricultural Banking, Pune
check/india-pan@1 valid = true
holder_code = F
valid = true
holder_code = F
match
Peppol BIS 3.0: lines of 4000 and 900 plus a charge of 200 less an allowance of 100 at 25%, and 2000 exempt
Peppol BIS Billing 3.0, section 10.4 Calculation of VAT (BT-116 5000, BT-117 1250)
tax/vat@1 tax_total = 1250.00
net_total = 7000.00
breakdown = [{"rate_percent": "25", "net": "5000.00", "tax": "1250.00", "gross": "6250.00"}, {"rate_percent": "0", "net": "2000.00", "tax": "0.00", "gross": "2000.00"}]
tax_total = 1250.00
net_total = 7000.00
breakdown = [{"rate_percent": "25", "net": "5000.00", "tax": "1250.00", "gross": "6250.00"}, {"rate_percent": "0", "net": "2000.00", "tax": "0.00", "gross": "2000.00"}]
match
HMRC: a chair at 60 pounds plus 20% VAT is 72
GOV.UK: VAT rates, work out a VAT-inclusive price
tax/vat@1 gross_total = 72.00
gross_total = 72.00
match
HMRC: a child's car seat at 200 pounds plus 5% VAT is 210
GOV.UK: VAT rates, work out a VAT-inclusive price
tax/vat@1 gross_total = 210.00
gross_total = 210.00
match
HMRC: a table bought for 180 pounds including 20% VAT is 150 before VAT, VAT 30
GOV.UK: VAT rates, work out a VAT-exclusive price
tax/vat@1 net_total = 150.00
tax_total = 30.00
net_total = 150.00
tax_total = 30.00
match
HMRC: a stairlift bought for 483 pounds including 5% VAT is 460 before VAT, VAT 23
GOV.UK: VAT rates, work out a VAT-exclusive price
tax/vat@1 net_total = 460.00
tax_total = 23.00
net_total = 460.00
tax_total = 23.00
match
ATO: a phone sold for 660 dollars including GST carries GST of 60 (one eleventh)
Australian Taxation Office: GST when you sell to Australia
tax/vat@1 tax_total = 60.00
net_total = 600.00
tax_total = 60.00
net_total = 600.00
match
European Commission: Germany, standard 19%, reduced 7%
European Commission, Your Europe: VAT rules and rates (table of 13 July 2026)
tax/vat-rates@1 standard_rate_percent = 19
other_rates_percent = ["7"]
standard_rate_percent = 19
other_rates_percent = ["7"]
match
European Commission: Finland, standard 25.5%, reduced 10% and 13.5%
European Commission, Your Europe: VAT rules and rates (table of 13 July 2026)
tax/vat-rates@1 standard_rate_percent = 25.5
other_rates_percent = ["10", "13.5"]
standard_rate_percent = 25.5
other_rates_percent = ["10", "13.5"]
match
Canada Revenue Agency: Nova Scotia's HST is 14% since 1 April 2025
Canada Revenue Agency: GST/HST calculator (and rates)
tax/vat-rates@1 standard_rate_percent = 14
tax = HST
standard_rate_percent = 14
tax = HST
match
UBL invoice example 1 is valid
CEN/TC 434 validation artefacts 1.3.17
einvoice/en16931@1 valid = true
error_rules = []
valid = true
error_rules = []
match
UBL credit note example is valid
CEN/TC 434 validation artefacts 1.3.17
einvoice/en16931@1 valid = true
error_rules = []
valid = true
error_rules = []
match
CII invoice example 1 is valid
CEN/TC 434 validation artefacts 1.3.17
einvoice/en16931@1 valid = true
error_rules = []
valid = true
error_rules = []
match
Without a VAT breakdown, BR-CO-18 and BR-S-01 fail
EN 16931-1 BR-CO-18 and BR-S-01, on CEN's UBL example 1
einvoice/en16931@1 valid = false
error_rules = ["BR-CO-18", "BR-S-01"]
valid = false
error_rules = ["BR-CO-18", "BR-S-01"]
match
Lines that do not add up to the total fail BR-CO-10
EN 16931-1 BR-CO-10, on CEN's UBL example 1 with one line 0.01 higher
einvoice/en16931@1 valid = false
error_rules = ["BR-CO-10"]
valid = false
error_rules = ["BR-CO-10"]
match
Peppol base example is valid
OpenPeppol BIS Billing 3.0.22
einvoice/peppol-bis@1 valid = true
error_rules = []
valid = true
error_rules = []
match
Peppol credit note correction example is valid
OpenPeppol BIS Billing 3.0.22
einvoice/peppol-bis@1 valid = true
error_rules = []
valid = true
error_rules = []
match
Without a buyer reference or order reference, R003 fails
Peppol BIS 3.0 rule PEPPOL-EN16931-R003, on the base example
einvoice/peppol-bis@1 valid = false
error_rules = ["PEPPOL-EN16931-R003"]
valid = false
error_rules = ["PEPPOL-EN16931-R003"]
match
Test case 01.01a (UBL) is valid
KoSIT XRechnung test suite 2026-08-31
einvoice/xrechnung@1 valid = true
error_rules = []
valid = true
error_rules = []
match
Test case 01.01a (CII) is valid
KoSIT XRechnung test suite 2026-08-31
einvoice/xrechnung@1 valid = true
error_rules = []
valid = true
error_rules = []
match
Without a Leitweg-ID (buyer reference), BR-DE-15 fails
XRechnung 3.0 rule BR-DE-15, on test case 01.01a
einvoice/xrechnung@1 valid = false
error_rules = ["BR-DE-15"]
valid = false
error_rules = ["BR-DE-15"]
match
FeRD EN 16931 sample is valid
FeRD ZUGFeRD 2.5 / Factur-X 1.09.2 sample EN16931_Einfach
einvoice/factur-x@1 valid = true
error_rules = []
profile = EN 16931
valid = true
error_rules = []
profile = EN 16931
match
FeRD sample with a retired address scheme fails
Factur-X code list (EAS 9958 withdrawn), on FeRD's EN16931_ElektronischeAdresse
einvoice/factur-x@1 valid = false
error_rules = ["FX-SCH-A-000571"]
profile = EN 16931
valid = false
error_rules = ["FX-SCH-A-000571"]
profile = EN 16931
match

Coverage

84 of our 99 calculators have published reference values so far. For the other 15, we have not added published values yet, so they rely on the other checks below for now: Add or subtract time from a date, Age calculator, BMI calculator, Discount calculator, Extra mortgage payment calculator, Fraction calculator, Mortgage affordability calculator, Percentage calculator, Refinance break-even calculator, Rent or buy calculator, Return on investment (ROI) calculator, Rounding calculator, Simple interest calculator, Tip and bill split calculator, Working hours and SLA deadline calculator.

How the calculators are tested

  1. Published reference values, like the ones above, quoted with their source.
  2. Independent implementations: results are cross-checked against high-precision mpmath, Python's decimal, fractions and statistics modules, numpy-financial, dateutil and QuantLib.
  3. Properties that must always hold, checked on thousands of random inputs (for example, an amortization schedule always pays off exactly the principal).
  4. Edge cases: zero, negative and huge values, leap days, daylight-saving changes and invalid input.

Found a result that looks wrong? Email hello@curatedapi.com. A fix ships as a new calculator version, as the terms describe.

Results follow each calculator's documented rules and the sources listed. They are not financial, tax or legal advice. Check that the rules fit your case before you rely on a result. See the terms.