Why Cost Profile Currency Is Free Text — Not an FX Engine - MinuteShark

Engineering

Why Cost Profile Currency Is Free Text — Not an FX Engine

Cost profile currency looks like it should be a dropdown. CAD. USD. EUR. A live mid-market rate. A second column that multiplies hours into the client’s money while you wait. That is how banking products think. It is not how a freelancer invoice thinks.

MinuteShark stores currency as free text on a named cost profile — a symbol or a code you type — because the PDF is a communication device, not a settlement network. This is the sibling of why cost profiles are named rules rather than a rate on the user. That article is the schema for the numbers. This one is why we refused to become an FX desk.

The product bet: a currency field that looks clever will quietly rewrite Friday. A string the consultant typed will print. Invoices and trackers should share that string. The bank can keep the conversion.

Why an ISO dropdown lies to a solo invoice

On the client, MinuteShark is an Ionic + Angular 16 app. Capacitor 7 wraps the same workspace on iOS and Android. Catalog and time entries live in Firebase (Auth, Firestore, Functions). Stripe billing is the seat you pay ElementPragma, Inc. — a different money object from what a client owes you. Mixing those in one “currency engine” is how products accidentally turn a $5 Standard seat into a fake FX position on a consulting PDF.

A consultant in Montreal invoices a US retainer in USD and a local nonprofit in CAD in the same month. The honest document prints the unit the client expects: US$, USD, CAD $, sometimes $ with a note in the footer. An ISO-4217 dropdown that refuses “CAD $” because it is not a three-letter code is a banking form. It is not a letterhead. We already generate invoices as documents with jsPDF, docx, and xlsx. Those libraries will print whatever glyph you stored. They will not fetch a Tuesday afternoon rate from a market data vendor we do not operate.

Internal cost and billable rate already live on the profile as two numbers. Currency is the label those numbers wear. If we converted CAD hours into USD at generate-time, last month’s PDF would not reprint. Trackers that watch budget against cost would drift every time a rate moved. The billable rates guide is the customer map of picking a profile; engineering’s job is not to mutate the unit behind that pick.

What the string is allowed to mean

Why invoices and trackers must not grow a second money object

If invoices printed “USD” from a dropdown on the PDF and trackers used “CAD” from a project field, you would get two truths. Trackers monitor one project or one task against an estimate, a budget, or a revenue goal, and they ask which cost profile to use. Invoices ask the same question after you generate the report. Same pointer: rates, internal cost, currency string. Wednesday’s “you are at 50% of cost” and Friday’s document should not disagree about the unit.

That is also why Stripe stays out of this object. Capacitor apps are the clock, not the cashier; subscription management is on the web. Client money is not ElementPragma money. PostHog tells us whether people actually pick a second profile. It is not a timesheet. Algolia finds Client → Project → Task so you can start a timer. None of those systems should invent a mid-market CADUSD.

Manual rates on an invoice still exist because reality includes a one-off rescue you do not want to immortalize. The named rule is the default. The escape hatch is labeled. Silent AI rewrite of either is not a feature: MinuteShark AI does not invent a currency while you chat, and it does not change entries until you confirm a card. Many actions can be reverted from chat. Guessing “they probably meant USD” is how you reprint a lie.

What we left out on purpose

No live FX feed. No “bill in USD, pay yourself in CAD” button. No native QuickBooks mark-paid loop that pretends remittance is our problem. No marketplace that syncs a Jira hourly field into our profile. Fewer integrations than enterprise tools is honest; custom development exists when a specialized consulting workflow needs a bridge. We do not claim a public developer API as a self-serve Standard checkbox. Enterprise can include application customization and custom branding — that is a conversation, not a hidden currency engine.

We also did not design cost-profile currency as departmental multi-ledger theatre. Primary ICP is freelancers, solo consultants, and tiny teams. If you need five nested legal entities, SSO-as-default, and a treasury workstation before you can type “USD,” you are outside the design center. Workspaces stay isolated: profiles do not leak into another office’s client pool. Cloud sync (Firebase) means the same string is available wherever you generate the invoice — web, iOS, Android — while the bank remains the bank.

SOC2 Type II, ISO27001, encryption, backups: the profile is still just money rules for people you already invited. It is not a reason to screenshot anyone’s desktop. It is not idle detection. It is the opposite of a surveillance product pretending to be payroll.

How we tell if the model is working

  • Can a Montreal consultant keep “CAD — 2026” and “USD — US retainers” as two named profiles without cloning themselves?
  • Does a tracker at 50% of cost use the same unit the invoice will print?
  • Does reprinting last March still show the glyph that document actually used, not this week’s dropdown default?
  • Can someone type “CAD $” without being scolded by an ISO enum?

If the answer depends on a rate we fetched while you hit Generate, we shipped an FX engine. Free text is slower to look “complete” in a demo and faster every Friday after that. Time data should help you think. A currency that keeps converting under the hours is not thinking. It is archaeology with extra decimals. The invoice-as-document argument is the UX. The trackers guide is where that same profile watches a budget. This post is why neither surface is allowed to become a bank.

Previous Post Back to Blog Next Post