feat(accounting): add invoice preparation workflow
This commit is contained in:
parent
ffffb68898
commit
46eeaa1f2e
17 changed files with 519 additions and 44 deletions
|
|
@ -47,10 +47,14 @@ export interface LexwareLineItemMapping {
|
|||
|
||||
export interface LexwareInvoicePreparation {
|
||||
ready_for_export: boolean;
|
||||
export_status: "prepared" | "transferred" | "booked" | "cancelled";
|
||||
payload_summary: Record<string, unknown>;
|
||||
customer_mapping: LexwareCustomerMapping;
|
||||
line_item_mapping: LexwareLineItemMapping[];
|
||||
tax_mapping: Record<string, unknown>;
|
||||
warnings: string[];
|
||||
sync_record_id: number;
|
||||
accounting_note: string;
|
||||
transferred_at: string | null;
|
||||
transferred_by_user_id: number | null;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -220,6 +220,10 @@ export interface RepairEstimate {
|
|||
lexware_invoice_number: string | null;
|
||||
lexware_invoice_status: string | null;
|
||||
lexware_synced_at: string | null;
|
||||
accounting_export_status: "prepared" | "transferred" | "booked" | "cancelled" | null;
|
||||
accounting_note: string | null;
|
||||
accounting_transferred_at: string | null;
|
||||
accounting_transferred_by_user_id: number | null;
|
||||
created_by_user_id: number | null;
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue