mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 20:30:33 +00:00
feat(server): wip sale invoice tax rates
This commit is contained in:
@@ -32,6 +32,7 @@ export interface IItemEntry {
|
||||
projectRefType?: ProjectLinkRefType;
|
||||
projectRefInvoicedAmount?: number;
|
||||
|
||||
taxRateId: number | null;
|
||||
taxCode: string;
|
||||
taxRate: number;
|
||||
taxAmount: number;
|
||||
@@ -51,8 +52,9 @@ export interface IItemEntryDTO {
|
||||
projectRefType?: ProjectLinkRefType;
|
||||
projectRefInvoicedAmount?: number;
|
||||
|
||||
taxCode: string;
|
||||
taxRate: number;
|
||||
taxCodeId?: number;
|
||||
taxCode?: string;
|
||||
taxRate?: number;
|
||||
}
|
||||
|
||||
export enum ProjectLinkRefType {
|
||||
|
||||
@@ -48,9 +48,11 @@ export interface ITaxRateDeletedPayload {
|
||||
trx: Knex.Transaction;
|
||||
}
|
||||
|
||||
|
||||
export interface ITaxTransaction {
|
||||
id?: number;
|
||||
taxRateId: number;
|
||||
referenceType: string;
|
||||
referenceId: number;
|
||||
taxAmount: number;
|
||||
taxName: string;
|
||||
taxCode: string;
|
||||
}
|
||||
taxAccountId: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user