Skip to content

Releases: InPoint-Automation/Dolibarr-KSeF-Module

v1.4.3

26 Jun 18:02

Choose a tag to compare

v1.4.3

  • Fix NrEORI emitted incorrectly in XML (#32) and not properly displayed in PDF
  • Add missing param key in podmiot3
  • Add a missing escaped % in translations
  • Visualization displays warunki transakcji properly
  • Add boolean option to parse date prefix from NrUmowy extrafield to fill in Data Umowy
  • Minor visualization improvements to PDF

v1.4.2

21 Jun 15:55

Choose a tag to compare

v1.4.2

  • Add CRSF tokens to forms that were missing them (Issue #31)

v1.4.1

01 Jun 21:36

Choose a tag to compare

v1.4.1 (pre-release)

This update sat as pre-release for about 10 days to allow for testing, and is now changed to a final release.

  • Update default timeout to 7s instead of 5s and make it configurable in setup->other settings (Issue #27)
  • Add support for third entity to invoice Podmiot3 (Issue #28) Currently, supports up to 20 per invoice, with IDWew for branches too. Payer entity-to-invoice payments must be manually reconciled.
  • Per-invoice control of: MPP/split payment, FP, self-billing, cash accounting, reverse charge. Either sources from invoice/customer extrafield or always-on. Reverse charge supports per-customer default + per-invoice override. (Issue #29)
  • Fixed issue with auto-generated products/third parties with quotes or other special characters flagging WAF and not importing (issue #30)
  • More improvements to PDF visualization including to properly display above changes, fixes for multiple bank accounts and a couple header renderings
  • Fix \n symbol being added by html stripping when newlines detected when importing

v1.4.0

21 May 14:15

Choose a tag to compare

v1.4.0

  • Dolibarr replacement invoices repurposed as full correction invoices invoices. Supports both differential and before/after line methods, and allows for corrections to corrections.
  • Replacement invoices support correcting partially and fully paid invoices
  • Entire correction chain is shown on each of the invoices within that chain
  • Hooks for simple/double-entry accounting to manage corection deltas - may not fully support cash-basis tax mode.
  • Add confirmation (can be disabled in outgoing invoice options) with PDF preview for upload and PDF preview after completion with save/print options
  • Add Buyer ID, EORI fields
  • Add GTU, procedura, and UUID support for line items
  • FP and TP invoice flag support
  • Reorganized outgoing invoice settings page (again)
  • Fix VAT rate buckets for export/exempt/reverse charge
  • KSeF-style PDF fixed formatting and add page numbering
  • Update How-To-Use page with the above changes

v1.3.7

07 May 13:23

Choose a tag to compare

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 changes

v1.3.6

19 Apr 13:25

Choose a tag to compare

v1.3.6

  • Add check for whether module was enabled/disabled after updating, and a notification in settings menu to do so if it has not
  • Notes support for outgoing invoices, sourced from public notes (simple or key:value modes) and/or selected invoice extrafields (Issue #19)
  • Can preview the notes on the invoice card and in the notes editing page.
  • Added info to the How To Use page

v1.3.5

04 Apr 12:45

Choose a tag to compare

v1.3.5

  • KSeF system monitoring via Latarnia/Lighthouse API and visibility on dashboard/setup/submission/incoming pages
  • If the KSeF Latarnia indicates an outage, the system shows a warning banner for maintenance/failures and updates the offline deadline calculations based on outage type
  • New cron job to poll the KSeF Lighthouse API, default 15min
  • Reworked the KSeF status dashboard
  • Added documentation about making sure bank information is included to How to Use tab (Issue #19)
  • Resolve PDF include warnings (Issue #18)
  • Fix missing KSeF number on the Dolibarr invoice (Issue #15)

v1.3.4

29 Mar 19:34

Choose a tag to compare

v1.3.4

  • Potential fix for KSeF-style PDF generation failure (issue #14)
  • Better error messages when PDF generation fails

v1.3.3

28 Mar 07:28

Choose a tag to compare

Please remember to disable/re-enable the module after updating

v1.3.3

  • Payment status, date, and method from KSeF XML displayed on incoming invoice card, import preview, and supplier invoice card
  • Update phpseclib version
  • Validate & Add Payment button on draft supplier invoices when full payment data (including payment method) available from KSeF xml invoice.
  • Map KSeF FormaPlatnosci codes to Dolibarr payment types, pre-fill on import
  • Date of Sale from KSeF XML written to supplier invoice extrafield during import
  • Fix missing ksef.lib.php include in KsefClient (issue #13)
  • Removed supplier not found translation extra "NIP" text in translation
  • Added missing Polish translation for Date of Sale extrafield
  • Fix cron job classesname not updated by 1.3.2 migration (issue #11) and re-runs xml parsing to grab the date of sale data for incoming invoices
  • KSeF-style PDF visualization now works for offline invoices with dual QR codes (OFFLINE + CERTYFIKAT)
  • parser now fully parses and handles advance payment invoices as deposit invoices
  • Add offline invoice capability to the KSeF-style PDF visualization
  • For outgoing invoices the KSeF-style PDF visualization auto-runs and stores the PDF after creating offline invoice or successful submission
  • Handle improper incoming correction invoices when only quantity changes
  • Fix supplier lookup field mappings using db columns instead of php properties

v1.3.2

23 Mar 19:25

Choose a tag to compare

Please remember to disable/re-enable the module after updating

v1.3.2

  • Fix issue #9. v1.3.0 improved invoices handling "0" values by checking for null, but fields were still initialized to 0. Now initialized null.
  • Add migration to re-parse incoming xml for v1.3.2
  • Configurable field mappings for NIP, KRS, REGON, BDO instead of hardcoded (issue #10)
  • Can write translation overrides directly from settings page with configured mappings
  • Warn when multiple identifiers are mapped to the same source field
  • Auto-create suppliers with KRS/REGON/BDO from parsed incoming invoice XML
  • Updated "How To Use" page with translation overrides
  • Setup page is getting long so wrapped all the settings that are applied by save button together in an outline box
  • Add inference for buyer country from VAT prefix when third party country isn't set
  • Fix Cron jobs have old classname (issue #11)