change source of account id in prepared token to domain account id, create consumer salesInvoiceModule

This commit is contained in:
2026-03-30 13:16:36 +03:30
parent c870a43e35
commit 9cf9209daa
22 changed files with 758 additions and 142 deletions
@@ -54,13 +54,14 @@ export class CreateSalesInvoiceDto {
@ApiProperty({ required: false })
@IsOptional()
@IsObject()
customer?:
| {
first_name: string
last_name: string
}
| CustomerIndividual
| CustomerLegal
customer?: {
customer_individual?: Omit<CustomerIndividual, 'complex_id' | 'customer_id'>
customer_legal?: Omit<CustomerLegal, 'complex_id' | 'customer_id'>
customer_unknown?: {
first_name: string
last_name: string
}
}
}
export class UpdateSalesInvoiceDto extends PartialType(CreateSalesInvoiceDto) {}