Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 4 Nov 2026. What's built · Install 0.2.0
jadpo
ReferenceMoney and banking

LanguageValues and typesStandard types

Money and banking

Amounts of money, prices, rates, cards and bank accounts.

Topics

Money and payments

Use Money for an amount of money and Currency for its currency.

Prices, discounts and rates

These types hold a price, a discount, a price per kilogram or litre, and the rates a business quotes: tax, basis points and interest.

Exchange rates

An ExchangeRate says how much one currency is worth in another at a moment, so you can convert an amount.

Bank accounts

A BankAccount holds the details a payment to a bank account needs.

Types

TypeWhat it is
MoneyAn amount of money: a whole number of a currency's smallest units, and the currency.
CurrencyA currency, by its three-letter code: GBP.
ExchangeRateA rate between two currencies at a moment in time.
PriceAn amount, and whether it includes tax.
UnitPriceA price per amount of something, such as £2.50 per kilo.
TaxRateA rate of tax, as a percentage that can't be below zero: 20%.
DiscountAn amount off a price, or a percentage off it.
BasisPointsA count of hundredths of a percent: 25 basis points is 0.25%.
InterestRateA yearly rate of interest, and the basis it is quoted on: 5.5% APR.
PaymentCardNumberA payment card's full number, checked by its check digit.
MaskedCardNumberWhat you may keep of a card once its number is gone: the brand and the last four digits.
CardBrandA card scheme: visa, mastercard, american_express and so on.
CardBinThe first 6 or 8 digits of a card number, which name its issuer.
CardExpiryThe month a payment card runs to, written 2028-12.
PaymentReferenceThe reference a payer sees on a UK bank payment: up to 18 characters.
InvoiceNumberAn invoice's number: up to 200 characters, as your own system writes it.
IbanAn international bank account number, with its check digits: GB29NWBK60161331926819.
BicA bank's identifier code, also called a SWIFT code: 8 or 11 characters.
UkSortCodeA UK bank's sort code, as six digits: 089999.
UkAccountNumberA UK bank account number: eight digits, with any leading zeros kept.
BankAccountA bank account to pay into or take from, in any country.
AbaRoutingNumberA US bank's routing number: nine digits with a check digit.
LeiA Legal Entity Identifier, the global ID of a company in financial reporting.
IsinA securities identification number, naming a share or a bond: US0378331005.
InterestRateBasisWhat an interest rate is quoted as: aer, apr or flat.

Markdown for agents: /docs/types-money-and-banking.md.Built from Jadpo main at 6cc3cb4.