- Fixed possible type errors when EU id or address2 is null in the account
- Changed the API handler so that apart from 404, an exception is thrown
- Added the throwing of
UnauthorizedException
on 401 API responses
- Added Laravel 11 support
- Added PHP 8.3 support
- Added
clientByName()
andclientByEmail()
methods (Thanks @ionutcalara!) - Fixed failing tests with 2024 Sandbox data
- Added state (
draft
,open
*,closed
,cancelled
) to Invoices - Changed the default state of created invoices from draft to open
- Added feature to specify the state of the invoice on creation
- Added retrieve invoice PDF method
- Added retrieve single invoice by id method
- Added number, total, currency and hashcode fields to invoices
- Fixed errors due to uninitialized Invoice annotations
- Added lower and upper annotation support to Invoices
- Fixed
createInvoice::withClient
method when using with a Client model
- Fixed false positive hydration when the API returns no results
- Initial release
- Sandbox or productions accounts can be used
- My Account can be queried
- Invoices can be created
- Clients can be retrieved by id and tax no
- Clients can be created