dolibarr 21.0.0-beta
functions_fi.lib.php File Reference

A set of finish functions for Dolibarr This file contains rare functions. More...

Go to the source code of this file.

Functions

 dolFICalculatePaymentReference ($invoice_number, $statut, $use_rf)
 Calculate Creditor Reference RF / FI Bank payment reference number.
 
 dolFIGenerateInvoiceBarcodeData ($recipient_account, $amount, $bank_reference, $due_date)
 Calculate payment Barcode data with FI/RF bank payment reference number.
 

Detailed Description

A set of finish functions for Dolibarr This file contains rare functions.

Definition in file functions_fi.lib.php.

Function Documentation

◆ dolFICalculatePaymentReference()

dolFICalculatePaymentReference ( $invoice_number,
$statut,
$use_rf )

Calculate Creditor Reference RF / FI Bank payment reference number.

Parameters
string$invoice_numberInvoice number to generate payment reference
int$statutInvoice status, if draft (0), no reference generating
string$use_rffalse/(0) generate FI Bank payment reference true/(1) Generate European Reference number based on the global Structured Creditor Reference standard (SEPA RF creditor reference)
Returns
string String Payment reference number or RF creditor reference

Definition at line 37 of file functions_fi.lib.php.

◆ dolFIGenerateInvoiceBarcodeData()

dolFIGenerateInvoiceBarcodeData ( $recipient_account,
$amount,
$bank_reference,
$due_date )

Calculate payment Barcode data with FI/RF bank payment reference number.

Parameters
string$recipient_accountAccount number for pank payment
string$amountAmount of invoice payment
string$bank_referenceFI Payment reference number or RF creditor reference
string$due_datePayments due to date
Returns
string String String for FI/RF Payment barcode

Definition at line 77 of file functions_fi.lib.php.