calcinai / xero-php

A php library for the Xero API, with a cleaner OAuth interface and ORM-like abstraction.
MIT License
359 stars 262 forks source link

LineItems is null for an invoice with lines #907

Closed bilogic closed 9 months ago

bilogic commented 9 months ago

I queried an invoice XeroPHP\Models\Accounting\Invoice and it showed several items such as ->date, ->invoice_number etc. However, ->LineItems is null which seems incorrect since the copy on Xero has lines.

Is this a known bug?

bilogic commented 9 months ago

Nevermind, found the documentation. Thank you.