Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add payment reference number and types #31378

Open
2 of 16 tasks
sonikf opened this issue Oct 13, 2024 · 5 comments
Open
2 of 16 tasks

Add payment reference number and types #31378

sonikf opened this issue Oct 13, 2024 · 5 comments
Assignees
Labels
Feature request This is a feature request

Comments

@sonikf
Copy link
Contributor

sonikf commented Oct 13, 2024

Feature Request

Payment reference number mainly helps companies identify payments.

Use case

Using payment reference number in invoices and PDF(invoice, proposal, order) makes it easy for debtor to quickly pay and for creditor upon receipt of the payment, to link the payment to their sales invoice.

Types

International

Customer code, contract ref, invoice ref or a combination can be used as a unique payment id.

Europe

Through Single Euro Payments Area (SEPA) banks already implement various methods.

  1. Belgium is using the so called Structured communication based on ISO 20022 standard.
    https://support.nickel.eu/en-be/how-do-i-create-structured-communication-when-making-transfer

  2. Finland is using its own implementation of Structured Creditor Reference(RF), based on
    ISO 11649 with a string of 4-20 characters based on the invoice number.

  3. Germany, Greece, Switzerland and possibly other countries are using Structured Creditor Reference(RF), an international business standard based also on ISO 11649 implementation with an alphanumeric string, up to 25 characters long which adds more flexibility as it can also be used per third party.

relevant link
https://www.dolibarr.org/forum/t/how-are-you-using-dolibarr-without-being-able-to-issue-payment-reference-numbers/24929/22
https://pbs.twimg.com/media/ECkcCF-U4AAoJ0c.jpg:large

Suggested implementation

  • Add field payment_reference in llx_facture table
  • Add field tp_payment_reference in llx_societe table
  • Add option for user to select payment reference type
  • Add per third party RF generation options like customer/vendor code in societe/card.php
  • Show selected type generated field in validated invoice, proposal, sales cards
  • Add payment_reference in relevant PDF templates

Suggested steps

No response

@sonikf sonikf added the Feature request This is a feature request label Oct 13, 2024
@sonikf sonikf changed the title Add payment reference number and types in invoices Add payment reference number and types Oct 13, 2024
@aspangaro aspangaro self-assigned this Oct 15, 2024
@sonikf
Copy link
Contributor Author

sonikf commented Oct 15, 2024

@aspangaro
Thank you!
I started working on international RF.
As from 18 November 2024, it will be no longer necessary to use a Finnish creditor reference as the basis for generating an RF Creditor Reference, so changes must be made there too.
Maybe @mikko80 can help.
Can you or @eldy create an empty repo to collaborate on this as it has many moving parts and planning and discussion required!

@mikko80
Copy link
Contributor

mikko80 commented Oct 22, 2024

Also need to add Finnish legacy payment reference and Finnish legacy payment barcode (PDF) / virtual barcode (email).
Does we have any place to collaborate?

@sonikf
Copy link
Contributor Author

sonikf commented Oct 23, 2024

Anyone willing to collaborate on this please state your intention here so you can be added as a team member in https://github.com/DoliGreece/payment-reference

@eldy
Copy link
Member

eldy commented Oct 25, 2024

@aspangaro Thank you! I started working on international RF. As from 18 November 2024, it will be no longer necessary to use a Finnish creditor reference as the basis for generating an RF Creditor Reference, so changes must be made there too. Maybe @mikko80 can help. Can you or @eldy create an empty repo to collaborate on this as it has many moving parts and planning and discussion required!

May be you can use you own repo so you can manage everything yourself...

@sonikf
Copy link
Contributor Author

sonikf commented Oct 25, 2024

Thanks @eldy
I already did, she my previous comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request This is a feature request
Projects
None yet
Development

No branches or pull requests

4 participants