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
1 changed files with 1 additions and 1 deletions

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 $