← All GTFS fixes

Fix: a fare amount has the wrong number of decimals

Code: invalid_currency_amount (MobilityData validator)

What this means

A fare price in fare_attributes.txt (or a Fares v2 amount) has more or fewer decimal places than its currency allows. US dollars take two decimals, so 2 or 2.5 is wrong where 2.00 or 2.50 is meant; a zero-decimal currency takes none.

Why it matters

This is an error. Apps that read fares may reject the amount or show the wrong price, so a rider sees a fare that is off by a factor of ten or no fare at all. It usually comes from a fare typed without the cents, or a currency code that does not match how the amount was written.

How to fix it

How long it usually takes

A quick edit of the fare file. The hardest part is noticing the missing cents.

Authoritative rule

invalid_currency_amount is a canonical MobilityData GTFS Validator notice used in validator reports across the GTFS ecosystem. Read the authoritative rule for invalid_currency_amount in the GTFS Validator rules. (opens on an external site)

After you republish

Once the changed feed is live at your published URL, the next scorecard run checks it again. When the same complete producer contract no longer reports this finding, it can be recorded as a dated finding clearance. That confirms the later feed state, not who changed the feed or why.