Rules
VRBL-INV-TR-1p2-13
Basic Info
| Rule | When the Document Currency Code is not TRY, the Pricing Exchange Rate Calculation Rate must exist within the Invoice. |
| Context |
/ubl:Invoice
|
| Pattern | vrbl-invoice-tr-1p2 |
| Severity | fatal |
Used Template: Exists
| Parameter | Value | |
|---|---|---|
| probe | = |
cac:PricingExchangeRate/cbc:CalculationRate
|
Implementation
(
cbc:DocumentCurrencyCode='TRY'
)
or
(
boolean(cac:PricingExchangeRate/cbc:CalculationRate)
)