feat: add Pedimento relationship and update invoice handling for improved data management
This commit is contained in:
@@ -15,6 +15,14 @@ export interface InvoiceComplianceMx {
|
||||
pedimento_r1?: number | null;
|
||||
pedimento_k1?: number | null;
|
||||
remesa?: number | null;
|
||||
// Pedimento relationship data (when joined)
|
||||
pedimento?: {
|
||||
pedimento_number?: string;
|
||||
pedimento_code?: string;
|
||||
customs_office?: string;
|
||||
license?: string;
|
||||
year?: string;
|
||||
} | null;
|
||||
aduana?: string | null;
|
||||
port_of_entry?: string | null;
|
||||
destination?: string | null;
|
||||
@@ -282,6 +290,7 @@ export interface CreateInvoiceData {
|
||||
}
|
||||
|
||||
export interface UpdateInvoiceData {
|
||||
id: number; // Required by backend
|
||||
operation_type?: OperationType | null;
|
||||
invoice_type?: string | null;
|
||||
document_type?: string | null;
|
||||
|
||||
Reference in New Issue
Block a user