Company experience · Smartness
From invoicing to the new frontend: more autonomy for the people who use SmartPay.
In SmartPay, Smartness's payment collection service, I contributed to three parts: a flow that lets the Finance team correct invoicing on its own, the new frontend for configuring payment automation, and a guided onboarding path. The common thread: what depended on developers or scattered processes becomes an operation people run themselves, with checks and confirmations where needed.
- Projects
- SmartPay
- Status
- Contribution within a company team
- Period
- 2026 – present
- Technologies
- TypeScript
- Node.js
- Fastify
- Vue 3
- SQL
- Chargebee
- TOTP
Operation
The Finance operator picks the document and the operation to run.
- Invoice
- DEMO-2026-0142
- Customer
- Example Property Ltd
- Amount
- €1,250.00
Operation
Review
The system checks permissions and summarises what will be created and synced.
Permission verified for the Finance role
- Credit note for the invoice amount
- New invoice with corrected details
- Sync with Chargebee
- Entry in the document register
Idempotent operation: sending it again does not create duplicate documents.
Confirmation
Sensitive actions require the right role and a TOTP code.
Role: Finance · authorised
TOTP code
Effect on documents
The credit note and the new invoice enter the register and are synced with Chargebee.
- DEMO-2026-0142Original invoice · credited€1,250.00
- NC-DEMO-0031Credit note-€1,250.00
- DEMO-2026-0187New invoice€1,250.00
- Document register updated
- Chargebee synced
Fictitious data. This explains the flow; it is not a working interface.
01The problem
Whenever an invoice had to be credited and reissued, the Finance team had to ask developers to step in: a recurring administrative task depended on the technical team being available. Automatic payment collection also needed a home of its own: settings lived inside individual products, and activating a customer followed different paths depending on the originating product.
02My contribution
On invoicing I built the operational interface in Vue 3, the role-based access controls and the confirmations for sensitive actions; I defined the steps with the product owner and tech lead, coordinated changes across three repositories and verified the flow with end-to-end tests on staging. The flow illustrated on this page is the invoicing one. I am now also working on the new SmartPay frontend for configuring payment automation, and on the onboarding flow that takes a customer from activation to configuration.
03How it works
- 01Person
Choosing the operation
The Finance operator selects the invoice and the type of operation: credit and reissue, or credit only.
- 02System
Permission check
The services check that the user’s role allows that operation.
- 03Person
Reviewing the effect
The interface summarises the documents that will be created; the operator checks before going ahead.
- 04Person
TOTP confirmation
Sensitive actions require a TOTP code: without confirmation the operation does not start.
- 05System
Idempotent execution
The services record the credit note and the new invoice and sync Chargebee; repeating the request does not duplicate documents.
04Integrations
Application services · TypeScript, Node.js, Fastify
- Vue 3 interfaceCollects the operator’s choice and confirmation and shows the outcome.two-way
- SQL databaseRegister of invoices and credit notes, with the related migrations.two-way
- ChargebeeReceives the billing documents that reflect the operation.outbound
05Where people step in
Decisions stay with people: the Finance operator chooses the operation, reviews its effect and confirms it. In onboarding the customer moves one step at a time and can stop and resume where they left off; acceptances are recorded with user and date. The system enforces permissions and confirmations and never credits invoices on its own initiative.
06Technical decisions
- Idempotent operations: repeating the same request does not create duplicate documents.
- TOTP confirmation for sensitive actions, on top of role-based permissions.
- A register of invoices and credit notes, with the related database migrations.
- Changes coordinated across three repositories and verified with end-to-end tests on staging.
- Step-by-step onboarding, with state saved at each step and resumed at the next login.
- Access by role and by organisation: people with roles on a single property can view, not edit.
- The same collection settings are configured during onboarding and edited afterwards from the automations page, with no second version to keep in sync.
- Acceptance of terms and conditions recorded server-side, with user and date.
07Status and evidence
Contribution within a company team
Illustrative reconstruction with fictitious data: no company screenshots or data. The invoicing flow was verified with end-to-end tests on staging. The new frontend and the onboarding are under development: this page reports no screenshots, usage data or production results.