aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces.ts
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-08-29 11:40:15 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-08-29 11:40:15 +0530
commit6f625bb9741b90ea5272914bf7958eed0f42e885 (patch)
treeb3b0d33f0cab7983710bc2deb1f22f139eddac94 /src/interfaces.ts
parent20b48b0003f198ef51eb982735526011f59c511d (diff)
Fixed SummaryDisplayTR
Diffstat (limited to 'src/interfaces.ts')
-rw-r--r--src/interfaces.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/interfaces.ts b/src/interfaces.ts
index 8363752..53d14c3 100644
--- a/src/interfaces.ts
+++ b/src/interfaces.ts
@@ -59,3 +59,13 @@ export interface Invoice {
Items: Item[]
Transport: Transport
}
+
+export interface InvoiceSummary {
+ TotalQuantity: number
+ TotalRawPrice: number // total price without gst/discount
+ TotalDiscount: number // total amount of discount
+ TotalGST: number // total gst to be paid
+ TotalPriceAfterDiscount: number
+ TotalPriceAfterGST: number
+ TotalRoundedOff: number
+}