@accounty/bloxs 0.4.6 → 0.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,4 +1,22 @@
1
1
 
2
+ ## [0.4.8](https://github.com/PalmTreeCoding/Accounty/compare/packages-bloxs-0.4.7...packages-bloxs-0.4.8) (2025-12-30)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * **bloxs, e-accounting:** Update invoice filters to use 'ne' for zero checks ([e9329eb](https://github.com/PalmTreeCoding/Accounty/commit/e9329ebfc066259e70f1db6b2c2cc431d8dcfbd9))
8
+
9
+
10
+
11
+ ## [0.4.7](https://github.com/PalmTreeCoding/Accounty/compare/packages-bloxs-0.4.6...packages-bloxs-0.4.7) (2025-12-19)
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * **bloxs:** Correct filtering logic for overdue sales invoices ([0494e91](https://github.com/PalmTreeCoding/Accounty/commit/0494e91f437f016009849f08dec9b194df705e2d))
17
+
18
+
19
+
2
20
  ## [0.4.6](https://github.com/PalmTreeCoding/Accounty/compare/packages-bloxs-0.4.5...packages-bloxs-0.4.6) (2025-12-15)
3
21
 
4
22
  ### Dependency Updates
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@accounty/bloxs",
3
- "version": "0.4.6",
3
+ "version": "0.4.8",
4
4
  "dependencies": {
5
5
  "axios": "^1.13.2",
6
6
  "bignumber.js": "^9.3.1",
package/src/bloxs.js CHANGED
@@ -86,8 +86,8 @@ class Bloxs extends core_1.default {
86
86
  version: new Date().getTime(),
87
87
  data: (await this.get('/SalesInvoices', {
88
88
  $filter: [
89
- options.state === 'open' && 'TotalValueOutstanding gt 0',
90
- options.state === 'overdue' && `DueDate ge DateTime'${(0, format_1.format)(new Date(), 'yyyy-MM-dd')}'`
89
+ options.state === 'open' && 'TotalValueOutstanding ne 0',
90
+ options.state === 'overdue' && `DueDate le DateTime'${(0, format_1.format)(new Date(), 'yyyy-MM-dd')}'`
91
91
  // options.version && `LastModified+ge+DateTime'${format(options.version, 'yyyy-MM-dd')}'`
92
92
  ].filter(Boolean).join(' and ')
93
93
  })).map((invoice) => {