Releases: mathewmeconry/bexio
Releases · mathewmeconry/bexio
Taxes & Accounting
Bills V4, OutgoingPayments & BankAccounts
Deprecation
- Deprecated old Bills implementation using the
/2.0/kb_billendpoint. - Deprecated old Payments implementation using the
/2.0/kb_bill/${billId}/paymentendpoint.
What's Changed
- feat: Combines bills and their payments into one class => BillsV4
- feat: implement bexio Bills V4 API endpoint by @mathewmeconry in #73
- fix(bills): add BillStatusFilter enum and update list method documentation by @mathewmeconry in #74
- feat: add deletePayment method by @mathewmeconry in #76
- feat: implement OutgoingPayments and BankAccounts resources by @mathewmeconry in #75
Full Changelog: 3.3.0...3.4.0
Currencies & Payment Invoices
What's Changed
- feat: add new search criteria and extend Invoice interface with additional fields by @mathewmeconry in #68
- Feat: Adds support for currencies by @mathewmeconry in #69
- feat: add Payment interface and methods for creating and retrieving payments in Invoices by @mathewmeconry in #70
Full Changelog: 3.2.1...3.3.0
Structured Addresses
What's Changed
- Switching to Structured Addresses by @michael-schmid-wlw in #65
Full Changelog: 3.2.0...3.2.1
Invoice revert_issue & Updates
Breaking change
This package now requires a node version of >=18.14.0!
What's Changed
- Added revert_issue method to Invoices by @michael-schmid-wlw in #63
- Updates deps and node versions by @mathewmeconry in #64
New Contributors
- @michael-schmid-wlw made their first contribution in #63
Full Changelog: 3.1.1...3.2.0
Invoiced type patch (v3.1.1)
What's Changed
- Bump semver from 5.7.1 to 5.7.2 by @dependabot in #55
- Bump decode-uri-component from 0.2.0 to 0.2.2 by @dependabot in #47
- Fixes wrong types in invoice create by @elias-summermatter in #61
Full Changelog: 3.1.0...3.1.1
Invoices (v3.1.0)
What's changed
- Thanks to @elias-summermatter we have now partial invoice support (#50)
- Updates node dependencies to fix some security issues
Bexio API v3
What's changed
- removes oauth2 flow (breaking change)
- refactors constructor to work with tokens instead of oauth2 credentals (breaking change)
- adds Items/Article endpoint
- aligns version numbers to Bexio's API version number
- removes fake login functionality (breaking change)
What is an API Token?
TLDR
It is another way of authentication against the new API. Makes life much easier and simpler.
For more information please read the official documentation. http://docs.bexio.com/#section/Authentication/API-Tokens
Where do I get a token?
Go here https://office.bexio.com/index.php/admin/apiTokens and login with your Bexio account
What permissions does this token have?
That's a tricky question...
According to the documentation the token inherits the permission of the user, who creates the token.
This is the official statement from Bexio in the documentation:
The scope of access of the token is determined by the scope of the super admin’s access that creates the token.
bexio v3 api
What's changed
- rewrite to use the bexio v3 api
- removes oauth2 implemenation
- adds bexio token authorization (http://docs.bexio.com/#section/Authentication/API-Tokens)
- makes tests unfunctional (will be fixed on the real release)
- updates npm packages
Breaking changes
- removed oauth2 implementation
Linked issues
Fixes security issue
Bump codecov from 3.6.1 to 3.6.5