HTML invoicing app producing PDF invoices for freelancers. Configuration file allows entities to offer standard lines and rates for freelancers not used to providing invoices.
Find a file
Claude f90718ba34
Five fixes to invoice form and PDF
- Date picker: change invoice date from month picker to full date picker
  (type=date, formatted as "19 May 2026" in output)

- Invoice currency: add currency selector under invoice date, populated
  from config.currencies list, saved to localStorage; shown in invoice
  meta block on both preview and PDF

- Recipient currency: add currency field to each charge-to entry in
  config.yml; selecting a predefined recipient auto-sets invoice currency

- Lock predefined recipients: selecting a predefined charge-to entry
  locks all its fields (pointer-events off + muted style via #ct-fields
  .locked); switching to Other or clearing unlocks them

- Fix foreign-currency exchange rate calculation: the formula was
  inverted (per / rate instead of per * rate). If 1 USD = 32 local and
  per-item is USD 100, local price is now correctly 100 × 32 = 3200,
  not 100 / 32 = 3.125. Fix applied in calcFxFromPer, calcLine display,
  and gatherData (foreignTot = per × qty, the foreign-currency total).
  Updated fx note text to the specified format:
  "Converted from USD: 1 USD = 32.00000 THB. Per item: USD 100.00,
  line total: USD 500.00"

https://claude.ai/code/session_015iyCBgoTXNNqaErR287U1u
2026-05-19 08:09:39 +00:00
app Five fixes to invoice form and PDF 2026-05-19 08:09:39 +00:00
docs/devdocs Add project specification for kbenestad/invoice 2026-05-19 00:54:22 +07:00
README.md Initial commit 2026-05-18 23:16:11 +07:00

invoice

HTML invoicing app producing PDF invoices for freelancers. Configuration file allows entities to offer standard lines and rates for freelancers not used to providing invoices.