style: inter module integration

This commit is contained in:
Nathnael
2026-08-13 06:54:54 +00:00
parent e0f18f17b3
commit d261d6ea7c
35 changed files with 2104 additions and 2037 deletions

View File

@@ -930,10 +930,19 @@ export interface ClearanceView {
importReleaseGranted?: boolean;
}
/** Company an invoice is billed to (minimal projection). */
/**
* Company an invoice is billed to. `findById` returns the full `Company`
* relation, not a stripped projection — these extra fields are what the
* backoffice invoice detail page's recipient card shows.
*/
export interface IInvoiceCompany {
id: string;
name: string;
tin?: string | null;
vatNumber?: string | null;
phone?: string | null;
email?: string | null;
address?: string | null;
}
/** Company profile (importer/exporter/forwarder/…) an invoice is billed to. */