Billing file statistics 2026
Forty numbers on how developers write billing code, counted from public GitHub files on 21 November 2026.
Free for one project and 100 votes. Paid plans start with a 14 day trial, no card.
File names
Eight numbers on how many public billing files exist, by file name.
42,688 files have billing.ts in the name, and 3,080 have BillingPage.tsx in the name.
The billing.ts file leads, and it is 13.9 times as common as BillingPage.tsx.
| Statistic | Number |
|---|---|
| billing.ts | 42,688 |
| billing.js | 28,032 |
| billing.py | 20,992 |
| billing.php | 16,832 |
| Billing.tsx | 11,936 |
| billing.html | 11,328 |
| billing.go | 4,920 |
| BillingPage.tsx | 3,080 |
.ts files
Eight numbers on the words that billing.ts files use.
The word subscription is in 49.3 in 100 billing.ts files, and refund in 8.8 in 100.
The word subscription leads, and payment follows at 45.2 in 100.
| Statistic | In 100 |
|---|---|
| Subscription | 49.3 |
| Payment | 45.2 |
| Cancel | 40.0 |
| Invoice | 33.4 |
| Trial | 18.8 |
| Upgrade | 14.5 |
| Receipt | 10.5 |
| Refund | 8.8 |
.js files
Eight numbers on the words that billing.js files use.
The word payment is in 53.2 in 100 billing.js files, and refund in 5.3 in 100.
The word payment leads, and cancel follows at 30.4 in 100.
| Statistic | In 100 |
|---|---|
| Payment | 53.2 |
| Cancel | 30.4 |
| Subscription | 29.3 |
| Invoice | 28.7 |
| Upgrade | 10.3 |
| Receipt | 9.2 |
| Trial | 8.9 |
| Refund | 5.3 |
.py files
Eight numbers on the words that billing.py files use.
The word payment is in 39.2 in 100 billing.py files, and receipt in 9.3 in 100.
The word payment leads, and subscription follows at 37.9 in 100.
| Statistic | In 100 |
|---|---|
| Payment | 39.2 |
| Subscription | 37.9 |
| Invoice | 33.7 |
| Cancel | 30.9 |
| Trial | 14.5 |
| Upgrade | 13.5 |
| Refund | 9.9 |
| Receipt | 9.3 |
.php files
Eight numbers on the words that billing.php files use.
The word payment is in 22.6 in 100 billing.php files, and refund in 2.1 in 100.
The word payment leads, and invoice follows at 11.4 in 100.
| Statistic | In 100 |
|---|---|
| Payment | 22.6 |
| Invoice | 11.4 |
| Cancel | 8.3 |
| Subscription | 7.5 |
| Upgrade | 7.3 |
| Trial | 3.5 |
| Receipt | 3.3 |
| Refund | 2.1 |
What is in the file
Forty numbers, one CSV
One CSV holds all forty figures, and every row lists its group and unit.
Five groups
File names, then the words used in billing files in four languages.
Counts, not apps
Only totals and shares are shown, so no app, author or host is named.
Easy to cite
Take one figure or the lot, and name this page with the day of the read.
How the files were counted
One code search for each file name and each word.
Choose a file name
Each word query stayed with one file name, so every share sits on a known total.
Add one word
A query combined one word with a file name and counted files that held both.
Retry partial replies
Any partial reply was sent again after the limit reset, three more times at most.
Divide in code
Every share was divided in code and passed a test before it reached this page.
What changes between file types
No single word wins everywhere: the top place goes to subscription in billing.ts files; payment in billing.js, billing.py and billing.php files. The clearest lead is in billing.js files, where payment stands at 53.2 in 100 against cancel at 30.4. The closest race is in billing.py files, where payment stands at 39.2 in 100 and subscription sits just behind at 37.9.
Even eighth place is worth 9.3 in 100 in billing.py files, against only 2.1 in billing.php files. The word subscription leads billing.ts files with 49.3 in 100, yet it takes fourth place in billing.php files with 7.5. In billing.ts files the word invoice sits fourth with 33.4 in 100, but in billing.php files it climbs to second with 11.4.
| Word | billing.ts | billing.js | billing.py | billing.php |
|---|---|---|---|---|
| Payment | 45.2 | 53.2 | 39.2 | 22.6 |
| Subscription | 49.3 | 29.3 | 37.9 | 7.5 |
| Cancel | 40.0 | 30.4 | 30.9 | 8.3 |
| Invoice | 33.4 | 28.7 | 33.7 | 11.4 |
| Trial | 18.8 | 8.9 | 14.5 | 3.5 |
| Upgrade | 14.5 | 10.3 | 13.5 | 7.3 |
| Receipt | 10.5 | 9.2 | 9.3 | 3.3 |
| Refund | 8.8 | 5.3 | 9.9 | 2.1 |
What these numbers leave out
- A count covers files, not apps, and one billing file copied between projects is counted in each of them.
- Many public billing files come from tutorials and sample shops, so a share describes hosted code, not live products.
- A word counts wherever it appears, so a note or a variable name adds as much as a label a customer sees.
- No age filter exists in the search, so ten year old files count the same as new ones.
- Payment and cancel turn up in many files that do not handle money, which lifts part of those shares.
- Plan and webhook were cut from every group, along with four file names.
- Billing code in Swift, Kotlin, Vue and Ruby has too few files for word shares, so those four file names are not shown.
- A billing file often mentions many of these words, so the shares in a group overlap.
- Billing handled inside a larger file, or named payments or checkout, is missing from every count.
- Code written with words in another language is mostly invisible to this count.
- A word shows that a file mentions it, not that any customer was ever charged.
- Counts above a few thousand come back in coarse steps, so the 42,688 billing.ts files are a close figure, not an exact one.
- A file name search matches any name that contains the text, so billing.ts also counts billing.tsx files. The billing.ts and billing.tsx groups overlap.
What people ask about billing code
How many public billing.ts files are there?
42,688 public files have billing.ts in the name.
How many public billing.js files are there?
28,032 files have billing.js in the name.
How many public billing.py files are there?
20,992 files have billing.py in the name.
How many public billing.php files are there?
16,832 files have billing.php in the name.
How many billing.ts files mention a subscription?
The word subscription is in 49.3 in 100 billing.ts files.
How many billing.ts files mention payment?
The word payment is in 45.2 in 100 billing.ts files.
How many billing.js files mention a refund?
The word refund is in 5.3 in 100 billing.js files.
How many billing.js files mention payment?
The word payment is in 53.2 in 100 billing.js files.
How many billing.py files mention an invoice?
The word invoice is in 33.7 in 100 billing.py files.
How many billing.py files mention a trial?
The word trial is in 14.5 in 100 billing.py files.
How many billing.php files mention a receipt?
The word receipt is in 3.3 in 100 billing.php files.
May a page quote these figures?
Yes, with this page named and the read date. Every figure is one of the 40 rows in billing-file-statistics-2026-11.csv, so a reader can check it.
More files, counted
More counts from public code.
Pricing file statistics, 40 numbers
Plan names and billing words in pricing files.
Webhook handler file statistics, 40 numbers
Signature and retry words in webhook code.
Notification file statistics, 40 numbers
Push and email words in notification code.
Dashboard file statistics, 40 numbers
Chart and filter words in dashboard code.
Settings screen file statistics, 40 numbers
Password and theme words in settings code.
Sign in code file statistics, 40 numbers
Redirect and nonce words in sign in code.
Know what to build before you bill
Know what to build before you bill for it, with a board that is free with one project and 100 votes. The 14 day trial of Lite or Pro needs no card.