Pass the menu and read the page

SignupFolio

3 Stripe amount rules for UGX, JPY and invoices

Stripe sends amounts as integers shaped by each currency's unit rule, so UGX multiplies by 100, JPY passes through as a whole-yen integer, and fractional invoice totals round automatically to the nearest number evenly divisible by 100.

  • UGX: multiply the displayed shilling price by 100 and submit the integer (5 UGX becomes amount 500); strip commas, decimals, and symbols before the API call
  • JPY: send the whole-yen integer with no subunit; cast any trailing ".00" to an integer first
  • Japanese accounts: JCB, Diners Club, and Discover cards are capped at 8 digits, or 99,999,999 JPY
  • Invoices: Stripe rounds fractional amounts after prorations, coupons, or taxes to the nearest number evenly divisible by 100 — do not pre-round on your side
  • Test every plan, coupon, and currency zone through your converter with a Stripe test charge before launch

Set the amount format before the pricing page goes live

You are putting a local-currency price on a signup page. The number looks clean in the design. Then you paste it into Stripe and the charge comes back wrong. The fix is knowing three amount rules first: how UGX splits into subunits, how JPY sits as a whole number, and how Stripe rounds a fractional invoice total.

Stripe amounts travel as integers. The Stripe examples in this post use whole-number amount values, such as 500 for 5 UGX and 1000 for HUF 10 payouts. You send an integer and Stripe reads the currency's unit size to know what that integer means. Get the unit size wrong and you charge far more or far less than you intended.

UGX and JPY both need care, but for different reasons. UGX carries a small unit you must append. JPY drops the unit entirely. And invoices add a third layer, because prorations, coupons, and taxes can leave a fraction behind.

This post quotes Stripe's exact wording for the UGX example and the invoice rounding rule, and paraphrases the JPY and Japanese card cap rules.

How Stripe reads a UGX amount

UGX charges multiply your displayed price by 100. If you want to charge 5 UGX, you submit an amount value of 500. That is the whole rule for UGX: state the price in shillings, then send the integer with two digits appended.

Stripe published that example directly in its supported currencies documentation: "For example, to charge 5 UGX, provide an amount value of 500." You can read the full page at Supported currencies | Stripe Documentation.

The practical check before go-live: take your pricing page number, multiply by 100, and confirm the integer lands in your Stripe dashboard test charge. A plan priced in shillings becomes the same figure with two digits appended. The multiply-by-100 step is the only arithmetic between the design file and the API payload.

Watch for prices that arrive already in minor units. Some data feeds hand you the integer when they mean the shilling price. Doubling an already-scaled figure charges far more than intended. Pick one convention for your team and write it down.

Designers sometimes build the pricing card with a comma separator for readability. The amount field takes the integer with no commas, no decimals, and no currency symbol. Strip the formatting before the API call.

UGX is the case this post names because your signup price is set there. The habit you build for UGX carries to every other three-letter code on your pricing grid.

Stripe also publishes minimum charge amount rules on the same page. Stripe notes exceptions to the minimum charge amount apply to some payment methods, with iDEAL accepting amount values as low as 1. Check the minimums for each method you plan to accept before you publish a low-price entry tier.

How Stripe reads a JPY amount

You send the whole-yen integer as-is. A trailing ".00" in the source must be cast to an integer first. The integer you design on the page is the integer you send to Stripe.

One Japanese-specific ceiling matters before you publish a high-ticket price. For JCB, Diners Club, and Discover cards coming from Japanese Stripe accounts, the maximum amount is 8 digits, or 99,999,999 JPY, regardless of what the card network lists above that. Stripe states this in the same Supported currencies | Stripe Documentation page.

That cap sits well above a normal signup plan. It still shapes your checkout if you sell an annual or multi-year package priced in yen. Check your highest listed plan against the cap before you ship the page.

Some payment methods carry their own floor. Stripe notes exceptions to the minimum charge amount apply to certain methods, with iDEAL accepting amount values as low as 1. Your yen price should clear any floor you plan to rely on.

Digits to watch: a yen price written with a trailing ".00" in your CMS should be cast to an integer before you send it. Cast it to an integer first. If you round, you risk a mismatch, or you reject the row and fix the source.

Your pricing page shows a yen figure with a thousands separator for readability. The amount field takes the same figure as a bare integer. Both numbers describe the same plan. Only one of them belongs in the API payload.

The three amount rules side by side

Here is the comparison you can hold next to your pricing grid.

Currency or caseWhat you displayAmount value Stripe takesSource rule
UGX plan price5 UGX500Multiply displayed UGX by 100
JPY plan priceWhole-yen figureWhole-yen integerSend the integer with no subunit
JPY from Japanese accounts on JCB, Diners Club, DiscoverAny planCapped at 8 digits, 99,999,999Max amount for those cards from Japanese accounts
Fractional invoice totalProrated, couponed, or taxed amountNearest number evenly divisible by 100Stripe rounds automatically

Read across each row before your developer writes the converter. The UGX row multiplies. The JPY row does not. The invoice row runs after prorations, coupons, and taxes, and Stripe handles it for you.

How Stripe rounds a fractional invoice total

Stripe automatically rounds a fractional invoice amount to the nearest number evenly divisible by 100. That happens when prorations, coupons, or taxes leave a fraction behind. You do not write a rounding function for that path.

Stripe's exact wording: "For invoices where the amount is fractional after prorations, coupons, or taxes, Stripe automatically rounds that amount to the nearest number evenly divisible by 100." The sentence lives on the Supported currencies | Stripe Documentation page.

Plan your coupon design around that rounding. A percentage coupon applied to an odd subtotal can pull the final integer away from your intended price. The final integer changes when the subtotal crosses a midpoint between multiples of 100, so test each coupon against each plan tier in test mode before you publish.

Maxio documents percentage discounts with up to four decimal places, and notes that "In the case of percentage-based discounts, the final calculated discount is rounded to the nearest cent based on the cost of the Plan." The four-decimal precision and the cent-level round are documented in Understand Coupon Settings | Maxio Help Center. On Stripe invoices, the rule applies to fractional amounts left after coupons, alongside prorations and taxes.

Prorations add the same effect mid-cycle. A seat added mid-cycle produces a prorated line. Taxes computed on that line can leave a fraction. The invoice rounds to the nearest number divisible by 100.

Set your tax-inclusive or tax-exclusive display to match. If your pricing page shows a gross figure and Stripe rounds the invoice, the two should land close. Divergence shows up when a coupon stack pushes the subtotal across a rounding boundary.

A manual payout in HUF carries its own divisibility rule, separate from the invoice rule. Stripe requires integer amounts evenly divisible by 100 for HUF manual payouts, with the example that an available balance of HUF 10.45 can pay out HUF 10 by submitting 1000 for the amount value. That constraint governs payouts, not customer charges, and it is not the path your signup page runs.

Test the converter before you ship

Write one converter function for each currency. UGX multiplies by 100. JPY passes through as an integer. Reject any amount carrying a decimal and fix the source value.

Run your full pricing grid through it. Every plan, every coupon, every currency zone. Paste the result into a Stripe test charge. Confirm the dashboard amount matches the amount you submitted in the test charge.

Check the Japanese card cap on your highest yen plan. If a plan sits near or above the 8-digit ceiling of 99,999,999 JPY, split the payment schedule or adjust the price before launch.

Save a dated screenshot of each successful test charge. Your future self, and any reviewer, will want the evidence that the converter worked the day the page went live.

What to hand your developer

Give your developer the three rules and a test matrix. UGX: multiply the displayed shilling price by 100, submit the integer, verify against Stripe's published example of 5 UGX becoming 500. JPY: submit the whole-yen integer with no subunit, and respect the 8-digit cap of 99,999,999 JPY for JCB, Diners Club, and Discover cards from Japanese Stripe accounts.

Invoices: let Stripe round fractional totals after prorations, coupons, or taxes to the nearest number evenly divisible by 100. Do not pre-round on your side. A double round can shift the price again.

Edge cases your developer should probe: a UGX price entered with a decimal in the CMS, a yen price carrying a trailing zero-decimal ".00", a coupon that pushes a subtotal just below a divisible-by-100 boundary, and a prorated seat change on a Japanese account.

Hand over the Stripe supported currencies page link. The page lists the currencies Stripe supports, along with the UGX example, the invoice rounding sentence, the HUF payout divisibility rule, and the Japanese card maximum. One link, one reference, no verbal retellings.

Walk a signup price through both currencies

Take a mid-tier plan you intend to price locally. For the UGX version, write the shilling figure on the design, multiply by 100 in your converter, and send the integer to Stripe. Confirm the test charge returns the shilling figure you designed.

For the JPY version, write the yen figure on the design, cast it to an integer in your converter, and send it unchanged. Confirm the test charge returns the yen figure, and confirm the figure sits under the Japanese card ceiling of 99,999,999 JPY for the card types your Japanese accounts will see.

Now add a welcome coupon. The coupon reduces the subtotal. Taxes compute on the reduced amount. The invoice total becomes fractional. Stripe rounds it to the nearest number evenly divisible by 100.

Repeat with a prorated mid-cycle seat change. The proration line carries a fraction. Taxes carry a fraction. The invoice rounds again. Both paths confirm the same rule from the Stripe currencies page.

The pricing page copy does not change between tests. Only the amount field changes. That separation is the point: design speaks in displayed currency, Stripe speaks in integers shaped by each currency's unit rule.

Confirm your own account's details with Stripe

If your plan design lands a yen price close to the Japanese card ceiling, or a UGX price with an unusual decimal pattern, ask Stripe support for a written answer on your account. The published pages cover the general rules; your account's card mix and country profile may add detail they do not publish.

Raise the question with a concrete amount and a card type. Support can confirm how your specific charge will be handled. Get that confirmation in writing before the pricing page goes live.

For every other amount on your grid, the published rules are enough. UGX multiplies by 100. JPY passes through as a whole-yen integer. Fractional invoice totals round to the nearest number evenly divisible by 100.

Related guides: 4 currency decisions before a signup price goes live · Signup trial price: 4 published examples to compare · Stripe mid-cycle price change: 4 amounts explained.

Sources and check date

Related posts

More posts