Closed martijnvdbrug closed 3 months ago
The changes in version 4.1.0 of the Vendure plugin for invoices introduce a dedicated interface for exporting credit invoices and implement restrictions on accounting exports when order totals have changed. A new validation method ensures consistency between orders and invoices prior to export.
Files | Change Summary |
---|---|
packages/vendure-plugin-invoices/CHANGELOG.md |
Added summary of changes for version 4.1.0, highlighting new export interface for credit invoices and validation improvements. |
packages/vendure-plugin-invoices/src/services/accounting.service.ts |
Introduced orderMatchesInvoice method for validating order and invoice totals; enhanced export control flow. |
packages/vendure-plugin-invoices/src/strategies/accounting/accounting-export-strategy.ts |
Added exportCreditInvoice method for exporting credit invoices; updated exportInvoice method for clarity. |
packages/vendure-plugin-invoices/src/strategies/accounting/xero-uk-export-strategy.ts |
Consolidated invoice handling logic; updated methods for exporting invoices and credit notes to Xero. |
packages/vendure-plugin-invoices/test/dev-server.ts |
Simplified getReference function to return a static string; added new logic for calculating due dates. |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Description
4.1.0 (2024-08-30)
Checklist
📌 Always:
👍 Most of the time:
📦 For publishable packages:
package.json
CHANGELOG.md
See this example