aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces.ts')
-rw-r--r--src/interfaces.ts14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/interfaces.ts b/src/interfaces.ts
index bc355ff..04e7d51 100644
--- a/src/interfaces.ts
+++ b/src/interfaces.ts
@@ -10,14 +10,16 @@ export interface Item {
Model: string
Description: string
Quantity: number
- UnitPrice: number
+ UnitPrice: number // price without tax/discount
TotalValue: number // UnitPrice * Quantity
- Discount: number
+ Discount: number // percentage of discount
+ DiscountValue: number
HSN: number // string??
- TotalGST: number
- SGST: number
- CGST: number
- IGST: number
+ TotalGST: number // gst percentage
+ SGST: number | boolean
+ CGST: number | boolean
+ IGST: number | boolean
+ TotalGSTValue: number // total tax
// category and brand
}