Switch to amount due for Xero invoices

This commit is contained in:
Rene Vergara 2022-09-01 10:42:41 -05:00
parent e6683a0450
commit 5f387a7a16
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2

View file

@ -192,7 +192,7 @@ instance FromJSON XeroInvoice where
cN <- c .: "Name"
cu <- obj .: "CurrencyCode"
cR <- obj .: "CurrencyRate"
total <- obj .: "Total"
total <- obj .: "AmountDue"
status <- obj .: "Status"
d <- obj .: "Date"
pure $