Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

BR-CO-16 triggered on UBL for 1.3.3 #242

Closed
Assignees
oriol
@phax

Description

@phax

Hi guys,
since the latest 1.3.3 update, the following UBL block is invalid:

 <cac:LegalMonetaryTotal>    <cbc:LineExtensionAmountcurrencyID="EUR">10781.25</cbc:LineExtensionAmount>      <cbc:TaxExclusiveAmountcurrencyID="EUR">10781.25</cbc:TaxExclusiveAmount>      <cbc:TaxInclusiveAmountcurrencyID="EUR">12829.69</cbc:TaxInclusiveAmount>      <cbc:AllowanceTotalAmountcurrencyID="EUR">0</cbc:AllowanceTotalAmount>      <cbc:ChargeTotalAmountcurrencyID="EUR">0</cbc:ChargeTotalAmount>      <cbc:PrepaidAmountcurrencyID="EUR">12829.69</cbc:PrepaidAmount>      <cbc:PayableRoundingAmountcurrencyID="EUR">0</cbc:PayableRoundingAmount>      <cbc:PayableAmountcurrencyID="EUR">0</cbc:PayableAmount>  </cac:LegalMonetaryTotal>

I think the calculation model would now requireTaxInclusiveAmount to be 0???

[BR-CO-16]-Amount due for payment (BT-115) = Invoice total amount with VAT (BT-112) -Paid amount (BT-113) +Rounding amount (BT-114).]]; (exists(cbc:PrepaidAmount) and not(exists(cbc:PayableRoundingAmount)) and (xs:decimal(cbc:PayableAmount) = (round((xs:decimal(cbc:TaxInclusiveAmount) - xs:decimal(cbc:PrepaidAmount)) * 10 * 10) div 100))) or (not(xs:decimal(cbc:PrepaidAmount)) and not(xs:decimal(cbc:PayableRoundingAmount)) and xs:decimal(cbc:PayableAmount) = xs:decimal(cbc:TaxInclusiveAmount)) or (xs:decimal(cbc:PrepaidAmount) and xs:decimal(cbc:PayableRoundingAmount) and ((round((xs:decimal(cbc:PayableAmount) - xs:decimal(cbc:PayableRoundingAmount)) * 10 * 10) div 100) = (round((xs:decimal(cbc:TaxInclusiveAmount) - xs:decimal(cbc:PrepaidAmount)) * 10 * 10) div 100))) or (not(xs:decimal(cbc:PrepaidAmount)) and xs:decimal(cbc:PayableRoundingAmount) and ((round((xs:decimal(cbc:PayableAmount) - xs:decimal(cbc:PayableRoundingAmount)) * 10 * 10) div 100) = xs:decimal(cbc:TaxInclusiveAmount)))

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp