Changelog
All notable changes to this project are documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]
Added
- Project skeleton: gemspec, Zeitwerk bootstrap,
Dolibarr::Clientconfiguration (env-drivenbase_url/token), single error surfaceDolibarr::Client::Error, RSpec suite, RuboCop, CI. - Business wrapper over the
dolibarr-apitransport: domain accessors onDolibarr::Client(invoices,payments,thirdparties,documents,supplier_invoices,recurring_invoices). Dolibarr::Invoices:list/each/all(filter by period, thirdparty, paid/unpaid; transparent pagination),find(ref:|id:),create,validate.Dolibarr::Payments:register(settle the remaining balance and optionally close the invoice in one call) andfor_invoice.Dolibarr::Thirdparties,Dolibarr::SupplierInvoices(read-only) andDolibarr::RecurringInvoices(read-only — Dolibarr 23.0.3 exposes no template write).Dolibarr::Documents#download_invoice_pdf: fetch and decode an invoice PDF to a path.- Value objects
Dolibarr::Invoice,Dolibarr::Payment,Dolibarr::Thirdpartyover a normalised payload. - Restler quirks absorbed: empty-list 404 →
[], string amounts →BigDecimal, 403 →Dolibarr::Client::Forbidden, single-object 404 →Dolibarr::Client::NotFound; transport errors wrapped asDolibarr::Client::Errorwith#causepreserved.