Commit f6e2e1a
committed
v1.3.7
Settings:
- Fix blank icon in settings (Issue #21)
- Settings page split into 4 tabs: General, Authentication, Outgoing, Incoming
- Per-environment auth credentials — switch TEST/DEMO/PRODUCTION without re-entering tokens
- Setting to disable the "Validate and Upload" button for making validate/enter payment/then upload to KSeF a bit more obvious
- Add default invoice payment settings to set terms, method, and account during invoice creation automagically, can be overridden by thirdparty values
- VAT rate code helper in General settings to enable/disable ZW/RC/NP/NP2/WDT/EX codes
- Automatically adds KSeF VAT codes into dictionary if missing
- Notes default to Simple-Stopka on new installs
Extrafields/Notes:
- Third Party and Product extrafields can be created/managed from the module setup page. Fields not made with KSeF module have an "ext" badge to differentiate pre-existing vs added within module
- Project extrafields support
- Third Party extrafields support in XML output
- Extrafields assigned as per-line extrafields result in these fields appearing on the invoice line-items, allowing for per-item additional notes that link back to invoice line number
- Extrafield notes now have target — each field routable to either DodatkowyOpis or StopkaFaktury
- Fix XML build error after extrafield deletion
Invoices:
- After payment is recorded, payment status sent in FA(3) XML (Issue #24)
- Multiple payments status and payment detail breakdown for incoming invoices
- P_10 line discount: include discount amount in FaWiersz when remise_percent > 0, calculated as unitPrice × qty − lineTotal
- NrZamowienia sourced from ref_client (default), linked sales order number, or custom extrafield. Multiple linked orders on a single invoice results in multiple Zamowienia numbers on the invoice (Issue #23)
- NrUmowy sourced from third party extrafield so contract number auto-populates from customer record (Issue #23)
- NrUmowy also supports invoice extrafield source
- Note_public now routable to StopkaFaktury instead (Issue #23). The options are now Simple-Stopka, Simple-DodatkowyOpis, and Key:Value-DodatkowyOpis
- Boilerplate invoice footer note on every invoice in module settings (such as for additional company information, legal disclaimers, etc)
- Explicit WDT and EX VAT source codes for intra-EU and export lines
- Fix line descriptions to use full line desc (with serial numbers, order refs, multiline text as configured on dolibarr page) instead of just product_label, truncated to 512 chars per schema
VAT:
- Tax exemption support - disabled by default. When enabled and legal basis configured, if invoice has ZW lines puts P_19+P_19A/B/C into XML. Has global default plus per-product extrafield override. Settings hidden when disabled
- Fix VAT summary when invoice mixes 22%+23% or 7%+8% rate lines
- VAT summary now takes into account KR/ZW/etc
The Rest:
- KSeF-style PDF preview for draft and validated invoices before submission (Issue #22)
- Registries section on PDF only shows columns (KRS/REGON/BDO) that have data
- Upload to KSeF button available on paid/closed invoices that haven't been uploaded
- Updated How To Use section explaining setup for ZW/RC/NP/WDT codes, adding rates, and exemption setup guide
- Migrations to support new auth + notes settings changes1 parent 34214a8 commit f6e2e1a
22 files changed
Lines changed: 4820 additions & 1667 deletions
File tree
- admin
- class
- core/modules
- langs
- en_US
- pl_PL
- lib
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
114 | 148 | | |
115 | 149 | | |
116 | 150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
112 | 146 | | |
113 | 147 | | |
114 | 148 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
279 | 280 | | |
280 | 281 | | |
281 | 282 | | |
282 | | - | |
283 | | - | |
| 283 | + | |
| 284 | + | |
284 | 285 | | |
285 | 286 | | |
286 | 287 | | |
| |||
311 | 312 | | |
312 | 313 | | |
313 | 314 | | |
314 | | - | |
315 | | - | |
316 | | - | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
317 | 318 | | |
318 | 319 | | |
319 | 320 | | |
320 | | - | |
321 | | - | |
| 321 | + | |
| 322 | + | |
322 | 323 | | |
323 | 324 | | |
324 | 325 | | |
| |||
0 commit comments