dolibarr.bankimport/sql/llx_bankimport_statement.sql
data 94efa59df3 v1.7: Multi-invoice payments and payment unlinking
- Add multi-invoice payment support (link one bank transaction to multiple invoices)
- Add payment unlinking feature to correct wrong matches
- Show linked payments, invoices and bank entries in transaction detail view
- Allow linking already paid invoices to bank transactions
- Update README with new features
- Add CHANGELOG.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-20 09:00:05 +01:00

30 lines
1 KiB
SQL
Executable file

-- Copyright (C) 2026 Eduard Wisch <data@data-it-solution.de>
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
-- Table for PDF bank statements
CREATE TABLE llx_bankimport_statement (
rowid INTEGER AUTO_INCREMENT PRIMARY KEY,
entity INTEGER DEFAULT 1 NOT NULL,
iban VARCHAR(34),
statement_number VARCHAR(20) NOT NULL,
statement_year INTEGER NOT NULL,
statement_date DATE,
date_from DATE,
date_to DATE,
opening_balance DOUBLE(24,8),
closing_balance DOUBLE(24,8),
currency VARCHAR(3) DEFAULT 'EUR',
filename VARCHAR(255),
filepath VARCHAR(512),
filesize INTEGER,
import_key VARCHAR(50),
datec DATETIME,
fk_user_creat INTEGER,
note_private TEXT,
note_public TEXT
) ENGINE=InnoDB;