Switch to amount due for Xero invoices
This commit is contained in:
parent
e6683a0450
commit
5f387a7a16
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ instance FromJSON XeroInvoice where
|
||||||
cN <- c .: "Name"
|
cN <- c .: "Name"
|
||||||
cu <- obj .: "CurrencyCode"
|
cu <- obj .: "CurrencyCode"
|
||||||
cR <- obj .: "CurrencyRate"
|
cR <- obj .: "CurrencyRate"
|
||||||
total <- obj .: "Total"
|
total <- obj .: "AmountDue"
|
||||||
status <- obj .: "Status"
|
status <- obj .: "Status"
|
||||||
d <- obj .: "Date"
|
d <- obj .: "Date"
|
||||||
pure $
|
pure $
|
||||||
|
|
Loading…
Reference in a new issue