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

Error in validation of BR-CO-15 concerning currencyID? #22

Open
aronkankel opened this issue May 29, 2020 · 1 comment
Open

Error in validation of BR-CO-15 concerning currencyID? #22

aronkankel opened this issue May 29, 2020 · 1 comment
Assignees

Comments

@aronkankel
Copy link

I filled TaxCurrencyCode and InvoiceCurrencyCode in the header:
<ram:ApplicableHeaderTradeSettlement> <ram:PaymentReference /> <ram:TaxCurrencyCode>EUR</ram:TaxCurrencyCode> <ram:InvoiceCurrencyCode>EUR</ram:InvoiceCurrencyCode>

In SpecifiedTradeSettlementHeaderMonetarySummation I have no currencyID:
<ram:SpecifiedTradeSettlementHeaderMonetarySummation> <ram:LineTotalAmount>3142.5</ram:LineTotalAmount> <ram:AllowanceTotalAmount>104.65</ram:AllowanceTotalAmount> <ram:TaxBasisTotalAmount>3037.85</ram:TaxBasisTotalAmount> <ram:TaxTotalAmount>242.75</ram:TaxTotalAmount> <ram:GrandTotalAmount>3280.6</ram:GrandTotalAmount> <ram:TotalPrepaidAmount>0</ram:TotalPrepaidAmount> <ram:DuePayableAmount>3280.6</ram:DuePayableAmount> </ram:SpecifiedTradeSettlementHeaderMonetarySummation>

Validation result is:

val-sch.1.1 | BR-CO-15 | error | [BR-CO-15]-Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110). -- | -- | -- | -- Pfad: /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction[1]/ram:ApplicableHeaderTradeSettlement[1]/ram:SpecifiedTradeSettlementHeaderMonetarySummation[1]

If I do this with a currencyID for TaxTotalAmount, the result is fine
<ram:SpecifiedTradeSettlementHeaderMonetarySummation> <ram:LineTotalAmount>3142.5</ram:LineTotalAmount> <ram:AllowanceTotalAmount>104.65</ram:AllowanceTotalAmount> <ram:TaxBasisTotalAmount>3037.85</ram:TaxBasisTotalAmount> <ram:TaxTotalAmount currencyID="EUR">242.75</ram:TaxTotalAmount> <ram:GrandTotalAmount>3280.6</ram:GrandTotalAmount> <ram:TotalPrepaidAmount>0</ram:TotalPrepaidAmount> <ram:DuePayableAmount>3280.6</ram:DuePayableAmount> </ram:SpecifiedTradeSettlementHeaderMonetarySummation>

I cannot find a remark, that currencyID is required for TaxTotalAmount

@aronkankel
Copy link
Author

Here are the 2 files used in validationtool-1.2.0

RE4003110.zip

@rkottmann rkottmann self-assigned this Jun 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants