Here you can see the full list of changes between each release
- Add support for new resources - PR #5 by @tristen-tooming, PR #10 by @jarmokortetjarvi
- Accounting
- Create: Accounting.nv
- Product
- Create & update: Product.nv
- List: ProductList.nv
- Dimension
- Create: DimensionItem.nv
- List: DimensionList.nv
- Purchase Invoice
- Get: GetPurchaseInvoice.nv
- List: PurchaseInvoiceList.nv
- Fix package dependencies configuration
- Housekeeping: Code styling with black, import order with isort
- Fix sales invoice schema for invoicing_customer_country_code
- PR #6: Fixed accounting dimension's Item None value error - @kiuru
- PR #7: Sales invoices: invoice status to attributed version - @ajmyyra
- PR #4: Added VAT code and voucher line NetvisorKey for accounting model - @kiuru
- Breaking change in SalesInvoiceAttachmentLineSchema: the document data and type have own fields now instead of using hacky concatenated string
- Fix schema parsing to work with never versions of deps (tested with marshmallow 2.20.4 and xmltodict 0.12.0, upgrading to marshmallow 3.x.x pending)
- Customer schema: add default reference, default text before / after invoice lines support
- PR #3: Value date and currency for invoices, invoice print format for customers - @ajmyyra
- PR #1: Typo fix in sales invoice number and version bump - @ajmyyra
- Added support for Invoice attachments
- Added support for getting accounting data.
- Fixed compatibility with the latest version of xmltodict. Netvisor.py now requires xmltodict >= 0.10.1.
- Added support for customer's email invoicing address.
- Fixed case problem with product's unit price type.
- Added official Python 3.5 support.
- Added support for invoice line free text field when creating a sales invoice.
- Updated Marshmallow requirement to >= 2.0.0.
- Added support for additional address line when creating/updating a customer.
- Fixed UnicodeEncodeError when making a request containing non-ASCII characters.
- Fixed too strict validation for payment term fields returned by Netvisor API
in
netvisor.sales_invoices.get()
.
- Fixed
netvisor.sales_invoices.get()
crashing when the<SalesInvoiceAmount>
element had attributes in the XML response. - Fixed
netvisor.sales_invoices.get()
crashing when any of the following elements were empty in the XML response:- seller identifier
- invoicing customer address line
- invoicing customer post number
- invoicing customer town
- delivery address name
- delivery address line
- delivery address post number
- delivery address town
- delivery address country code
- accounting account suggestion
- Fixed
netvisor.sales_invoices.list()
crashing when customer code was empty in the XML response. - Fixed
netvisor.sales_invoices.list()
crashing when invoice status had no substatus in the XML response.
- Fixed
netvisor.schemas
package missing from the source distribution.
- Added official Python 3.4 support.
- Added creating and updating of customers and sales invoices.
- Changed response parsing not to rename and restructure the responses to keep the Python API implementation simpler and more consistent with the Netvisor API's XML responses.
- Changed response parsing to use Marshmallow.
- Changed
Request
to takeparams
as a single keyword argument instead of as named variable-length arguments. - Fixed tests to work with responses 0.3.0.
- Added support for InvoiceNumber and InvoicesAboveNetvisorKey parameters to sales invoice listing.
- Changed xmltodict's dict constructor from
OrderedDict
to todict
. - Fixed parsing of sales invoice with multiple lines.
- Initial public release.