Portfolio Invoice Warehouse
An invoice from the right company in a minute
A custom system where managers issue invoices on behalf of several companies in different jurisdictions. Each company has its own details, numbering, currencies and branded PDF letterhead with its logo and stamp.
Project
Invoice Warehouse
- Client
- A business operating through several companies in different jurisdictions Managers issue invoices to partners, and every invoice has to come from the right company.
- System
- An internal system for creating invoices and PDF documents Each company has its own details, bank information, logo, stamp and letterhead template.
- Our part
- Process analysis, data structure, interface and back end Also the PDF letterhead templates for each company, access rights, testing and rollout.
- Stack
-
- PHP
- Laravel
- Filament
- Livewire
- MariaDB
- mPDF
- Control
- Change history for every record You can see who changed an invoice, a company or a counterparty, and when.
The task
Several companies, several letterheads
Invoices went out on behalf of different companies, and each had its own rules: details, numbering, currencies and the look of the document. All of it lived in separate files and in the managers’ heads.
A letterhead for each company
An invoice has to look like that company’s own document: its logo, stamp, bank details and layout. A mistake in the letterhead or the details means an invoice that has to be redone.
Numbering without clashes
Each company keeps its own invoice numbering by year. Two identical numbers for one company are not allowed, even when several managers work at the same time.
Different currencies
The companies work in different currencies, and each has its own list of allowed ones. An invoice must not go out in a currency the company doesn’t use.
Managers see only their own
Each manager works with their own invoices and counterparties; only the administrator sees the full picture across all companies.
Solution
Details, numbering and letterhead from the company card
The company sets the rules
The administrator fills in the company card once: details, bank information, logo, stamp, number prefix, allowed currencies and letterhead template. From then on the system puts them into every new invoice.
Number and currency set automatically
As soon as a manager picks a company, the system suggests the next free number in the “prefix + year + sequence” format and limits the currency to the allowed ones. A number already in use is rejected, with the next free one suggested.
PDF on the company’s template
A finished invoice downloads as a PDF on the company’s letterhead, with its logo and stamp, Cyrillic included. Letterhead templates are edited in the admin panel, and every save is kept as a separate version.
Capabilities
Invoicing for several companies
01 · 4
Invoices
- Line items with quantity, unit and price
- Net, tax and gross totals calculated automatically
- Statuses: draft, issued, paid
- Copy an invoice with a new number and today’s dates
02 · 4
Companies and counterparties
- Details, logo and stamp for each company
- Own numbering and allowed currencies
- Each manager’s own list of counterparties
- Counterparty details saved in the invoice as of its issue date
03 · 3
Documents
- PDF on the company’s letterhead
- Templates edited in the admin panel
- Template version history with restore
04 · 3
Control
- Administrator and manager roles
- Change history for every record
- Invoice statistics by company and period
Result
The right invoice from the right company
A manager picks the company and the counterparty, adds the line items and gets a ready PDF on that company’s letterhead, with the right details, number and currency.
Numbering stays consistent, each manager works with their own invoices, and the administrator sees overall statistics and the change history.