From 14a1815553712c7315b9e195e302d97ffb50e974 Mon Sep 17 00:00:00 2001 From: Jonas Kwiedor Date: Thu, 3 Dec 2020 13:14:09 +0100 Subject: [PATCH] Fixing bug in position --- position.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/position.go b/position.go index 6a2c72b..ad36561 100644 --- a/position.go +++ b/position.go @@ -107,9 +107,9 @@ type InvoicePositionObjects struct { AccountEndDate string `json:"accountEndDate"` Address string `json:"address"` Currency string `json:"currency"` - SumNet int `json:"sumNet"` - SumTax int `json:"sumTax"` - SumGross int `json:"sumGross"` + SumNet float64 `json:"sumNet"` + SumTax float64 `json:"sumTax"` + SumGross float64 `json:"sumGross"` SumDiscounts int `json:"sumDiscounts"` SumNetForeignCurrency int `json:"sumNetForeignCurrency"` SumTaxForeignCurrency int `json:"sumTaxForeignCurrency"`