Closed HashNotAdam closed 2 years ago
Hi @HashNotAdam thanks for raising this query. Can you confirm if you are looking at 'Journal' or 'Manual Journal'. For Manual Journal, LineAmount is required see https://developer.xero.com/documentation/api/accounting/manualjournals/ For Journals, it uses NetAmount, GrossAmount, TaxAmount instead. Please see https://developer.xero.com/documentation/api/accounting/journals. Reopen if that doesn't answer your question. Thanks
XeroRuby::Accounting::JournalLine does not have a
line_amount
attribute but this is an API required field.Extending the class like this solved the issue for me: