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

Move PEPPOL-EN16931-R046 rule to EN16931? #362

Open
juskoljo opened this issue Dec 8, 2023 · 3 comments
Open

Move PEPPOL-EN16931-R046 rule to EN16931? #362

juskoljo opened this issue Dec 8, 2023 · 3 comments

Comments

@juskoljo
Copy link

juskoljo commented Dec 8, 2023

Hi,

Would it be possible to move rule PEPPOL-EN16931-R046 from PeppolBIS 3.0 or add similar rule to EN16931 schematron to enforce validity of item net price (BT-146) when there is unit level discount (BT-147)? (Item gross price - Item price discount)

According to EN16931 specification calculation logic for BT-146 is "Item gross price – Item price discount"

https://docs.peppol.eu/poacc/billing/3.0/rules/ubl-peppol/PEPPOL-EN16931-R046/

BR,
Jussi Koljonen

@oriol oriol added this to the 1.3.12 (May-24) milestone Feb 27, 2024
@bdewein
Copy link
Contributor

bdewein commented Apr 3, 2024

Hello,

such a rule should consider that BT-147 is an optional element (0..1).
The EN 16931 does not clearly state that BT-147 is mandatory with BT-148 and/or that identical amounts in BT-146 and BT-148 (assuming BT-147 = 0) are not permitted. An according rule should set BT-147 to zero if not specified. PEPPOL-EN16931-R046 fails if BT-148 exists but BT-147 does not.

@oriol
Copy link
Collaborator

oriol commented Apr 6, 2024

This should be discussed and agreed in CEN/TC 434.

@SimonsPaul
Copy link
Collaborator

This is a Peppol BIS3 rule. This will not be checked at EN16931-1 level.

Gross price is an optional element and used only for information only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants