Context
HU
/ubl:Invoice/cac:BillingReference/cac:InvoiceDocumentReference/cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:InvoiceDocumentReferenceExtension/vrbl:InvoicedPrepaymentAmount/cac:TaxExchangeRate
VRBL-Invoice-HU-1p0 - Invoice Document Reference Prepayment Tax Exchange Rate Group
Hungary |
VRBL-Invoice-HU-1p0
| Context ID | INV0182 |
| Usage | O |
Description
A class to define an exchange rate.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| O | cbc:SourceCurrencyCode |
Invoice Document Reference Prepayment Tax Exchange Rate Source Currency Code
The reference currency for this exchange rate; the currency from which the exchange is being made. |
1..1 |
| O | cbc:TargetCurrencyCode |
Invoice Document Reference Prepayment Tax Exchange Rate Target Currency Code
The target currency for this exchange rate; the currency to which the exchange is being made. |
1..1 |
| O | cbc:CalculationRate |
Invoice Document Reference Prepayment Tax Exchange Rate Calculation Rate
The factor applied to the source currency to calculate the target currency. |
0..1 |
Details
Example: HU_invoice_380_domestic_final_invoice_with_foreign_currency.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:BillingReference>
<cac:InvoiceDocumentReference>
<ext:UBLExtensions>
<ext:UBLExtension>
<ext:ExtensionContent>
<vrbl:InvoiceDocumentReferenceExtension>
<vrbl:InvoicedPrepaymentAmount>
<cac:TaxExchangeRate>
<cbc:SourceCurrencyCode>HUF</cbc:SourceCurrencyCode>
<cbc:TargetCurrencyCode>EUR</cbc:TargetCurrencyCode>
<cbc:CalculationRate>340.00</cbc:CalculationRate>
</cac:TaxExchangeRate>
<!-- ... omitted for readability -->
</vrbl:InvoicedPrepaymentAmount>
</vrbl:InvoiceDocumentReferenceExtension>
</ext:ExtensionContent>
</ext:UBLExtension>
</ext:UBLExtensions>
<!-- ... omitted for readability -->
</cac:InvoiceDocumentReference>
</cac:BillingReference>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-HU-1p0-19 | The Invoice Document Reference Prepayment Tax Exchange Rate Source Currency Code must exist within the Invoice Document Reference Prepayment Tax Exchange Rate Group. |
| VRBL-INV-HU-1p0-20 | The Invoice Document Reference Prepayment Tax Exchange Rate Target Currency Code must exist within the Invoice Document Reference Prepayment Tax Exchange Rate Group. |
| VRBL-INV-HU-1p0-21 | The Invoice Document Reference Prepayment Tax Exchange Rate Calculation Rate must exist within the Invoice Document Reference Prepayment Tax Exchange Rate Group. |