aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces.ts
diff options
context:
space:
mode:
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
+}