From d7fe3bd317abf9a84e31430a9ca5cd8dcfbdd1cd Mon Sep 17 00:00:00 2001 From: HorstOeko Date: Sat, 21 Sep 2024 13:45:10 +0200 Subject: [PATCH 1/4] #119 Update to ZUGFeRD 2.3 --- build/phpunit.xml | 4 +- src/ZugferdDocumentBuilder.php | 31 +- src/ZugferdDocumentReader.php | 98 +- src/ZugferdObjectHelper.php | 51 +- .../ZugferdElectronicAddressScheme.php | 3 +- .../ram/CreditorFinancialAccountType.php | 4 +- .../basic/ram/DocumentLineDocumentType.php | 2 +- .../ram/ExchangedDocumentContextType.php | 2 +- .../basic/ram/ExchangedDocumentType.php | 2 +- .../basic/ram/HeaderTradeAgreementType.php | 6 +- .../basic/ram/HeaderTradeDeliveryType.php | 6 +- .../basic/ram/HeaderTradeSettlementType.php | 104 +- .../basic/ram/LegalOrganizationType.php | 2 +- .../basic/ram/LineTradeAgreementType.php | 2 +- .../basic/ram/LineTradeSettlementType.php | 4 +- .../basic/ram/ReferencedDocumentType.php | 2 +- .../basic/ram/SpecifiedPeriodType.php | 4 +- .../basic/ram/TradeAllowanceChargeType.php | 4 +- src/entities/basic/ram/TradePartyType.php | 12 +- .../basic/ram/TradePaymentTermsType.php | 4 +- src/entities/basic/ram/TradePriceType.php | 4 +- src/entities/basic/ram/TradeProductType.php | 2 +- ...eSettlementHeaderMonetarySummationType.php | 8 +- .../ram/TradeSettlementPaymentMeansType.php | 4 +- src/entities/basic/ram/TradeTaxType.php | 4 +- src/entities/basic/udt/DateTimeType.php | 2 +- .../ram/CreditorFinancialAccountType.php | 4 +- .../ram/ExchangedDocumentContextType.php | 2 +- .../basicwl/ram/ExchangedDocumentType.php | 2 +- .../basicwl/ram/HeaderTradeAgreementType.php | 6 +- .../basicwl/ram/HeaderTradeDeliveryType.php | 9 +- .../basicwl/ram/HeaderTradeSettlementType.php | 104 +- .../basicwl/ram/LegalOrganizationType.php | 2 +- .../basicwl/ram/ReferencedDocumentType.php | 2 +- .../basicwl/ram/SpecifiedPeriodType.php | 4 +- .../basicwl/ram/TradeAllowanceChargeType.php | 2 +- src/entities/basicwl/ram/TradePartyType.php | 12 +- .../basicwl/ram/TradePaymentTermsType.php | 4 +- ...eSettlementHeaderMonetarySummationType.php | 8 +- .../ram/TradeSettlementPaymentMeansType.php | 4 +- src/entities/basicwl/ram/TradeTaxType.php | 4 +- src/entities/basicwl/udt/DateTimeType.php | 2 +- .../ram/CreditorFinancialAccountType.php | 4 +- .../en16931/ram/DocumentLineDocumentType.php | 2 +- .../ram/ExchangedDocumentContextType.php | 2 +- .../en16931/ram/ExchangedDocumentType.php | 2 +- .../en16931/ram/HeaderTradeAgreementType.php | 12 +- .../en16931/ram/HeaderTradeDeliveryType.php | 8 +- .../en16931/ram/HeaderTradeSettlementType.php | 104 +- .../en16931/ram/LegalOrganizationType.php | 2 +- .../en16931/ram/LineTradeAgreementType.php | 4 +- .../en16931/ram/LineTradeSettlementType.php | 8 +- src/entities/en16931/ram/NoteType.php | 2 +- .../en16931/ram/ProductClassificationType.php | 5 +- .../en16931/ram/ReferencedDocumentType.php | 10 +- .../en16931/ram/SpecifiedPeriodType.php | 4 +- src/entities/en16931/ram/TradeAddressType.php | 2 +- .../en16931/ram/TradeAllowanceChargeType.php | 4 +- src/entities/en16931/ram/TradeContactType.php | 4 +- src/entities/en16931/ram/TradePartyType.php | 14 +- .../en16931/ram/TradePaymentTermsType.php | 4 +- src/entities/en16931/ram/TradePriceType.php | 7 +- src/entities/en16931/ram/TradeProductType.php | 12 +- ...eSettlementHeaderMonetarySummationType.php | 10 +- .../ram/TradeSettlementPaymentMeansType.php | 8 +- src/entities/en16931/ram/TradeTaxType.php | 8 +- .../ram/UniversalCommunicationType.php | 2 +- src/entities/en16931/udt/DateTimeType.php | 3 +- src/entities/en16931/udt/DateType.php | 2 +- .../extended/ram/AdvancePaymentType.php | 32 +- .../ram/CreditorFinancialAccountType.php | 4 +- .../extended/ram/DocumentLineDocumentType.php | 6 +- .../ram/ExchangedDocumentContextType.php | 4 +- .../extended/ram/ExchangedDocumentType.php | 52 +- .../extended/ram/HeaderTradeAgreementType.php | 26 +- .../extended/ram/HeaderTradeDeliveryType.php | 16 +- .../ram/HeaderTradeSettlementType.php | 72 +- .../extended/ram/LegalOrganizationType.php | 4 +- .../extended/ram/LineTradeAgreementType.php | 39 +- .../extended/ram/LineTradeDeliveryType.php | 16 +- .../extended/ram/LineTradeSettlementType.php | 10 +- src/entities/extended/ram/NoteType.php | 7 +- .../ram/ProductCharacteristicType.php | 7 +- .../ram/ProductClassificationType.php | 2 +- .../extended/ram/ReferencedDocumentType.php | 54 +- .../extended/ram/ReferencedProductType.php | 12 +- .../extended/ram/SpecifiedPeriodType.php | 6 +- .../ram/SupplyChainConsignmentType.php | 2 +- .../extended/ram/TradeAddressType.php | 46 +- .../extended/ram/TradeAllowanceChargeType.php | 6 +- .../extended/ram/TradeContactType.php | 6 +- .../ram/TradeCurrencyExchangeType.php | 21 +- src/entities/extended/ram/TradePartyType.php | 14 +- .../ram/TradePaymentDiscountTermsType.php | 8 +- .../ram/TradePaymentPenaltyTermsType.php | 8 +- .../extended/ram/TradePaymentTermsType.php | 13 +- src/entities/extended/ram/TradePriceType.php | 6 +- .../extended/ram/TradeProductInstanceType.php | 4 +- .../extended/ram/TradeProductType.php | 189 +- ...eSettlementHeaderMonetarySummationType.php | 102 +- ...adeSettlementLineMonetarySummationType.php | 10 +- .../ram/TradeSettlementPaymentMeansType.php | 8 +- src/entities/extended/ram/TradeTaxType.php | 12 +- .../ram/UniversalCommunicationType.php | 2 +- src/entities/extended/udt/DateTimeType.php | 3 +- src/entities/extended/udt/DateType.php | 2 +- ...eSettlementHeaderMonetarySummationType.php | 46 +- ...ct_data_standard_QualifiedDataType_100.xsd | 724 +- ...AggregateBusinessInformationEntity_100.xsd | 4 +- ..._data_standard_UnqualifiedDataType_100.xsd | 5 +- ...ct_data_standard_QualifiedDataType_100.xsd | 724 +- ...AggregateBusinessInformationEntity_100.xsd | 4 +- ..._data_standard_UnqualifiedDataType_100.xsd | 7 +- ...ct_data_standard_QualifiedDataType_100.xsd | 1671 +- ...AggregateBusinessInformationEntity_100.xsd | 6 +- ..._data_standard_UnqualifiedDataType_100.xsd | 9 +- ...ct_data_standard_QualifiedDataType_100.xsd | 2457 +- ...AggregateBusinessInformationEntity_100.xsd | 29 +- ..._data_standard_UnqualifiedDataType_100.xsd | 11 +- ...ct_data_standard_QualifiedDataType_100.xsd | 489 +- ...AggregateBusinessInformationEntity_100.xsd | 2 +- ..._data_standard_UnqualifiedDataType_100.xsd | 5 +- .../schematron/EN16931-CII-validation.xslt | 11333 ------- src/schema/schematron/FACTUR-X_BASIC-WL.sch | 7246 +--- .../schematron/FACTUR-X_BASIC-WL_codedb.xml | 4460 ++- src/schema/schematron/FACTUR-X_BASIC.sch | 9149 ++---- .../schematron/FACTUR-X_BASIC_codedb.xml | 6857 ++-- src/schema/schematron/FACTUR-X_EN16931.sch | 12401 ++----- .../schematron/FACTUR-X_EN16931_codedb.xml | 10836 +++--- src/schema/schematron/FACTUR-X_EXTENDED.sch | 27359 ++++------------ .../schematron/FACTUR-X_EXTENDED_codedb.xml | 13890 ++++---- src/schema/schematron/FACTUR-X_MINIMUM.sch | 2590 +- .../schematron/FACTUR-X_MINIMUM_codedb.xml | 683 +- .../extended/ram/AdvancePaymentType.yml | 3 + .../extended/ram/LineTradeAgreementType.yml | 3 + .../ram/LogisticsServiceChargeType.yml | 4 + src/validation/extended/ram/TradeTaxType.yml | 5 + .../basic/ram/HeaderTradeSettlementType.yml | 12 +- .../basicwl/ram/HeaderTradeSettlementType.yml | 12 +- .../en16931/ram/HeaderTradeSettlementType.yml | 12 +- src/yaml/extended/ram/AdvancePaymentType.yml | 11 + .../extended/ram/ExchangedDocumentType.yml | 6 +- .../ram/HeaderTradeSettlementType.yml | 6 +- .../extended/ram/LineTradeAgreementType.yml | 11 + .../extended/ram/ReferencedDocumentType.yml | 6 +- src/yaml/extended/ram/TradeAddressType.yml | 6 +- src/yaml/extended/ram/TradeProductType.yml | 59 + ...eSettlementHeaderMonetarySummationType.yml | 12 +- ...eSettlementHeaderMonetarySummationType.yml | 6 +- tests/assets/extended_invoice.xml | 5 + tests/testcases/BuilderEn16931Test.php | 560 +- tests/testcases/BuilderExtendedTest.php | 427 +- tests/testcases/BuilderMinimumTest.php | 418 +- tests/testcases/DocumentTest.php | 24 - tests/testcases/JsonExporterTest.php | 9 - tests/testcases/ObjectHelperEn16931Test.php | 401 - tests/testcases/ObjectHelperExtendedTest.php | 411 +- tests/testcases/PackageVersionTest.php | 3 - tests/testcases/PdfBuilderEn16931Test.php | 21 - .../PdfReaderEn16931AllowanceChargeTest.php | 432 - .../testcases/PdfReaderEn16931SimpleTest.php | 358 - tests/testcases/PdfReaderExtended2Test.php | 395 - tests/testcases/PdfReaderExtendedTest.php | 440 - tests/testcases/PdfReaderInvalidTest.php | 3 - .../testcases/PdfReaderMinimumSimpleTest.php | 309 - .../PdfReaderMultipleAttachmentsTest.php | 6 - .../PdfReaderXRechnungSimpleTest.php | 362 - tests/testcases/ProfileResolverTest.php | 24 - tests/testcases/ReaderBasicSimpleTest.php | 341 - .../ReaderEn16931AllowanceChargeTest.php | 435 - tests/testcases/ReaderEn16931Bank1Test.php | 30 - tests/testcases/ReaderEn16931Bank2Test.php | 44 - tests/testcases/ReaderEn16931SimpleTest.php | 365 - tests/testcases/ReaderExtended2Test.php | 398 - tests/testcases/ReaderExtendedTest.php | 463 +- ...eaderXRechnungAttachedBinaryObjectTest.php | 23 - tests/testcases/ReaderXRechnungSimpleTest.php | 365 - tests/testcases/SettingsTest.php | 39 - tests/testcases/ValidatorInvalidTest.php | 3 - tests/testcases/ValidatorValidTest.php | 3 - tests/testcases/issues/Issue10Test.php | 12 - tests/traits/HandlesXmlTests.php | 3 - 182 files changed, 31943 insertions(+), 89982 deletions(-) delete mode 100644 src/schema/schematron/EN16931-CII-validation.xslt diff --git a/build/phpunit.xml b/build/phpunit.xml index 4eea2dd1..d66286fb 100644 --- a/build/phpunit.xml +++ b/build/phpunit.xml @@ -45,9 +45,11 @@ ../tests/testcases/ValidatorValidTest.php ../tests/testcases/ValidatorInvalidTest.php + ../tests/testcases/issues/Issue10Test.php ../tests/testcases/issues/Issue18Test.php @@ -63,7 +65,7 @@ ../src/codelists - ../src/entities + ../src/exception ../src/ZugferdProfiles.php diff --git a/src/ZugferdDocumentBuilder.php b/src/ZugferdDocumentBuilder.php index d7aa6570..3b7524e3 100644 --- a/src/ZugferdDocumentBuilder.php +++ b/src/ZugferdDocumentBuilder.php @@ -2188,7 +2188,7 @@ public function addDocumentAdditionalReferencedDocument(string $issuerassignedid public function setDocumentInvoiceReferencedDocument(string $issuerassignedid, ?DateTime $issueddate = null): ZugferdDocumentBuilder { $invoicerefdoc = $this->getObjectHelper()->getReferencedDocumentType($issuerassignedid, null, null, null, null, null, $issueddate, null); - $this->getObjectHelper()->tryCall($this->headerTradeSettlement, "setInvoiceReferencedDocument", $invoicerefdoc); + $this->getObjectHelper()->tryCallIfMethodExists($this->headerTradeSettlement, "addToInvoiceReferencedDocument", "setInvoiceReferencedDocument", [$invoicerefdoc], $invoicerefdoc); return $this; } @@ -2326,7 +2326,7 @@ public function addDocumentPaymentMean(string $typecode, ?string $information = $this->getObjectHelper()->tryCall($paymentMeans, "setPayeePartyCreditorFinancialAccount", $payeefinancialaccount); $this->getObjectHelper()->tryCall($paymentMeans, "setPayeeSpecifiedCreditorFinancialInstitution", $payeefinancialInstitution); - $this->getObjectHelper()->tryCallAll($this->headerTradeSettlement, ["addToSpecifiedTradeSettlementPaymentMeans", "setSpecifiedTradeSettlementPaymentMeans"], $paymentMeans); + $this->getObjectHelper()->tryCall($this->headerTradeSettlement, "addToSpecifiedTradeSettlementPaymentMeans", $paymentMeans); return $this; } @@ -2360,7 +2360,7 @@ public function addDocumentPaymentMeanToCreditTransfer(string $payeeIban, ?strin $this->getObjectHelper()->tryCall($paymentMeans, "setPayeePartyCreditorFinancialAccount", $payeefinancialaccount); $this->getObjectHelper()->tryCall($paymentMeans, "setPayeeSpecifiedCreditorFinancialInstitution", $payeefinancialInstitution); - $this->getObjectHelper()->tryCallAll($this->headerTradeSettlement, ["addToSpecifiedTradeSettlementPaymentMeans", "setSpecifiedTradeSettlementPaymentMeans"], $paymentMeans); + $this->getObjectHelper()->tryCall($this->headerTradeSettlement, "addToSpecifiedTradeSettlementPaymentMeans", $paymentMeans); if (!is_null($paymentReference)) { $this->getObjectHelper()->tryCall($this->headerTradeSettlement, "setPaymentReference", $this->getObjectHelper()->getIdType($paymentReference)); @@ -2386,7 +2386,7 @@ public function addDocumentPaymentMeanToDirectDebit(string $buyerIban, ?string $ $this->getObjectHelper()->tryCall($paymentMeans, "setPayerPartyDebtorFinancialAccount", $buyerfinancialaccount); - $this->getObjectHelper()->tryCallAll($this->headerTradeSettlement, ["addToSpecifiedTradeSettlementPaymentMeans", "setSpecifiedTradeSettlementPaymentMeans"], $paymentMeans); + $this->getObjectHelper()->tryCall($this->headerTradeSettlement, "addToSpecifiedTradeSettlementPaymentMeans", $paymentMeans); if (!is_null($creditorReferenceID)) { $this->getObjectHelper()->tryCall($this->headerTradeSettlement, "setCreditorReferenceID", $this->getObjectHelper()->getIdType($creditorReferenceID)); @@ -2416,7 +2416,7 @@ public function addDocumentPaymentMeanToPaymentCard(string $cardType, string $ca $this->getObjectHelper()->tryCall($paymentMeans, "setApplicableTradeSettlementFinancialCard", $financialCard); - $this->getObjectHelper()->tryCallAll($this->headerTradeSettlement, ["addToSpecifiedTradeSettlementPaymentMeans", "setSpecifiedTradeSettlementPaymentMeans"], $paymentMeans); + $this->getObjectHelper()->tryCall($this->headerTradeSettlement, "addToSpecifiedTradeSettlementPaymentMeans", $paymentMeans); return $this; } @@ -2786,17 +2786,22 @@ public function setDocumentPositionNote(?string $content, ?string $contentCode = /** * Adds product details to the last created position (line) in the document * - * @param string $name __BT-153, From BASIC__ A name of the item (item name) - * @param string|null $description __BT-154, From EN 16931__ A description of the item, the item description makes it possible to describe the item and its properties in more detail than is possible with the item name. - * @param string|null $sellerAssignedID __BT-155, From EN 16931__ An identifier assigned to the item by the seller - * @param string|null $buyerAssignedID __BT-156, From EN 16931__ An identifier assigned to the item by the buyer. The article number of the buyer is a clear, bilaterally agreed identification of the product. It can, for example, be the customer article number or the article number assigned by the manufacturer. - * @param string|null $globalIDType __BT-157-1, From BASIC__ The scheme for $globalID - * @param string|null $globalID __BT-157, From BASIC__ Identification of an article according to the registered scheme (Global identifier of the product, GTIN, ...) + * @param string $name __BT-153, From BASIC__ A name of the item (item name) + * @param string|null $description __BT-154, From EN 16931__ A description of the item, the item description makes it possible to describe the item and its properties in more detail than is possible with the item name. + * @param string|null $sellerAssignedID __BT-155, From EN 16931__ An identifier assigned to the item by the seller + * @param string|null $buyerAssignedID __BT-156, From EN 16931__ An identifier assigned to the item by the buyer. The article number of the buyer is a clear, bilaterally agreed identification of the product. It can, for example, be the customer article number or the article number assigned by the manufacturer. + * @param string|null $globalIDType __BT-157-1, From BASIC__ The scheme for $globalID + * @param string|null $globalID __BT-157, From BASIC__ Identification of an article according to the registered scheme (Global identifier of the product, GTIN, ...) + * @param string|null $industryAssignedID __BT-X-309, From EXTENDED__ ID assigned by the industry to the contained referenced product + * @param string|null $modelID __BT-X-533, From EXTENDED__ A unique model identifier for this product + * @param string|null $batchID __BT-X-534. From EXTENDED__ Identification of the batch (lot) of the product + * @param string|null $brandName __BT-X-535. From EXTENDED__ The brand name, expressed as text, for this product + * @param string|null $modelName __BT-X-536. From EXTENDED__ Model designation of the product * @return ZugferdDocumentBuilder */ - public function setDocumentPositionProductDetails(string $name, ?string $description = null, ?string $sellerAssignedID = null, ?string $buyerAssignedID = null, ?string $globalIDType = null, ?string $globalID = null): ZugferdDocumentBuilder + public function setDocumentPositionProductDetails(string $name, ?string $description = null, ?string $sellerAssignedID = null, ?string $buyerAssignedID = null, ?string $globalIDType = null, ?string $globalID = null, ?string $industryAssignedID = null, ?string $modelID = null, ?string $batchID = null, ?string $brandName = null, ?string $modelName = null): ZugferdDocumentBuilder { - $product = $this->getObjectHelper()->getTradeProductType($name, $description, $sellerAssignedID, $buyerAssignedID, $globalIDType, $globalID); + $product = $this->getObjectHelper()->getTradeProductType($name, $description, $sellerAssignedID, $buyerAssignedID, $globalIDType, $globalID, $industryAssignedID, $modelID, $batchID, $brandName, $modelName); $this->getObjectHelper()->tryCall($this->currentPosition, "setSpecifiedTradeProduct", $product); return $this; } diff --git a/src/ZugferdDocumentReader.php b/src/ZugferdDocumentReader.php index 65958c0b..2b0b5a12 100644 --- a/src/ZugferdDocumentReader.php +++ b/src/ZugferdDocumentReader.php @@ -382,44 +382,16 @@ public function getIsTestDocument(?bool &$testdocumentindicator): ZugferdDocumen public function getDocumentSummation(?float &$grandTotalAmount, ?float &$duePayableAmount, ?float &$lineTotalAmount, ?float &$chargeTotalAmount, ?float &$allowanceTotalAmount, ?float &$taxBasisTotalAmount, ?float &$taxTotalAmount, ?float &$roundingAmount, ?float &$totalPrepaidAmount): ZugferdDocumentReader { $invoiceCurrencyCode = $this->getInvoiceValueByPath("getSupplyChainTradeTransaction.getApplicableHeaderTradeSettlement.getInvoiceCurrencyCode.value", ""); - - $grandTotalAmountElement = $this->getInvoiceValueByPath("getSupplyChainTradeTransaction.getApplicableHeaderTradeSettlement.getSpecifiedTradeSettlementHeaderMonetarySummation.getGrandTotalAmount", 0); - if (is_array($grandTotalAmountElement)) { - foreach ($grandTotalAmountElement as $grandTotalAmountElementItem) { - $grandTotalAmountCurrencyCode = $this->getObjectHelper()->tryCallAndReturn($grandTotalAmountElementItem, "getCurrencyID") ?? ""; - if ($grandTotalAmountCurrencyCode == $invoiceCurrencyCode || $grandTotalAmountCurrencyCode == "") { - $grandTotalAmount = $this->getObjectHelper()->tryCallAndReturn($grandTotalAmountElementItem, "value") ?? 0; - break; - } - } - } else { - $grandTotalAmount = $this->getObjectHelper()->tryCallAndReturn($grandTotalAmountElement, "value") ?? 0; - } - - $taxBasisTotalAmountElement = $this->getInvoiceValueByPath("getSupplyChainTradeTransaction.getApplicableHeaderTradeSettlement.getSpecifiedTradeSettlementHeaderMonetarySummation.getTaxBasisTotalAmount", 0); - if (is_array($taxBasisTotalAmountElement)) { - foreach ($taxBasisTotalAmountElement as $taxBasisTotalAmountElementItem) { - $taxBasisTotalAmountCurrencyCode = $this->getObjectHelper()->tryCallAndReturn($taxBasisTotalAmountElementItem, "getCurrencyID") ?? ""; - if ($taxBasisTotalAmountCurrencyCode == $invoiceCurrencyCode || $taxBasisTotalAmountCurrencyCode == "") { - $taxBasisTotalAmount = $this->getObjectHelper()->tryCallAndReturn($taxBasisTotalAmountElementItem, "value") ?? 0; - break; - } - } - } else { - $taxBasisTotalAmount = $this->getInvoiceValueByPath("getSupplyChainTradeTransaction.getApplicableHeaderTradeSettlement.getSpecifiedTradeSettlementHeaderMonetarySummation.getTaxBasisTotalAmount.value", 0); - } - - $taxTotalAmountElement = $this->getInvoiceValueByPath("getSupplyChainTradeTransaction.getApplicableHeaderTradeSettlement.getSpecifiedTradeSettlementHeaderMonetarySummation.getTaxTotalAmount", 0); - if (is_array($taxTotalAmountElement)) { - foreach ($taxTotalAmountElement as $taxTotalAmountElementItem) { - $taxTotalAmountCurrencyCode = $this->getObjectHelper()->tryCallAndReturn($taxTotalAmountElementItem, "getCurrencyID") ?? ""; - if ($taxTotalAmountCurrencyCode == $invoiceCurrencyCode || $taxTotalAmountCurrencyCode == "") { - $taxTotalAmount = $this->getObjectHelper()->tryCallAndReturn($taxTotalAmountElementItem, "value") ?? 0; - break; - } + $grandTotalAmount = $this->getInvoiceValueByPath("getSupplyChainTradeTransaction.getApplicableHeaderTradeSettlement.getSpecifiedTradeSettlementHeaderMonetarySummation.getGrandTotalAmount.value", 0); + $taxBasisTotalAmount = $this->getInvoiceValueByPath("getSupplyChainTradeTransaction.getApplicableHeaderTradeSettlement.getSpecifiedTradeSettlementHeaderMonetarySummation.getTaxBasisTotalAmount.value", 0); + $taxTotalAmountElement = $this->getInvoiceValueByPath("getSupplyChainTradeTransaction.getApplicableHeaderTradeSettlement.getSpecifiedTradeSettlementHeaderMonetarySummation.getTaxTotalAmount", []); + + foreach ($taxTotalAmountElement as $taxTotalAmountElementItem) { + $taxTotalAmountCurrencyCode = $this->getObjectHelper()->tryCallAndReturn($taxTotalAmountElementItem, "getCurrencyID") ?? ""; + if ($taxTotalAmountCurrencyCode == $invoiceCurrencyCode || $taxTotalAmountCurrencyCode == "") { + $taxTotalAmount = $this->getObjectHelper()->tryCallAndReturn($taxTotalAmountElementItem, "value") ?? 0; + break; } - } else { - $taxTotalAmount = $this->getInvoiceValueByPath("getSupplyChainTradeTransaction.getApplicableHeaderTradeSettlement.getSpecifiedTradeSettlementHeaderMonetarySummation.getTaxTotalAmount.value", 0); } $duePayableAmount = $this->getInvoiceValueByPath("getSupplyChainTradeTransaction.getApplicableHeaderTradeSettlement.getSpecifiedTradeSettlementHeaderMonetarySummation.getDuePayableAmount.value", 0); @@ -3492,6 +3464,58 @@ public function getDocumentPositionProductDetails(?string &$name, ?string &$desc return $this; } + /** + * Get information about the goods and services billed (Enhanced, with Model, Brand, etc.) + * + * @param string|null $name + * A name of the item (item name) + * @param string|null $description + * A description of the item, the item description makes it possible to describe the item and its + * properties in more detail than is possible with the item name. + * @param string|null $sellerAssignedID + * An identifier assigned to the item by the seller + * @param string|null $buyerAssignedID + * An identifier assigned to the item by the buyer. The article number of the buyer is a clear, + * bilaterally agreed identification of the product. It can, for example, be the customer article + * number or the article number assigned by the manufacturer. + * @param string|null $globalIDType + * The scheme for $globalID + * @param string|null $globalID + * Identification of an article according to the registered scheme (Global identifier of the product, + * GTIN, ...) + * @param string|null $industryAssignedID + * D assigned by the industry to the contained referenced product + * @param string|null $modelID + * A unique model identifier for this product + * @param string|null $batchID + * Identification of the batch (lot) of the product + * @param string|null $brandName + * The brand name, expressed as text, for this product + * @param string|null $modelName + * Model designation of the product + * @return ZugferdDocumentReader + */ + public function getDocumentPositionProductDetailsExt(?string &$name, ?string &$description, ?string &$sellerAssignedID, ?string &$buyerAssignedID, ?string &$globalIDType, ?string &$globalID, ?string &$industryAssignedID, ?string &$modelID, ?string &$batchID, ?string &$brandName, ?string &$modelName): ZugferdDocumentReader + { + $tradeLineItem = $this->getInvoiceValueByPath("getSupplyChainTradeTransaction.getIncludedSupplyChainTradeLineItem", []); + $tradeLineItem = $tradeLineItem[$this->positionPointer]; + + $name = $this->getInvoiceValueByPathFrom($tradeLineItem, "getSpecifiedTradeProduct.getName.value", ""); + $description = $this->getInvoiceValueByPathFrom($tradeLineItem, "getSpecifiedTradeProduct.getDescription.value", ""); + $sellerAssignedID = $this->getInvoiceValueByPathFrom($tradeLineItem, "getSpecifiedTradeProduct.getSellerAssignedID.value", ""); + $buyerAssignedID = $this->getInvoiceValueByPathFrom($tradeLineItem, "getSpecifiedTradeProduct.getBuyerAssignedID.value", ""); + $globalIDType = $this->getInvoiceValueByPathFrom($tradeLineItem, "getSpecifiedTradeProduct.getGlobalID.getSchemeID", ""); + $globalID = $this->getInvoiceValueByPathFrom($tradeLineItem, "getSpecifiedTradeProduct.getGlobalID.value", ""); + $industryAssignedID = $this->getInvoiceValueByPathFrom($tradeLineItem, "getSpecifiedTradeProduct.getIndustryAssignedID.value", ""); + $modelID = $this->getInvoiceValueByPathFrom($tradeLineItem, "getSpecifiedTradeProduct.getModelID.value", ""); + $batchIDs = $this->getInvoiceValueByPathFrom($tradeLineItem, "getSpecifiedTradeProduct.getBatchID", ""); + $batchID = isset($batchIDs[0]) ? $this->getObjectHelper()->tryCallAndReturn($batchIDs[0], "value") : ""; + $brandName = $this->getInvoiceValueByPathFrom($tradeLineItem, "getSpecifiedTradeProduct.getBrandName.value", ""); + $modelName = $this->getInvoiceValueByPathFrom($tradeLineItem, "getSpecifiedTradeProduct.getModelName.value", ""); + + return $this; + } + /** * Get details of the related buyer order position * diff --git a/src/ZugferdObjectHelper.php b/src/ZugferdObjectHelper.php index 114df1c9..7ec7f6f2 100644 --- a/src/ZugferdObjectHelper.php +++ b/src/ZugferdObjectHelper.php @@ -644,7 +644,7 @@ public function getTradeAddress(?string $lineone = null, ?string $linetwo = null $this->tryCall($address, "setPostcodeCode", $this->getCodeType($postcode)); $this->tryCall($address, "setCityName", $this->getTextType($city)); $this->tryCall($address, "setCountryID", $this->getCountryIDType($country)); - $this->tryCallAll($address, ["addToCountrySubDivisionName", "setCountrySubDivisionName"], $this->getTextType($subdivision)); + $this->tryCall($address, "setCountrySubDivisionName", $this->getTextType($subdivision)); return $address; } @@ -1099,10 +1099,10 @@ public function getTradeSettlementHeaderMonetarySummationType(?float $grandTotal $this->tryCall($summation, "setLineTotalAmount", $this->getAmountType($lineTotalAmount)); $this->tryCall($summation, "setChargeTotalAmount", $this->getAmountType($chargeTotalAmount)); $this->tryCall($summation, "setAllowanceTotalAmount", $this->getAmountType($allowanceTotalAmount)); - $this->tryCallAll($summation, ["addToTaxBasisTotalAmount", "setTaxBasisTotalAmount"], $this->getAmountType($taxBasisTotalAmount)); + $this->tryCall($summation, "setTaxBasisTotalAmount", $this->getAmountType($taxBasisTotalAmount)); $this->tryCallAll($summation, ["addToTaxTotalAmount", "setTaxTotalAmount"], $this->getAmountType($taxTotalAmount)); $this->tryCall($summation, "setRoundingAmount", $this->getAmountType($roundingAmount)); - $this->tryCallAll($summation, ["addToGrandTotalAmount", "setGrandTotalAmount"], $this->getAmountType($grandTotalAmount)); + $this->tryCall($summation, "setGrandTotalAmount", $this->getAmountType($grandTotalAmount)); $this->tryCall($summation, "setTotalPrepaidAmount", $this->getAmountType($totalPrepaidAmount)); $this->tryCall($summation, "setDuePayableAmount", $this->getAmountType($duePayableAmount)); @@ -1195,15 +1195,20 @@ public function getSupplyChainTradeLineItemType(?string $lineid = null, ?string /** * Get product specification * - * @param string|null $name - * @param string|null $description - * @param string|null $sellerAssignedID - * @param string|null $buyerAssignedID - * @param string|null $globalIDType - * @param string|null $globalID + * @param string|null $name + * @param string|null $description + * @param string|null $sellerAssignedID + * @param string|null $buyerAssignedID + * @param string|null $globalIDType + * @param string|null $globalID + * @param string|null $industryAssignedID + * @param string|null $modelID + * @param string|null $batchID + * @param string|null $brandName + * @param string|null $modelName * @return object|null */ - public function getTradeProductType(?string $name = null, ?string $description = null, ?string $sellerAssignedID = null, ?string $buyerAssignedID = null, ?string $globalIDType = null, ?string $globalID = null): ?object + public function getTradeProductType(?string $name = null, ?string $description = null, ?string $sellerAssignedID = null, ?string $buyerAssignedID = null, ?string $globalIDType = null, ?string $globalID = null, ?string $industryAssignedID = null, ?string $modelID = null, ?string $batchID = null, ?string $brandName = null, ?string $modelName = null): ?object { if (self::isAllNullOrEmpty(func_get_args())) { return null; @@ -1216,6 +1221,11 @@ public function getTradeProductType(?string $name = null, ?string $description = $this->tryCall($product, "setBuyerAssignedID", $this->getIdType($buyerAssignedID)); $this->tryCall($product, "setName", $this->getTextType($name)); $this->tryCall($product, "setDescription", $this->getTextType($description)); + $this->tryCall($product, "setIndustryAssignedID", $this->getIdType($industryAssignedID)); + $this->tryCall($product, "setModelID", $this->getIdType($modelID)); + $this->tryCall($product, "addToBatchID", $this->getIdType($batchID)); + $this->tryCall($product, "setBrandName", $this->getTextType($brandName)); + $this->tryCall($product, "setModelName", $this->getTextType($modelName)); return $product; } @@ -1676,29 +1686,10 @@ public static function isOneNullOrEmpty(array $args): bool return false; } - /** - * If $value is an array and has at least one array element the first - * array element is returned otherwise null is returned. If $value is not an - * array $value is returned - * - * @param mixed $value - * @return mixed - */ - public function getFirstFromArrayIfArray($value) - { - if (is_array($value)) { - $first = reset($value); - if ($first !== false) { - return $first; - } - return null; - } - return $value; - } - /** * Wrapper for method_exists for use in PHP8 * + * @codeCoverageIgnore * @param string|object $instance * @param string $method * @return boolean diff --git a/src/codelists/ZugferdElectronicAddressScheme.php b/src/codelists/ZugferdElectronicAddressScheme.php index 088cb949..72274906 100644 --- a/src/codelists/ZugferdElectronicAddressScheme.php +++ b/src/codelists/ZugferdElectronicAddressScheme.php @@ -20,7 +20,8 @@ * @link https://github.com/horstoeko/zugferd */ -class ZugferdElectronicAddressScheme { +class ZugferdElectronicAddressScheme +{ /** * O.F.T.P. (ODETTE File Transfer Protocol) */ diff --git a/src/entities/basic/ram/CreditorFinancialAccountType.php b/src/entities/basic/ram/CreditorFinancialAccountType.php index c90b7c0f..e47c2140 100644 --- a/src/entities/basic/ram/CreditorFinancialAccountType.php +++ b/src/entities/basic/ram/CreditorFinancialAccountType.php @@ -36,7 +36,7 @@ public function getIBANID() * @param \horstoeko\zugferd\entities\basic\udt\IDType $iBANID * @return self */ - public function setIBANID(\horstoeko\zugferd\entities\basic\udt\IDType $iBANID) + public function setIBANID(?\horstoeko\zugferd\entities\basic\udt\IDType $iBANID = null) { $this->iBANID = $iBANID; return $this; @@ -58,7 +58,7 @@ public function getProprietaryID() * @param \horstoeko\zugferd\entities\basic\udt\IDType $proprietaryID * @return self */ - public function setProprietaryID(\horstoeko\zugferd\entities\basic\udt\IDType $proprietaryID) + public function setProprietaryID(?\horstoeko\zugferd\entities\basic\udt\IDType $proprietaryID = null) { $this->proprietaryID = $proprietaryID; return $this; diff --git a/src/entities/basic/ram/DocumentLineDocumentType.php b/src/entities/basic/ram/DocumentLineDocumentType.php index 8075b582..4cd0bca2 100644 --- a/src/entities/basic/ram/DocumentLineDocumentType.php +++ b/src/entities/basic/ram/DocumentLineDocumentType.php @@ -58,7 +58,7 @@ public function getIncludedNote() * @param \horstoeko\zugferd\entities\basic\ram\NoteType $includedNote * @return self */ - public function setIncludedNote(\horstoeko\zugferd\entities\basic\ram\NoteType $includedNote) + public function setIncludedNote(?\horstoeko\zugferd\entities\basic\ram\NoteType $includedNote = null) { $this->includedNote = $includedNote; return $this; diff --git a/src/entities/basic/ram/ExchangedDocumentContextType.php b/src/entities/basic/ram/ExchangedDocumentContextType.php index 58a59f0a..8c255de1 100644 --- a/src/entities/basic/ram/ExchangedDocumentContextType.php +++ b/src/entities/basic/ram/ExchangedDocumentContextType.php @@ -36,7 +36,7 @@ public function getBusinessProcessSpecifiedDocumentContextParameter() * @param \horstoeko\zugferd\entities\basic\ram\DocumentContextParameterType $businessProcessSpecifiedDocumentContextParameter * @return self */ - public function setBusinessProcessSpecifiedDocumentContextParameter(\horstoeko\zugferd\entities\basic\ram\DocumentContextParameterType $businessProcessSpecifiedDocumentContextParameter) + public function setBusinessProcessSpecifiedDocumentContextParameter(?\horstoeko\zugferd\entities\basic\ram\DocumentContextParameterType $businessProcessSpecifiedDocumentContextParameter = null) { $this->businessProcessSpecifiedDocumentContextParameter = $businessProcessSpecifiedDocumentContextParameter; return $this; diff --git a/src/entities/basic/ram/ExchangedDocumentType.php b/src/entities/basic/ram/ExchangedDocumentType.php index 1e8e761b..3bbda647 100644 --- a/src/entities/basic/ram/ExchangedDocumentType.php +++ b/src/entities/basic/ram/ExchangedDocumentType.php @@ -148,7 +148,7 @@ public function getIncludedNote() * @param \horstoeko\zugferd\entities\basic\ram\NoteType[] $includedNote * @return self */ - public function setIncludedNote(array $includedNote) + public function setIncludedNote(array $includedNote = null) { $this->includedNote = $includedNote; return $this; diff --git a/src/entities/basic/ram/HeaderTradeAgreementType.php b/src/entities/basic/ram/HeaderTradeAgreementType.php index aacce36d..c1c5b233 100644 --- a/src/entities/basic/ram/HeaderTradeAgreementType.php +++ b/src/entities/basic/ram/HeaderTradeAgreementType.php @@ -122,7 +122,7 @@ public function getSellerTaxRepresentativeTradeParty() * @param \horstoeko\zugferd\entities\basic\ram\TradePartyType $sellerTaxRepresentativeTradeParty * @return self */ - public function setSellerTaxRepresentativeTradeParty(\horstoeko\zugferd\entities\basic\ram\TradePartyType $sellerTaxRepresentativeTradeParty) + public function setSellerTaxRepresentativeTradeParty(?\horstoeko\zugferd\entities\basic\ram\TradePartyType $sellerTaxRepresentativeTradeParty = null) { $this->sellerTaxRepresentativeTradeParty = $sellerTaxRepresentativeTradeParty; return $this; @@ -144,7 +144,7 @@ public function getBuyerOrderReferencedDocument() * @param \horstoeko\zugferd\entities\basic\ram\ReferencedDocumentType $buyerOrderReferencedDocument * @return self */ - public function setBuyerOrderReferencedDocument(\horstoeko\zugferd\entities\basic\ram\ReferencedDocumentType $buyerOrderReferencedDocument) + public function setBuyerOrderReferencedDocument(?\horstoeko\zugferd\entities\basic\ram\ReferencedDocumentType $buyerOrderReferencedDocument = null) { $this->buyerOrderReferencedDocument = $buyerOrderReferencedDocument; return $this; @@ -166,7 +166,7 @@ public function getContractReferencedDocument() * @param \horstoeko\zugferd\entities\basic\ram\ReferencedDocumentType $contractReferencedDocument * @return self */ - public function setContractReferencedDocument(\horstoeko\zugferd\entities\basic\ram\ReferencedDocumentType $contractReferencedDocument) + public function setContractReferencedDocument(?\horstoeko\zugferd\entities\basic\ram\ReferencedDocumentType $contractReferencedDocument = null) { $this->contractReferencedDocument = $contractReferencedDocument; return $this; diff --git a/src/entities/basic/ram/HeaderTradeDeliveryType.php b/src/entities/basic/ram/HeaderTradeDeliveryType.php index bbac9bad..c2302628 100644 --- a/src/entities/basic/ram/HeaderTradeDeliveryType.php +++ b/src/entities/basic/ram/HeaderTradeDeliveryType.php @@ -41,7 +41,7 @@ public function getShipToTradeParty() * @param \horstoeko\zugferd\entities\basic\ram\TradePartyType $shipToTradeParty * @return self */ - public function setShipToTradeParty(\horstoeko\zugferd\entities\basic\ram\TradePartyType $shipToTradeParty) + public function setShipToTradeParty(?\horstoeko\zugferd\entities\basic\ram\TradePartyType $shipToTradeParty = null) { $this->shipToTradeParty = $shipToTradeParty; return $this; @@ -63,7 +63,7 @@ public function getActualDeliverySupplyChainEvent() * @param \horstoeko\zugferd\entities\basic\ram\SupplyChainEventType $actualDeliverySupplyChainEvent * @return self */ - public function setActualDeliverySupplyChainEvent(\horstoeko\zugferd\entities\basic\ram\SupplyChainEventType $actualDeliverySupplyChainEvent) + public function setActualDeliverySupplyChainEvent(?\horstoeko\zugferd\entities\basic\ram\SupplyChainEventType $actualDeliverySupplyChainEvent = null) { $this->actualDeliverySupplyChainEvent = $actualDeliverySupplyChainEvent; return $this; @@ -85,7 +85,7 @@ public function getDespatchAdviceReferencedDocument() * @param \horstoeko\zugferd\entities\basic\ram\ReferencedDocumentType $despatchAdviceReferencedDocument * @return self */ - public function setDespatchAdviceReferencedDocument(\horstoeko\zugferd\entities\basic\ram\ReferencedDocumentType $despatchAdviceReferencedDocument) + public function setDespatchAdviceReferencedDocument(?\horstoeko\zugferd\entities\basic\ram\ReferencedDocumentType $despatchAdviceReferencedDocument = null) { $this->despatchAdviceReferencedDocument = $despatchAdviceReferencedDocument; return $this; diff --git a/src/entities/basic/ram/HeaderTradeSettlementType.php b/src/entities/basic/ram/HeaderTradeSettlementType.php index 71af9260..a81521ed 100644 --- a/src/entities/basic/ram/HeaderTradeSettlementType.php +++ b/src/entities/basic/ram/HeaderTradeSettlementType.php @@ -36,9 +36,11 @@ class HeaderTradeSettlementType private $payeeTradeParty = null; /** - * @var \horstoeko\zugferd\entities\basic\ram\TradeSettlementPaymentMeansType $specifiedTradeSettlementPaymentMeans + * @var \horstoeko\zugferd\entities\basic\ram\TradeSettlementPaymentMeansType[] $specifiedTradeSettlementPaymentMeans */ - private $specifiedTradeSettlementPaymentMeans = null; + private $specifiedTradeSettlementPaymentMeans = [ + + ]; /** * @var \horstoeko\zugferd\entities\basic\ram\TradeTaxType[] $applicableTradeTax @@ -70,9 +72,11 @@ class HeaderTradeSettlementType private $specifiedTradeSettlementHeaderMonetarySummation = null; /** - * @var \horstoeko\zugferd\entities\basic\ram\ReferencedDocumentType $invoiceReferencedDocument + * @var \horstoeko\zugferd\entities\basic\ram\ReferencedDocumentType[] $invoiceReferencedDocument */ - private $invoiceReferencedDocument = null; + private $invoiceReferencedDocument = [ + + ]; /** * @var \horstoeko\zugferd\entities\basic\ram\TradeAccountingAccountType $receivableSpecifiedTradeAccountingAccount @@ -95,7 +99,7 @@ public function getCreditorReferenceID() * @param \horstoeko\zugferd\entities\basic\udt\IDType $creditorReferenceID * @return self */ - public function setCreditorReferenceID(\horstoeko\zugferd\entities\basic\udt\IDType $creditorReferenceID) + public function setCreditorReferenceID(?\horstoeko\zugferd\entities\basic\udt\IDType $creditorReferenceID = null) { $this->creditorReferenceID = $creditorReferenceID; return $this; @@ -183,16 +187,50 @@ public function getPayeeTradeParty() * @param \horstoeko\zugferd\entities\basic\ram\TradePartyType $payeeTradeParty * @return self */ - public function setPayeeTradeParty(\horstoeko\zugferd\entities\basic\ram\TradePartyType $payeeTradeParty) + public function setPayeeTradeParty(?\horstoeko\zugferd\entities\basic\ram\TradePartyType $payeeTradeParty = null) { $this->payeeTradeParty = $payeeTradeParty; return $this; } + /** + * Adds as specifiedTradeSettlementPaymentMeans + * + * @return self + * @param \horstoeko\zugferd\entities\basic\ram\TradeSettlementPaymentMeansType $specifiedTradeSettlementPaymentMeans + */ + public function addToSpecifiedTradeSettlementPaymentMeans(\horstoeko\zugferd\entities\basic\ram\TradeSettlementPaymentMeansType $specifiedTradeSettlementPaymentMeans) + { + $this->specifiedTradeSettlementPaymentMeans[] = $specifiedTradeSettlementPaymentMeans; + return $this; + } + + /** + * isset specifiedTradeSettlementPaymentMeans + * + * @param int|string $index + * @return bool + */ + public function issetSpecifiedTradeSettlementPaymentMeans($index) + { + return isset($this->specifiedTradeSettlementPaymentMeans[$index]); + } + + /** + * unset specifiedTradeSettlementPaymentMeans + * + * @param int|string $index + * @return void + */ + public function unsetSpecifiedTradeSettlementPaymentMeans($index) + { + unset($this->specifiedTradeSettlementPaymentMeans[$index]); + } + /** * Gets as specifiedTradeSettlementPaymentMeans * - * @return \horstoeko\zugferd\entities\basic\ram\TradeSettlementPaymentMeansType + * @return \horstoeko\zugferd\entities\basic\ram\TradeSettlementPaymentMeansType[] */ public function getSpecifiedTradeSettlementPaymentMeans() { @@ -202,10 +240,10 @@ public function getSpecifiedTradeSettlementPaymentMeans() /** * Sets a new specifiedTradeSettlementPaymentMeans * - * @param \horstoeko\zugferd\entities\basic\ram\TradeSettlementPaymentMeansType $specifiedTradeSettlementPaymentMeans + * @param \horstoeko\zugferd\entities\basic\ram\TradeSettlementPaymentMeansType[] $specifiedTradeSettlementPaymentMeans * @return self */ - public function setSpecifiedTradeSettlementPaymentMeans(\horstoeko\zugferd\entities\basic\ram\TradeSettlementPaymentMeansType $specifiedTradeSettlementPaymentMeans) + public function setSpecifiedTradeSettlementPaymentMeans(array $specifiedTradeSettlementPaymentMeans = null) { $this->specifiedTradeSettlementPaymentMeans = $specifiedTradeSettlementPaymentMeans; return $this; @@ -283,7 +321,7 @@ public function getBillingSpecifiedPeriod() * @param \horstoeko\zugferd\entities\basic\ram\SpecifiedPeriodType $billingSpecifiedPeriod * @return self */ - public function setBillingSpecifiedPeriod(\horstoeko\zugferd\entities\basic\ram\SpecifiedPeriodType $billingSpecifiedPeriod) + public function setBillingSpecifiedPeriod(?\horstoeko\zugferd\entities\basic\ram\SpecifiedPeriodType $billingSpecifiedPeriod = null) { $this->billingSpecifiedPeriod = $billingSpecifiedPeriod; return $this; @@ -339,7 +377,7 @@ public function getSpecifiedTradeAllowanceCharge() * @param \horstoeko\zugferd\entities\basic\ram\TradeAllowanceChargeType[] $specifiedTradeAllowanceCharge * @return self */ - public function setSpecifiedTradeAllowanceCharge(array $specifiedTradeAllowanceCharge) + public function setSpecifiedTradeAllowanceCharge(array $specifiedTradeAllowanceCharge = null) { $this->specifiedTradeAllowanceCharge = $specifiedTradeAllowanceCharge; return $this; @@ -361,7 +399,7 @@ public function getSpecifiedTradePaymentTerms() * @param \horstoeko\zugferd\entities\basic\ram\TradePaymentTermsType $specifiedTradePaymentTerms * @return self */ - public function setSpecifiedTradePaymentTerms(\horstoeko\zugferd\entities\basic\ram\TradePaymentTermsType $specifiedTradePaymentTerms) + public function setSpecifiedTradePaymentTerms(?\horstoeko\zugferd\entities\basic\ram\TradePaymentTermsType $specifiedTradePaymentTerms = null) { $this->specifiedTradePaymentTerms = $specifiedTradePaymentTerms; return $this; @@ -389,10 +427,44 @@ public function setSpecifiedTradeSettlementHeaderMonetarySummation(\horstoeko\zu return $this; } + /** + * Adds as invoiceReferencedDocument + * + * @return self + * @param \horstoeko\zugferd\entities\basic\ram\ReferencedDocumentType $invoiceReferencedDocument + */ + public function addToInvoiceReferencedDocument(\horstoeko\zugferd\entities\basic\ram\ReferencedDocumentType $invoiceReferencedDocument) + { + $this->invoiceReferencedDocument[] = $invoiceReferencedDocument; + return $this; + } + + /** + * isset invoiceReferencedDocument + * + * @param int|string $index + * @return bool + */ + public function issetInvoiceReferencedDocument($index) + { + return isset($this->invoiceReferencedDocument[$index]); + } + + /** + * unset invoiceReferencedDocument + * + * @param int|string $index + * @return void + */ + public function unsetInvoiceReferencedDocument($index) + { + unset($this->invoiceReferencedDocument[$index]); + } + /** * Gets as invoiceReferencedDocument * - * @return \horstoeko\zugferd\entities\basic\ram\ReferencedDocumentType + * @return \horstoeko\zugferd\entities\basic\ram\ReferencedDocumentType[] */ public function getInvoiceReferencedDocument() { @@ -402,10 +474,10 @@ public function getInvoiceReferencedDocument() /** * Sets a new invoiceReferencedDocument * - * @param \horstoeko\zugferd\entities\basic\ram\ReferencedDocumentType $invoiceReferencedDocument + * @param \horstoeko\zugferd\entities\basic\ram\ReferencedDocumentType[] $invoiceReferencedDocument * @return self */ - public function setInvoiceReferencedDocument(\horstoeko\zugferd\entities\basic\ram\ReferencedDocumentType $invoiceReferencedDocument) + public function setInvoiceReferencedDocument(array $invoiceReferencedDocument = null) { $this->invoiceReferencedDocument = $invoiceReferencedDocument; return $this; @@ -427,7 +499,7 @@ public function getReceivableSpecifiedTradeAccountingAccount() * @param \horstoeko\zugferd\entities\basic\ram\TradeAccountingAccountType $receivableSpecifiedTradeAccountingAccount * @return self */ - public function setReceivableSpecifiedTradeAccountingAccount(\horstoeko\zugferd\entities\basic\ram\TradeAccountingAccountType $receivableSpecifiedTradeAccountingAccount) + public function setReceivableSpecifiedTradeAccountingAccount(?\horstoeko\zugferd\entities\basic\ram\TradeAccountingAccountType $receivableSpecifiedTradeAccountingAccount = null) { $this->receivableSpecifiedTradeAccountingAccount = $receivableSpecifiedTradeAccountingAccount; return $this; diff --git a/src/entities/basic/ram/LegalOrganizationType.php b/src/entities/basic/ram/LegalOrganizationType.php index 8942a3f7..a5092ee0 100644 --- a/src/entities/basic/ram/LegalOrganizationType.php +++ b/src/entities/basic/ram/LegalOrganizationType.php @@ -36,7 +36,7 @@ public function getID() * @param \horstoeko\zugferd\entities\basic\udt\IDType $iD * @return self */ - public function setID(\horstoeko\zugferd\entities\basic\udt\IDType $iD) + public function setID(?\horstoeko\zugferd\entities\basic\udt\IDType $iD = null) { $this->iD = $iD; return $this; diff --git a/src/entities/basic/ram/LineTradeAgreementType.php b/src/entities/basic/ram/LineTradeAgreementType.php index 115dbb04..e2a4b409 100644 --- a/src/entities/basic/ram/LineTradeAgreementType.php +++ b/src/entities/basic/ram/LineTradeAgreementType.php @@ -36,7 +36,7 @@ public function getGrossPriceProductTradePrice() * @param \horstoeko\zugferd\entities\basic\ram\TradePriceType $grossPriceProductTradePrice * @return self */ - public function setGrossPriceProductTradePrice(\horstoeko\zugferd\entities\basic\ram\TradePriceType $grossPriceProductTradePrice) + public function setGrossPriceProductTradePrice(?\horstoeko\zugferd\entities\basic\ram\TradePriceType $grossPriceProductTradePrice = null) { $this->grossPriceProductTradePrice = $grossPriceProductTradePrice; return $this; diff --git a/src/entities/basic/ram/LineTradeSettlementType.php b/src/entities/basic/ram/LineTradeSettlementType.php index 6c61ef36..61c2b3ca 100644 --- a/src/entities/basic/ram/LineTradeSettlementType.php +++ b/src/entities/basic/ram/LineTradeSettlementType.php @@ -70,7 +70,7 @@ public function getBillingSpecifiedPeriod() * @param \horstoeko\zugferd\entities\basic\ram\SpecifiedPeriodType $billingSpecifiedPeriod * @return self */ - public function setBillingSpecifiedPeriod(\horstoeko\zugferd\entities\basic\ram\SpecifiedPeriodType $billingSpecifiedPeriod) + public function setBillingSpecifiedPeriod(?\horstoeko\zugferd\entities\basic\ram\SpecifiedPeriodType $billingSpecifiedPeriod = null) { $this->billingSpecifiedPeriod = $billingSpecifiedPeriod; return $this; @@ -126,7 +126,7 @@ public function getSpecifiedTradeAllowanceCharge() * @param \horstoeko\zugferd\entities\basic\ram\TradeAllowanceChargeType[] $specifiedTradeAllowanceCharge * @return self */ - public function setSpecifiedTradeAllowanceCharge(array $specifiedTradeAllowanceCharge) + public function setSpecifiedTradeAllowanceCharge(array $specifiedTradeAllowanceCharge = null) { $this->specifiedTradeAllowanceCharge = $specifiedTradeAllowanceCharge; return $this; diff --git a/src/entities/basic/ram/ReferencedDocumentType.php b/src/entities/basic/ram/ReferencedDocumentType.php index 2fc78bdc..109c2e44 100644 --- a/src/entities/basic/ram/ReferencedDocumentType.php +++ b/src/entities/basic/ram/ReferencedDocumentType.php @@ -58,7 +58,7 @@ public function getFormattedIssueDateTime() * @param \horstoeko\zugferd\entities\basic\qdt\FormattedDateTimeType $formattedIssueDateTime * @return self */ - public function setFormattedIssueDateTime(\horstoeko\zugferd\entities\basic\qdt\FormattedDateTimeType $formattedIssueDateTime) + public function setFormattedIssueDateTime(?\horstoeko\zugferd\entities\basic\qdt\FormattedDateTimeType $formattedIssueDateTime = null) { $this->formattedIssueDateTime = $formattedIssueDateTime; return $this; diff --git a/src/entities/basic/ram/SpecifiedPeriodType.php b/src/entities/basic/ram/SpecifiedPeriodType.php index 03ffc3ed..e6186455 100644 --- a/src/entities/basic/ram/SpecifiedPeriodType.php +++ b/src/entities/basic/ram/SpecifiedPeriodType.php @@ -36,7 +36,7 @@ public function getStartDateTime() * @param \horstoeko\zugferd\entities\basic\udt\DateTimeType $startDateTime * @return self */ - public function setStartDateTime(\horstoeko\zugferd\entities\basic\udt\DateTimeType $startDateTime) + public function setStartDateTime(?\horstoeko\zugferd\entities\basic\udt\DateTimeType $startDateTime = null) { $this->startDateTime = $startDateTime; return $this; @@ -58,7 +58,7 @@ public function getEndDateTime() * @param \horstoeko\zugferd\entities\basic\udt\DateTimeType $endDateTime * @return self */ - public function setEndDateTime(\horstoeko\zugferd\entities\basic\udt\DateTimeType $endDateTime) + public function setEndDateTime(?\horstoeko\zugferd\entities\basic\udt\DateTimeType $endDateTime = null) { $this->endDateTime = $endDateTime; return $this; diff --git a/src/entities/basic/ram/TradeAllowanceChargeType.php b/src/entities/basic/ram/TradeAllowanceChargeType.php index 59f46250..5d7c3067 100644 --- a/src/entities/basic/ram/TradeAllowanceChargeType.php +++ b/src/entities/basic/ram/TradeAllowanceChargeType.php @@ -105,7 +105,7 @@ public function getBasisAmount() * @param \horstoeko\zugferd\entities\basic\udt\AmountType $basisAmount * @return self */ - public function setBasisAmount(\horstoeko\zugferd\entities\basic\udt\AmountType $basisAmount) + public function setBasisAmount(?\horstoeko\zugferd\entities\basic\udt\AmountType $basisAmount = null) { $this->basisAmount = $basisAmount; return $this; @@ -193,7 +193,7 @@ public function getCategoryTradeTax() * @param \horstoeko\zugferd\entities\basic\ram\TradeTaxType $categoryTradeTax * @return self */ - public function setCategoryTradeTax(\horstoeko\zugferd\entities\basic\ram\TradeTaxType $categoryTradeTax) + public function setCategoryTradeTax(?\horstoeko\zugferd\entities\basic\ram\TradeTaxType $categoryTradeTax = null) { $this->categoryTradeTax = $categoryTradeTax; return $this; diff --git a/src/entities/basic/ram/TradePartyType.php b/src/entities/basic/ram/TradePartyType.php index a1310e9e..ae4a1709 100644 --- a/src/entities/basic/ram/TradePartyType.php +++ b/src/entities/basic/ram/TradePartyType.php @@ -101,7 +101,7 @@ public function getID() * @param \horstoeko\zugferd\entities\basic\udt\IDType[] $iD * @return self */ - public function setID(array $iD) + public function setID(array $iD = null) { $this->iD = $iD; return $this; @@ -157,7 +157,7 @@ public function getGlobalID() * @param \horstoeko\zugferd\entities\basic\udt\IDType[] $globalID * @return self */ - public function setGlobalID(array $globalID) + public function setGlobalID(array $globalID = null) { $this->globalID = $globalID; return $this; @@ -201,7 +201,7 @@ public function getSpecifiedLegalOrganization() * @param \horstoeko\zugferd\entities\basic\ram\LegalOrganizationType $specifiedLegalOrganization * @return self */ - public function setSpecifiedLegalOrganization(\horstoeko\zugferd\entities\basic\ram\LegalOrganizationType $specifiedLegalOrganization) + public function setSpecifiedLegalOrganization(?\horstoeko\zugferd\entities\basic\ram\LegalOrganizationType $specifiedLegalOrganization = null) { $this->specifiedLegalOrganization = $specifiedLegalOrganization; return $this; @@ -223,7 +223,7 @@ public function getPostalTradeAddress() * @param \horstoeko\zugferd\entities\basic\ram\TradeAddressType $postalTradeAddress * @return self */ - public function setPostalTradeAddress(\horstoeko\zugferd\entities\basic\ram\TradeAddressType $postalTradeAddress) + public function setPostalTradeAddress(?\horstoeko\zugferd\entities\basic\ram\TradeAddressType $postalTradeAddress = null) { $this->postalTradeAddress = $postalTradeAddress; return $this; @@ -245,7 +245,7 @@ public function getURIUniversalCommunication() * @param \horstoeko\zugferd\entities\basic\ram\UniversalCommunicationType $uRIUniversalCommunication * @return self */ - public function setURIUniversalCommunication(\horstoeko\zugferd\entities\basic\ram\UniversalCommunicationType $uRIUniversalCommunication) + public function setURIUniversalCommunication(?\horstoeko\zugferd\entities\basic\ram\UniversalCommunicationType $uRIUniversalCommunication = null) { $this->uRIUniversalCommunication = $uRIUniversalCommunication; return $this; @@ -301,7 +301,7 @@ public function getSpecifiedTaxRegistration() * @param \horstoeko\zugferd\entities\basic\ram\TaxRegistrationType[] $specifiedTaxRegistration * @return self */ - public function setSpecifiedTaxRegistration(array $specifiedTaxRegistration) + public function setSpecifiedTaxRegistration(array $specifiedTaxRegistration = null) { $this->specifiedTaxRegistration = $specifiedTaxRegistration; return $this; diff --git a/src/entities/basic/ram/TradePaymentTermsType.php b/src/entities/basic/ram/TradePaymentTermsType.php index 2b949248..ab9247d6 100644 --- a/src/entities/basic/ram/TradePaymentTermsType.php +++ b/src/entities/basic/ram/TradePaymentTermsType.php @@ -63,7 +63,7 @@ public function getDueDateDateTime() * @param \horstoeko\zugferd\entities\basic\udt\DateTimeType $dueDateDateTime * @return self */ - public function setDueDateDateTime(\horstoeko\zugferd\entities\basic\udt\DateTimeType $dueDateDateTime) + public function setDueDateDateTime(?\horstoeko\zugferd\entities\basic\udt\DateTimeType $dueDateDateTime = null) { $this->dueDateDateTime = $dueDateDateTime; return $this; @@ -85,7 +85,7 @@ public function getDirectDebitMandateID() * @param \horstoeko\zugferd\entities\basic\udt\IDType $directDebitMandateID * @return self */ - public function setDirectDebitMandateID(\horstoeko\zugferd\entities\basic\udt\IDType $directDebitMandateID) + public function setDirectDebitMandateID(?\horstoeko\zugferd\entities\basic\udt\IDType $directDebitMandateID = null) { $this->directDebitMandateID = $directDebitMandateID; return $this; diff --git a/src/entities/basic/ram/TradePriceType.php b/src/entities/basic/ram/TradePriceType.php index 204d4bef..eb3d94ac 100644 --- a/src/entities/basic/ram/TradePriceType.php +++ b/src/entities/basic/ram/TradePriceType.php @@ -63,7 +63,7 @@ public function getBasisQuantity() * @param \horstoeko\zugferd\entities\basic\udt\QuantityType $basisQuantity * @return self */ - public function setBasisQuantity(\horstoeko\zugferd\entities\basic\udt\QuantityType $basisQuantity) + public function setBasisQuantity(?\horstoeko\zugferd\entities\basic\udt\QuantityType $basisQuantity = null) { $this->basisQuantity = $basisQuantity; return $this; @@ -85,7 +85,7 @@ public function getAppliedTradeAllowanceCharge() * @param \horstoeko\zugferd\entities\basic\ram\TradeAllowanceChargeType $appliedTradeAllowanceCharge * @return self */ - public function setAppliedTradeAllowanceCharge(\horstoeko\zugferd\entities\basic\ram\TradeAllowanceChargeType $appliedTradeAllowanceCharge) + public function setAppliedTradeAllowanceCharge(?\horstoeko\zugferd\entities\basic\ram\TradeAllowanceChargeType $appliedTradeAllowanceCharge = null) { $this->appliedTradeAllowanceCharge = $appliedTradeAllowanceCharge; return $this; diff --git a/src/entities/basic/ram/TradeProductType.php b/src/entities/basic/ram/TradeProductType.php index 61a2000f..927b0805 100644 --- a/src/entities/basic/ram/TradeProductType.php +++ b/src/entities/basic/ram/TradeProductType.php @@ -36,7 +36,7 @@ public function getGlobalID() * @param \horstoeko\zugferd\entities\basic\udt\IDType $globalID * @return self */ - public function setGlobalID(\horstoeko\zugferd\entities\basic\udt\IDType $globalID) + public function setGlobalID(?\horstoeko\zugferd\entities\basic\udt\IDType $globalID = null) { $this->globalID = $globalID; return $this; diff --git a/src/entities/basic/ram/TradeSettlementHeaderMonetarySummationType.php b/src/entities/basic/ram/TradeSettlementHeaderMonetarySummationType.php index b3c0fbf3..d44373f5 100644 --- a/src/entities/basic/ram/TradeSettlementHeaderMonetarySummationType.php +++ b/src/entities/basic/ram/TradeSettlementHeaderMonetarySummationType.php @@ -90,7 +90,7 @@ public function getChargeTotalAmount() * @param \horstoeko\zugferd\entities\basic\udt\AmountType $chargeTotalAmount * @return self */ - public function setChargeTotalAmount(\horstoeko\zugferd\entities\basic\udt\AmountType $chargeTotalAmount) + public function setChargeTotalAmount(?\horstoeko\zugferd\entities\basic\udt\AmountType $chargeTotalAmount = null) { $this->chargeTotalAmount = $chargeTotalAmount; return $this; @@ -112,7 +112,7 @@ public function getAllowanceTotalAmount() * @param \horstoeko\zugferd\entities\basic\udt\AmountType $allowanceTotalAmount * @return self */ - public function setAllowanceTotalAmount(\horstoeko\zugferd\entities\basic\udt\AmountType $allowanceTotalAmount) + public function setAllowanceTotalAmount(?\horstoeko\zugferd\entities\basic\udt\AmountType $allowanceTotalAmount = null) { $this->allowanceTotalAmount = $allowanceTotalAmount; return $this; @@ -190,7 +190,7 @@ public function getTaxTotalAmount() * @param \horstoeko\zugferd\entities\basic\udt\AmountType[] $taxTotalAmount * @return self */ - public function setTaxTotalAmount(array $taxTotalAmount) + public function setTaxTotalAmount(array $taxTotalAmount = null) { $this->taxTotalAmount = $taxTotalAmount; return $this; @@ -234,7 +234,7 @@ public function getTotalPrepaidAmount() * @param \horstoeko\zugferd\entities\basic\udt\AmountType $totalPrepaidAmount * @return self */ - public function setTotalPrepaidAmount(\horstoeko\zugferd\entities\basic\udt\AmountType $totalPrepaidAmount) + public function setTotalPrepaidAmount(?\horstoeko\zugferd\entities\basic\udt\AmountType $totalPrepaidAmount = null) { $this->totalPrepaidAmount = $totalPrepaidAmount; return $this; diff --git a/src/entities/basic/ram/TradeSettlementPaymentMeansType.php b/src/entities/basic/ram/TradeSettlementPaymentMeansType.php index 0ba69e87..815f18a6 100644 --- a/src/entities/basic/ram/TradeSettlementPaymentMeansType.php +++ b/src/entities/basic/ram/TradeSettlementPaymentMeansType.php @@ -63,7 +63,7 @@ public function getPayerPartyDebtorFinancialAccount() * @param \horstoeko\zugferd\entities\basic\ram\DebtorFinancialAccountType $payerPartyDebtorFinancialAccount * @return self */ - public function setPayerPartyDebtorFinancialAccount(\horstoeko\zugferd\entities\basic\ram\DebtorFinancialAccountType $payerPartyDebtorFinancialAccount) + public function setPayerPartyDebtorFinancialAccount(?\horstoeko\zugferd\entities\basic\ram\DebtorFinancialAccountType $payerPartyDebtorFinancialAccount = null) { $this->payerPartyDebtorFinancialAccount = $payerPartyDebtorFinancialAccount; return $this; @@ -85,7 +85,7 @@ public function getPayeePartyCreditorFinancialAccount() * @param \horstoeko\zugferd\entities\basic\ram\CreditorFinancialAccountType $payeePartyCreditorFinancialAccount * @return self */ - public function setPayeePartyCreditorFinancialAccount(\horstoeko\zugferd\entities\basic\ram\CreditorFinancialAccountType $payeePartyCreditorFinancialAccount) + public function setPayeePartyCreditorFinancialAccount(?\horstoeko\zugferd\entities\basic\ram\CreditorFinancialAccountType $payeePartyCreditorFinancialAccount = null) { $this->payeePartyCreditorFinancialAccount = $payeePartyCreditorFinancialAccount; return $this; diff --git a/src/entities/basic/ram/TradeTaxType.php b/src/entities/basic/ram/TradeTaxType.php index a2f5fe57..c8b259e3 100644 --- a/src/entities/basic/ram/TradeTaxType.php +++ b/src/entities/basic/ram/TradeTaxType.php @@ -66,7 +66,7 @@ public function getCalculatedAmount() * @param \horstoeko\zugferd\entities\basic\udt\AmountType $calculatedAmount * @return self */ - public function setCalculatedAmount(\horstoeko\zugferd\entities\basic\udt\AmountType $calculatedAmount) + public function setCalculatedAmount(?\horstoeko\zugferd\entities\basic\udt\AmountType $calculatedAmount = null) { $this->calculatedAmount = $calculatedAmount; return $this; @@ -132,7 +132,7 @@ public function getBasisAmount() * @param \horstoeko\zugferd\entities\basic\udt\AmountType $basisAmount * @return self */ - public function setBasisAmount(\horstoeko\zugferd\entities\basic\udt\AmountType $basisAmount) + public function setBasisAmount(?\horstoeko\zugferd\entities\basic\udt\AmountType $basisAmount = null) { $this->basisAmount = $basisAmount; return $this; diff --git a/src/entities/basic/udt/DateTimeType.php b/src/entities/basic/udt/DateTimeType.php index 97977b03..105e70eb 100644 --- a/src/entities/basic/udt/DateTimeType.php +++ b/src/entities/basic/udt/DateTimeType.php @@ -31,7 +31,7 @@ public function getDateTimeString() * @param \horstoeko\zugferd\entities\basic\udt\DateTimeType\DateTimeStringAType $dateTimeString * @return self */ - public function setDateTimeString(\horstoeko\zugferd\entities\basic\udt\DateTimeType\DateTimeStringAType $dateTimeString) + public function setDateTimeString(?\horstoeko\zugferd\entities\basic\udt\DateTimeType\DateTimeStringAType $dateTimeString = null) { $this->dateTimeString = $dateTimeString; return $this; diff --git a/src/entities/basicwl/ram/CreditorFinancialAccountType.php b/src/entities/basicwl/ram/CreditorFinancialAccountType.php index cbb57cd1..daa6b98b 100644 --- a/src/entities/basicwl/ram/CreditorFinancialAccountType.php +++ b/src/entities/basicwl/ram/CreditorFinancialAccountType.php @@ -36,7 +36,7 @@ public function getIBANID() * @param \horstoeko\zugferd\entities\basicwl\udt\IDType $iBANID * @return self */ - public function setIBANID(\horstoeko\zugferd\entities\basicwl\udt\IDType $iBANID) + public function setIBANID(?\horstoeko\zugferd\entities\basicwl\udt\IDType $iBANID = null) { $this->iBANID = $iBANID; return $this; @@ -58,7 +58,7 @@ public function getProprietaryID() * @param \horstoeko\zugferd\entities\basicwl\udt\IDType $proprietaryID * @return self */ - public function setProprietaryID(\horstoeko\zugferd\entities\basicwl\udt\IDType $proprietaryID) + public function setProprietaryID(?\horstoeko\zugferd\entities\basicwl\udt\IDType $proprietaryID = null) { $this->proprietaryID = $proprietaryID; return $this; diff --git a/src/entities/basicwl/ram/ExchangedDocumentContextType.php b/src/entities/basicwl/ram/ExchangedDocumentContextType.php index 76864dc9..71f67630 100644 --- a/src/entities/basicwl/ram/ExchangedDocumentContextType.php +++ b/src/entities/basicwl/ram/ExchangedDocumentContextType.php @@ -36,7 +36,7 @@ public function getBusinessProcessSpecifiedDocumentContextParameter() * @param \horstoeko\zugferd\entities\basicwl\ram\DocumentContextParameterType $businessProcessSpecifiedDocumentContextParameter * @return self */ - public function setBusinessProcessSpecifiedDocumentContextParameter(\horstoeko\zugferd\entities\basicwl\ram\DocumentContextParameterType $businessProcessSpecifiedDocumentContextParameter) + public function setBusinessProcessSpecifiedDocumentContextParameter(?\horstoeko\zugferd\entities\basicwl\ram\DocumentContextParameterType $businessProcessSpecifiedDocumentContextParameter = null) { $this->businessProcessSpecifiedDocumentContextParameter = $businessProcessSpecifiedDocumentContextParameter; return $this; diff --git a/src/entities/basicwl/ram/ExchangedDocumentType.php b/src/entities/basicwl/ram/ExchangedDocumentType.php index f8516098..3c3c6ec2 100644 --- a/src/entities/basicwl/ram/ExchangedDocumentType.php +++ b/src/entities/basicwl/ram/ExchangedDocumentType.php @@ -148,7 +148,7 @@ public function getIncludedNote() * @param \horstoeko\zugferd\entities\basicwl\ram\NoteType[] $includedNote * @return self */ - public function setIncludedNote(array $includedNote) + public function setIncludedNote(array $includedNote = null) { $this->includedNote = $includedNote; return $this; diff --git a/src/entities/basicwl/ram/HeaderTradeAgreementType.php b/src/entities/basicwl/ram/HeaderTradeAgreementType.php index 1b189dd6..d434e460 100644 --- a/src/entities/basicwl/ram/HeaderTradeAgreementType.php +++ b/src/entities/basicwl/ram/HeaderTradeAgreementType.php @@ -122,7 +122,7 @@ public function getSellerTaxRepresentativeTradeParty() * @param \horstoeko\zugferd\entities\basicwl\ram\TradePartyType $sellerTaxRepresentativeTradeParty * @return self */ - public function setSellerTaxRepresentativeTradeParty(\horstoeko\zugferd\entities\basicwl\ram\TradePartyType $sellerTaxRepresentativeTradeParty) + public function setSellerTaxRepresentativeTradeParty(?\horstoeko\zugferd\entities\basicwl\ram\TradePartyType $sellerTaxRepresentativeTradeParty = null) { $this->sellerTaxRepresentativeTradeParty = $sellerTaxRepresentativeTradeParty; return $this; @@ -144,7 +144,7 @@ public function getBuyerOrderReferencedDocument() * @param \horstoeko\zugferd\entities\basicwl\ram\ReferencedDocumentType $buyerOrderReferencedDocument * @return self */ - public function setBuyerOrderReferencedDocument(\horstoeko\zugferd\entities\basicwl\ram\ReferencedDocumentType $buyerOrderReferencedDocument) + public function setBuyerOrderReferencedDocument(?\horstoeko\zugferd\entities\basicwl\ram\ReferencedDocumentType $buyerOrderReferencedDocument = null) { $this->buyerOrderReferencedDocument = $buyerOrderReferencedDocument; return $this; @@ -166,7 +166,7 @@ public function getContractReferencedDocument() * @param \horstoeko\zugferd\entities\basicwl\ram\ReferencedDocumentType $contractReferencedDocument * @return self */ - public function setContractReferencedDocument(\horstoeko\zugferd\entities\basicwl\ram\ReferencedDocumentType $contractReferencedDocument) + public function setContractReferencedDocument(?\horstoeko\zugferd\entities\basicwl\ram\ReferencedDocumentType $contractReferencedDocument = null) { $this->contractReferencedDocument = $contractReferencedDocument; return $this; diff --git a/src/entities/basicwl/ram/HeaderTradeDeliveryType.php b/src/entities/basicwl/ram/HeaderTradeDeliveryType.php index 0ee978f6..705648c7 100644 --- a/src/entities/basicwl/ram/HeaderTradeDeliveryType.php +++ b/src/entities/basicwl/ram/HeaderTradeDeliveryType.php @@ -41,7 +41,7 @@ public function getShipToTradeParty() * @param \horstoeko\zugferd\entities\basicwl\ram\TradePartyType $shipToTradeParty * @return self */ - public function setShipToTradeParty(\horstoeko\zugferd\entities\basicwl\ram\TradePartyType $shipToTradeParty) + public function setShipToTradeParty(?\horstoeko\zugferd\entities\basicwl\ram\TradePartyType $shipToTradeParty = null) { $this->shipToTradeParty = $shipToTradeParty; return $this; @@ -63,7 +63,7 @@ public function getActualDeliverySupplyChainEvent() * @param \horstoeko\zugferd\entities\basicwl\ram\SupplyChainEventType $actualDeliverySupplyChainEvent * @return self */ - public function setActualDeliverySupplyChainEvent(\horstoeko\zugferd\entities\basicwl\ram\SupplyChainEventType $actualDeliverySupplyChainEvent) + public function setActualDeliverySupplyChainEvent(?\horstoeko\zugferd\entities\basicwl\ram\SupplyChainEventType $actualDeliverySupplyChainEvent = null) { $this->actualDeliverySupplyChainEvent = $actualDeliverySupplyChainEvent; return $this; @@ -85,9 +85,12 @@ public function getDespatchAdviceReferencedDocument() * @param \horstoeko\zugferd\entities\basicwl\ram\ReferencedDocumentType $despatchAdviceReferencedDocument * @return self */ - public function setDespatchAdviceReferencedDocument(\horstoeko\zugferd\entities\basicwl\ram\ReferencedDocumentType $despatchAdviceReferencedDocument) + public function setDespatchAdviceReferencedDocument(?\horstoeko\zugferd\entities\basicwl\ram\ReferencedDocumentType $despatchAdviceReferencedDocument = null) { $this->despatchAdviceReferencedDocument = $despatchAdviceReferencedDocument; return $this; } + + } + diff --git a/src/entities/basicwl/ram/HeaderTradeSettlementType.php b/src/entities/basicwl/ram/HeaderTradeSettlementType.php index a942069d..23b34ecd 100644 --- a/src/entities/basicwl/ram/HeaderTradeSettlementType.php +++ b/src/entities/basicwl/ram/HeaderTradeSettlementType.php @@ -36,9 +36,11 @@ class HeaderTradeSettlementType private $payeeTradeParty = null; /** - * @var \horstoeko\zugferd\entities\basicwl\ram\TradeSettlementPaymentMeansType $specifiedTradeSettlementPaymentMeans + * @var \horstoeko\zugferd\entities\basicwl\ram\TradeSettlementPaymentMeansType[] $specifiedTradeSettlementPaymentMeans */ - private $specifiedTradeSettlementPaymentMeans = null; + private $specifiedTradeSettlementPaymentMeans = [ + + ]; /** * @var \horstoeko\zugferd\entities\basicwl\ram\TradeTaxType[] $applicableTradeTax @@ -70,9 +72,11 @@ class HeaderTradeSettlementType private $specifiedTradeSettlementHeaderMonetarySummation = null; /** - * @var \horstoeko\zugferd\entities\basicwl\ram\ReferencedDocumentType $invoiceReferencedDocument + * @var \horstoeko\zugferd\entities\basicwl\ram\ReferencedDocumentType[] $invoiceReferencedDocument */ - private $invoiceReferencedDocument = null; + private $invoiceReferencedDocument = [ + + ]; /** * @var \horstoeko\zugferd\entities\basicwl\ram\TradeAccountingAccountType $receivableSpecifiedTradeAccountingAccount @@ -95,7 +99,7 @@ public function getCreditorReferenceID() * @param \horstoeko\zugferd\entities\basicwl\udt\IDType $creditorReferenceID * @return self */ - public function setCreditorReferenceID(\horstoeko\zugferd\entities\basicwl\udt\IDType $creditorReferenceID) + public function setCreditorReferenceID(?\horstoeko\zugferd\entities\basicwl\udt\IDType $creditorReferenceID = null) { $this->creditorReferenceID = $creditorReferenceID; return $this; @@ -183,16 +187,50 @@ public function getPayeeTradeParty() * @param \horstoeko\zugferd\entities\basicwl\ram\TradePartyType $payeeTradeParty * @return self */ - public function setPayeeTradeParty(\horstoeko\zugferd\entities\basicwl\ram\TradePartyType $payeeTradeParty) + public function setPayeeTradeParty(?\horstoeko\zugferd\entities\basicwl\ram\TradePartyType $payeeTradeParty = null) { $this->payeeTradeParty = $payeeTradeParty; return $this; } + /** + * Adds as specifiedTradeSettlementPaymentMeans + * + * @return self + * @param \horstoeko\zugferd\entities\basicwl\ram\TradeSettlementPaymentMeansType $specifiedTradeSettlementPaymentMeans + */ + public function addToSpecifiedTradeSettlementPaymentMeans(\horstoeko\zugferd\entities\basicwl\ram\TradeSettlementPaymentMeansType $specifiedTradeSettlementPaymentMeans) + { + $this->specifiedTradeSettlementPaymentMeans[] = $specifiedTradeSettlementPaymentMeans; + return $this; + } + + /** + * isset specifiedTradeSettlementPaymentMeans + * + * @param int|string $index + * @return bool + */ + public function issetSpecifiedTradeSettlementPaymentMeans($index) + { + return isset($this->specifiedTradeSettlementPaymentMeans[$index]); + } + + /** + * unset specifiedTradeSettlementPaymentMeans + * + * @param int|string $index + * @return void + */ + public function unsetSpecifiedTradeSettlementPaymentMeans($index) + { + unset($this->specifiedTradeSettlementPaymentMeans[$index]); + } + /** * Gets as specifiedTradeSettlementPaymentMeans * - * @return \horstoeko\zugferd\entities\basicwl\ram\TradeSettlementPaymentMeansType + * @return \horstoeko\zugferd\entities\basicwl\ram\TradeSettlementPaymentMeansType[] */ public function getSpecifiedTradeSettlementPaymentMeans() { @@ -202,10 +240,10 @@ public function getSpecifiedTradeSettlementPaymentMeans() /** * Sets a new specifiedTradeSettlementPaymentMeans * - * @param \horstoeko\zugferd\entities\basicwl\ram\TradeSettlementPaymentMeansType $specifiedTradeSettlementPaymentMeans + * @param \horstoeko\zugferd\entities\basicwl\ram\TradeSettlementPaymentMeansType[] $specifiedTradeSettlementPaymentMeans * @return self */ - public function setSpecifiedTradeSettlementPaymentMeans(\horstoeko\zugferd\entities\basicwl\ram\TradeSettlementPaymentMeansType $specifiedTradeSettlementPaymentMeans) + public function setSpecifiedTradeSettlementPaymentMeans(array $specifiedTradeSettlementPaymentMeans = null) { $this->specifiedTradeSettlementPaymentMeans = $specifiedTradeSettlementPaymentMeans; return $this; @@ -283,7 +321,7 @@ public function getBillingSpecifiedPeriod() * @param \horstoeko\zugferd\entities\basicwl\ram\SpecifiedPeriodType $billingSpecifiedPeriod * @return self */ - public function setBillingSpecifiedPeriod(\horstoeko\zugferd\entities\basicwl\ram\SpecifiedPeriodType $billingSpecifiedPeriod) + public function setBillingSpecifiedPeriod(?\horstoeko\zugferd\entities\basicwl\ram\SpecifiedPeriodType $billingSpecifiedPeriod = null) { $this->billingSpecifiedPeriod = $billingSpecifiedPeriod; return $this; @@ -339,7 +377,7 @@ public function getSpecifiedTradeAllowanceCharge() * @param \horstoeko\zugferd\entities\basicwl\ram\TradeAllowanceChargeType[] $specifiedTradeAllowanceCharge * @return self */ - public function setSpecifiedTradeAllowanceCharge(array $specifiedTradeAllowanceCharge) + public function setSpecifiedTradeAllowanceCharge(array $specifiedTradeAllowanceCharge = null) { $this->specifiedTradeAllowanceCharge = $specifiedTradeAllowanceCharge; return $this; @@ -361,7 +399,7 @@ public function getSpecifiedTradePaymentTerms() * @param \horstoeko\zugferd\entities\basicwl\ram\TradePaymentTermsType $specifiedTradePaymentTerms * @return self */ - public function setSpecifiedTradePaymentTerms(\horstoeko\zugferd\entities\basicwl\ram\TradePaymentTermsType $specifiedTradePaymentTerms) + public function setSpecifiedTradePaymentTerms(?\horstoeko\zugferd\entities\basicwl\ram\TradePaymentTermsType $specifiedTradePaymentTerms = null) { $this->specifiedTradePaymentTerms = $specifiedTradePaymentTerms; return $this; @@ -389,10 +427,44 @@ public function setSpecifiedTradeSettlementHeaderMonetarySummation(\horstoeko\zu return $this; } + /** + * Adds as invoiceReferencedDocument + * + * @return self + * @param \horstoeko\zugferd\entities\basicwl\ram\ReferencedDocumentType $invoiceReferencedDocument + */ + public function addToInvoiceReferencedDocument(\horstoeko\zugferd\entities\basicwl\ram\ReferencedDocumentType $invoiceReferencedDocument) + { + $this->invoiceReferencedDocument[] = $invoiceReferencedDocument; + return $this; + } + + /** + * isset invoiceReferencedDocument + * + * @param int|string $index + * @return bool + */ + public function issetInvoiceReferencedDocument($index) + { + return isset($this->invoiceReferencedDocument[$index]); + } + + /** + * unset invoiceReferencedDocument + * + * @param int|string $index + * @return void + */ + public function unsetInvoiceReferencedDocument($index) + { + unset($this->invoiceReferencedDocument[$index]); + } + /** * Gets as invoiceReferencedDocument * - * @return \horstoeko\zugferd\entities\basicwl\ram\ReferencedDocumentType + * @return \horstoeko\zugferd\entities\basicwl\ram\ReferencedDocumentType[] */ public function getInvoiceReferencedDocument() { @@ -402,10 +474,10 @@ public function getInvoiceReferencedDocument() /** * Sets a new invoiceReferencedDocument * - * @param \horstoeko\zugferd\entities\basicwl\ram\ReferencedDocumentType $invoiceReferencedDocument + * @param \horstoeko\zugferd\entities\basicwl\ram\ReferencedDocumentType[] $invoiceReferencedDocument * @return self */ - public function setInvoiceReferencedDocument(\horstoeko\zugferd\entities\basicwl\ram\ReferencedDocumentType $invoiceReferencedDocument) + public function setInvoiceReferencedDocument(array $invoiceReferencedDocument = null) { $this->invoiceReferencedDocument = $invoiceReferencedDocument; return $this; @@ -427,7 +499,7 @@ public function getReceivableSpecifiedTradeAccountingAccount() * @param \horstoeko\zugferd\entities\basicwl\ram\TradeAccountingAccountType $receivableSpecifiedTradeAccountingAccount * @return self */ - public function setReceivableSpecifiedTradeAccountingAccount(\horstoeko\zugferd\entities\basicwl\ram\TradeAccountingAccountType $receivableSpecifiedTradeAccountingAccount) + public function setReceivableSpecifiedTradeAccountingAccount(?\horstoeko\zugferd\entities\basicwl\ram\TradeAccountingAccountType $receivableSpecifiedTradeAccountingAccount = null) { $this->receivableSpecifiedTradeAccountingAccount = $receivableSpecifiedTradeAccountingAccount; return $this; diff --git a/src/entities/basicwl/ram/LegalOrganizationType.php b/src/entities/basicwl/ram/LegalOrganizationType.php index bfe5466b..9e1ec849 100644 --- a/src/entities/basicwl/ram/LegalOrganizationType.php +++ b/src/entities/basicwl/ram/LegalOrganizationType.php @@ -36,7 +36,7 @@ public function getID() * @param \horstoeko\zugferd\entities\basicwl\udt\IDType $iD * @return self */ - public function setID(\horstoeko\zugferd\entities\basicwl\udt\IDType $iD) + public function setID(?\horstoeko\zugferd\entities\basicwl\udt\IDType $iD = null) { $this->iD = $iD; return $this; diff --git a/src/entities/basicwl/ram/ReferencedDocumentType.php b/src/entities/basicwl/ram/ReferencedDocumentType.php index 449e449a..bb7e9d05 100644 --- a/src/entities/basicwl/ram/ReferencedDocumentType.php +++ b/src/entities/basicwl/ram/ReferencedDocumentType.php @@ -58,7 +58,7 @@ public function getFormattedIssueDateTime() * @param \horstoeko\zugferd\entities\basicwl\qdt\FormattedDateTimeType $formattedIssueDateTime * @return self */ - public function setFormattedIssueDateTime(\horstoeko\zugferd\entities\basicwl\qdt\FormattedDateTimeType $formattedIssueDateTime) + public function setFormattedIssueDateTime(?\horstoeko\zugferd\entities\basicwl\qdt\FormattedDateTimeType $formattedIssueDateTime = null) { $this->formattedIssueDateTime = $formattedIssueDateTime; return $this; diff --git a/src/entities/basicwl/ram/SpecifiedPeriodType.php b/src/entities/basicwl/ram/SpecifiedPeriodType.php index efc33b2a..eaf71551 100644 --- a/src/entities/basicwl/ram/SpecifiedPeriodType.php +++ b/src/entities/basicwl/ram/SpecifiedPeriodType.php @@ -36,7 +36,7 @@ public function getStartDateTime() * @param \horstoeko\zugferd\entities\basicwl\udt\DateTimeType $startDateTime * @return self */ - public function setStartDateTime(\horstoeko\zugferd\entities\basicwl\udt\DateTimeType $startDateTime) + public function setStartDateTime(?\horstoeko\zugferd\entities\basicwl\udt\DateTimeType $startDateTime = null) { $this->startDateTime = $startDateTime; return $this; @@ -58,7 +58,7 @@ public function getEndDateTime() * @param \horstoeko\zugferd\entities\basicwl\udt\DateTimeType $endDateTime * @return self */ - public function setEndDateTime(\horstoeko\zugferd\entities\basicwl\udt\DateTimeType $endDateTime) + public function setEndDateTime(?\horstoeko\zugferd\entities\basicwl\udt\DateTimeType $endDateTime = null) { $this->endDateTime = $endDateTime; return $this; diff --git a/src/entities/basicwl/ram/TradeAllowanceChargeType.php b/src/entities/basicwl/ram/TradeAllowanceChargeType.php index cb0a6da2..37d004b0 100644 --- a/src/entities/basicwl/ram/TradeAllowanceChargeType.php +++ b/src/entities/basicwl/ram/TradeAllowanceChargeType.php @@ -105,7 +105,7 @@ public function getBasisAmount() * @param \horstoeko\zugferd\entities\basicwl\udt\AmountType $basisAmount * @return self */ - public function setBasisAmount(\horstoeko\zugferd\entities\basicwl\udt\AmountType $basisAmount) + public function setBasisAmount(?\horstoeko\zugferd\entities\basicwl\udt\AmountType $basisAmount = null) { $this->basisAmount = $basisAmount; return $this; diff --git a/src/entities/basicwl/ram/TradePartyType.php b/src/entities/basicwl/ram/TradePartyType.php index 4f9b5805..12e28896 100644 --- a/src/entities/basicwl/ram/TradePartyType.php +++ b/src/entities/basicwl/ram/TradePartyType.php @@ -101,7 +101,7 @@ public function getID() * @param \horstoeko\zugferd\entities\basicwl\udt\IDType[] $iD * @return self */ - public function setID(array $iD) + public function setID(array $iD = null) { $this->iD = $iD; return $this; @@ -157,7 +157,7 @@ public function getGlobalID() * @param \horstoeko\zugferd\entities\basicwl\udt\IDType[] $globalID * @return self */ - public function setGlobalID(array $globalID) + public function setGlobalID(array $globalID = null) { $this->globalID = $globalID; return $this; @@ -201,7 +201,7 @@ public function getSpecifiedLegalOrganization() * @param \horstoeko\zugferd\entities\basicwl\ram\LegalOrganizationType $specifiedLegalOrganization * @return self */ - public function setSpecifiedLegalOrganization(\horstoeko\zugferd\entities\basicwl\ram\LegalOrganizationType $specifiedLegalOrganization) + public function setSpecifiedLegalOrganization(?\horstoeko\zugferd\entities\basicwl\ram\LegalOrganizationType $specifiedLegalOrganization = null) { $this->specifiedLegalOrganization = $specifiedLegalOrganization; return $this; @@ -223,7 +223,7 @@ public function getPostalTradeAddress() * @param \horstoeko\zugferd\entities\basicwl\ram\TradeAddressType $postalTradeAddress * @return self */ - public function setPostalTradeAddress(\horstoeko\zugferd\entities\basicwl\ram\TradeAddressType $postalTradeAddress) + public function setPostalTradeAddress(?\horstoeko\zugferd\entities\basicwl\ram\TradeAddressType $postalTradeAddress = null) { $this->postalTradeAddress = $postalTradeAddress; return $this; @@ -245,7 +245,7 @@ public function getURIUniversalCommunication() * @param \horstoeko\zugferd\entities\basicwl\ram\UniversalCommunicationType $uRIUniversalCommunication * @return self */ - public function setURIUniversalCommunication(\horstoeko\zugferd\entities\basicwl\ram\UniversalCommunicationType $uRIUniversalCommunication) + public function setURIUniversalCommunication(?\horstoeko\zugferd\entities\basicwl\ram\UniversalCommunicationType $uRIUniversalCommunication = null) { $this->uRIUniversalCommunication = $uRIUniversalCommunication; return $this; @@ -301,7 +301,7 @@ public function getSpecifiedTaxRegistration() * @param \horstoeko\zugferd\entities\basicwl\ram\TaxRegistrationType[] $specifiedTaxRegistration * @return self */ - public function setSpecifiedTaxRegistration(array $specifiedTaxRegistration) + public function setSpecifiedTaxRegistration(array $specifiedTaxRegistration = null) { $this->specifiedTaxRegistration = $specifiedTaxRegistration; return $this; diff --git a/src/entities/basicwl/ram/TradePaymentTermsType.php b/src/entities/basicwl/ram/TradePaymentTermsType.php index f3a0ef48..af818b28 100644 --- a/src/entities/basicwl/ram/TradePaymentTermsType.php +++ b/src/entities/basicwl/ram/TradePaymentTermsType.php @@ -63,7 +63,7 @@ public function getDueDateDateTime() * @param \horstoeko\zugferd\entities\basicwl\udt\DateTimeType $dueDateDateTime * @return self */ - public function setDueDateDateTime(\horstoeko\zugferd\entities\basicwl\udt\DateTimeType $dueDateDateTime) + public function setDueDateDateTime(?\horstoeko\zugferd\entities\basicwl\udt\DateTimeType $dueDateDateTime = null) { $this->dueDateDateTime = $dueDateDateTime; return $this; @@ -85,7 +85,7 @@ public function getDirectDebitMandateID() * @param \horstoeko\zugferd\entities\basicwl\udt\IDType $directDebitMandateID * @return self */ - public function setDirectDebitMandateID(\horstoeko\zugferd\entities\basicwl\udt\IDType $directDebitMandateID) + public function setDirectDebitMandateID(?\horstoeko\zugferd\entities\basicwl\udt\IDType $directDebitMandateID = null) { $this->directDebitMandateID = $directDebitMandateID; return $this; diff --git a/src/entities/basicwl/ram/TradeSettlementHeaderMonetarySummationType.php b/src/entities/basicwl/ram/TradeSettlementHeaderMonetarySummationType.php index 1fb87592..2670fece 100644 --- a/src/entities/basicwl/ram/TradeSettlementHeaderMonetarySummationType.php +++ b/src/entities/basicwl/ram/TradeSettlementHeaderMonetarySummationType.php @@ -90,7 +90,7 @@ public function getChargeTotalAmount() * @param \horstoeko\zugferd\entities\basicwl\udt\AmountType $chargeTotalAmount * @return self */ - public function setChargeTotalAmount(\horstoeko\zugferd\entities\basicwl\udt\AmountType $chargeTotalAmount) + public function setChargeTotalAmount(?\horstoeko\zugferd\entities\basicwl\udt\AmountType $chargeTotalAmount = null) { $this->chargeTotalAmount = $chargeTotalAmount; return $this; @@ -112,7 +112,7 @@ public function getAllowanceTotalAmount() * @param \horstoeko\zugferd\entities\basicwl\udt\AmountType $allowanceTotalAmount * @return self */ - public function setAllowanceTotalAmount(\horstoeko\zugferd\entities\basicwl\udt\AmountType $allowanceTotalAmount) + public function setAllowanceTotalAmount(?\horstoeko\zugferd\entities\basicwl\udt\AmountType $allowanceTotalAmount = null) { $this->allowanceTotalAmount = $allowanceTotalAmount; return $this; @@ -190,7 +190,7 @@ public function getTaxTotalAmount() * @param \horstoeko\zugferd\entities\basicwl\udt\AmountType[] $taxTotalAmount * @return self */ - public function setTaxTotalAmount(array $taxTotalAmount) + public function setTaxTotalAmount(array $taxTotalAmount = null) { $this->taxTotalAmount = $taxTotalAmount; return $this; @@ -234,7 +234,7 @@ public function getTotalPrepaidAmount() * @param \horstoeko\zugferd\entities\basicwl\udt\AmountType $totalPrepaidAmount * @return self */ - public function setTotalPrepaidAmount(\horstoeko\zugferd\entities\basicwl\udt\AmountType $totalPrepaidAmount) + public function setTotalPrepaidAmount(?\horstoeko\zugferd\entities\basicwl\udt\AmountType $totalPrepaidAmount = null) { $this->totalPrepaidAmount = $totalPrepaidAmount; return $this; diff --git a/src/entities/basicwl/ram/TradeSettlementPaymentMeansType.php b/src/entities/basicwl/ram/TradeSettlementPaymentMeansType.php index cdaeb879..901dc115 100644 --- a/src/entities/basicwl/ram/TradeSettlementPaymentMeansType.php +++ b/src/entities/basicwl/ram/TradeSettlementPaymentMeansType.php @@ -63,7 +63,7 @@ public function getPayerPartyDebtorFinancialAccount() * @param \horstoeko\zugferd\entities\basicwl\ram\DebtorFinancialAccountType $payerPartyDebtorFinancialAccount * @return self */ - public function setPayerPartyDebtorFinancialAccount(\horstoeko\zugferd\entities\basicwl\ram\DebtorFinancialAccountType $payerPartyDebtorFinancialAccount) + public function setPayerPartyDebtorFinancialAccount(?\horstoeko\zugferd\entities\basicwl\ram\DebtorFinancialAccountType $payerPartyDebtorFinancialAccount = null) { $this->payerPartyDebtorFinancialAccount = $payerPartyDebtorFinancialAccount; return $this; @@ -85,7 +85,7 @@ public function getPayeePartyCreditorFinancialAccount() * @param \horstoeko\zugferd\entities\basicwl\ram\CreditorFinancialAccountType $payeePartyCreditorFinancialAccount * @return self */ - public function setPayeePartyCreditorFinancialAccount(\horstoeko\zugferd\entities\basicwl\ram\CreditorFinancialAccountType $payeePartyCreditorFinancialAccount) + public function setPayeePartyCreditorFinancialAccount(?\horstoeko\zugferd\entities\basicwl\ram\CreditorFinancialAccountType $payeePartyCreditorFinancialAccount = null) { $this->payeePartyCreditorFinancialAccount = $payeePartyCreditorFinancialAccount; return $this; diff --git a/src/entities/basicwl/ram/TradeTaxType.php b/src/entities/basicwl/ram/TradeTaxType.php index d3a4fd8a..31c6917c 100644 --- a/src/entities/basicwl/ram/TradeTaxType.php +++ b/src/entities/basicwl/ram/TradeTaxType.php @@ -66,7 +66,7 @@ public function getCalculatedAmount() * @param \horstoeko\zugferd\entities\basicwl\udt\AmountType $calculatedAmount * @return self */ - public function setCalculatedAmount(\horstoeko\zugferd\entities\basicwl\udt\AmountType $calculatedAmount) + public function setCalculatedAmount(?\horstoeko\zugferd\entities\basicwl\udt\AmountType $calculatedAmount = null) { $this->calculatedAmount = $calculatedAmount; return $this; @@ -132,7 +132,7 @@ public function getBasisAmount() * @param \horstoeko\zugferd\entities\basicwl\udt\AmountType $basisAmount * @return self */ - public function setBasisAmount(\horstoeko\zugferd\entities\basicwl\udt\AmountType $basisAmount) + public function setBasisAmount(?\horstoeko\zugferd\entities\basicwl\udt\AmountType $basisAmount = null) { $this->basisAmount = $basisAmount; return $this; diff --git a/src/entities/basicwl/udt/DateTimeType.php b/src/entities/basicwl/udt/DateTimeType.php index c427c31e..008ec8ce 100644 --- a/src/entities/basicwl/udt/DateTimeType.php +++ b/src/entities/basicwl/udt/DateTimeType.php @@ -31,7 +31,7 @@ public function getDateTimeString() * @param \horstoeko\zugferd\entities\basicwl\udt\DateTimeType\DateTimeStringAType $dateTimeString * @return self */ - public function setDateTimeString(\horstoeko\zugferd\entities\basicwl\udt\DateTimeType\DateTimeStringAType $dateTimeString) + public function setDateTimeString(?\horstoeko\zugferd\entities\basicwl\udt\DateTimeType\DateTimeStringAType $dateTimeString = null) { $this->dateTimeString = $dateTimeString; return $this; diff --git a/src/entities/en16931/ram/CreditorFinancialAccountType.php b/src/entities/en16931/ram/CreditorFinancialAccountType.php index 60f877ed..eed8f70b 100644 --- a/src/entities/en16931/ram/CreditorFinancialAccountType.php +++ b/src/entities/en16931/ram/CreditorFinancialAccountType.php @@ -41,7 +41,7 @@ public function getIBANID() * @param \horstoeko\zugferd\entities\en16931\udt\IDType $iBANID * @return self */ - public function setIBANID(\horstoeko\zugferd\entities\en16931\udt\IDType $iBANID) + public function setIBANID(?\horstoeko\zugferd\entities\en16931\udt\IDType $iBANID = null) { $this->iBANID = $iBANID; return $this; @@ -85,7 +85,7 @@ public function getProprietaryID() * @param \horstoeko\zugferd\entities\en16931\udt\IDType $proprietaryID * @return self */ - public function setProprietaryID(\horstoeko\zugferd\entities\en16931\udt\IDType $proprietaryID) + public function setProprietaryID(?\horstoeko\zugferd\entities\en16931\udt\IDType $proprietaryID = null) { $this->proprietaryID = $proprietaryID; return $this; diff --git a/src/entities/en16931/ram/DocumentLineDocumentType.php b/src/entities/en16931/ram/DocumentLineDocumentType.php index dbace36c..509de9eb 100644 --- a/src/entities/en16931/ram/DocumentLineDocumentType.php +++ b/src/entities/en16931/ram/DocumentLineDocumentType.php @@ -58,7 +58,7 @@ public function getIncludedNote() * @param \horstoeko\zugferd\entities\en16931\ram\NoteType $includedNote * @return self */ - public function setIncludedNote(\horstoeko\zugferd\entities\en16931\ram\NoteType $includedNote) + public function setIncludedNote(?\horstoeko\zugferd\entities\en16931\ram\NoteType $includedNote = null) { $this->includedNote = $includedNote; return $this; diff --git a/src/entities/en16931/ram/ExchangedDocumentContextType.php b/src/entities/en16931/ram/ExchangedDocumentContextType.php index efceed22..a34e8090 100644 --- a/src/entities/en16931/ram/ExchangedDocumentContextType.php +++ b/src/entities/en16931/ram/ExchangedDocumentContextType.php @@ -36,7 +36,7 @@ public function getBusinessProcessSpecifiedDocumentContextParameter() * @param \horstoeko\zugferd\entities\en16931\ram\DocumentContextParameterType $businessProcessSpecifiedDocumentContextParameter * @return self */ - public function setBusinessProcessSpecifiedDocumentContextParameter(\horstoeko\zugferd\entities\en16931\ram\DocumentContextParameterType $businessProcessSpecifiedDocumentContextParameter) + public function setBusinessProcessSpecifiedDocumentContextParameter(?\horstoeko\zugferd\entities\en16931\ram\DocumentContextParameterType $businessProcessSpecifiedDocumentContextParameter = null) { $this->businessProcessSpecifiedDocumentContextParameter = $businessProcessSpecifiedDocumentContextParameter; return $this; diff --git a/src/entities/en16931/ram/ExchangedDocumentType.php b/src/entities/en16931/ram/ExchangedDocumentType.php index 1e04882e..cae00d73 100644 --- a/src/entities/en16931/ram/ExchangedDocumentType.php +++ b/src/entities/en16931/ram/ExchangedDocumentType.php @@ -148,7 +148,7 @@ public function getIncludedNote() * @param \horstoeko\zugferd\entities\en16931\ram\NoteType[] $includedNote * @return self */ - public function setIncludedNote(array $includedNote) + public function setIncludedNote(array $includedNote = null) { $this->includedNote = $includedNote; return $this; diff --git a/src/entities/en16931/ram/HeaderTradeAgreementType.php b/src/entities/en16931/ram/HeaderTradeAgreementType.php index 44a58fab..b526921f 100644 --- a/src/entities/en16931/ram/HeaderTradeAgreementType.php +++ b/src/entities/en16931/ram/HeaderTradeAgreementType.php @@ -139,7 +139,7 @@ public function getSellerTaxRepresentativeTradeParty() * @param \horstoeko\zugferd\entities\en16931\ram\TradePartyType $sellerTaxRepresentativeTradeParty * @return self */ - public function setSellerTaxRepresentativeTradeParty(\horstoeko\zugferd\entities\en16931\ram\TradePartyType $sellerTaxRepresentativeTradeParty) + public function setSellerTaxRepresentativeTradeParty(?\horstoeko\zugferd\entities\en16931\ram\TradePartyType $sellerTaxRepresentativeTradeParty = null) { $this->sellerTaxRepresentativeTradeParty = $sellerTaxRepresentativeTradeParty; return $this; @@ -161,7 +161,7 @@ public function getSellerOrderReferencedDocument() * @param \horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType $sellerOrderReferencedDocument * @return self */ - public function setSellerOrderReferencedDocument(\horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType $sellerOrderReferencedDocument) + public function setSellerOrderReferencedDocument(?\horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType $sellerOrderReferencedDocument = null) { $this->sellerOrderReferencedDocument = $sellerOrderReferencedDocument; return $this; @@ -183,7 +183,7 @@ public function getBuyerOrderReferencedDocument() * @param \horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType $buyerOrderReferencedDocument * @return self */ - public function setBuyerOrderReferencedDocument(\horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType $buyerOrderReferencedDocument) + public function setBuyerOrderReferencedDocument(?\horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType $buyerOrderReferencedDocument = null) { $this->buyerOrderReferencedDocument = $buyerOrderReferencedDocument; return $this; @@ -205,7 +205,7 @@ public function getContractReferencedDocument() * @param \horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType $contractReferencedDocument * @return self */ - public function setContractReferencedDocument(\horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType $contractReferencedDocument) + public function setContractReferencedDocument(?\horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType $contractReferencedDocument = null) { $this->contractReferencedDocument = $contractReferencedDocument; return $this; @@ -261,7 +261,7 @@ public function getAdditionalReferencedDocument() * @param \horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType[] $additionalReferencedDocument * @return self */ - public function setAdditionalReferencedDocument(array $additionalReferencedDocument) + public function setAdditionalReferencedDocument(array $additionalReferencedDocument = null) { $this->additionalReferencedDocument = $additionalReferencedDocument; return $this; @@ -283,7 +283,7 @@ public function getSpecifiedProcuringProject() * @param \horstoeko\zugferd\entities\en16931\ram\ProcuringProjectType $specifiedProcuringProject * @return self */ - public function setSpecifiedProcuringProject(\horstoeko\zugferd\entities\en16931\ram\ProcuringProjectType $specifiedProcuringProject) + public function setSpecifiedProcuringProject(?\horstoeko\zugferd\entities\en16931\ram\ProcuringProjectType $specifiedProcuringProject = null) { $this->specifiedProcuringProject = $specifiedProcuringProject; return $this; diff --git a/src/entities/en16931/ram/HeaderTradeDeliveryType.php b/src/entities/en16931/ram/HeaderTradeDeliveryType.php index dff2b136..0304668d 100644 --- a/src/entities/en16931/ram/HeaderTradeDeliveryType.php +++ b/src/entities/en16931/ram/HeaderTradeDeliveryType.php @@ -46,7 +46,7 @@ public function getShipToTradeParty() * @param \horstoeko\zugferd\entities\en16931\ram\TradePartyType $shipToTradeParty * @return self */ - public function setShipToTradeParty(\horstoeko\zugferd\entities\en16931\ram\TradePartyType $shipToTradeParty) + public function setShipToTradeParty(?\horstoeko\zugferd\entities\en16931\ram\TradePartyType $shipToTradeParty = null) { $this->shipToTradeParty = $shipToTradeParty; return $this; @@ -68,7 +68,7 @@ public function getActualDeliverySupplyChainEvent() * @param \horstoeko\zugferd\entities\en16931\ram\SupplyChainEventType $actualDeliverySupplyChainEvent * @return self */ - public function setActualDeliverySupplyChainEvent(\horstoeko\zugferd\entities\en16931\ram\SupplyChainEventType $actualDeliverySupplyChainEvent) + public function setActualDeliverySupplyChainEvent(?\horstoeko\zugferd\entities\en16931\ram\SupplyChainEventType $actualDeliverySupplyChainEvent = null) { $this->actualDeliverySupplyChainEvent = $actualDeliverySupplyChainEvent; return $this; @@ -90,7 +90,7 @@ public function getDespatchAdviceReferencedDocument() * @param \horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType $despatchAdviceReferencedDocument * @return self */ - public function setDespatchAdviceReferencedDocument(\horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType $despatchAdviceReferencedDocument) + public function setDespatchAdviceReferencedDocument(?\horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType $despatchAdviceReferencedDocument = null) { $this->despatchAdviceReferencedDocument = $despatchAdviceReferencedDocument; return $this; @@ -112,7 +112,7 @@ public function getReceivingAdviceReferencedDocument() * @param \horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType $receivingAdviceReferencedDocument * @return self */ - public function setReceivingAdviceReferencedDocument(\horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType $receivingAdviceReferencedDocument) + public function setReceivingAdviceReferencedDocument(?\horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType $receivingAdviceReferencedDocument = null) { $this->receivingAdviceReferencedDocument = $receivingAdviceReferencedDocument; return $this; diff --git a/src/entities/en16931/ram/HeaderTradeSettlementType.php b/src/entities/en16931/ram/HeaderTradeSettlementType.php index 4ce28861..c7ccc102 100644 --- a/src/entities/en16931/ram/HeaderTradeSettlementType.php +++ b/src/entities/en16931/ram/HeaderTradeSettlementType.php @@ -36,9 +36,11 @@ class HeaderTradeSettlementType private $payeeTradeParty = null; /** - * @var \horstoeko\zugferd\entities\en16931\ram\TradeSettlementPaymentMeansType $specifiedTradeSettlementPaymentMeans + * @var \horstoeko\zugferd\entities\en16931\ram\TradeSettlementPaymentMeansType[] $specifiedTradeSettlementPaymentMeans */ - private $specifiedTradeSettlementPaymentMeans = null; + private $specifiedTradeSettlementPaymentMeans = [ + + ]; /** * @var \horstoeko\zugferd\entities\en16931\ram\TradeTaxType[] $applicableTradeTax @@ -70,9 +72,11 @@ class HeaderTradeSettlementType private $specifiedTradeSettlementHeaderMonetarySummation = null; /** - * @var \horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType $invoiceReferencedDocument + * @var \horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType[] $invoiceReferencedDocument */ - private $invoiceReferencedDocument = null; + private $invoiceReferencedDocument = [ + + ]; /** * @var \horstoeko\zugferd\entities\en16931\ram\TradeAccountingAccountType $receivableSpecifiedTradeAccountingAccount @@ -95,7 +99,7 @@ public function getCreditorReferenceID() * @param \horstoeko\zugferd\entities\en16931\udt\IDType $creditorReferenceID * @return self */ - public function setCreditorReferenceID(\horstoeko\zugferd\entities\en16931\udt\IDType $creditorReferenceID) + public function setCreditorReferenceID(?\horstoeko\zugferd\entities\en16931\udt\IDType $creditorReferenceID = null) { $this->creditorReferenceID = $creditorReferenceID; return $this; @@ -183,16 +187,50 @@ public function getPayeeTradeParty() * @param \horstoeko\zugferd\entities\en16931\ram\TradePartyType $payeeTradeParty * @return self */ - public function setPayeeTradeParty(\horstoeko\zugferd\entities\en16931\ram\TradePartyType $payeeTradeParty) + public function setPayeeTradeParty(?\horstoeko\zugferd\entities\en16931\ram\TradePartyType $payeeTradeParty = null) { $this->payeeTradeParty = $payeeTradeParty; return $this; } + /** + * Adds as specifiedTradeSettlementPaymentMeans + * + * @return self + * @param \horstoeko\zugferd\entities\en16931\ram\TradeSettlementPaymentMeansType $specifiedTradeSettlementPaymentMeans + */ + public function addToSpecifiedTradeSettlementPaymentMeans(\horstoeko\zugferd\entities\en16931\ram\TradeSettlementPaymentMeansType $specifiedTradeSettlementPaymentMeans) + { + $this->specifiedTradeSettlementPaymentMeans[] = $specifiedTradeSettlementPaymentMeans; + return $this; + } + + /** + * isset specifiedTradeSettlementPaymentMeans + * + * @param int|string $index + * @return bool + */ + public function issetSpecifiedTradeSettlementPaymentMeans($index) + { + return isset($this->specifiedTradeSettlementPaymentMeans[$index]); + } + + /** + * unset specifiedTradeSettlementPaymentMeans + * + * @param int|string $index + * @return void + */ + public function unsetSpecifiedTradeSettlementPaymentMeans($index) + { + unset($this->specifiedTradeSettlementPaymentMeans[$index]); + } + /** * Gets as specifiedTradeSettlementPaymentMeans * - * @return \horstoeko\zugferd\entities\en16931\ram\TradeSettlementPaymentMeansType + * @return \horstoeko\zugferd\entities\en16931\ram\TradeSettlementPaymentMeansType[] */ public function getSpecifiedTradeSettlementPaymentMeans() { @@ -202,10 +240,10 @@ public function getSpecifiedTradeSettlementPaymentMeans() /** * Sets a new specifiedTradeSettlementPaymentMeans * - * @param \horstoeko\zugferd\entities\en16931\ram\TradeSettlementPaymentMeansType $specifiedTradeSettlementPaymentMeans + * @param \horstoeko\zugferd\entities\en16931\ram\TradeSettlementPaymentMeansType[] $specifiedTradeSettlementPaymentMeans * @return self */ - public function setSpecifiedTradeSettlementPaymentMeans(\horstoeko\zugferd\entities\en16931\ram\TradeSettlementPaymentMeansType $specifiedTradeSettlementPaymentMeans) + public function setSpecifiedTradeSettlementPaymentMeans(array $specifiedTradeSettlementPaymentMeans = null) { $this->specifiedTradeSettlementPaymentMeans = $specifiedTradeSettlementPaymentMeans; return $this; @@ -283,7 +321,7 @@ public function getBillingSpecifiedPeriod() * @param \horstoeko\zugferd\entities\en16931\ram\SpecifiedPeriodType $billingSpecifiedPeriod * @return self */ - public function setBillingSpecifiedPeriod(\horstoeko\zugferd\entities\en16931\ram\SpecifiedPeriodType $billingSpecifiedPeriod) + public function setBillingSpecifiedPeriod(?\horstoeko\zugferd\entities\en16931\ram\SpecifiedPeriodType $billingSpecifiedPeriod = null) { $this->billingSpecifiedPeriod = $billingSpecifiedPeriod; return $this; @@ -339,7 +377,7 @@ public function getSpecifiedTradeAllowanceCharge() * @param \horstoeko\zugferd\entities\en16931\ram\TradeAllowanceChargeType[] $specifiedTradeAllowanceCharge * @return self */ - public function setSpecifiedTradeAllowanceCharge(array $specifiedTradeAllowanceCharge) + public function setSpecifiedTradeAllowanceCharge(array $specifiedTradeAllowanceCharge = null) { $this->specifiedTradeAllowanceCharge = $specifiedTradeAllowanceCharge; return $this; @@ -361,7 +399,7 @@ public function getSpecifiedTradePaymentTerms() * @param \horstoeko\zugferd\entities\en16931\ram\TradePaymentTermsType $specifiedTradePaymentTerms * @return self */ - public function setSpecifiedTradePaymentTerms(\horstoeko\zugferd\entities\en16931\ram\TradePaymentTermsType $specifiedTradePaymentTerms) + public function setSpecifiedTradePaymentTerms(?\horstoeko\zugferd\entities\en16931\ram\TradePaymentTermsType $specifiedTradePaymentTerms = null) { $this->specifiedTradePaymentTerms = $specifiedTradePaymentTerms; return $this; @@ -389,10 +427,44 @@ public function setSpecifiedTradeSettlementHeaderMonetarySummation(\horstoeko\zu return $this; } + /** + * Adds as invoiceReferencedDocument + * + * @return self + * @param \horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType $invoiceReferencedDocument + */ + public function addToInvoiceReferencedDocument(\horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType $invoiceReferencedDocument) + { + $this->invoiceReferencedDocument[] = $invoiceReferencedDocument; + return $this; + } + + /** + * isset invoiceReferencedDocument + * + * @param int|string $index + * @return bool + */ + public function issetInvoiceReferencedDocument($index) + { + return isset($this->invoiceReferencedDocument[$index]); + } + + /** + * unset invoiceReferencedDocument + * + * @param int|string $index + * @return void + */ + public function unsetInvoiceReferencedDocument($index) + { + unset($this->invoiceReferencedDocument[$index]); + } + /** * Gets as invoiceReferencedDocument * - * @return \horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType + * @return \horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType[] */ public function getInvoiceReferencedDocument() { @@ -402,10 +474,10 @@ public function getInvoiceReferencedDocument() /** * Sets a new invoiceReferencedDocument * - * @param \horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType $invoiceReferencedDocument + * @param \horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType[] $invoiceReferencedDocument * @return self */ - public function setInvoiceReferencedDocument(\horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType $invoiceReferencedDocument) + public function setInvoiceReferencedDocument(array $invoiceReferencedDocument = null) { $this->invoiceReferencedDocument = $invoiceReferencedDocument; return $this; @@ -427,7 +499,7 @@ public function getReceivableSpecifiedTradeAccountingAccount() * @param \horstoeko\zugferd\entities\en16931\ram\TradeAccountingAccountType $receivableSpecifiedTradeAccountingAccount * @return self */ - public function setReceivableSpecifiedTradeAccountingAccount(\horstoeko\zugferd\entities\en16931\ram\TradeAccountingAccountType $receivableSpecifiedTradeAccountingAccount) + public function setReceivableSpecifiedTradeAccountingAccount(?\horstoeko\zugferd\entities\en16931\ram\TradeAccountingAccountType $receivableSpecifiedTradeAccountingAccount = null) { $this->receivableSpecifiedTradeAccountingAccount = $receivableSpecifiedTradeAccountingAccount; return $this; diff --git a/src/entities/en16931/ram/LegalOrganizationType.php b/src/entities/en16931/ram/LegalOrganizationType.php index 5dbb6855..1e4af157 100644 --- a/src/entities/en16931/ram/LegalOrganizationType.php +++ b/src/entities/en16931/ram/LegalOrganizationType.php @@ -36,7 +36,7 @@ public function getID() * @param \horstoeko\zugferd\entities\en16931\udt\IDType $iD * @return self */ - public function setID(\horstoeko\zugferd\entities\en16931\udt\IDType $iD) + public function setID(?\horstoeko\zugferd\entities\en16931\udt\IDType $iD = null) { $this->iD = $iD; return $this; diff --git a/src/entities/en16931/ram/LineTradeAgreementType.php b/src/entities/en16931/ram/LineTradeAgreementType.php index 853b1cd0..4e8d5243 100644 --- a/src/entities/en16931/ram/LineTradeAgreementType.php +++ b/src/entities/en16931/ram/LineTradeAgreementType.php @@ -41,7 +41,7 @@ public function getBuyerOrderReferencedDocument() * @param \horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType $buyerOrderReferencedDocument * @return self */ - public function setBuyerOrderReferencedDocument(\horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType $buyerOrderReferencedDocument) + public function setBuyerOrderReferencedDocument(?\horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType $buyerOrderReferencedDocument = null) { $this->buyerOrderReferencedDocument = $buyerOrderReferencedDocument; return $this; @@ -63,7 +63,7 @@ public function getGrossPriceProductTradePrice() * @param \horstoeko\zugferd\entities\en16931\ram\TradePriceType $grossPriceProductTradePrice * @return self */ - public function setGrossPriceProductTradePrice(\horstoeko\zugferd\entities\en16931\ram\TradePriceType $grossPriceProductTradePrice) + public function setGrossPriceProductTradePrice(?\horstoeko\zugferd\entities\en16931\ram\TradePriceType $grossPriceProductTradePrice = null) { $this->grossPriceProductTradePrice = $grossPriceProductTradePrice; return $this; diff --git a/src/entities/en16931/ram/LineTradeSettlementType.php b/src/entities/en16931/ram/LineTradeSettlementType.php index cb0922c9..a735e3db 100644 --- a/src/entities/en16931/ram/LineTradeSettlementType.php +++ b/src/entities/en16931/ram/LineTradeSettlementType.php @@ -80,7 +80,7 @@ public function getBillingSpecifiedPeriod() * @param \horstoeko\zugferd\entities\en16931\ram\SpecifiedPeriodType $billingSpecifiedPeriod * @return self */ - public function setBillingSpecifiedPeriod(\horstoeko\zugferd\entities\en16931\ram\SpecifiedPeriodType $billingSpecifiedPeriod) + public function setBillingSpecifiedPeriod(?\horstoeko\zugferd\entities\en16931\ram\SpecifiedPeriodType $billingSpecifiedPeriod = null) { $this->billingSpecifiedPeriod = $billingSpecifiedPeriod; return $this; @@ -136,7 +136,7 @@ public function getSpecifiedTradeAllowanceCharge() * @param \horstoeko\zugferd\entities\en16931\ram\TradeAllowanceChargeType[] $specifiedTradeAllowanceCharge * @return self */ - public function setSpecifiedTradeAllowanceCharge(array $specifiedTradeAllowanceCharge) + public function setSpecifiedTradeAllowanceCharge(array $specifiedTradeAllowanceCharge = null) { $this->specifiedTradeAllowanceCharge = $specifiedTradeAllowanceCharge; return $this; @@ -180,7 +180,7 @@ public function getAdditionalReferencedDocument() * @param \horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType $additionalReferencedDocument * @return self */ - public function setAdditionalReferencedDocument(\horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType $additionalReferencedDocument) + public function setAdditionalReferencedDocument(?\horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType $additionalReferencedDocument = null) { $this->additionalReferencedDocument = $additionalReferencedDocument; return $this; @@ -202,7 +202,7 @@ public function getReceivableSpecifiedTradeAccountingAccount() * @param \horstoeko\zugferd\entities\en16931\ram\TradeAccountingAccountType $receivableSpecifiedTradeAccountingAccount * @return self */ - public function setReceivableSpecifiedTradeAccountingAccount(\horstoeko\zugferd\entities\en16931\ram\TradeAccountingAccountType $receivableSpecifiedTradeAccountingAccount) + public function setReceivableSpecifiedTradeAccountingAccount(?\horstoeko\zugferd\entities\en16931\ram\TradeAccountingAccountType $receivableSpecifiedTradeAccountingAccount = null) { $this->receivableSpecifiedTradeAccountingAccount = $receivableSpecifiedTradeAccountingAccount; return $this; diff --git a/src/entities/en16931/ram/NoteType.php b/src/entities/en16931/ram/NoteType.php index 98afbce6..28252f0c 100644 --- a/src/entities/en16931/ram/NoteType.php +++ b/src/entities/en16931/ram/NoteType.php @@ -58,7 +58,7 @@ public function getSubjectCode() * @param \horstoeko\zugferd\entities\en16931\udt\CodeType $subjectCode * @return self */ - public function setSubjectCode(\horstoeko\zugferd\entities\en16931\udt\CodeType $subjectCode) + public function setSubjectCode(?\horstoeko\zugferd\entities\en16931\udt\CodeType $subjectCode = null) { $this->subjectCode = $subjectCode; return $this; diff --git a/src/entities/en16931/ram/ProductClassificationType.php b/src/entities/en16931/ram/ProductClassificationType.php index bab93336..66b4da58 100644 --- a/src/entities/en16931/ram/ProductClassificationType.php +++ b/src/entities/en16931/ram/ProductClassificationType.php @@ -31,9 +31,12 @@ public function getClassCode() * @param \horstoeko\zugferd\entities\en16931\udt\CodeType $classCode * @return self */ - public function setClassCode(\horstoeko\zugferd\entities\en16931\udt\CodeType $classCode) + public function setClassCode(?\horstoeko\zugferd\entities\en16931\udt\CodeType $classCode = null) { $this->classCode = $classCode; return $this; } + + } + diff --git a/src/entities/en16931/ram/ReferencedDocumentType.php b/src/entities/en16931/ram/ReferencedDocumentType.php index ece834da..0fb1000a 100644 --- a/src/entities/en16931/ram/ReferencedDocumentType.php +++ b/src/entities/en16931/ram/ReferencedDocumentType.php @@ -66,7 +66,7 @@ public function getIssuerAssignedID() * @param \horstoeko\zugferd\entities\en16931\udt\IDType $issuerAssignedID * @return self */ - public function setIssuerAssignedID(\horstoeko\zugferd\entities\en16931\udt\IDType $issuerAssignedID) + public function setIssuerAssignedID(?\horstoeko\zugferd\entities\en16931\udt\IDType $issuerAssignedID = null) { $this->issuerAssignedID = $issuerAssignedID; return $this; @@ -88,7 +88,7 @@ public function getURIID() * @param \horstoeko\zugferd\entities\en16931\udt\IDType $uRIID * @return self */ - public function setURIID(\horstoeko\zugferd\entities\en16931\udt\IDType $uRIID) + public function setURIID(?\horstoeko\zugferd\entities\en16931\udt\IDType $uRIID = null) { $this->uRIID = $uRIID; return $this; @@ -110,7 +110,7 @@ public function getLineID() * @param \horstoeko\zugferd\entities\en16931\udt\IDType $lineID * @return self */ - public function setLineID(\horstoeko\zugferd\entities\en16931\udt\IDType $lineID) + public function setLineID(?\horstoeko\zugferd\entities\en16931\udt\IDType $lineID = null) { $this->lineID = $lineID; return $this; @@ -176,7 +176,7 @@ public function getAttachmentBinaryObject() * @param \horstoeko\zugferd\entities\en16931\udt\BinaryObjectType $attachmentBinaryObject * @return self */ - public function setAttachmentBinaryObject(\horstoeko\zugferd\entities\en16931\udt\BinaryObjectType $attachmentBinaryObject) + public function setAttachmentBinaryObject(?\horstoeko\zugferd\entities\en16931\udt\BinaryObjectType $attachmentBinaryObject = null) { $this->attachmentBinaryObject = $attachmentBinaryObject; return $this; @@ -220,7 +220,7 @@ public function getFormattedIssueDateTime() * @param \horstoeko\zugferd\entities\en16931\qdt\FormattedDateTimeType $formattedIssueDateTime * @return self */ - public function setFormattedIssueDateTime(\horstoeko\zugferd\entities\en16931\qdt\FormattedDateTimeType $formattedIssueDateTime) + public function setFormattedIssueDateTime(?\horstoeko\zugferd\entities\en16931\qdt\FormattedDateTimeType $formattedIssueDateTime = null) { $this->formattedIssueDateTime = $formattedIssueDateTime; return $this; diff --git a/src/entities/en16931/ram/SpecifiedPeriodType.php b/src/entities/en16931/ram/SpecifiedPeriodType.php index 2d82331e..036e8e6b 100644 --- a/src/entities/en16931/ram/SpecifiedPeriodType.php +++ b/src/entities/en16931/ram/SpecifiedPeriodType.php @@ -36,7 +36,7 @@ public function getStartDateTime() * @param \horstoeko\zugferd\entities\en16931\udt\DateTimeType $startDateTime * @return self */ - public function setStartDateTime(\horstoeko\zugferd\entities\en16931\udt\DateTimeType $startDateTime) + public function setStartDateTime(?\horstoeko\zugferd\entities\en16931\udt\DateTimeType $startDateTime = null) { $this->startDateTime = $startDateTime; return $this; @@ -58,7 +58,7 @@ public function getEndDateTime() * @param \horstoeko\zugferd\entities\en16931\udt\DateTimeType $endDateTime * @return self */ - public function setEndDateTime(\horstoeko\zugferd\entities\en16931\udt\DateTimeType $endDateTime) + public function setEndDateTime(?\horstoeko\zugferd\entities\en16931\udt\DateTimeType $endDateTime = null) { $this->endDateTime = $endDateTime; return $this; diff --git a/src/entities/en16931/ram/TradeAddressType.php b/src/entities/en16931/ram/TradeAddressType.php index 5cdd57c5..4947ab4e 100644 --- a/src/entities/en16931/ram/TradeAddressType.php +++ b/src/entities/en16931/ram/TradeAddressType.php @@ -61,7 +61,7 @@ public function getPostcodeCode() * @param \horstoeko\zugferd\entities\en16931\udt\CodeType $postcodeCode * @return self */ - public function setPostcodeCode(\horstoeko\zugferd\entities\en16931\udt\CodeType $postcodeCode) + public function setPostcodeCode(?\horstoeko\zugferd\entities\en16931\udt\CodeType $postcodeCode = null) { $this->postcodeCode = $postcodeCode; return $this; diff --git a/src/entities/en16931/ram/TradeAllowanceChargeType.php b/src/entities/en16931/ram/TradeAllowanceChargeType.php index 897e7c24..8cc71da7 100644 --- a/src/entities/en16931/ram/TradeAllowanceChargeType.php +++ b/src/entities/en16931/ram/TradeAllowanceChargeType.php @@ -105,7 +105,7 @@ public function getBasisAmount() * @param \horstoeko\zugferd\entities\en16931\udt\AmountType $basisAmount * @return self */ - public function setBasisAmount(\horstoeko\zugferd\entities\en16931\udt\AmountType $basisAmount) + public function setBasisAmount(?\horstoeko\zugferd\entities\en16931\udt\AmountType $basisAmount = null) { $this->basisAmount = $basisAmount; return $this; @@ -193,7 +193,7 @@ public function getCategoryTradeTax() * @param \horstoeko\zugferd\entities\en16931\ram\TradeTaxType $categoryTradeTax * @return self */ - public function setCategoryTradeTax(\horstoeko\zugferd\entities\en16931\ram\TradeTaxType $categoryTradeTax) + public function setCategoryTradeTax(?\horstoeko\zugferd\entities\en16931\ram\TradeTaxType $categoryTradeTax = null) { $this->categoryTradeTax = $categoryTradeTax; return $this; diff --git a/src/entities/en16931/ram/TradeContactType.php b/src/entities/en16931/ram/TradeContactType.php index 2d78cddd..d74db359 100644 --- a/src/entities/en16931/ram/TradeContactType.php +++ b/src/entities/en16931/ram/TradeContactType.php @@ -90,7 +90,7 @@ public function getTelephoneUniversalCommunication() * @param \horstoeko\zugferd\entities\en16931\ram\UniversalCommunicationType $telephoneUniversalCommunication * @return self */ - public function setTelephoneUniversalCommunication(\horstoeko\zugferd\entities\en16931\ram\UniversalCommunicationType $telephoneUniversalCommunication) + public function setTelephoneUniversalCommunication(?\horstoeko\zugferd\entities\en16931\ram\UniversalCommunicationType $telephoneUniversalCommunication = null) { $this->telephoneUniversalCommunication = $telephoneUniversalCommunication; return $this; @@ -112,7 +112,7 @@ public function getEmailURIUniversalCommunication() * @param \horstoeko\zugferd\entities\en16931\ram\UniversalCommunicationType $emailURIUniversalCommunication * @return self */ - public function setEmailURIUniversalCommunication(\horstoeko\zugferd\entities\en16931\ram\UniversalCommunicationType $emailURIUniversalCommunication) + public function setEmailURIUniversalCommunication(?\horstoeko\zugferd\entities\en16931\ram\UniversalCommunicationType $emailURIUniversalCommunication = null) { $this->emailURIUniversalCommunication = $emailURIUniversalCommunication; return $this; diff --git a/src/entities/en16931/ram/TradePartyType.php b/src/entities/en16931/ram/TradePartyType.php index 69b3f514..8eef8c80 100644 --- a/src/entities/en16931/ram/TradePartyType.php +++ b/src/entities/en16931/ram/TradePartyType.php @@ -111,7 +111,7 @@ public function getID() * @param \horstoeko\zugferd\entities\en16931\udt\IDType[] $iD * @return self */ - public function setID(array $iD) + public function setID(array $iD = null) { $this->iD = $iD; return $this; @@ -167,7 +167,7 @@ public function getGlobalID() * @param \horstoeko\zugferd\entities\en16931\udt\IDType[] $globalID * @return self */ - public function setGlobalID(array $globalID) + public function setGlobalID(array $globalID = null) { $this->globalID = $globalID; return $this; @@ -233,7 +233,7 @@ public function getSpecifiedLegalOrganization() * @param \horstoeko\zugferd\entities\en16931\ram\LegalOrganizationType $specifiedLegalOrganization * @return self */ - public function setSpecifiedLegalOrganization(\horstoeko\zugferd\entities\en16931\ram\LegalOrganizationType $specifiedLegalOrganization) + public function setSpecifiedLegalOrganization(?\horstoeko\zugferd\entities\en16931\ram\LegalOrganizationType $specifiedLegalOrganization = null) { $this->specifiedLegalOrganization = $specifiedLegalOrganization; return $this; @@ -255,7 +255,7 @@ public function getDefinedTradeContact() * @param \horstoeko\zugferd\entities\en16931\ram\TradeContactType $definedTradeContact * @return self */ - public function setDefinedTradeContact(\horstoeko\zugferd\entities\en16931\ram\TradeContactType $definedTradeContact) + public function setDefinedTradeContact(?\horstoeko\zugferd\entities\en16931\ram\TradeContactType $definedTradeContact = null) { $this->definedTradeContact = $definedTradeContact; return $this; @@ -277,7 +277,7 @@ public function getPostalTradeAddress() * @param \horstoeko\zugferd\entities\en16931\ram\TradeAddressType $postalTradeAddress * @return self */ - public function setPostalTradeAddress(\horstoeko\zugferd\entities\en16931\ram\TradeAddressType $postalTradeAddress) + public function setPostalTradeAddress(?\horstoeko\zugferd\entities\en16931\ram\TradeAddressType $postalTradeAddress = null) { $this->postalTradeAddress = $postalTradeAddress; return $this; @@ -299,7 +299,7 @@ public function getURIUniversalCommunication() * @param \horstoeko\zugferd\entities\en16931\ram\UniversalCommunicationType $uRIUniversalCommunication * @return self */ - public function setURIUniversalCommunication(\horstoeko\zugferd\entities\en16931\ram\UniversalCommunicationType $uRIUniversalCommunication) + public function setURIUniversalCommunication(?\horstoeko\zugferd\entities\en16931\ram\UniversalCommunicationType $uRIUniversalCommunication = null) { $this->uRIUniversalCommunication = $uRIUniversalCommunication; return $this; @@ -355,7 +355,7 @@ public function getSpecifiedTaxRegistration() * @param \horstoeko\zugferd\entities\en16931\ram\TaxRegistrationType[] $specifiedTaxRegistration * @return self */ - public function setSpecifiedTaxRegistration(array $specifiedTaxRegistration) + public function setSpecifiedTaxRegistration(array $specifiedTaxRegistration = null) { $this->specifiedTaxRegistration = $specifiedTaxRegistration; return $this; diff --git a/src/entities/en16931/ram/TradePaymentTermsType.php b/src/entities/en16931/ram/TradePaymentTermsType.php index 40d6ab3e..e57bf198 100644 --- a/src/entities/en16931/ram/TradePaymentTermsType.php +++ b/src/entities/en16931/ram/TradePaymentTermsType.php @@ -63,7 +63,7 @@ public function getDueDateDateTime() * @param \horstoeko\zugferd\entities\en16931\udt\DateTimeType $dueDateDateTime * @return self */ - public function setDueDateDateTime(\horstoeko\zugferd\entities\en16931\udt\DateTimeType $dueDateDateTime) + public function setDueDateDateTime(?\horstoeko\zugferd\entities\en16931\udt\DateTimeType $dueDateDateTime = null) { $this->dueDateDateTime = $dueDateDateTime; return $this; @@ -85,7 +85,7 @@ public function getDirectDebitMandateID() * @param \horstoeko\zugferd\entities\en16931\udt\IDType $directDebitMandateID * @return self */ - public function setDirectDebitMandateID(\horstoeko\zugferd\entities\en16931\udt\IDType $directDebitMandateID) + public function setDirectDebitMandateID(?\horstoeko\zugferd\entities\en16931\udt\IDType $directDebitMandateID = null) { $this->directDebitMandateID = $directDebitMandateID; return $this; diff --git a/src/entities/en16931/ram/TradePriceType.php b/src/entities/en16931/ram/TradePriceType.php index 7e4a66cb..2b943bf2 100644 --- a/src/entities/en16931/ram/TradePriceType.php +++ b/src/entities/en16931/ram/TradePriceType.php @@ -63,7 +63,7 @@ public function getBasisQuantity() * @param \horstoeko\zugferd\entities\en16931\udt\QuantityType $basisQuantity * @return self */ - public function setBasisQuantity(\horstoeko\zugferd\entities\en16931\udt\QuantityType $basisQuantity) + public function setBasisQuantity(?\horstoeko\zugferd\entities\en16931\udt\QuantityType $basisQuantity = null) { $this->basisQuantity = $basisQuantity; return $this; @@ -85,9 +85,12 @@ public function getAppliedTradeAllowanceCharge() * @param \horstoeko\zugferd\entities\en16931\ram\TradeAllowanceChargeType $appliedTradeAllowanceCharge * @return self */ - public function setAppliedTradeAllowanceCharge(\horstoeko\zugferd\entities\en16931\ram\TradeAllowanceChargeType $appliedTradeAllowanceCharge) + public function setAppliedTradeAllowanceCharge(?\horstoeko\zugferd\entities\en16931\ram\TradeAllowanceChargeType $appliedTradeAllowanceCharge = null) { $this->appliedTradeAllowanceCharge = $appliedTradeAllowanceCharge; return $this; } + + } + diff --git a/src/entities/en16931/ram/TradeProductType.php b/src/entities/en16931/ram/TradeProductType.php index 2ad60125..0dfb0cd8 100644 --- a/src/entities/en16931/ram/TradeProductType.php +++ b/src/entities/en16931/ram/TradeProductType.php @@ -70,7 +70,7 @@ public function getGlobalID() * @param \horstoeko\zugferd\entities\en16931\udt\IDType $globalID * @return self */ - public function setGlobalID(\horstoeko\zugferd\entities\en16931\udt\IDType $globalID) + public function setGlobalID(?\horstoeko\zugferd\entities\en16931\udt\IDType $globalID = null) { $this->globalID = $globalID; return $this; @@ -92,7 +92,7 @@ public function getSellerAssignedID() * @param \horstoeko\zugferd\entities\en16931\udt\IDType $sellerAssignedID * @return self */ - public function setSellerAssignedID(\horstoeko\zugferd\entities\en16931\udt\IDType $sellerAssignedID) + public function setSellerAssignedID(?\horstoeko\zugferd\entities\en16931\udt\IDType $sellerAssignedID = null) { $this->sellerAssignedID = $sellerAssignedID; return $this; @@ -114,7 +114,7 @@ public function getBuyerAssignedID() * @param \horstoeko\zugferd\entities\en16931\udt\IDType $buyerAssignedID * @return self */ - public function setBuyerAssignedID(\horstoeko\zugferd\entities\en16931\udt\IDType $buyerAssignedID) + public function setBuyerAssignedID(?\horstoeko\zugferd\entities\en16931\udt\IDType $buyerAssignedID = null) { $this->buyerAssignedID = $buyerAssignedID; return $this; @@ -214,7 +214,7 @@ public function getApplicableProductCharacteristic() * @param \horstoeko\zugferd\entities\en16931\ram\ProductCharacteristicType[] $applicableProductCharacteristic * @return self */ - public function setApplicableProductCharacteristic(array $applicableProductCharacteristic) + public function setApplicableProductCharacteristic(array $applicableProductCharacteristic = null) { $this->applicableProductCharacteristic = $applicableProductCharacteristic; return $this; @@ -270,7 +270,7 @@ public function getDesignatedProductClassification() * @param \horstoeko\zugferd\entities\en16931\ram\ProductClassificationType[] $designatedProductClassification * @return self */ - public function setDesignatedProductClassification(array $designatedProductClassification) + public function setDesignatedProductClassification(array $designatedProductClassification = null) { $this->designatedProductClassification = $designatedProductClassification; return $this; @@ -292,7 +292,7 @@ public function getOriginTradeCountry() * @param \horstoeko\zugferd\entities\en16931\ram\TradeCountryType $originTradeCountry * @return self */ - public function setOriginTradeCountry(\horstoeko\zugferd\entities\en16931\ram\TradeCountryType $originTradeCountry) + public function setOriginTradeCountry(?\horstoeko\zugferd\entities\en16931\ram\TradeCountryType $originTradeCountry = null) { $this->originTradeCountry = $originTradeCountry; return $this; diff --git a/src/entities/en16931/ram/TradeSettlementHeaderMonetarySummationType.php b/src/entities/en16931/ram/TradeSettlementHeaderMonetarySummationType.php index 3b21b6fb..d8dc4d07 100644 --- a/src/entities/en16931/ram/TradeSettlementHeaderMonetarySummationType.php +++ b/src/entities/en16931/ram/TradeSettlementHeaderMonetarySummationType.php @@ -95,7 +95,7 @@ public function getChargeTotalAmount() * @param \horstoeko\zugferd\entities\en16931\udt\AmountType $chargeTotalAmount * @return self */ - public function setChargeTotalAmount(\horstoeko\zugferd\entities\en16931\udt\AmountType $chargeTotalAmount) + public function setChargeTotalAmount(?\horstoeko\zugferd\entities\en16931\udt\AmountType $chargeTotalAmount = null) { $this->chargeTotalAmount = $chargeTotalAmount; return $this; @@ -117,7 +117,7 @@ public function getAllowanceTotalAmount() * @param \horstoeko\zugferd\entities\en16931\udt\AmountType $allowanceTotalAmount * @return self */ - public function setAllowanceTotalAmount(\horstoeko\zugferd\entities\en16931\udt\AmountType $allowanceTotalAmount) + public function setAllowanceTotalAmount(?\horstoeko\zugferd\entities\en16931\udt\AmountType $allowanceTotalAmount = null) { $this->allowanceTotalAmount = $allowanceTotalAmount; return $this; @@ -195,7 +195,7 @@ public function getTaxTotalAmount() * @param \horstoeko\zugferd\entities\en16931\udt\AmountType[] $taxTotalAmount * @return self */ - public function setTaxTotalAmount(array $taxTotalAmount) + public function setTaxTotalAmount(array $taxTotalAmount = null) { $this->taxTotalAmount = $taxTotalAmount; return $this; @@ -217,7 +217,7 @@ public function getRoundingAmount() * @param \horstoeko\zugferd\entities\en16931\udt\AmountType $roundingAmount * @return self */ - public function setRoundingAmount(\horstoeko\zugferd\entities\en16931\udt\AmountType $roundingAmount) + public function setRoundingAmount(?\horstoeko\zugferd\entities\en16931\udt\AmountType $roundingAmount = null) { $this->roundingAmount = $roundingAmount; return $this; @@ -261,7 +261,7 @@ public function getTotalPrepaidAmount() * @param \horstoeko\zugferd\entities\en16931\udt\AmountType $totalPrepaidAmount * @return self */ - public function setTotalPrepaidAmount(\horstoeko\zugferd\entities\en16931\udt\AmountType $totalPrepaidAmount) + public function setTotalPrepaidAmount(?\horstoeko\zugferd\entities\en16931\udt\AmountType $totalPrepaidAmount = null) { $this->totalPrepaidAmount = $totalPrepaidAmount; return $this; diff --git a/src/entities/en16931/ram/TradeSettlementPaymentMeansType.php b/src/entities/en16931/ram/TradeSettlementPaymentMeansType.php index 1b33f6a6..ea859283 100644 --- a/src/entities/en16931/ram/TradeSettlementPaymentMeansType.php +++ b/src/entities/en16931/ram/TradeSettlementPaymentMeansType.php @@ -100,7 +100,7 @@ public function getApplicableTradeSettlementFinancialCard() * @param \horstoeko\zugferd\entities\en16931\ram\TradeSettlementFinancialCardType $applicableTradeSettlementFinancialCard * @return self */ - public function setApplicableTradeSettlementFinancialCard(\horstoeko\zugferd\entities\en16931\ram\TradeSettlementFinancialCardType $applicableTradeSettlementFinancialCard) + public function setApplicableTradeSettlementFinancialCard(?\horstoeko\zugferd\entities\en16931\ram\TradeSettlementFinancialCardType $applicableTradeSettlementFinancialCard = null) { $this->applicableTradeSettlementFinancialCard = $applicableTradeSettlementFinancialCard; return $this; @@ -122,7 +122,7 @@ public function getPayerPartyDebtorFinancialAccount() * @param \horstoeko\zugferd\entities\en16931\ram\DebtorFinancialAccountType $payerPartyDebtorFinancialAccount * @return self */ - public function setPayerPartyDebtorFinancialAccount(\horstoeko\zugferd\entities\en16931\ram\DebtorFinancialAccountType $payerPartyDebtorFinancialAccount) + public function setPayerPartyDebtorFinancialAccount(?\horstoeko\zugferd\entities\en16931\ram\DebtorFinancialAccountType $payerPartyDebtorFinancialAccount = null) { $this->payerPartyDebtorFinancialAccount = $payerPartyDebtorFinancialAccount; return $this; @@ -144,7 +144,7 @@ public function getPayeePartyCreditorFinancialAccount() * @param \horstoeko\zugferd\entities\en16931\ram\CreditorFinancialAccountType $payeePartyCreditorFinancialAccount * @return self */ - public function setPayeePartyCreditorFinancialAccount(\horstoeko\zugferd\entities\en16931\ram\CreditorFinancialAccountType $payeePartyCreditorFinancialAccount) + public function setPayeePartyCreditorFinancialAccount(?\horstoeko\zugferd\entities\en16931\ram\CreditorFinancialAccountType $payeePartyCreditorFinancialAccount = null) { $this->payeePartyCreditorFinancialAccount = $payeePartyCreditorFinancialAccount; return $this; @@ -166,7 +166,7 @@ public function getPayeeSpecifiedCreditorFinancialInstitution() * @param \horstoeko\zugferd\entities\en16931\ram\CreditorFinancialInstitutionType $payeeSpecifiedCreditorFinancialInstitution * @return self */ - public function setPayeeSpecifiedCreditorFinancialInstitution(\horstoeko\zugferd\entities\en16931\ram\CreditorFinancialInstitutionType $payeeSpecifiedCreditorFinancialInstitution) + public function setPayeeSpecifiedCreditorFinancialInstitution(?\horstoeko\zugferd\entities\en16931\ram\CreditorFinancialInstitutionType $payeeSpecifiedCreditorFinancialInstitution = null) { $this->payeeSpecifiedCreditorFinancialInstitution = $payeeSpecifiedCreditorFinancialInstitution; return $this; diff --git a/src/entities/en16931/ram/TradeTaxType.php b/src/entities/en16931/ram/TradeTaxType.php index 30c62253..95ef3ab7 100644 --- a/src/entities/en16931/ram/TradeTaxType.php +++ b/src/entities/en16931/ram/TradeTaxType.php @@ -71,7 +71,7 @@ public function getCalculatedAmount() * @param \horstoeko\zugferd\entities\en16931\udt\AmountType $calculatedAmount * @return self */ - public function setCalculatedAmount(\horstoeko\zugferd\entities\en16931\udt\AmountType $calculatedAmount) + public function setCalculatedAmount(?\horstoeko\zugferd\entities\en16931\udt\AmountType $calculatedAmount = null) { $this->calculatedAmount = $calculatedAmount; return $this; @@ -137,7 +137,7 @@ public function getBasisAmount() * @param \horstoeko\zugferd\entities\en16931\udt\AmountType $basisAmount * @return self */ - public function setBasisAmount(\horstoeko\zugferd\entities\en16931\udt\AmountType $basisAmount) + public function setBasisAmount(?\horstoeko\zugferd\entities\en16931\udt\AmountType $basisAmount = null) { $this->basisAmount = $basisAmount; return $this; @@ -181,7 +181,7 @@ public function getExemptionReasonCode() * @param \horstoeko\zugferd\entities\en16931\udt\CodeType $exemptionReasonCode * @return self */ - public function setExemptionReasonCode(\horstoeko\zugferd\entities\en16931\udt\CodeType $exemptionReasonCode) + public function setExemptionReasonCode(?\horstoeko\zugferd\entities\en16931\udt\CodeType $exemptionReasonCode = null) { $this->exemptionReasonCode = $exemptionReasonCode; return $this; @@ -203,7 +203,7 @@ public function getTaxPointDate() * @param \horstoeko\zugferd\entities\en16931\udt\DateType $taxPointDate * @return self */ - public function setTaxPointDate(\horstoeko\zugferd\entities\en16931\udt\DateType $taxPointDate) + public function setTaxPointDate(?\horstoeko\zugferd\entities\en16931\udt\DateType $taxPointDate = null) { $this->taxPointDate = $taxPointDate; return $this; diff --git a/src/entities/en16931/ram/UniversalCommunicationType.php b/src/entities/en16931/ram/UniversalCommunicationType.php index 3d97a4c9..c58e49cb 100644 --- a/src/entities/en16931/ram/UniversalCommunicationType.php +++ b/src/entities/en16931/ram/UniversalCommunicationType.php @@ -36,7 +36,7 @@ public function getURIID() * @param \horstoeko\zugferd\entities\en16931\udt\IDType $uRIID * @return self */ - public function setURIID(\horstoeko\zugferd\entities\en16931\udt\IDType $uRIID) + public function setURIID(?\horstoeko\zugferd\entities\en16931\udt\IDType $uRIID = null) { $this->uRIID = $uRIID; return $this; diff --git a/src/entities/en16931/udt/DateTimeType.php b/src/entities/en16931/udt/DateTimeType.php index c915c757..8f9a847c 100644 --- a/src/entities/en16931/udt/DateTimeType.php +++ b/src/entities/en16931/udt/DateTimeType.php @@ -31,9 +31,10 @@ public function getDateTimeString() * @param \horstoeko\zugferd\entities\en16931\udt\DateTimeType\DateTimeStringAType $dateTimeString * @return self */ - public function setDateTimeString(\horstoeko\zugferd\entities\en16931\udt\DateTimeType\DateTimeStringAType $dateTimeString) + public function setDateTimeString(?\horstoeko\zugferd\entities\en16931\udt\DateTimeType\DateTimeStringAType $dateTimeString = null) { $this->dateTimeString = $dateTimeString; return $this; } } + diff --git a/src/entities/en16931/udt/DateType.php b/src/entities/en16931/udt/DateType.php index 2615f8c0..06366972 100644 --- a/src/entities/en16931/udt/DateType.php +++ b/src/entities/en16931/udt/DateType.php @@ -31,7 +31,7 @@ public function getDateString() * @param \horstoeko\zugferd\entities\en16931\udt\DateType\DateStringAType $dateString * @return self */ - public function setDateString(\horstoeko\zugferd\entities\en16931\udt\DateType\DateStringAType $dateString) + public function setDateString(?\horstoeko\zugferd\entities\en16931\udt\DateType\DateStringAType $dateString = null) { $this->dateString = $dateString; return $this; diff --git a/src/entities/extended/ram/AdvancePaymentType.php b/src/entities/extended/ram/AdvancePaymentType.php index b36f6f62..c4ae18cd 100644 --- a/src/entities/extended/ram/AdvancePaymentType.php +++ b/src/entities/extended/ram/AdvancePaymentType.php @@ -27,6 +27,11 @@ class AdvancePaymentType ]; + /** + * @var \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $invoiceSpecifiedReferencedDocument + */ + private $invoiceSpecifiedReferencedDocument = null; + /** * Gets as paidAmount * @@ -65,7 +70,7 @@ public function getFormattedReceivedDateTime() * @param \horstoeko\zugferd\entities\extended\qdt\FormattedDateTimeType $formattedReceivedDateTime * @return self */ - public function setFormattedReceivedDateTime(\horstoeko\zugferd\entities\extended\qdt\FormattedDateTimeType $formattedReceivedDateTime) + public function setFormattedReceivedDateTime(?\horstoeko\zugferd\entities\extended\qdt\FormattedDateTimeType $formattedReceivedDateTime = null) { $this->formattedReceivedDateTime = $formattedReceivedDateTime; return $this; @@ -126,4 +131,29 @@ public function setIncludedTradeTax(array $includedTradeTax) $this->includedTradeTax = $includedTradeTax; return $this; } + + /** + * Gets as invoiceSpecifiedReferencedDocument + * + * @return \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType + */ + public function getInvoiceSpecifiedReferencedDocument() + { + return $this->invoiceSpecifiedReferencedDocument; + } + + /** + * Sets a new invoiceSpecifiedReferencedDocument + * + * @param \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $invoiceSpecifiedReferencedDocument + * @return self + */ + public function setInvoiceSpecifiedReferencedDocument(?\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $invoiceSpecifiedReferencedDocument = null) + { + $this->invoiceSpecifiedReferencedDocument = $invoiceSpecifiedReferencedDocument; + return $this; + } + + } + diff --git a/src/entities/extended/ram/CreditorFinancialAccountType.php b/src/entities/extended/ram/CreditorFinancialAccountType.php index a2261064..0d835243 100644 --- a/src/entities/extended/ram/CreditorFinancialAccountType.php +++ b/src/entities/extended/ram/CreditorFinancialAccountType.php @@ -41,7 +41,7 @@ public function getIBANID() * @param \horstoeko\zugferd\entities\extended\udt\IDType $iBANID * @return self */ - public function setIBANID(\horstoeko\zugferd\entities\extended\udt\IDType $iBANID) + public function setIBANID(?\horstoeko\zugferd\entities\extended\udt\IDType $iBANID = null) { $this->iBANID = $iBANID; return $this; @@ -85,7 +85,7 @@ public function getProprietaryID() * @param \horstoeko\zugferd\entities\extended\udt\IDType $proprietaryID * @return self */ - public function setProprietaryID(\horstoeko\zugferd\entities\extended\udt\IDType $proprietaryID) + public function setProprietaryID(?\horstoeko\zugferd\entities\extended\udt\IDType $proprietaryID = null) { $this->proprietaryID = $proprietaryID; return $this; diff --git a/src/entities/extended/ram/DocumentLineDocumentType.php b/src/entities/extended/ram/DocumentLineDocumentType.php index 2ceccec2..82ea251d 100644 --- a/src/entities/extended/ram/DocumentLineDocumentType.php +++ b/src/entities/extended/ram/DocumentLineDocumentType.php @@ -75,7 +75,7 @@ public function getParentLineID() * @param \horstoeko\zugferd\entities\extended\udt\IDType $parentLineID * @return self */ - public function setParentLineID(\horstoeko\zugferd\entities\extended\udt\IDType $parentLineID) + public function setParentLineID(?\horstoeko\zugferd\entities\extended\udt\IDType $parentLineID = null) { $this->parentLineID = $parentLineID; return $this; @@ -119,7 +119,7 @@ public function getLineStatusReasonCode() * @param \horstoeko\zugferd\entities\extended\udt\CodeType $lineStatusReasonCode * @return self */ - public function setLineStatusReasonCode(\horstoeko\zugferd\entities\extended\udt\CodeType $lineStatusReasonCode) + public function setLineStatusReasonCode(?\horstoeko\zugferd\entities\extended\udt\CodeType $lineStatusReasonCode = null) { $this->lineStatusReasonCode = $lineStatusReasonCode; return $this; @@ -175,7 +175,7 @@ public function getIncludedNote() * @param \horstoeko\zugferd\entities\extended\ram\NoteType[] $includedNote * @return self */ - public function setIncludedNote(array $includedNote) + public function setIncludedNote(array $includedNote = null) { $this->includedNote = $includedNote; return $this; diff --git a/src/entities/extended/ram/ExchangedDocumentContextType.php b/src/entities/extended/ram/ExchangedDocumentContextType.php index f1617fae..f0406a6c 100644 --- a/src/entities/extended/ram/ExchangedDocumentContextType.php +++ b/src/entities/extended/ram/ExchangedDocumentContextType.php @@ -41,7 +41,7 @@ public function getTestIndicator() * @param \horstoeko\zugferd\entities\extended\udt\IndicatorType $testIndicator * @return self */ - public function setTestIndicator(\horstoeko\zugferd\entities\extended\udt\IndicatorType $testIndicator) + public function setTestIndicator(?\horstoeko\zugferd\entities\extended\udt\IndicatorType $testIndicator = null) { $this->testIndicator = $testIndicator; return $this; @@ -63,7 +63,7 @@ public function getBusinessProcessSpecifiedDocumentContextParameter() * @param \horstoeko\zugferd\entities\extended\ram\DocumentContextParameterType $businessProcessSpecifiedDocumentContextParameter * @return self */ - public function setBusinessProcessSpecifiedDocumentContextParameter(\horstoeko\zugferd\entities\extended\ram\DocumentContextParameterType $businessProcessSpecifiedDocumentContextParameter) + public function setBusinessProcessSpecifiedDocumentContextParameter(?\horstoeko\zugferd\entities\extended\ram\DocumentContextParameterType $businessProcessSpecifiedDocumentContextParameter = null) { $this->businessProcessSpecifiedDocumentContextParameter = $businessProcessSpecifiedDocumentContextParameter; return $this; diff --git a/src/entities/extended/ram/ExchangedDocumentType.php b/src/entities/extended/ram/ExchangedDocumentType.php index ba8fa03b..8cd5ada7 100644 --- a/src/entities/extended/ram/ExchangedDocumentType.php +++ b/src/entities/extended/ram/ExchangedDocumentType.php @@ -36,11 +36,9 @@ class ExchangedDocumentType private $copyIndicator = null; /** - * @var \horstoeko\zugferd\entities\extended\udt\IDType[] $languageID + * @var \horstoeko\zugferd\entities\extended\udt\IDType $languageID */ - private $languageID = [ - - ]; + private $languageID = null; /** * @var \horstoeko\zugferd\entities\extended\ram\NoteType[] $includedNote @@ -158,50 +156,16 @@ public function getCopyIndicator() * @param \horstoeko\zugferd\entities\extended\udt\IndicatorType $copyIndicator * @return self */ - public function setCopyIndicator(\horstoeko\zugferd\entities\extended\udt\IndicatorType $copyIndicator) + public function setCopyIndicator(?\horstoeko\zugferd\entities\extended\udt\IndicatorType $copyIndicator = null) { $this->copyIndicator = $copyIndicator; return $this; } - /** - * Adds as languageID - * - * @return self - * @param \horstoeko\zugferd\entities\extended\udt\IDType $languageID - */ - public function addToLanguageID(\horstoeko\zugferd\entities\extended\udt\IDType $languageID) - { - $this->languageID[] = $languageID; - return $this; - } - - /** - * isset languageID - * - * @param int|string $index - * @return bool - */ - public function issetLanguageID($index) - { - return isset($this->languageID[$index]); - } - - /** - * unset languageID - * - * @param int|string $index - * @return void - */ - public function unsetLanguageID($index) - { - unset($this->languageID[$index]); - } - /** * Gets as languageID * - * @return \horstoeko\zugferd\entities\extended\udt\IDType[] + * @return \horstoeko\zugferd\entities\extended\udt\IDType */ public function getLanguageID() { @@ -211,10 +175,10 @@ public function getLanguageID() /** * Sets a new languageID * - * @param \horstoeko\zugferd\entities\extended\udt\IDType[] $languageID + * @param \horstoeko\zugferd\entities\extended\udt\IDType $languageID * @return self */ - public function setLanguageID(array $languageID) + public function setLanguageID(?\horstoeko\zugferd\entities\extended\udt\IDType $languageID = null) { $this->languageID = $languageID; return $this; @@ -270,7 +234,7 @@ public function getIncludedNote() * @param \horstoeko\zugferd\entities\extended\ram\NoteType[] $includedNote * @return self */ - public function setIncludedNote(array $includedNote) + public function setIncludedNote(array $includedNote = null) { $this->includedNote = $includedNote; return $this; @@ -292,7 +256,7 @@ public function getEffectiveSpecifiedPeriod() * @param \horstoeko\zugferd\entities\extended\ram\SpecifiedPeriodType $effectiveSpecifiedPeriod * @return self */ - public function setEffectiveSpecifiedPeriod(\horstoeko\zugferd\entities\extended\ram\SpecifiedPeriodType $effectiveSpecifiedPeriod) + public function setEffectiveSpecifiedPeriod(?\horstoeko\zugferd\entities\extended\ram\SpecifiedPeriodType $effectiveSpecifiedPeriod = null) { $this->effectiveSpecifiedPeriod = $effectiveSpecifiedPeriod; return $this; diff --git a/src/entities/extended/ram/HeaderTradeAgreementType.php b/src/entities/extended/ram/HeaderTradeAgreementType.php index c39cbd1c..b6d1da63 100644 --- a/src/entities/extended/ram/HeaderTradeAgreementType.php +++ b/src/entities/extended/ram/HeaderTradeAgreementType.php @@ -176,7 +176,7 @@ public function getSalesAgentTradeParty() * @param \horstoeko\zugferd\entities\extended\ram\TradePartyType $salesAgentTradeParty * @return self */ - public function setSalesAgentTradeParty(\horstoeko\zugferd\entities\extended\ram\TradePartyType $salesAgentTradeParty) + public function setSalesAgentTradeParty(?\horstoeko\zugferd\entities\extended\ram\TradePartyType $salesAgentTradeParty = null) { $this->salesAgentTradeParty = $salesAgentTradeParty; return $this; @@ -198,7 +198,7 @@ public function getBuyerTaxRepresentativeTradeParty() * @param \horstoeko\zugferd\entities\extended\ram\TradePartyType $buyerTaxRepresentativeTradeParty * @return self */ - public function setBuyerTaxRepresentativeTradeParty(\horstoeko\zugferd\entities\extended\ram\TradePartyType $buyerTaxRepresentativeTradeParty) + public function setBuyerTaxRepresentativeTradeParty(?\horstoeko\zugferd\entities\extended\ram\TradePartyType $buyerTaxRepresentativeTradeParty = null) { $this->buyerTaxRepresentativeTradeParty = $buyerTaxRepresentativeTradeParty; return $this; @@ -220,7 +220,7 @@ public function getSellerTaxRepresentativeTradeParty() * @param \horstoeko\zugferd\entities\extended\ram\TradePartyType $sellerTaxRepresentativeTradeParty * @return self */ - public function setSellerTaxRepresentativeTradeParty(\horstoeko\zugferd\entities\extended\ram\TradePartyType $sellerTaxRepresentativeTradeParty) + public function setSellerTaxRepresentativeTradeParty(?\horstoeko\zugferd\entities\extended\ram\TradePartyType $sellerTaxRepresentativeTradeParty = null) { $this->sellerTaxRepresentativeTradeParty = $sellerTaxRepresentativeTradeParty; return $this; @@ -242,7 +242,7 @@ public function getProductEndUserTradeParty() * @param \horstoeko\zugferd\entities\extended\ram\TradePartyType $productEndUserTradeParty * @return self */ - public function setProductEndUserTradeParty(\horstoeko\zugferd\entities\extended\ram\TradePartyType $productEndUserTradeParty) + public function setProductEndUserTradeParty(?\horstoeko\zugferd\entities\extended\ram\TradePartyType $productEndUserTradeParty = null) { $this->productEndUserTradeParty = $productEndUserTradeParty; return $this; @@ -264,7 +264,7 @@ public function getApplicableTradeDeliveryTerms() * @param \horstoeko\zugferd\entities\extended\ram\TradeDeliveryTermsType $applicableTradeDeliveryTerms * @return self */ - public function setApplicableTradeDeliveryTerms(\horstoeko\zugferd\entities\extended\ram\TradeDeliveryTermsType $applicableTradeDeliveryTerms) + public function setApplicableTradeDeliveryTerms(?\horstoeko\zugferd\entities\extended\ram\TradeDeliveryTermsType $applicableTradeDeliveryTerms = null) { $this->applicableTradeDeliveryTerms = $applicableTradeDeliveryTerms; return $this; @@ -286,7 +286,7 @@ public function getSellerOrderReferencedDocument() * @param \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $sellerOrderReferencedDocument * @return self */ - public function setSellerOrderReferencedDocument(\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $sellerOrderReferencedDocument) + public function setSellerOrderReferencedDocument(?\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $sellerOrderReferencedDocument = null) { $this->sellerOrderReferencedDocument = $sellerOrderReferencedDocument; return $this; @@ -308,7 +308,7 @@ public function getBuyerOrderReferencedDocument() * @param \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $buyerOrderReferencedDocument * @return self */ - public function setBuyerOrderReferencedDocument(\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $buyerOrderReferencedDocument) + public function setBuyerOrderReferencedDocument(?\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $buyerOrderReferencedDocument = null) { $this->buyerOrderReferencedDocument = $buyerOrderReferencedDocument; return $this; @@ -330,7 +330,7 @@ public function getQuotationReferencedDocument() * @param \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $quotationReferencedDocument * @return self */ - public function setQuotationReferencedDocument(\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $quotationReferencedDocument) + public function setQuotationReferencedDocument(?\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $quotationReferencedDocument = null) { $this->quotationReferencedDocument = $quotationReferencedDocument; return $this; @@ -352,7 +352,7 @@ public function getContractReferencedDocument() * @param \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $contractReferencedDocument * @return self */ - public function setContractReferencedDocument(\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $contractReferencedDocument) + public function setContractReferencedDocument(?\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $contractReferencedDocument = null) { $this->contractReferencedDocument = $contractReferencedDocument; return $this; @@ -408,7 +408,7 @@ public function getAdditionalReferencedDocument() * @param \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType[] $additionalReferencedDocument * @return self */ - public function setAdditionalReferencedDocument(array $additionalReferencedDocument) + public function setAdditionalReferencedDocument(array $additionalReferencedDocument = null) { $this->additionalReferencedDocument = $additionalReferencedDocument; return $this; @@ -430,7 +430,7 @@ public function getBuyerAgentTradeParty() * @param \horstoeko\zugferd\entities\extended\ram\TradePartyType $buyerAgentTradeParty * @return self */ - public function setBuyerAgentTradeParty(\horstoeko\zugferd\entities\extended\ram\TradePartyType $buyerAgentTradeParty) + public function setBuyerAgentTradeParty(?\horstoeko\zugferd\entities\extended\ram\TradePartyType $buyerAgentTradeParty = null) { $this->buyerAgentTradeParty = $buyerAgentTradeParty; return $this; @@ -452,7 +452,7 @@ public function getSpecifiedProcuringProject() * @param \horstoeko\zugferd\entities\extended\ram\ProcuringProjectType $specifiedProcuringProject * @return self */ - public function setSpecifiedProcuringProject(\horstoeko\zugferd\entities\extended\ram\ProcuringProjectType $specifiedProcuringProject) + public function setSpecifiedProcuringProject(?\horstoeko\zugferd\entities\extended\ram\ProcuringProjectType $specifiedProcuringProject = null) { $this->specifiedProcuringProject = $specifiedProcuringProject; return $this; @@ -508,7 +508,7 @@ public function getUltimateCustomerOrderReferencedDocument() * @param \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType[] $ultimateCustomerOrderReferencedDocument * @return self */ - public function setUltimateCustomerOrderReferencedDocument(array $ultimateCustomerOrderReferencedDocument) + public function setUltimateCustomerOrderReferencedDocument(array $ultimateCustomerOrderReferencedDocument = null) { $this->ultimateCustomerOrderReferencedDocument = $ultimateCustomerOrderReferencedDocument; return $this; diff --git a/src/entities/extended/ram/HeaderTradeDeliveryType.php b/src/entities/extended/ram/HeaderTradeDeliveryType.php index 94e6dd37..0978f5d4 100644 --- a/src/entities/extended/ram/HeaderTradeDeliveryType.php +++ b/src/entities/extended/ram/HeaderTradeDeliveryType.php @@ -100,7 +100,7 @@ public function getRelatedSupplyChainConsignment() * @param \horstoeko\zugferd\entities\extended\ram\LogisticsTransportMovementType[] $relatedSupplyChainConsignment * @return self */ - public function setRelatedSupplyChainConsignment(array $relatedSupplyChainConsignment) + public function setRelatedSupplyChainConsignment(array $relatedSupplyChainConsignment = null) { $this->relatedSupplyChainConsignment = $relatedSupplyChainConsignment; return $this; @@ -122,7 +122,7 @@ public function getShipToTradeParty() * @param \horstoeko\zugferd\entities\extended\ram\TradePartyType $shipToTradeParty * @return self */ - public function setShipToTradeParty(\horstoeko\zugferd\entities\extended\ram\TradePartyType $shipToTradeParty) + public function setShipToTradeParty(?\horstoeko\zugferd\entities\extended\ram\TradePartyType $shipToTradeParty = null) { $this->shipToTradeParty = $shipToTradeParty; return $this; @@ -144,7 +144,7 @@ public function getUltimateShipToTradeParty() * @param \horstoeko\zugferd\entities\extended\ram\TradePartyType $ultimateShipToTradeParty * @return self */ - public function setUltimateShipToTradeParty(\horstoeko\zugferd\entities\extended\ram\TradePartyType $ultimateShipToTradeParty) + public function setUltimateShipToTradeParty(?\horstoeko\zugferd\entities\extended\ram\TradePartyType $ultimateShipToTradeParty = null) { $this->ultimateShipToTradeParty = $ultimateShipToTradeParty; return $this; @@ -166,7 +166,7 @@ public function getShipFromTradeParty() * @param \horstoeko\zugferd\entities\extended\ram\TradePartyType $shipFromTradeParty * @return self */ - public function setShipFromTradeParty(\horstoeko\zugferd\entities\extended\ram\TradePartyType $shipFromTradeParty) + public function setShipFromTradeParty(?\horstoeko\zugferd\entities\extended\ram\TradePartyType $shipFromTradeParty = null) { $this->shipFromTradeParty = $shipFromTradeParty; return $this; @@ -188,7 +188,7 @@ public function getActualDeliverySupplyChainEvent() * @param \horstoeko\zugferd\entities\extended\ram\SupplyChainEventType $actualDeliverySupplyChainEvent * @return self */ - public function setActualDeliverySupplyChainEvent(\horstoeko\zugferd\entities\extended\ram\SupplyChainEventType $actualDeliverySupplyChainEvent) + public function setActualDeliverySupplyChainEvent(?\horstoeko\zugferd\entities\extended\ram\SupplyChainEventType $actualDeliverySupplyChainEvent = null) { $this->actualDeliverySupplyChainEvent = $actualDeliverySupplyChainEvent; return $this; @@ -210,7 +210,7 @@ public function getDespatchAdviceReferencedDocument() * @param \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $despatchAdviceReferencedDocument * @return self */ - public function setDespatchAdviceReferencedDocument(\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $despatchAdviceReferencedDocument) + public function setDespatchAdviceReferencedDocument(?\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $despatchAdviceReferencedDocument = null) { $this->despatchAdviceReferencedDocument = $despatchAdviceReferencedDocument; return $this; @@ -232,7 +232,7 @@ public function getReceivingAdviceReferencedDocument() * @param \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $receivingAdviceReferencedDocument * @return self */ - public function setReceivingAdviceReferencedDocument(\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $receivingAdviceReferencedDocument) + public function setReceivingAdviceReferencedDocument(?\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $receivingAdviceReferencedDocument = null) { $this->receivingAdviceReferencedDocument = $receivingAdviceReferencedDocument; return $this; @@ -254,7 +254,7 @@ public function getDeliveryNoteReferencedDocument() * @param \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $deliveryNoteReferencedDocument * @return self */ - public function setDeliveryNoteReferencedDocument(\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $deliveryNoteReferencedDocument) + public function setDeliveryNoteReferencedDocument(?\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $deliveryNoteReferencedDocument = null) { $this->deliveryNoteReferencedDocument = $deliveryNoteReferencedDocument; return $this; diff --git a/src/entities/extended/ram/HeaderTradeSettlementType.php b/src/entities/extended/ram/HeaderTradeSettlementType.php index dbb699c2..03abec0d 100644 --- a/src/entities/extended/ram/HeaderTradeSettlementType.php +++ b/src/entities/extended/ram/HeaderTradeSettlementType.php @@ -106,9 +106,11 @@ class HeaderTradeSettlementType private $specifiedTradeSettlementHeaderMonetarySummation = null; /** - * @var \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $invoiceReferencedDocument + * @var \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType[] $invoiceReferencedDocument */ - private $invoiceReferencedDocument = null; + private $invoiceReferencedDocument = [ + + ]; /** * @var \horstoeko\zugferd\entities\extended\ram\TradeAccountingAccountType[] $receivableSpecifiedTradeAccountingAccount @@ -140,7 +142,7 @@ public function getCreditorReferenceID() * @param \horstoeko\zugferd\entities\extended\udt\IDType $creditorReferenceID * @return self */ - public function setCreditorReferenceID(\horstoeko\zugferd\entities\extended\udt\IDType $creditorReferenceID) + public function setCreditorReferenceID(?\horstoeko\zugferd\entities\extended\udt\IDType $creditorReferenceID = null) { $this->creditorReferenceID = $creditorReferenceID; return $this; @@ -250,7 +252,7 @@ public function getInvoicerTradeParty() * @param \horstoeko\zugferd\entities\extended\ram\TradePartyType $invoicerTradeParty * @return self */ - public function setInvoicerTradeParty(\horstoeko\zugferd\entities\extended\ram\TradePartyType $invoicerTradeParty) + public function setInvoicerTradeParty(?\horstoeko\zugferd\entities\extended\ram\TradePartyType $invoicerTradeParty = null) { $this->invoicerTradeParty = $invoicerTradeParty; return $this; @@ -272,7 +274,7 @@ public function getInvoiceeTradeParty() * @param \horstoeko\zugferd\entities\extended\ram\TradePartyType $invoiceeTradeParty * @return self */ - public function setInvoiceeTradeParty(\horstoeko\zugferd\entities\extended\ram\TradePartyType $invoiceeTradeParty) + public function setInvoiceeTradeParty(?\horstoeko\zugferd\entities\extended\ram\TradePartyType $invoiceeTradeParty = null) { $this->invoiceeTradeParty = $invoiceeTradeParty; return $this; @@ -294,7 +296,7 @@ public function getPayeeTradeParty() * @param \horstoeko\zugferd\entities\extended\ram\TradePartyType $payeeTradeParty * @return self */ - public function setPayeeTradeParty(\horstoeko\zugferd\entities\extended\ram\TradePartyType $payeeTradeParty) + public function setPayeeTradeParty(?\horstoeko\zugferd\entities\extended\ram\TradePartyType $payeeTradeParty = null) { $this->payeeTradeParty = $payeeTradeParty; return $this; @@ -316,7 +318,7 @@ public function getPayerTradeParty() * @param \horstoeko\zugferd\entities\extended\ram\TradePartyType $payerTradeParty * @return self */ - public function setPayerTradeParty(\horstoeko\zugferd\entities\extended\ram\TradePartyType $payerTradeParty) + public function setPayerTradeParty(?\horstoeko\zugferd\entities\extended\ram\TradePartyType $payerTradeParty = null) { $this->payerTradeParty = $payerTradeParty; return $this; @@ -338,7 +340,7 @@ public function getTaxApplicableTradeCurrencyExchange() * @param \horstoeko\zugferd\entities\extended\ram\TradeCurrencyExchangeType $taxApplicableTradeCurrencyExchange * @return self */ - public function setTaxApplicableTradeCurrencyExchange(\horstoeko\zugferd\entities\extended\ram\TradeCurrencyExchangeType $taxApplicableTradeCurrencyExchange) + public function setTaxApplicableTradeCurrencyExchange(?\horstoeko\zugferd\entities\extended\ram\TradeCurrencyExchangeType $taxApplicableTradeCurrencyExchange = null) { $this->taxApplicableTradeCurrencyExchange = $taxApplicableTradeCurrencyExchange; return $this; @@ -394,7 +396,7 @@ public function getSpecifiedTradeSettlementPaymentMeans() * @param \horstoeko\zugferd\entities\extended\ram\TradeSettlementPaymentMeansType[] $specifiedTradeSettlementPaymentMeans * @return self */ - public function setSpecifiedTradeSettlementPaymentMeans(array $specifiedTradeSettlementPaymentMeans) + public function setSpecifiedTradeSettlementPaymentMeans(array $specifiedTradeSettlementPaymentMeans = null) { $this->specifiedTradeSettlementPaymentMeans = $specifiedTradeSettlementPaymentMeans; return $this; @@ -472,7 +474,7 @@ public function getBillingSpecifiedPeriod() * @param \horstoeko\zugferd\entities\extended\ram\SpecifiedPeriodType $billingSpecifiedPeriod * @return self */ - public function setBillingSpecifiedPeriod(\horstoeko\zugferd\entities\extended\ram\SpecifiedPeriodType $billingSpecifiedPeriod) + public function setBillingSpecifiedPeriod(?\horstoeko\zugferd\entities\extended\ram\SpecifiedPeriodType $billingSpecifiedPeriod = null) { $this->billingSpecifiedPeriod = $billingSpecifiedPeriod; return $this; @@ -528,7 +530,7 @@ public function getSpecifiedTradeAllowanceCharge() * @param \horstoeko\zugferd\entities\extended\ram\TradeAllowanceChargeType[] $specifiedTradeAllowanceCharge * @return self */ - public function setSpecifiedTradeAllowanceCharge(array $specifiedTradeAllowanceCharge) + public function setSpecifiedTradeAllowanceCharge(array $specifiedTradeAllowanceCharge = null) { $this->specifiedTradeAllowanceCharge = $specifiedTradeAllowanceCharge; return $this; @@ -584,7 +586,7 @@ public function getSpecifiedLogisticsServiceCharge() * @param \horstoeko\zugferd\entities\extended\ram\LogisticsServiceChargeType[] $specifiedLogisticsServiceCharge * @return self */ - public function setSpecifiedLogisticsServiceCharge(array $specifiedLogisticsServiceCharge) + public function setSpecifiedLogisticsServiceCharge(array $specifiedLogisticsServiceCharge = null) { $this->specifiedLogisticsServiceCharge = $specifiedLogisticsServiceCharge; return $this; @@ -640,7 +642,7 @@ public function getSpecifiedTradePaymentTerms() * @param \horstoeko\zugferd\entities\extended\ram\TradePaymentTermsType[] $specifiedTradePaymentTerms * @return self */ - public function setSpecifiedTradePaymentTerms(array $specifiedTradePaymentTerms) + public function setSpecifiedTradePaymentTerms(array $specifiedTradePaymentTerms = null) { $this->specifiedTradePaymentTerms = $specifiedTradePaymentTerms; return $this; @@ -668,10 +670,44 @@ public function setSpecifiedTradeSettlementHeaderMonetarySummation(\horstoeko\zu return $this; } + /** + * Adds as invoiceReferencedDocument + * + * @return self + * @param \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $invoiceReferencedDocument + */ + public function addToInvoiceReferencedDocument(\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $invoiceReferencedDocument) + { + $this->invoiceReferencedDocument[] = $invoiceReferencedDocument; + return $this; + } + + /** + * isset invoiceReferencedDocument + * + * @param int|string $index + * @return bool + */ + public function issetInvoiceReferencedDocument($index) + { + return isset($this->invoiceReferencedDocument[$index]); + } + + /** + * unset invoiceReferencedDocument + * + * @param int|string $index + * @return void + */ + public function unsetInvoiceReferencedDocument($index) + { + unset($this->invoiceReferencedDocument[$index]); + } + /** * Gets as invoiceReferencedDocument * - * @return \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType + * @return \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType[] */ public function getInvoiceReferencedDocument() { @@ -681,10 +717,10 @@ public function getInvoiceReferencedDocument() /** * Sets a new invoiceReferencedDocument * - * @param \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $invoiceReferencedDocument + * @param \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType[] $invoiceReferencedDocument * @return self */ - public function setInvoiceReferencedDocument(\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $invoiceReferencedDocument) + public function setInvoiceReferencedDocument(array $invoiceReferencedDocument = null) { $this->invoiceReferencedDocument = $invoiceReferencedDocument; return $this; @@ -740,7 +776,7 @@ public function getReceivableSpecifiedTradeAccountingAccount() * @param \horstoeko\zugferd\entities\extended\ram\TradeAccountingAccountType[] $receivableSpecifiedTradeAccountingAccount * @return self */ - public function setReceivableSpecifiedTradeAccountingAccount(array $receivableSpecifiedTradeAccountingAccount) + public function setReceivableSpecifiedTradeAccountingAccount(array $receivableSpecifiedTradeAccountingAccount = null) { $this->receivableSpecifiedTradeAccountingAccount = $receivableSpecifiedTradeAccountingAccount; return $this; @@ -796,7 +832,7 @@ public function getSpecifiedAdvancePayment() * @param \horstoeko\zugferd\entities\extended\ram\AdvancePaymentType[] $specifiedAdvancePayment * @return self */ - public function setSpecifiedAdvancePayment(array $specifiedAdvancePayment) + public function setSpecifiedAdvancePayment(array $specifiedAdvancePayment = null) { $this->specifiedAdvancePayment = $specifiedAdvancePayment; return $this; diff --git a/src/entities/extended/ram/LegalOrganizationType.php b/src/entities/extended/ram/LegalOrganizationType.php index 9a89df2f..cbcbec91 100644 --- a/src/entities/extended/ram/LegalOrganizationType.php +++ b/src/entities/extended/ram/LegalOrganizationType.php @@ -41,7 +41,7 @@ public function getID() * @param \horstoeko\zugferd\entities\extended\udt\IDType $iD * @return self */ - public function setID(\horstoeko\zugferd\entities\extended\udt\IDType $iD) + public function setID(?\horstoeko\zugferd\entities\extended\udt\IDType $iD = null) { $this->iD = $iD; return $this; @@ -85,7 +85,7 @@ public function getPostalTradeAddress() * @param \horstoeko\zugferd\entities\extended\ram\TradeAddressType $postalTradeAddress * @return self */ - public function setPostalTradeAddress(\horstoeko\zugferd\entities\extended\ram\TradeAddressType $postalTradeAddress) + public function setPostalTradeAddress(?\horstoeko\zugferd\entities\extended\ram\TradeAddressType $postalTradeAddress = null) { $this->postalTradeAddress = $postalTradeAddress; return $this; diff --git a/src/entities/extended/ram/LineTradeAgreementType.php b/src/entities/extended/ram/LineTradeAgreementType.php index c9a1f4fe..2db50dda 100644 --- a/src/entities/extended/ram/LineTradeAgreementType.php +++ b/src/entities/extended/ram/LineTradeAgreementType.php @@ -10,6 +10,11 @@ class LineTradeAgreementType { + /** + * @var \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $sellerOrderReferencedDocument + */ + private $sellerOrderReferencedDocument = null; + /** * @var \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $buyerOrderReferencedDocument */ @@ -49,6 +54,28 @@ class LineTradeAgreementType ]; + /** + * Gets as sellerOrderReferencedDocument + * + * @return \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType + */ + public function getSellerOrderReferencedDocument() + { + return $this->sellerOrderReferencedDocument; + } + + /** + * Sets a new sellerOrderReferencedDocument + * + * @param \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $sellerOrderReferencedDocument + * @return self + */ + public function setSellerOrderReferencedDocument(?\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $sellerOrderReferencedDocument = null) + { + $this->sellerOrderReferencedDocument = $sellerOrderReferencedDocument; + return $this; + } + /** * Gets as buyerOrderReferencedDocument * @@ -65,7 +92,7 @@ public function getBuyerOrderReferencedDocument() * @param \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $buyerOrderReferencedDocument * @return self */ - public function setBuyerOrderReferencedDocument(\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $buyerOrderReferencedDocument) + public function setBuyerOrderReferencedDocument(?\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $buyerOrderReferencedDocument = null) { $this->buyerOrderReferencedDocument = $buyerOrderReferencedDocument; return $this; @@ -87,7 +114,7 @@ public function getQuotationReferencedDocument() * @param \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $quotationReferencedDocument * @return self */ - public function setQuotationReferencedDocument(\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $quotationReferencedDocument) + public function setQuotationReferencedDocument(?\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $quotationReferencedDocument = null) { $this->quotationReferencedDocument = $quotationReferencedDocument; return $this; @@ -109,7 +136,7 @@ public function getContractReferencedDocument() * @param \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $contractReferencedDocument * @return self */ - public function setContractReferencedDocument(\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $contractReferencedDocument) + public function setContractReferencedDocument(?\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $contractReferencedDocument = null) { $this->contractReferencedDocument = $contractReferencedDocument; return $this; @@ -165,7 +192,7 @@ public function getAdditionalReferencedDocument() * @param \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType[] $additionalReferencedDocument * @return self */ - public function setAdditionalReferencedDocument(array $additionalReferencedDocument) + public function setAdditionalReferencedDocument(array $additionalReferencedDocument = null) { $this->additionalReferencedDocument = $additionalReferencedDocument; return $this; @@ -187,7 +214,7 @@ public function getGrossPriceProductTradePrice() * @param \horstoeko\zugferd\entities\extended\ram\TradePriceType $grossPriceProductTradePrice * @return self */ - public function setGrossPriceProductTradePrice(\horstoeko\zugferd\entities\extended\ram\TradePriceType $grossPriceProductTradePrice) + public function setGrossPriceProductTradePrice(?\horstoeko\zugferd\entities\extended\ram\TradePriceType $grossPriceProductTradePrice = null) { $this->grossPriceProductTradePrice = $grossPriceProductTradePrice; return $this; @@ -265,7 +292,7 @@ public function getUltimateCustomerOrderReferencedDocument() * @param \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType[] $ultimateCustomerOrderReferencedDocument * @return self */ - public function setUltimateCustomerOrderReferencedDocument(array $ultimateCustomerOrderReferencedDocument) + public function setUltimateCustomerOrderReferencedDocument(array $ultimateCustomerOrderReferencedDocument = null) { $this->ultimateCustomerOrderReferencedDocument = $ultimateCustomerOrderReferencedDocument; return $this; diff --git a/src/entities/extended/ram/LineTradeDeliveryType.php b/src/entities/extended/ram/LineTradeDeliveryType.php index ad5f5b8a..efe28eb8 100644 --- a/src/entities/extended/ram/LineTradeDeliveryType.php +++ b/src/entities/extended/ram/LineTradeDeliveryType.php @@ -93,7 +93,7 @@ public function getChargeFreeQuantity() * @param \horstoeko\zugferd\entities\extended\udt\QuantityType $chargeFreeQuantity * @return self */ - public function setChargeFreeQuantity(\horstoeko\zugferd\entities\extended\udt\QuantityType $chargeFreeQuantity) + public function setChargeFreeQuantity(?\horstoeko\zugferd\entities\extended\udt\QuantityType $chargeFreeQuantity = null) { $this->chargeFreeQuantity = $chargeFreeQuantity; return $this; @@ -115,7 +115,7 @@ public function getPackageQuantity() * @param \horstoeko\zugferd\entities\extended\udt\QuantityType $packageQuantity * @return self */ - public function setPackageQuantity(\horstoeko\zugferd\entities\extended\udt\QuantityType $packageQuantity) + public function setPackageQuantity(?\horstoeko\zugferd\entities\extended\udt\QuantityType $packageQuantity = null) { $this->packageQuantity = $packageQuantity; return $this; @@ -137,7 +137,7 @@ public function getShipToTradeParty() * @param \horstoeko\zugferd\entities\extended\ram\TradePartyType $shipToTradeParty * @return self */ - public function setShipToTradeParty(\horstoeko\zugferd\entities\extended\ram\TradePartyType $shipToTradeParty) + public function setShipToTradeParty(?\horstoeko\zugferd\entities\extended\ram\TradePartyType $shipToTradeParty = null) { $this->shipToTradeParty = $shipToTradeParty; return $this; @@ -159,7 +159,7 @@ public function getUltimateShipToTradeParty() * @param \horstoeko\zugferd\entities\extended\ram\TradePartyType $ultimateShipToTradeParty * @return self */ - public function setUltimateShipToTradeParty(\horstoeko\zugferd\entities\extended\ram\TradePartyType $ultimateShipToTradeParty) + public function setUltimateShipToTradeParty(?\horstoeko\zugferd\entities\extended\ram\TradePartyType $ultimateShipToTradeParty = null) { $this->ultimateShipToTradeParty = $ultimateShipToTradeParty; return $this; @@ -181,7 +181,7 @@ public function getActualDeliverySupplyChainEvent() * @param \horstoeko\zugferd\entities\extended\ram\SupplyChainEventType $actualDeliverySupplyChainEvent * @return self */ - public function setActualDeliverySupplyChainEvent(\horstoeko\zugferd\entities\extended\ram\SupplyChainEventType $actualDeliverySupplyChainEvent) + public function setActualDeliverySupplyChainEvent(?\horstoeko\zugferd\entities\extended\ram\SupplyChainEventType $actualDeliverySupplyChainEvent = null) { $this->actualDeliverySupplyChainEvent = $actualDeliverySupplyChainEvent; return $this; @@ -203,7 +203,7 @@ public function getDespatchAdviceReferencedDocument() * @param \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $despatchAdviceReferencedDocument * @return self */ - public function setDespatchAdviceReferencedDocument(\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $despatchAdviceReferencedDocument) + public function setDespatchAdviceReferencedDocument(?\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $despatchAdviceReferencedDocument = null) { $this->despatchAdviceReferencedDocument = $despatchAdviceReferencedDocument; return $this; @@ -225,7 +225,7 @@ public function getReceivingAdviceReferencedDocument() * @param \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $receivingAdviceReferencedDocument * @return self */ - public function setReceivingAdviceReferencedDocument(\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $receivingAdviceReferencedDocument) + public function setReceivingAdviceReferencedDocument(?\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $receivingAdviceReferencedDocument = null) { $this->receivingAdviceReferencedDocument = $receivingAdviceReferencedDocument; return $this; @@ -247,7 +247,7 @@ public function getDeliveryNoteReferencedDocument() * @param \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $deliveryNoteReferencedDocument * @return self */ - public function setDeliveryNoteReferencedDocument(\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $deliveryNoteReferencedDocument) + public function setDeliveryNoteReferencedDocument(?\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $deliveryNoteReferencedDocument = null) { $this->deliveryNoteReferencedDocument = $deliveryNoteReferencedDocument; return $this; diff --git a/src/entities/extended/ram/LineTradeSettlementType.php b/src/entities/extended/ram/LineTradeSettlementType.php index 071bed70..d5fbb646 100644 --- a/src/entities/extended/ram/LineTradeSettlementType.php +++ b/src/entities/extended/ram/LineTradeSettlementType.php @@ -123,7 +123,7 @@ public function getBillingSpecifiedPeriod() * @param \horstoeko\zugferd\entities\extended\ram\SpecifiedPeriodType $billingSpecifiedPeriod * @return self */ - public function setBillingSpecifiedPeriod(\horstoeko\zugferd\entities\extended\ram\SpecifiedPeriodType $billingSpecifiedPeriod) + public function setBillingSpecifiedPeriod(?\horstoeko\zugferd\entities\extended\ram\SpecifiedPeriodType $billingSpecifiedPeriod = null) { $this->billingSpecifiedPeriod = $billingSpecifiedPeriod; return $this; @@ -179,7 +179,7 @@ public function getSpecifiedTradeAllowanceCharge() * @param \horstoeko\zugferd\entities\extended\ram\TradeAllowanceChargeType[] $specifiedTradeAllowanceCharge * @return self */ - public function setSpecifiedTradeAllowanceCharge(array $specifiedTradeAllowanceCharge) + public function setSpecifiedTradeAllowanceCharge(array $specifiedTradeAllowanceCharge = null) { $this->specifiedTradeAllowanceCharge = $specifiedTradeAllowanceCharge; return $this; @@ -223,7 +223,7 @@ public function getInvoiceReferencedDocument() * @param \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $invoiceReferencedDocument * @return self */ - public function setInvoiceReferencedDocument(\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $invoiceReferencedDocument) + public function setInvoiceReferencedDocument(?\horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType $invoiceReferencedDocument = null) { $this->invoiceReferencedDocument = $invoiceReferencedDocument; return $this; @@ -279,7 +279,7 @@ public function getAdditionalReferencedDocument() * @param \horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType[] $additionalReferencedDocument * @return self */ - public function setAdditionalReferencedDocument(array $additionalReferencedDocument) + public function setAdditionalReferencedDocument(array $additionalReferencedDocument = null) { $this->additionalReferencedDocument = $additionalReferencedDocument; return $this; @@ -301,7 +301,7 @@ public function getReceivableSpecifiedTradeAccountingAccount() * @param \horstoeko\zugferd\entities\extended\ram\TradeAccountingAccountType $receivableSpecifiedTradeAccountingAccount * @return self */ - public function setReceivableSpecifiedTradeAccountingAccount(\horstoeko\zugferd\entities\extended\ram\TradeAccountingAccountType $receivableSpecifiedTradeAccountingAccount) + public function setReceivableSpecifiedTradeAccountingAccount(?\horstoeko\zugferd\entities\extended\ram\TradeAccountingAccountType $receivableSpecifiedTradeAccountingAccount = null) { $this->receivableSpecifiedTradeAccountingAccount = $receivableSpecifiedTradeAccountingAccount; return $this; diff --git a/src/entities/extended/ram/NoteType.php b/src/entities/extended/ram/NoteType.php index a55d8267..ef645233 100644 --- a/src/entities/extended/ram/NoteType.php +++ b/src/entities/extended/ram/NoteType.php @@ -41,7 +41,7 @@ public function getContentCode() * @param \horstoeko\zugferd\entities\extended\udt\CodeType $contentCode * @return self */ - public function setContentCode(\horstoeko\zugferd\entities\extended\udt\CodeType $contentCode) + public function setContentCode(?\horstoeko\zugferd\entities\extended\udt\CodeType $contentCode = null) { $this->contentCode = $contentCode; return $this; @@ -85,9 +85,12 @@ public function getSubjectCode() * @param \horstoeko\zugferd\entities\extended\udt\CodeType $subjectCode * @return self */ - public function setSubjectCode(\horstoeko\zugferd\entities\extended\udt\CodeType $subjectCode) + public function setSubjectCode(?\horstoeko\zugferd\entities\extended\udt\CodeType $subjectCode = null) { $this->subjectCode = $subjectCode; return $this; } + + } + diff --git a/src/entities/extended/ram/ProductCharacteristicType.php b/src/entities/extended/ram/ProductCharacteristicType.php index 97b5290b..0691c0de 100644 --- a/src/entities/extended/ram/ProductCharacteristicType.php +++ b/src/entities/extended/ram/ProductCharacteristicType.php @@ -46,7 +46,7 @@ public function getTypeCode() * @param \horstoeko\zugferd\entities\extended\udt\CodeType $typeCode * @return self */ - public function setTypeCode(\horstoeko\zugferd\entities\extended\udt\CodeType $typeCode) + public function setTypeCode(?\horstoeko\zugferd\entities\extended\udt\CodeType $typeCode = null) { $this->typeCode = $typeCode; return $this; @@ -90,7 +90,7 @@ public function getValueMeasure() * @param \horstoeko\zugferd\entities\extended\udt\MeasureType $valueMeasure * @return self */ - public function setValueMeasure(\horstoeko\zugferd\entities\extended\udt\MeasureType $valueMeasure) + public function setValueMeasure(?\horstoeko\zugferd\entities\extended\udt\MeasureType $valueMeasure = null) { $this->valueMeasure = $valueMeasure; return $this; @@ -117,4 +117,7 @@ public function setValue($value) $this->value = $value; return $this; } + + } + diff --git a/src/entities/extended/ram/ProductClassificationType.php b/src/entities/extended/ram/ProductClassificationType.php index 4a2c2c40..bf087416 100644 --- a/src/entities/extended/ram/ProductClassificationType.php +++ b/src/entities/extended/ram/ProductClassificationType.php @@ -36,7 +36,7 @@ public function getClassCode() * @param \horstoeko\zugferd\entities\extended\udt\CodeType $classCode * @return self */ - public function setClassCode(\horstoeko\zugferd\entities\extended\udt\CodeType $classCode) + public function setClassCode(?\horstoeko\zugferd\entities\extended\udt\CodeType $classCode = null) { $this->classCode = $classCode; return $this; diff --git a/src/entities/extended/ram/ReferencedDocumentType.php b/src/entities/extended/ram/ReferencedDocumentType.php index dcd0005f..3c424c62 100644 --- a/src/entities/extended/ram/ReferencedDocumentType.php +++ b/src/entities/extended/ram/ReferencedDocumentType.php @@ -31,11 +31,9 @@ class ReferencedDocumentType private $typeCode = null; /** - * @var string[] $name + * @var string $name */ - private $name = [ - - ]; + private $name = null; /** * @var \horstoeko\zugferd\entities\extended\udt\BinaryObjectType $attachmentBinaryObject @@ -68,7 +66,7 @@ public function getIssuerAssignedID() * @param \horstoeko\zugferd\entities\extended\udt\IDType $issuerAssignedID * @return self */ - public function setIssuerAssignedID(\horstoeko\zugferd\entities\extended\udt\IDType $issuerAssignedID) + public function setIssuerAssignedID(?\horstoeko\zugferd\entities\extended\udt\IDType $issuerAssignedID = null) { $this->issuerAssignedID = $issuerAssignedID; return $this; @@ -90,7 +88,7 @@ public function getURIID() * @param \horstoeko\zugferd\entities\extended\udt\IDType $uRIID * @return self */ - public function setURIID(\horstoeko\zugferd\entities\extended\udt\IDType $uRIID) + public function setURIID(?\horstoeko\zugferd\entities\extended\udt\IDType $uRIID = null) { $this->uRIID = $uRIID; return $this; @@ -112,7 +110,7 @@ public function getLineID() * @param \horstoeko\zugferd\entities\extended\udt\IDType $lineID * @return self */ - public function setLineID(\horstoeko\zugferd\entities\extended\udt\IDType $lineID) + public function setLineID(?\horstoeko\zugferd\entities\extended\udt\IDType $lineID = null) { $this->lineID = $lineID; return $this; @@ -140,44 +138,10 @@ public function setTypeCode($typeCode) return $this; } - /** - * Adds as name - * - * @return self - * @param string $name - */ - public function addToName($name) - { - $this->name[] = $name; - return $this; - } - - /** - * isset name - * - * @param int|string $index - * @return bool - */ - public function issetName($index) - { - return isset($this->name[$index]); - } - - /** - * unset name - * - * @param int|string $index - * @return void - */ - public function unsetName($index) - { - unset($this->name[$index]); - } - /** * Gets as name * - * @return string[] + * @return string */ public function getName() { @@ -190,7 +154,7 @@ public function getName() * @param string $name * @return self */ - public function setName(array $name) + public function setName($name) { $this->name = $name; return $this; @@ -212,7 +176,7 @@ public function getAttachmentBinaryObject() * @param \horstoeko\zugferd\entities\extended\udt\BinaryObjectType $attachmentBinaryObject * @return self */ - public function setAttachmentBinaryObject(\horstoeko\zugferd\entities\extended\udt\BinaryObjectType $attachmentBinaryObject) + public function setAttachmentBinaryObject(?\horstoeko\zugferd\entities\extended\udt\BinaryObjectType $attachmentBinaryObject = null) { $this->attachmentBinaryObject = $attachmentBinaryObject; return $this; @@ -256,7 +220,7 @@ public function getFormattedIssueDateTime() * @param \horstoeko\zugferd\entities\extended\qdt\FormattedDateTimeType $formattedIssueDateTime * @return self */ - public function setFormattedIssueDateTime(\horstoeko\zugferd\entities\extended\qdt\FormattedDateTimeType $formattedIssueDateTime) + public function setFormattedIssueDateTime(?\horstoeko\zugferd\entities\extended\qdt\FormattedDateTimeType $formattedIssueDateTime = null) { $this->formattedIssueDateTime = $formattedIssueDateTime; return $this; diff --git a/src/entities/extended/ram/ReferencedProductType.php b/src/entities/extended/ram/ReferencedProductType.php index 42585166..0652d963 100644 --- a/src/entities/extended/ram/ReferencedProductType.php +++ b/src/entities/extended/ram/ReferencedProductType.php @@ -68,7 +68,7 @@ public function getID() * @param \horstoeko\zugferd\entities\extended\udt\IDType $iD * @return self */ - public function setID(\horstoeko\zugferd\entities\extended\udt\IDType $iD) + public function setID(?\horstoeko\zugferd\entities\extended\udt\IDType $iD = null) { $this->iD = $iD; return $this; @@ -124,7 +124,7 @@ public function getGlobalID() * @param \horstoeko\zugferd\entities\extended\udt\IDType[] $globalID * @return self */ - public function setGlobalID(array $globalID) + public function setGlobalID(array $globalID = null) { $this->globalID = $globalID; return $this; @@ -146,7 +146,7 @@ public function getSellerAssignedID() * @param \horstoeko\zugferd\entities\extended\udt\IDType $sellerAssignedID * @return self */ - public function setSellerAssignedID(\horstoeko\zugferd\entities\extended\udt\IDType $sellerAssignedID) + public function setSellerAssignedID(?\horstoeko\zugferd\entities\extended\udt\IDType $sellerAssignedID = null) { $this->sellerAssignedID = $sellerAssignedID; return $this; @@ -168,7 +168,7 @@ public function getBuyerAssignedID() * @param \horstoeko\zugferd\entities\extended\udt\IDType $buyerAssignedID * @return self */ - public function setBuyerAssignedID(\horstoeko\zugferd\entities\extended\udt\IDType $buyerAssignedID) + public function setBuyerAssignedID(?\horstoeko\zugferd\entities\extended\udt\IDType $buyerAssignedID = null) { $this->buyerAssignedID = $buyerAssignedID; return $this; @@ -190,7 +190,7 @@ public function getIndustryAssignedID() * @param \horstoeko\zugferd\entities\extended\udt\IDType $industryAssignedID * @return self */ - public function setIndustryAssignedID(\horstoeko\zugferd\entities\extended\udt\IDType $industryAssignedID) + public function setIndustryAssignedID(?\horstoeko\zugferd\entities\extended\udt\IDType $industryAssignedID = null) { $this->industryAssignedID = $industryAssignedID; return $this; @@ -256,7 +256,7 @@ public function getUnitQuantity() * @param \horstoeko\zugferd\entities\extended\udt\QuantityType $unitQuantity * @return self */ - public function setUnitQuantity(\horstoeko\zugferd\entities\extended\udt\QuantityType $unitQuantity) + public function setUnitQuantity(?\horstoeko\zugferd\entities\extended\udt\QuantityType $unitQuantity = null) { $this->unitQuantity = $unitQuantity; return $this; diff --git a/src/entities/extended/ram/SpecifiedPeriodType.php b/src/entities/extended/ram/SpecifiedPeriodType.php index 8453a81b..68d0c99c 100644 --- a/src/entities/extended/ram/SpecifiedPeriodType.php +++ b/src/entities/extended/ram/SpecifiedPeriodType.php @@ -68,7 +68,7 @@ public function getStartDateTime() * @param \horstoeko\zugferd\entities\extended\udt\DateTimeType $startDateTime * @return self */ - public function setStartDateTime(\horstoeko\zugferd\entities\extended\udt\DateTimeType $startDateTime) + public function setStartDateTime(?\horstoeko\zugferd\entities\extended\udt\DateTimeType $startDateTime = null) { $this->startDateTime = $startDateTime; return $this; @@ -90,7 +90,7 @@ public function getEndDateTime() * @param \horstoeko\zugferd\entities\extended\udt\DateTimeType $endDateTime * @return self */ - public function setEndDateTime(\horstoeko\zugferd\entities\extended\udt\DateTimeType $endDateTime) + public function setEndDateTime(?\horstoeko\zugferd\entities\extended\udt\DateTimeType $endDateTime = null) { $this->endDateTime = $endDateTime; return $this; @@ -112,7 +112,7 @@ public function getCompleteDateTime() * @param \horstoeko\zugferd\entities\extended\udt\DateTimeType $completeDateTime * @return self */ - public function setCompleteDateTime(\horstoeko\zugferd\entities\extended\udt\DateTimeType $completeDateTime) + public function setCompleteDateTime(?\horstoeko\zugferd\entities\extended\udt\DateTimeType $completeDateTime = null) { $this->completeDateTime = $completeDateTime; return $this; diff --git a/src/entities/extended/ram/SupplyChainConsignmentType.php b/src/entities/extended/ram/SupplyChainConsignmentType.php index bc2d28b6..c319503e 100644 --- a/src/entities/extended/ram/SupplyChainConsignmentType.php +++ b/src/entities/extended/ram/SupplyChainConsignmentType.php @@ -67,7 +67,7 @@ public function getSpecifiedLogisticsTransportMovement() * @param \horstoeko\zugferd\entities\extended\ram\LogisticsTransportMovementType[] $specifiedLogisticsTransportMovement * @return self */ - public function setSpecifiedLogisticsTransportMovement(array $specifiedLogisticsTransportMovement) + public function setSpecifiedLogisticsTransportMovement(array $specifiedLogisticsTransportMovement = null) { $this->specifiedLogisticsTransportMovement = $specifiedLogisticsTransportMovement; return $this; diff --git a/src/entities/extended/ram/TradeAddressType.php b/src/entities/extended/ram/TradeAddressType.php index 0eb61657..cc68776a 100644 --- a/src/entities/extended/ram/TradeAddressType.php +++ b/src/entities/extended/ram/TradeAddressType.php @@ -41,11 +41,9 @@ class TradeAddressType private $countryID = null; /** - * @var string[] $countrySubDivisionName + * @var string $countrySubDivisionName */ - private $countrySubDivisionName = [ - - ]; + private $countrySubDivisionName = null; /** * Gets as postcodeCode @@ -63,7 +61,7 @@ public function getPostcodeCode() * @param \horstoeko\zugferd\entities\extended\udt\CodeType $postcodeCode * @return self */ - public function setPostcodeCode(\horstoeko\zugferd\entities\extended\udt\CodeType $postcodeCode) + public function setPostcodeCode(?\horstoeko\zugferd\entities\extended\udt\CodeType $postcodeCode = null) { $this->postcodeCode = $postcodeCode; return $this; @@ -179,44 +177,10 @@ public function setCountryID($countryID) return $this; } - /** - * Adds as countrySubDivisionName - * - * @return self - * @param string $countrySubDivisionName - */ - public function addToCountrySubDivisionName($countrySubDivisionName) - { - $this->countrySubDivisionName[] = $countrySubDivisionName; - return $this; - } - - /** - * isset countrySubDivisionName - * - * @param int|string $index - * @return bool - */ - public function issetCountrySubDivisionName($index) - { - return isset($this->countrySubDivisionName[$index]); - } - - /** - * unset countrySubDivisionName - * - * @param int|string $index - * @return void - */ - public function unsetCountrySubDivisionName($index) - { - unset($this->countrySubDivisionName[$index]); - } - /** * Gets as countrySubDivisionName * - * @return string[] + * @return string */ public function getCountrySubDivisionName() { @@ -229,7 +193,7 @@ public function getCountrySubDivisionName() * @param string $countrySubDivisionName * @return self */ - public function setCountrySubDivisionName(array $countrySubDivisionName) + public function setCountrySubDivisionName($countrySubDivisionName) { $this->countrySubDivisionName = $countrySubDivisionName; return $this; diff --git a/src/entities/extended/ram/TradeAllowanceChargeType.php b/src/entities/extended/ram/TradeAllowanceChargeType.php index 2a0de892..2bc30dfd 100644 --- a/src/entities/extended/ram/TradeAllowanceChargeType.php +++ b/src/entities/extended/ram/TradeAllowanceChargeType.php @@ -137,7 +137,7 @@ public function getBasisAmount() * @param \horstoeko\zugferd\entities\extended\udt\AmountType $basisAmount * @return self */ - public function setBasisAmount(\horstoeko\zugferd\entities\extended\udt\AmountType $basisAmount) + public function setBasisAmount(?\horstoeko\zugferd\entities\extended\udt\AmountType $basisAmount = null) { $this->basisAmount = $basisAmount; return $this; @@ -159,7 +159,7 @@ public function getBasisQuantity() * @param \horstoeko\zugferd\entities\extended\udt\QuantityType $basisQuantity * @return self */ - public function setBasisQuantity(\horstoeko\zugferd\entities\extended\udt\QuantityType $basisQuantity) + public function setBasisQuantity(?\horstoeko\zugferd\entities\extended\udt\QuantityType $basisQuantity = null) { $this->basisQuantity = $basisQuantity; return $this; @@ -247,7 +247,7 @@ public function getCategoryTradeTax() * @param \horstoeko\zugferd\entities\extended\ram\TradeTaxType $categoryTradeTax * @return self */ - public function setCategoryTradeTax(\horstoeko\zugferd\entities\extended\ram\TradeTaxType $categoryTradeTax) + public function setCategoryTradeTax(?\horstoeko\zugferd\entities\extended\ram\TradeTaxType $categoryTradeTax = null) { $this->categoryTradeTax = $categoryTradeTax; return $this; diff --git a/src/entities/extended/ram/TradeContactType.php b/src/entities/extended/ram/TradeContactType.php index d51309c1..c2e8aea6 100644 --- a/src/entities/extended/ram/TradeContactType.php +++ b/src/entities/extended/ram/TradeContactType.php @@ -122,7 +122,7 @@ public function getTelephoneUniversalCommunication() * @param \horstoeko\zugferd\entities\extended\ram\UniversalCommunicationType $telephoneUniversalCommunication * @return self */ - public function setTelephoneUniversalCommunication(\horstoeko\zugferd\entities\extended\ram\UniversalCommunicationType $telephoneUniversalCommunication) + public function setTelephoneUniversalCommunication(?\horstoeko\zugferd\entities\extended\ram\UniversalCommunicationType $telephoneUniversalCommunication = null) { $this->telephoneUniversalCommunication = $telephoneUniversalCommunication; return $this; @@ -144,7 +144,7 @@ public function getFaxUniversalCommunication() * @param \horstoeko\zugferd\entities\extended\ram\UniversalCommunicationType $faxUniversalCommunication * @return self */ - public function setFaxUniversalCommunication(\horstoeko\zugferd\entities\extended\ram\UniversalCommunicationType $faxUniversalCommunication) + public function setFaxUniversalCommunication(?\horstoeko\zugferd\entities\extended\ram\UniversalCommunicationType $faxUniversalCommunication = null) { $this->faxUniversalCommunication = $faxUniversalCommunication; return $this; @@ -166,7 +166,7 @@ public function getEmailURIUniversalCommunication() * @param \horstoeko\zugferd\entities\extended\ram\UniversalCommunicationType $emailURIUniversalCommunication * @return self */ - public function setEmailURIUniversalCommunication(\horstoeko\zugferd\entities\extended\ram\UniversalCommunicationType $emailURIUniversalCommunication) + public function setEmailURIUniversalCommunication(?\horstoeko\zugferd\entities\extended\ram\UniversalCommunicationType $emailURIUniversalCommunication = null) { $this->emailURIUniversalCommunication = $emailURIUniversalCommunication; return $this; diff --git a/src/entities/extended/ram/TradeCurrencyExchangeType.php b/src/entities/extended/ram/TradeCurrencyExchangeType.php index 7dc076dc..696d6039 100644 --- a/src/entities/extended/ram/TradeCurrencyExchangeType.php +++ b/src/entities/extended/ram/TradeCurrencyExchangeType.php @@ -11,17 +11,17 @@ class TradeCurrencyExchangeType { /** - * @var \horstoeko\zugferd\entities\extended\qdt\CurrencyCodeType $sourceCurrencyCode $sourceCurrencyCode + * @var string $sourceCurrencyCode */ private $sourceCurrencyCode = null; /** - * @var \horstoeko\zugferd\entities\extended\qdt\CurrencyCodeType $sourceCurrencyCode $targetCurrencyCode + * @var string $targetCurrencyCode */ private $targetCurrencyCode = null; /** - * @var \horstoeko\zugferd\entities\extended\udt\RateType $conversionRate + * @var float $conversionRate */ private $conversionRate = null; @@ -33,8 +33,7 @@ class TradeCurrencyExchangeType /** * Gets as sourceCurrencyCode * - * @return \horstoeko\zugferd\entities\extended\qdt\CurrencyCodeType - + * @return string */ public function getSourceCurrencyCode() { @@ -44,7 +43,7 @@ public function getSourceCurrencyCode() /** * Sets a new sourceCurrencyCode * - * @param \horstoeko\zugferd\entities\extended\qdt\CurrencyCodeType $sourceCurrencyCode + * @param string $sourceCurrencyCode * @return self */ public function setSourceCurrencyCode($sourceCurrencyCode) @@ -56,7 +55,7 @@ public function setSourceCurrencyCode($sourceCurrencyCode) /** * Gets as targetCurrencyCode * - * @return \horstoeko\zugferd\entities\extended\qdt\CurrencyCodeType $sourceCurrencyCode + * @return string */ public function getTargetCurrencyCode() { @@ -66,7 +65,7 @@ public function getTargetCurrencyCode() /** * Sets a new targetCurrencyCode * - * @param \horstoeko\zugferd\entities\extended\qdt\CurrencyCodeType $sourceCurrencyCode $targetCurrencyCode + * @param string $targetCurrencyCode * @return self */ public function setTargetCurrencyCode($targetCurrencyCode) @@ -78,7 +77,7 @@ public function setTargetCurrencyCode($targetCurrencyCode) /** * Gets as conversionRate * - * @return \horstoeko\zugferd\entities\extended\udt\RateType + * @return float */ public function getConversionRate() { @@ -88,7 +87,7 @@ public function getConversionRate() /** * Sets a new conversionRate * - * @param \horstoeko\zugferd\entities\extended\udt\RateType $conversionRate + * @param float $conversionRate * @return self */ public function setConversionRate($conversionRate) @@ -113,7 +112,7 @@ public function getConversionRateDateTime() * @param \horstoeko\zugferd\entities\extended\udt\DateTimeType $conversionRateDateTime * @return self */ - public function setConversionRateDateTime(\horstoeko\zugferd\entities\extended\udt\DateTimeType $conversionRateDateTime) + public function setConversionRateDateTime(?\horstoeko\zugferd\entities\extended\udt\DateTimeType $conversionRateDateTime = null) { $this->conversionRateDateTime = $conversionRateDateTime; return $this; diff --git a/src/entities/extended/ram/TradePartyType.php b/src/entities/extended/ram/TradePartyType.php index 8ebe1c8e..eaf36d10 100644 --- a/src/entities/extended/ram/TradePartyType.php +++ b/src/entities/extended/ram/TradePartyType.php @@ -118,7 +118,7 @@ public function getID() * @param \horstoeko\zugferd\entities\extended\udt\IDType[] $iD * @return self */ - public function setID(array $iD) + public function setID(array $iD = null) { $this->iD = $iD; return $this; @@ -174,7 +174,7 @@ public function getGlobalID() * @param \horstoeko\zugferd\entities\extended\udt\IDType[] $globalID * @return self */ - public function setGlobalID(array $globalID) + public function setGlobalID(array $globalID = null) { $this->globalID = $globalID; return $this; @@ -262,7 +262,7 @@ public function getSpecifiedLegalOrganization() * @param \horstoeko\zugferd\entities\extended\ram\LegalOrganizationType $specifiedLegalOrganization * @return self */ - public function setSpecifiedLegalOrganization(\horstoeko\zugferd\entities\extended\ram\LegalOrganizationType $specifiedLegalOrganization) + public function setSpecifiedLegalOrganization(?\horstoeko\zugferd\entities\extended\ram\LegalOrganizationType $specifiedLegalOrganization = null) { $this->specifiedLegalOrganization = $specifiedLegalOrganization; return $this; @@ -318,7 +318,7 @@ public function getDefinedTradeContact() * @param \horstoeko\zugferd\entities\extended\ram\TradeContactType[] $definedTradeContact * @return self */ - public function setDefinedTradeContact(array $definedTradeContact) + public function setDefinedTradeContact(array $definedTradeContact = null) { $this->definedTradeContact = $definedTradeContact; return $this; @@ -340,7 +340,7 @@ public function getPostalTradeAddress() * @param \horstoeko\zugferd\entities\extended\ram\TradeAddressType $postalTradeAddress * @return self */ - public function setPostalTradeAddress(\horstoeko\zugferd\entities\extended\ram\TradeAddressType $postalTradeAddress) + public function setPostalTradeAddress(?\horstoeko\zugferd\entities\extended\ram\TradeAddressType $postalTradeAddress = null) { $this->postalTradeAddress = $postalTradeAddress; return $this; @@ -362,7 +362,7 @@ public function getURIUniversalCommunication() * @param \horstoeko\zugferd\entities\extended\ram\UniversalCommunicationType $uRIUniversalCommunication * @return self */ - public function setURIUniversalCommunication(\horstoeko\zugferd\entities\extended\ram\UniversalCommunicationType $uRIUniversalCommunication) + public function setURIUniversalCommunication(?\horstoeko\zugferd\entities\extended\ram\UniversalCommunicationType $uRIUniversalCommunication = null) { $this->uRIUniversalCommunication = $uRIUniversalCommunication; return $this; @@ -418,7 +418,7 @@ public function getSpecifiedTaxRegistration() * @param \horstoeko\zugferd\entities\extended\ram\TaxRegistrationType[] $specifiedTaxRegistration * @return self */ - public function setSpecifiedTaxRegistration(array $specifiedTaxRegistration) + public function setSpecifiedTaxRegistration(array $specifiedTaxRegistration = null) { $this->specifiedTaxRegistration = $specifiedTaxRegistration; return $this; diff --git a/src/entities/extended/ram/TradePaymentDiscountTermsType.php b/src/entities/extended/ram/TradePaymentDiscountTermsType.php index 097589bf..efce8a28 100644 --- a/src/entities/extended/ram/TradePaymentDiscountTermsType.php +++ b/src/entities/extended/ram/TradePaymentDiscountTermsType.php @@ -51,7 +51,7 @@ public function getBasisDateTime() * @param \horstoeko\zugferd\entities\extended\udt\DateTimeType $basisDateTime * @return self */ - public function setBasisDateTime(\horstoeko\zugferd\entities\extended\udt\DateTimeType $basisDateTime) + public function setBasisDateTime(?\horstoeko\zugferd\entities\extended\udt\DateTimeType $basisDateTime = null) { $this->basisDateTime = $basisDateTime; return $this; @@ -73,7 +73,7 @@ public function getBasisPeriodMeasure() * @param \horstoeko\zugferd\entities\extended\udt\MeasureType $basisPeriodMeasure * @return self */ - public function setBasisPeriodMeasure(\horstoeko\zugferd\entities\extended\udt\MeasureType $basisPeriodMeasure) + public function setBasisPeriodMeasure(?\horstoeko\zugferd\entities\extended\udt\MeasureType $basisPeriodMeasure = null) { $this->basisPeriodMeasure = $basisPeriodMeasure; return $this; @@ -95,7 +95,7 @@ public function getBasisAmount() * @param \horstoeko\zugferd\entities\extended\udt\AmountType $basisAmount * @return self */ - public function setBasisAmount(\horstoeko\zugferd\entities\extended\udt\AmountType $basisAmount) + public function setBasisAmount(?\horstoeko\zugferd\entities\extended\udt\AmountType $basisAmount = null) { $this->basisAmount = $basisAmount; return $this; @@ -139,7 +139,7 @@ public function getActualDiscountAmount() * @param \horstoeko\zugferd\entities\extended\udt\AmountType $actualDiscountAmount * @return self */ - public function setActualDiscountAmount(\horstoeko\zugferd\entities\extended\udt\AmountType $actualDiscountAmount) + public function setActualDiscountAmount(?\horstoeko\zugferd\entities\extended\udt\AmountType $actualDiscountAmount = null) { $this->actualDiscountAmount = $actualDiscountAmount; return $this; diff --git a/src/entities/extended/ram/TradePaymentPenaltyTermsType.php b/src/entities/extended/ram/TradePaymentPenaltyTermsType.php index d7fc517b..fcd87e57 100644 --- a/src/entities/extended/ram/TradePaymentPenaltyTermsType.php +++ b/src/entities/extended/ram/TradePaymentPenaltyTermsType.php @@ -51,7 +51,7 @@ public function getBasisDateTime() * @param \horstoeko\zugferd\entities\extended\udt\DateTimeType $basisDateTime * @return self */ - public function setBasisDateTime(\horstoeko\zugferd\entities\extended\udt\DateTimeType $basisDateTime) + public function setBasisDateTime(?\horstoeko\zugferd\entities\extended\udt\DateTimeType $basisDateTime = null) { $this->basisDateTime = $basisDateTime; return $this; @@ -73,7 +73,7 @@ public function getBasisPeriodMeasure() * @param \horstoeko\zugferd\entities\extended\udt\MeasureType $basisPeriodMeasure * @return self */ - public function setBasisPeriodMeasure(\horstoeko\zugferd\entities\extended\udt\MeasureType $basisPeriodMeasure) + public function setBasisPeriodMeasure(?\horstoeko\zugferd\entities\extended\udt\MeasureType $basisPeriodMeasure = null) { $this->basisPeriodMeasure = $basisPeriodMeasure; return $this; @@ -95,7 +95,7 @@ public function getBasisAmount() * @param \horstoeko\zugferd\entities\extended\udt\AmountType $basisAmount * @return self */ - public function setBasisAmount(\horstoeko\zugferd\entities\extended\udt\AmountType $basisAmount) + public function setBasisAmount(?\horstoeko\zugferd\entities\extended\udt\AmountType $basisAmount = null) { $this->basisAmount = $basisAmount; return $this; @@ -139,7 +139,7 @@ public function getActualPenaltyAmount() * @param \horstoeko\zugferd\entities\extended\udt\AmountType $actualPenaltyAmount * @return self */ - public function setActualPenaltyAmount(\horstoeko\zugferd\entities\extended\udt\AmountType $actualPenaltyAmount) + public function setActualPenaltyAmount(?\horstoeko\zugferd\entities\extended\udt\AmountType $actualPenaltyAmount = null) { $this->actualPenaltyAmount = $actualPenaltyAmount; return $this; diff --git a/src/entities/extended/ram/TradePaymentTermsType.php b/src/entities/extended/ram/TradePaymentTermsType.php index de3aa5ee..663765bb 100644 --- a/src/entities/extended/ram/TradePaymentTermsType.php +++ b/src/entities/extended/ram/TradePaymentTermsType.php @@ -83,7 +83,7 @@ public function getDueDateDateTime() * @param \horstoeko\zugferd\entities\extended\udt\DateTimeType $dueDateDateTime * @return self */ - public function setDueDateDateTime(\horstoeko\zugferd\entities\extended\udt\DateTimeType $dueDateDateTime) + public function setDueDateDateTime(?\horstoeko\zugferd\entities\extended\udt\DateTimeType $dueDateDateTime = null) { $this->dueDateDateTime = $dueDateDateTime; return $this; @@ -105,7 +105,7 @@ public function getDirectDebitMandateID() * @param \horstoeko\zugferd\entities\extended\udt\IDType $directDebitMandateID * @return self */ - public function setDirectDebitMandateID(\horstoeko\zugferd\entities\extended\udt\IDType $directDebitMandateID) + public function setDirectDebitMandateID(?\horstoeko\zugferd\entities\extended\udt\IDType $directDebitMandateID = null) { $this->directDebitMandateID = $directDebitMandateID; return $this; @@ -127,7 +127,7 @@ public function getPartialPaymentAmount() * @param \horstoeko\zugferd\entities\extended\udt\AmountType $partialPaymentAmount * @return self */ - public function setPartialPaymentAmount(\horstoeko\zugferd\entities\extended\udt\AmountType $partialPaymentAmount) + public function setPartialPaymentAmount(?\horstoeko\zugferd\entities\extended\udt\AmountType $partialPaymentAmount = null) { $this->partialPaymentAmount = $partialPaymentAmount; return $this; @@ -149,7 +149,7 @@ public function getApplicableTradePaymentPenaltyTerms() * @param \horstoeko\zugferd\entities\extended\ram\TradePaymentPenaltyTermsType $applicableTradePaymentPenaltyTerms * @return self */ - public function setApplicableTradePaymentPenaltyTerms(\horstoeko\zugferd\entities\extended\ram\TradePaymentPenaltyTermsType $applicableTradePaymentPenaltyTerms) + public function setApplicableTradePaymentPenaltyTerms(?\horstoeko\zugferd\entities\extended\ram\TradePaymentPenaltyTermsType $applicableTradePaymentPenaltyTerms = null) { $this->applicableTradePaymentPenaltyTerms = $applicableTradePaymentPenaltyTerms; return $this; @@ -171,7 +171,7 @@ public function getApplicableTradePaymentDiscountTerms() * @param \horstoeko\zugferd\entities\extended\ram\TradePaymentDiscountTermsType $applicableTradePaymentDiscountTerms * @return self */ - public function setApplicableTradePaymentDiscountTerms(\horstoeko\zugferd\entities\extended\ram\TradePaymentDiscountTermsType $applicableTradePaymentDiscountTerms) + public function setApplicableTradePaymentDiscountTerms(?\horstoeko\zugferd\entities\extended\ram\TradePaymentDiscountTermsType $applicableTradePaymentDiscountTerms = null) { $this->applicableTradePaymentDiscountTerms = $applicableTradePaymentDiscountTerms; return $this; @@ -193,9 +193,10 @@ public function getPayeeTradeParty() * @param \horstoeko\zugferd\entities\extended\ram\TradePartyType $payeeTradeParty * @return self */ - public function setPayeeTradeParty(\horstoeko\zugferd\entities\extended\ram\TradePartyType $payeeTradeParty) + public function setPayeeTradeParty(?\horstoeko\zugferd\entities\extended\ram\TradePartyType $payeeTradeParty = null) { $this->payeeTradeParty = $payeeTradeParty; return $this; } } + diff --git a/src/entities/extended/ram/TradePriceType.php b/src/entities/extended/ram/TradePriceType.php index 1f9c17a4..5d68e822 100644 --- a/src/entities/extended/ram/TradePriceType.php +++ b/src/entities/extended/ram/TradePriceType.php @@ -70,7 +70,7 @@ public function getBasisQuantity() * @param \horstoeko\zugferd\entities\extended\udt\QuantityType $basisQuantity * @return self */ - public function setBasisQuantity(\horstoeko\zugferd\entities\extended\udt\QuantityType $basisQuantity) + public function setBasisQuantity(?\horstoeko\zugferd\entities\extended\udt\QuantityType $basisQuantity = null) { $this->basisQuantity = $basisQuantity; return $this; @@ -126,7 +126,7 @@ public function getAppliedTradeAllowanceCharge() * @param \horstoeko\zugferd\entities\extended\ram\TradeAllowanceChargeType[] $appliedTradeAllowanceCharge * @return self */ - public function setAppliedTradeAllowanceCharge(array $appliedTradeAllowanceCharge) + public function setAppliedTradeAllowanceCharge(array $appliedTradeAllowanceCharge = null) { $this->appliedTradeAllowanceCharge = $appliedTradeAllowanceCharge; return $this; @@ -148,7 +148,7 @@ public function getIncludedTradeTax() * @param \horstoeko\zugferd\entities\extended\ram\TradeTaxType $includedTradeTax * @return self */ - public function setIncludedTradeTax(\horstoeko\zugferd\entities\extended\ram\TradeTaxType $includedTradeTax) + public function setIncludedTradeTax(?\horstoeko\zugferd\entities\extended\ram\TradeTaxType $includedTradeTax = null) { $this->includedTradeTax = $includedTradeTax; return $this; diff --git a/src/entities/extended/ram/TradeProductInstanceType.php b/src/entities/extended/ram/TradeProductInstanceType.php index 38a2bb4e..c21e0a19 100644 --- a/src/entities/extended/ram/TradeProductInstanceType.php +++ b/src/entities/extended/ram/TradeProductInstanceType.php @@ -36,7 +36,7 @@ public function getBatchID() * @param \horstoeko\zugferd\entities\extended\udt\IDType $batchID * @return self */ - public function setBatchID(\horstoeko\zugferd\entities\extended\udt\IDType $batchID) + public function setBatchID(?\horstoeko\zugferd\entities\extended\udt\IDType $batchID = null) { $this->batchID = $batchID; return $this; @@ -58,7 +58,7 @@ public function getSupplierAssignedSerialID() * @param \horstoeko\zugferd\entities\extended\udt\IDType $supplierAssignedSerialID * @return self */ - public function setSupplierAssignedSerialID(\horstoeko\zugferd\entities\extended\udt\IDType $supplierAssignedSerialID) + public function setSupplierAssignedSerialID(?\horstoeko\zugferd\entities\extended\udt\IDType $supplierAssignedSerialID = null) { $this->supplierAssignedSerialID = $supplierAssignedSerialID; return $this; diff --git a/src/entities/extended/ram/TradeProductType.php b/src/entities/extended/ram/TradeProductType.php index 0694e629..b00ebf6a 100644 --- a/src/entities/extended/ram/TradeProductType.php +++ b/src/entities/extended/ram/TradeProductType.php @@ -30,6 +30,16 @@ class TradeProductType */ private $buyerAssignedID = null; + /** + * @var \horstoeko\zugferd\entities\extended\udt\IDType $industryAssignedID + */ + private $industryAssignedID = null; + + /** + * @var \horstoeko\zugferd\entities\extended\udt\IDType $modelID + */ + private $modelID = null; + /** * @var string $name */ @@ -40,6 +50,23 @@ class TradeProductType */ private $description = null; + /** + * @var \horstoeko\zugferd\entities\extended\udt\IDType[] $batchID + */ + private $batchID = [ + + ]; + + /** + * @var string $brandName + */ + private $brandName = null; + + /** + * @var string $modelName + */ + private $modelName = null; + /** * @var \horstoeko\zugferd\entities\extended\ram\ProductCharacteristicType[] $applicableProductCharacteristic */ @@ -89,7 +116,7 @@ public function getID() * @param \horstoeko\zugferd\entities\extended\udt\IDType $iD * @return self */ - public function setID(\horstoeko\zugferd\entities\extended\udt\IDType $iD) + public function setID(?\horstoeko\zugferd\entities\extended\udt\IDType $iD = null) { $this->iD = $iD; return $this; @@ -111,7 +138,7 @@ public function getGlobalID() * @param \horstoeko\zugferd\entities\extended\udt\IDType $globalID * @return self */ - public function setGlobalID(\horstoeko\zugferd\entities\extended\udt\IDType $globalID) + public function setGlobalID(?\horstoeko\zugferd\entities\extended\udt\IDType $globalID = null) { $this->globalID = $globalID; return $this; @@ -133,7 +160,7 @@ public function getSellerAssignedID() * @param \horstoeko\zugferd\entities\extended\udt\IDType $sellerAssignedID * @return self */ - public function setSellerAssignedID(\horstoeko\zugferd\entities\extended\udt\IDType $sellerAssignedID) + public function setSellerAssignedID(?\horstoeko\zugferd\entities\extended\udt\IDType $sellerAssignedID = null) { $this->sellerAssignedID = $sellerAssignedID; return $this; @@ -155,12 +182,56 @@ public function getBuyerAssignedID() * @param \horstoeko\zugferd\entities\extended\udt\IDType $buyerAssignedID * @return self */ - public function setBuyerAssignedID(\horstoeko\zugferd\entities\extended\udt\IDType $buyerAssignedID) + public function setBuyerAssignedID(?\horstoeko\zugferd\entities\extended\udt\IDType $buyerAssignedID = null) { $this->buyerAssignedID = $buyerAssignedID; return $this; } + /** + * Gets as industryAssignedID + * + * @return \horstoeko\zugferd\entities\extended\udt\IDType + */ + public function getIndustryAssignedID() + { + return $this->industryAssignedID; + } + + /** + * Sets a new industryAssignedID + * + * @param \horstoeko\zugferd\entities\extended\udt\IDType $industryAssignedID + * @return self + */ + public function setIndustryAssignedID(?\horstoeko\zugferd\entities\extended\udt\IDType $industryAssignedID = null) + { + $this->industryAssignedID = $industryAssignedID; + return $this; + } + + /** + * Gets as modelID + * + * @return \horstoeko\zugferd\entities\extended\udt\IDType + */ + public function getModelID() + { + return $this->modelID; + } + + /** + * Sets a new modelID + * + * @param \horstoeko\zugferd\entities\extended\udt\IDType $modelID + * @return self + */ + public function setModelID(?\horstoeko\zugferd\entities\extended\udt\IDType $modelID = null) + { + $this->modelID = $modelID; + return $this; + } + /** * Gets as name * @@ -205,6 +276,106 @@ public function setDescription($description) return $this; } + /** + * Adds as batchID + * + * @return self + * @param \horstoeko\zugferd\entities\extended\udt\IDType $batchID + */ + public function addToBatchID(\horstoeko\zugferd\entities\extended\udt\IDType $batchID) + { + $this->batchID[] = $batchID; + return $this; + } + + /** + * isset batchID + * + * @param int|string $index + * @return bool + */ + public function issetBatchID($index) + { + return isset($this->batchID[$index]); + } + + /** + * unset batchID + * + * @param int|string $index + * @return void + */ + public function unsetBatchID($index) + { + unset($this->batchID[$index]); + } + + /** + * Gets as batchID + * + * @return \horstoeko\zugferd\entities\extended\udt\IDType[] + */ + public function getBatchID() + { + return $this->batchID; + } + + /** + * Sets a new batchID + * + * @param \horstoeko\zugferd\entities\extended\udt\IDType[] $batchID + * @return self + */ + public function setBatchID(array $batchID = null) + { + $this->batchID = $batchID; + return $this; + } + + /** + * Gets as brandName + * + * @return string + */ + public function getBrandName() + { + return $this->brandName; + } + + /** + * Sets a new brandName + * + * @param string $brandName + * @return self + */ + public function setBrandName($brandName) + { + $this->brandName = $brandName; + return $this; + } + + /** + * Gets as modelName + * + * @return string + */ + public function getModelName() + { + return $this->modelName; + } + + /** + * Sets a new modelName + * + * @param string $modelName + * @return self + */ + public function setModelName($modelName) + { + $this->modelName = $modelName; + return $this; + } + /** * Adds as applicableProductCharacteristic * @@ -255,7 +426,7 @@ public function getApplicableProductCharacteristic() * @param \horstoeko\zugferd\entities\extended\ram\ProductCharacteristicType[] $applicableProductCharacteristic * @return self */ - public function setApplicableProductCharacteristic(array $applicableProductCharacteristic) + public function setApplicableProductCharacteristic(array $applicableProductCharacteristic = null) { $this->applicableProductCharacteristic = $applicableProductCharacteristic; return $this; @@ -311,7 +482,7 @@ public function getDesignatedProductClassification() * @param \horstoeko\zugferd\entities\extended\ram\ProductClassificationType[] $designatedProductClassification * @return self */ - public function setDesignatedProductClassification(array $designatedProductClassification) + public function setDesignatedProductClassification(array $designatedProductClassification = null) { $this->designatedProductClassification = $designatedProductClassification; return $this; @@ -367,7 +538,7 @@ public function getIndividualTradeProductInstance() * @param \horstoeko\zugferd\entities\extended\ram\TradeProductInstanceType[] $individualTradeProductInstance * @return self */ - public function setIndividualTradeProductInstance(array $individualTradeProductInstance) + public function setIndividualTradeProductInstance(array $individualTradeProductInstance = null) { $this->individualTradeProductInstance = $individualTradeProductInstance; return $this; @@ -389,7 +560,7 @@ public function getOriginTradeCountry() * @param \horstoeko\zugferd\entities\extended\ram\TradeCountryType $originTradeCountry * @return self */ - public function setOriginTradeCountry(\horstoeko\zugferd\entities\extended\ram\TradeCountryType $originTradeCountry) + public function setOriginTradeCountry(?\horstoeko\zugferd\entities\extended\ram\TradeCountryType $originTradeCountry = null) { $this->originTradeCountry = $originTradeCountry; return $this; @@ -445,7 +616,7 @@ public function getIncludedReferencedProduct() * @param \horstoeko\zugferd\entities\extended\ram\ReferencedProductType[] $includedReferencedProduct * @return self */ - public function setIncludedReferencedProduct(array $includedReferencedProduct) + public function setIncludedReferencedProduct(array $includedReferencedProduct = null) { $this->includedReferencedProduct = $includedReferencedProduct; return $this; diff --git a/src/entities/extended/ram/TradeSettlementHeaderMonetarySummationType.php b/src/entities/extended/ram/TradeSettlementHeaderMonetarySummationType.php index 0f2f80c1..0016c0bf 100644 --- a/src/entities/extended/ram/TradeSettlementHeaderMonetarySummationType.php +++ b/src/entities/extended/ram/TradeSettlementHeaderMonetarySummationType.php @@ -26,11 +26,9 @@ class TradeSettlementHeaderMonetarySummationType private $allowanceTotalAmount = null; /** - * @var \horstoeko\zugferd\entities\extended\udt\AmountType[] $taxBasisTotalAmount + * @var \horstoeko\zugferd\entities\extended\udt\AmountType $taxBasisTotalAmount */ - private $taxBasisTotalAmount = [ - - ]; + private $taxBasisTotalAmount = null; /** * @var \horstoeko\zugferd\entities\extended\udt\AmountType[] $taxTotalAmount @@ -45,11 +43,9 @@ class TradeSettlementHeaderMonetarySummationType private $roundingAmount = null; /** - * @var \horstoeko\zugferd\entities\extended\udt\AmountType[] $grandTotalAmount + * @var \horstoeko\zugferd\entities\extended\udt\AmountType $grandTotalAmount */ - private $grandTotalAmount = [ - - ]; + private $grandTotalAmount = null; /** * @var \horstoeko\zugferd\entities\extended\udt\AmountType $totalPrepaidAmount @@ -99,7 +95,7 @@ public function getChargeTotalAmount() * @param \horstoeko\zugferd\entities\extended\udt\AmountType $chargeTotalAmount * @return self */ - public function setChargeTotalAmount(\horstoeko\zugferd\entities\extended\udt\AmountType $chargeTotalAmount) + public function setChargeTotalAmount(?\horstoeko\zugferd\entities\extended\udt\AmountType $chargeTotalAmount = null) { $this->chargeTotalAmount = $chargeTotalAmount; return $this; @@ -121,50 +117,16 @@ public function getAllowanceTotalAmount() * @param \horstoeko\zugferd\entities\extended\udt\AmountType $allowanceTotalAmount * @return self */ - public function setAllowanceTotalAmount(\horstoeko\zugferd\entities\extended\udt\AmountType $allowanceTotalAmount) + public function setAllowanceTotalAmount(?\horstoeko\zugferd\entities\extended\udt\AmountType $allowanceTotalAmount = null) { $this->allowanceTotalAmount = $allowanceTotalAmount; return $this; } - /** - * Adds as taxBasisTotalAmount - * - * @return self - * @param \horstoeko\zugferd\entities\extended\udt\AmountType $taxBasisTotalAmount - */ - public function addToTaxBasisTotalAmount(\horstoeko\zugferd\entities\extended\udt\AmountType $taxBasisTotalAmount) - { - $this->taxBasisTotalAmount[] = $taxBasisTotalAmount; - return $this; - } - - /** - * isset taxBasisTotalAmount - * - * @param int|string $index - * @return bool - */ - public function issetTaxBasisTotalAmount($index) - { - return isset($this->taxBasisTotalAmount[$index]); - } - - /** - * unset taxBasisTotalAmount - * - * @param int|string $index - * @return void - */ - public function unsetTaxBasisTotalAmount($index) - { - unset($this->taxBasisTotalAmount[$index]); - } - /** * Gets as taxBasisTotalAmount * - * @return \horstoeko\zugferd\entities\extended\udt\AmountType[] + * @return \horstoeko\zugferd\entities\extended\udt\AmountType */ public function getTaxBasisTotalAmount() { @@ -174,10 +136,10 @@ public function getTaxBasisTotalAmount() /** * Sets a new taxBasisTotalAmount * - * @param \horstoeko\zugferd\entities\extended\udt\AmountType[] $taxBasisTotalAmount + * @param \horstoeko\zugferd\entities\extended\udt\AmountType $taxBasisTotalAmount * @return self */ - public function setTaxBasisTotalAmount(array $taxBasisTotalAmount) + public function setTaxBasisTotalAmount(\horstoeko\zugferd\entities\extended\udt\AmountType $taxBasisTotalAmount) { $this->taxBasisTotalAmount = $taxBasisTotalAmount; return $this; @@ -233,7 +195,7 @@ public function getTaxTotalAmount() * @param \horstoeko\zugferd\entities\extended\udt\AmountType[] $taxTotalAmount * @return self */ - public function setTaxTotalAmount(array $taxTotalAmount) + public function setTaxTotalAmount(array $taxTotalAmount = null) { $this->taxTotalAmount = $taxTotalAmount; return $this; @@ -255,50 +217,16 @@ public function getRoundingAmount() * @param \horstoeko\zugferd\entities\extended\udt\AmountType $roundingAmount * @return self */ - public function setRoundingAmount(\horstoeko\zugferd\entities\extended\udt\AmountType $roundingAmount) + public function setRoundingAmount(?\horstoeko\zugferd\entities\extended\udt\AmountType $roundingAmount = null) { $this->roundingAmount = $roundingAmount; return $this; } - /** - * Adds as grandTotalAmount - * - * @return self - * @param \horstoeko\zugferd\entities\extended\udt\AmountType $grandTotalAmount - */ - public function addToGrandTotalAmount(\horstoeko\zugferd\entities\extended\udt\AmountType $grandTotalAmount) - { - $this->grandTotalAmount[] = $grandTotalAmount; - return $this; - } - - /** - * isset grandTotalAmount - * - * @param int|string $index - * @return bool - */ - public function issetGrandTotalAmount($index) - { - return isset($this->grandTotalAmount[$index]); - } - - /** - * unset grandTotalAmount - * - * @param int|string $index - * @return void - */ - public function unsetGrandTotalAmount($index) - { - unset($this->grandTotalAmount[$index]); - } - /** * Gets as grandTotalAmount * - * @return \horstoeko\zugferd\entities\extended\udt\AmountType[] + * @return \horstoeko\zugferd\entities\extended\udt\AmountType */ public function getGrandTotalAmount() { @@ -308,10 +236,10 @@ public function getGrandTotalAmount() /** * Sets a new grandTotalAmount * - * @param \horstoeko\zugferd\entities\extended\udt\AmountType[] $grandTotalAmount + * @param \horstoeko\zugferd\entities\extended\udt\AmountType $grandTotalAmount * @return self */ - public function setGrandTotalAmount(array $grandTotalAmount) + public function setGrandTotalAmount(\horstoeko\zugferd\entities\extended\udt\AmountType $grandTotalAmount) { $this->grandTotalAmount = $grandTotalAmount; return $this; @@ -333,7 +261,7 @@ public function getTotalPrepaidAmount() * @param \horstoeko\zugferd\entities\extended\udt\AmountType $totalPrepaidAmount * @return self */ - public function setTotalPrepaidAmount(\horstoeko\zugferd\entities\extended\udt\AmountType $totalPrepaidAmount) + public function setTotalPrepaidAmount(?\horstoeko\zugferd\entities\extended\udt\AmountType $totalPrepaidAmount = null) { $this->totalPrepaidAmount = $totalPrepaidAmount; return $this; diff --git a/src/entities/extended/ram/TradeSettlementLineMonetarySummationType.php b/src/entities/extended/ram/TradeSettlementLineMonetarySummationType.php index 037d00be..d8fc0a0d 100644 --- a/src/entities/extended/ram/TradeSettlementLineMonetarySummationType.php +++ b/src/entities/extended/ram/TradeSettlementLineMonetarySummationType.php @@ -78,7 +78,7 @@ public function getChargeTotalAmount() * @param \horstoeko\zugferd\entities\extended\udt\AmountType $chargeTotalAmount * @return self */ - public function setChargeTotalAmount(\horstoeko\zugferd\entities\extended\udt\AmountType $chargeTotalAmount) + public function setChargeTotalAmount(?\horstoeko\zugferd\entities\extended\udt\AmountType $chargeTotalAmount = null) { $this->chargeTotalAmount = $chargeTotalAmount; return $this; @@ -100,7 +100,7 @@ public function getAllowanceTotalAmount() * @param \horstoeko\zugferd\entities\extended\udt\AmountType $allowanceTotalAmount * @return self */ - public function setAllowanceTotalAmount(\horstoeko\zugferd\entities\extended\udt\AmountType $allowanceTotalAmount) + public function setAllowanceTotalAmount(?\horstoeko\zugferd\entities\extended\udt\AmountType $allowanceTotalAmount = null) { $this->allowanceTotalAmount = $allowanceTotalAmount; return $this; @@ -122,7 +122,7 @@ public function getTaxTotalAmount() * @param \horstoeko\zugferd\entities\extended\udt\AmountType $taxTotalAmount * @return self */ - public function setTaxTotalAmount(\horstoeko\zugferd\entities\extended\udt\AmountType $taxTotalAmount) + public function setTaxTotalAmount(?\horstoeko\zugferd\entities\extended\udt\AmountType $taxTotalAmount = null) { $this->taxTotalAmount = $taxTotalAmount; return $this; @@ -144,7 +144,7 @@ public function getGrandTotalAmount() * @param \horstoeko\zugferd\entities\extended\udt\AmountType $grandTotalAmount * @return self */ - public function setGrandTotalAmount(\horstoeko\zugferd\entities\extended\udt\AmountType $grandTotalAmount) + public function setGrandTotalAmount(?\horstoeko\zugferd\entities\extended\udt\AmountType $grandTotalAmount = null) { $this->grandTotalAmount = $grandTotalAmount; return $this; @@ -166,7 +166,7 @@ public function getTotalAllowanceChargeAmount() * @param \horstoeko\zugferd\entities\extended\udt\AmountType $totalAllowanceChargeAmount * @return self */ - public function setTotalAllowanceChargeAmount(\horstoeko\zugferd\entities\extended\udt\AmountType $totalAllowanceChargeAmount) + public function setTotalAllowanceChargeAmount(?\horstoeko\zugferd\entities\extended\udt\AmountType $totalAllowanceChargeAmount = null) { $this->totalAllowanceChargeAmount = $totalAllowanceChargeAmount; return $this; diff --git a/src/entities/extended/ram/TradeSettlementPaymentMeansType.php b/src/entities/extended/ram/TradeSettlementPaymentMeansType.php index c8d0793b..a0d69387 100644 --- a/src/entities/extended/ram/TradeSettlementPaymentMeansType.php +++ b/src/entities/extended/ram/TradeSettlementPaymentMeansType.php @@ -100,7 +100,7 @@ public function getApplicableTradeSettlementFinancialCard() * @param \horstoeko\zugferd\entities\extended\ram\TradeSettlementFinancialCardType $applicableTradeSettlementFinancialCard * @return self */ - public function setApplicableTradeSettlementFinancialCard(\horstoeko\zugferd\entities\extended\ram\TradeSettlementFinancialCardType $applicableTradeSettlementFinancialCard) + public function setApplicableTradeSettlementFinancialCard(?\horstoeko\zugferd\entities\extended\ram\TradeSettlementFinancialCardType $applicableTradeSettlementFinancialCard = null) { $this->applicableTradeSettlementFinancialCard = $applicableTradeSettlementFinancialCard; return $this; @@ -122,7 +122,7 @@ public function getPayerPartyDebtorFinancialAccount() * @param \horstoeko\zugferd\entities\extended\ram\DebtorFinancialAccountType $payerPartyDebtorFinancialAccount * @return self */ - public function setPayerPartyDebtorFinancialAccount(\horstoeko\zugferd\entities\extended\ram\DebtorFinancialAccountType $payerPartyDebtorFinancialAccount) + public function setPayerPartyDebtorFinancialAccount(?\horstoeko\zugferd\entities\extended\ram\DebtorFinancialAccountType $payerPartyDebtorFinancialAccount = null) { $this->payerPartyDebtorFinancialAccount = $payerPartyDebtorFinancialAccount; return $this; @@ -144,7 +144,7 @@ public function getPayeePartyCreditorFinancialAccount() * @param \horstoeko\zugferd\entities\extended\ram\CreditorFinancialAccountType $payeePartyCreditorFinancialAccount * @return self */ - public function setPayeePartyCreditorFinancialAccount(\horstoeko\zugferd\entities\extended\ram\CreditorFinancialAccountType $payeePartyCreditorFinancialAccount) + public function setPayeePartyCreditorFinancialAccount(?\horstoeko\zugferd\entities\extended\ram\CreditorFinancialAccountType $payeePartyCreditorFinancialAccount = null) { $this->payeePartyCreditorFinancialAccount = $payeePartyCreditorFinancialAccount; return $this; @@ -166,7 +166,7 @@ public function getPayeeSpecifiedCreditorFinancialInstitution() * @param \horstoeko\zugferd\entities\extended\ram\CreditorFinancialInstitutionType $payeeSpecifiedCreditorFinancialInstitution * @return self */ - public function setPayeeSpecifiedCreditorFinancialInstitution(\horstoeko\zugferd\entities\extended\ram\CreditorFinancialInstitutionType $payeeSpecifiedCreditorFinancialInstitution) + public function setPayeeSpecifiedCreditorFinancialInstitution(?\horstoeko\zugferd\entities\extended\ram\CreditorFinancialInstitutionType $payeeSpecifiedCreditorFinancialInstitution = null) { $this->payeeSpecifiedCreditorFinancialInstitution = $payeeSpecifiedCreditorFinancialInstitution; return $this; diff --git a/src/entities/extended/ram/TradeTaxType.php b/src/entities/extended/ram/TradeTaxType.php index 9598a6a7..b8fda553 100644 --- a/src/entities/extended/ram/TradeTaxType.php +++ b/src/entities/extended/ram/TradeTaxType.php @@ -81,7 +81,7 @@ public function getCalculatedAmount() * @param \horstoeko\zugferd\entities\extended\udt\AmountType $calculatedAmount * @return self */ - public function setCalculatedAmount(\horstoeko\zugferd\entities\extended\udt\AmountType $calculatedAmount) + public function setCalculatedAmount(?\horstoeko\zugferd\entities\extended\udt\AmountType $calculatedAmount = null) { $this->calculatedAmount = $calculatedAmount; return $this; @@ -147,7 +147,7 @@ public function getBasisAmount() * @param \horstoeko\zugferd\entities\extended\udt\AmountType $basisAmount * @return self */ - public function setBasisAmount(\horstoeko\zugferd\entities\extended\udt\AmountType $basisAmount) + public function setBasisAmount(?\horstoeko\zugferd\entities\extended\udt\AmountType $basisAmount = null) { $this->basisAmount = $basisAmount; return $this; @@ -169,7 +169,7 @@ public function getLineTotalBasisAmount() * @param \horstoeko\zugferd\entities\extended\udt\AmountType $lineTotalBasisAmount * @return self */ - public function setLineTotalBasisAmount(\horstoeko\zugferd\entities\extended\udt\AmountType $lineTotalBasisAmount) + public function setLineTotalBasisAmount(?\horstoeko\zugferd\entities\extended\udt\AmountType $lineTotalBasisAmount = null) { $this->lineTotalBasisAmount = $lineTotalBasisAmount; return $this; @@ -191,7 +191,7 @@ public function getAllowanceChargeBasisAmount() * @param \horstoeko\zugferd\entities\extended\udt\AmountType $allowanceChargeBasisAmount * @return self */ - public function setAllowanceChargeBasisAmount(\horstoeko\zugferd\entities\extended\udt\AmountType $allowanceChargeBasisAmount) + public function setAllowanceChargeBasisAmount(?\horstoeko\zugferd\entities\extended\udt\AmountType $allowanceChargeBasisAmount = null) { $this->allowanceChargeBasisAmount = $allowanceChargeBasisAmount; return $this; @@ -235,7 +235,7 @@ public function getExemptionReasonCode() * @param \horstoeko\zugferd\entities\extended\udt\CodeType $exemptionReasonCode * @return self */ - public function setExemptionReasonCode(\horstoeko\zugferd\entities\extended\udt\CodeType $exemptionReasonCode) + public function setExemptionReasonCode(?\horstoeko\zugferd\entities\extended\udt\CodeType $exemptionReasonCode = null) { $this->exemptionReasonCode = $exemptionReasonCode; return $this; @@ -257,7 +257,7 @@ public function getTaxPointDate() * @param \horstoeko\zugferd\entities\extended\udt\DateType $taxPointDate * @return self */ - public function setTaxPointDate(\horstoeko\zugferd\entities\extended\udt\DateType $taxPointDate) + public function setTaxPointDate(?\horstoeko\zugferd\entities\extended\udt\DateType $taxPointDate = null) { $this->taxPointDate = $taxPointDate; return $this; diff --git a/src/entities/extended/ram/UniversalCommunicationType.php b/src/entities/extended/ram/UniversalCommunicationType.php index 28781c10..4ed05ccc 100644 --- a/src/entities/extended/ram/UniversalCommunicationType.php +++ b/src/entities/extended/ram/UniversalCommunicationType.php @@ -36,7 +36,7 @@ public function getURIID() * @param \horstoeko\zugferd\entities\extended\udt\IDType $uRIID * @return self */ - public function setURIID(\horstoeko\zugferd\entities\extended\udt\IDType $uRIID) + public function setURIID(?\horstoeko\zugferd\entities\extended\udt\IDType $uRIID = null) { $this->uRIID = $uRIID; return $this; diff --git a/src/entities/extended/udt/DateTimeType.php b/src/entities/extended/udt/DateTimeType.php index f966c143..dbf02a9d 100644 --- a/src/entities/extended/udt/DateTimeType.php +++ b/src/entities/extended/udt/DateTimeType.php @@ -31,9 +31,10 @@ public function getDateTimeString() * @param \horstoeko\zugferd\entities\extended\udt\DateTimeType\DateTimeStringAType $dateTimeString * @return self */ - public function setDateTimeString(\horstoeko\zugferd\entities\extended\udt\DateTimeType\DateTimeStringAType $dateTimeString) + public function setDateTimeString(?\horstoeko\zugferd\entities\extended\udt\DateTimeType\DateTimeStringAType $dateTimeString = null) { $this->dateTimeString = $dateTimeString; return $this; } } + diff --git a/src/entities/extended/udt/DateType.php b/src/entities/extended/udt/DateType.php index 2a125f9f..7d60c99f 100644 --- a/src/entities/extended/udt/DateType.php +++ b/src/entities/extended/udt/DateType.php @@ -31,7 +31,7 @@ public function getDateString() * @param \horstoeko\zugferd\entities\extended\udt\DateType\DateStringAType $dateString * @return self */ - public function setDateString(\horstoeko\zugferd\entities\extended\udt\DateType\DateStringAType $dateString) + public function setDateString(?\horstoeko\zugferd\entities\extended\udt\DateType\DateStringAType $dateString = null) { $this->dateString = $dateString; return $this; diff --git a/src/entities/minimum/ram/TradeSettlementHeaderMonetarySummationType.php b/src/entities/minimum/ram/TradeSettlementHeaderMonetarySummationType.php index 664431cf..9d9ab62a 100644 --- a/src/entities/minimum/ram/TradeSettlementHeaderMonetarySummationType.php +++ b/src/entities/minimum/ram/TradeSettlementHeaderMonetarySummationType.php @@ -16,9 +16,11 @@ class TradeSettlementHeaderMonetarySummationType private $taxBasisTotalAmount = null; /** - * @var \horstoeko\zugferd\entities\minimum\udt\AmountType $taxTotalAmount + * @var \horstoeko\zugferd\entities\minimum\udt\AmountType[] $taxTotalAmount */ - private $taxTotalAmount = null; + private $taxTotalAmount = [ + + ]; /** * @var \horstoeko\zugferd\entities\minimum\udt\AmountType $grandTotalAmount @@ -52,10 +54,44 @@ public function setTaxBasisTotalAmount(\horstoeko\zugferd\entities\minimum\udt\A return $this; } + /** + * Adds as taxTotalAmount + * + * @return self + * @param \horstoeko\zugferd\entities\minimum\udt\AmountType $taxTotalAmount + */ + public function addToTaxTotalAmount(\horstoeko\zugferd\entities\minimum\udt\AmountType $taxTotalAmount) + { + $this->taxTotalAmount[] = $taxTotalAmount; + return $this; + } + + /** + * isset taxTotalAmount + * + * @param int|string $index + * @return bool + */ + public function issetTaxTotalAmount($index) + { + return isset($this->taxTotalAmount[$index]); + } + + /** + * unset taxTotalAmount + * + * @param int|string $index + * @return void + */ + public function unsetTaxTotalAmount($index) + { + unset($this->taxTotalAmount[$index]); + } + /** * Gets as taxTotalAmount * - * @return \horstoeko\zugferd\entities\minimum\udt\AmountType + * @return \horstoeko\zugferd\entities\minimum\udt\AmountType[] */ public function getTaxTotalAmount() { @@ -65,10 +101,10 @@ public function getTaxTotalAmount() /** * Sets a new taxTotalAmount * - * @param \horstoeko\zugferd\entities\minimum\udt\AmountType $taxTotalAmount + * @param \horstoeko\zugferd\entities\minimum\udt\AmountType[] $taxTotalAmount * @return self */ - public function setTaxTotalAmount(?\horstoeko\zugferd\entities\minimum\udt\AmountType $taxTotalAmount = null) + public function setTaxTotalAmount(array $taxTotalAmount = null) { $this->taxTotalAmount = $taxTotalAmount; return $this; diff --git a/src/schema/FACTUR-X_BASIC-WL_urn_un_unece_uncefact_data_standard_QualifiedDataType_100.xsd b/src/schema/FACTUR-X_BASIC-WL_urn_un_unece_uncefact_data_standard_QualifiedDataType_100.xsd index 2730a55a..bdf28418 100644 --- a/src/schema/FACTUR-X_BASIC-WL_urn_un_unece_uncefact_data_standard_QualifiedDataType_100.xsd +++ b/src/schema/FACTUR-X_BASIC-WL_urn_un_unece_uncefact_data_standard_QualifiedDataType_100.xsd @@ -1,210 +1,10 @@ - + elementFormDefault="qualified"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -212,259 +12,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -472,187 +20,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -660,53 +28,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -730,19 +52,7 @@ - - - - - - - - - - - - - + @@ -750,17 +60,7 @@ - - - - - - - - - - - + @@ -768,9 +68,7 @@ - - - + @@ -778,11 +76,7 @@ - - - - - + diff --git a/src/schema/FACTUR-X_BASIC-WL_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_100.xsd b/src/schema/FACTUR-X_BASIC-WL_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_100.xsd index 7eb18262..45946f97 100644 --- a/src/schema/FACTUR-X_BASIC-WL_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_100.xsd +++ b/src/schema/FACTUR-X_BASIC-WL_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_100.xsd @@ -61,13 +61,13 @@ - + - + diff --git a/src/schema/FACTUR-X_BASIC-WL_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_100.xsd b/src/schema/FACTUR-X_BASIC-WL_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_100.xsd index a2eeee09..414b7ea2 100644 --- a/src/schema/FACTUR-X_BASIC-WL_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_100.xsd +++ b/src/schema/FACTUR-X_BASIC-WL_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_100.xsd @@ -2,8 +2,7 @@ + elementFormDefault="qualified"> @@ -32,7 +31,7 @@ - + diff --git a/src/schema/FACTUR-X_BASIC_urn_un_unece_uncefact_data_standard_QualifiedDataType_100.xsd b/src/schema/FACTUR-X_BASIC_urn_un_unece_uncefact_data_standard_QualifiedDataType_100.xsd index f8ccbcf1..bdf28418 100644 --- a/src/schema/FACTUR-X_BASIC_urn_un_unece_uncefact_data_standard_QualifiedDataType_100.xsd +++ b/src/schema/FACTUR-X_BASIC_urn_un_unece_uncefact_data_standard_QualifiedDataType_100.xsd @@ -1,210 +1,10 @@ - + elementFormDefault="qualified"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -212,259 +12,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -472,187 +20,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -660,53 +28,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -730,19 +52,7 @@ - - - - - - - - - - - - - + @@ -750,17 +60,7 @@ - - - - - - - - - - - + @@ -768,9 +68,7 @@ - - - + @@ -778,11 +76,7 @@ - - - - - + diff --git a/src/schema/FACTUR-X_BASIC_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_100.xsd b/src/schema/FACTUR-X_BASIC_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_100.xsd index 2cbf3316..5c143385 100644 --- a/src/schema/FACTUR-X_BASIC_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_100.xsd +++ b/src/schema/FACTUR-X_BASIC_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_100.xsd @@ -67,13 +67,13 @@ - + - + diff --git a/src/schema/FACTUR-X_BASIC_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_100.xsd b/src/schema/FACTUR-X_BASIC_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_100.xsd index a8d4a270..e2f2bc85 100644 --- a/src/schema/FACTUR-X_BASIC_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_100.xsd +++ b/src/schema/FACTUR-X_BASIC_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_100.xsd @@ -2,8 +2,7 @@ + elementFormDefault="qualified"> @@ -32,7 +31,7 @@ - + @@ -49,7 +48,7 @@ - + diff --git a/src/schema/FACTUR-X_EN16931_urn_un_unece_uncefact_data_standard_QualifiedDataType_100.xsd b/src/schema/FACTUR-X_EN16931_urn_un_unece_uncefact_data_standard_QualifiedDataType_100.xsd index e024061a..94757471 100644 --- a/src/schema/FACTUR-X_EN16931_urn_un_unece_uncefact_data_standard_QualifiedDataType_100.xsd +++ b/src/schema/FACTUR-X_EN16931_urn_un_unece_uncefact_data_standard_QualifiedDataType_100.xsd @@ -1,210 +1,10 @@ - + elementFormDefault="qualified"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -212,259 +12,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -472,187 +20,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -660,55 +28,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -732,91 +52,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -824,825 +60,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -1650,17 +68,7 @@ - - - - - - - - - - - + @@ -1668,62 +76,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -1731,11 +84,7 @@ - - - - - + diff --git a/src/schema/FACTUR-X_EN16931_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_100.xsd b/src/schema/FACTUR-X_EN16931_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_100.xsd index e1f554fc..7cf89ef8 100644 --- a/src/schema/FACTUR-X_EN16931_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_100.xsd +++ b/src/schema/FACTUR-X_EN16931_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_100.xsd @@ -77,13 +77,13 @@ - + - + @@ -220,7 +220,7 @@ - + diff --git a/src/schema/FACTUR-X_EN16931_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_100.xsd b/src/schema/FACTUR-X_EN16931_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_100.xsd index bfeb6362..15f14d7a 100644 --- a/src/schema/FACTUR-X_EN16931_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_100.xsd +++ b/src/schema/FACTUR-X_EN16931_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_100.xsd @@ -2,8 +2,7 @@ + elementFormDefault="qualified"> @@ -23,7 +22,7 @@ - + @@ -56,7 +55,7 @@ - + @@ -73,7 +72,7 @@ - + diff --git a/src/schema/FACTUR-X_EXTENDED_urn_un_unece_uncefact_data_standard_QualifiedDataType_100.xsd b/src/schema/FACTUR-X_EXTENDED_urn_un_unece_uncefact_data_standard_QualifiedDataType_100.xsd index 6d42751b..6531a67f 100644 --- a/src/schema/FACTUR-X_EXTENDED_urn_un_unece_uncefact_data_standard_QualifiedDataType_100.xsd +++ b/src/schema/FACTUR-X_EXTENDED_urn_un_unece_uncefact_data_standard_QualifiedDataType_100.xsd @@ -1,21 +1,10 @@ - + elementFormDefault="qualified"> - - - - - - - - - + @@ -23,204 +12,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -236,259 +28,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -496,187 +36,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -684,21 +44,7 @@ - - - - - - - - - - - - - - - + @@ -706,803 +52,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -1542,91 +92,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -1634,825 +100,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -2460,29 +108,7 @@ - - - - - - - - - - - - - - - - - - - - - - - + @@ -2490,62 +116,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -2553,11 +124,7 @@ - - - - - + diff --git a/src/schema/FACTUR-X_EXTENDED_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_100.xsd b/src/schema/FACTUR-X_EXTENDED_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_100.xsd index fe25afe9..0f8f31ed 100644 --- a/src/schema/FACTUR-X_EXTENDED_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_100.xsd +++ b/src/schema/FACTUR-X_EXTENDED_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_100.xsd @@ -12,6 +12,7 @@ + @@ -59,7 +60,7 @@ - + @@ -115,7 +116,7 @@ - + @@ -129,6 +130,7 @@ + @@ -166,7 +168,7 @@ - + @@ -177,7 +179,7 @@ - + @@ -207,7 +209,7 @@ - + @@ -279,7 +281,7 @@ - + @@ -307,7 +309,7 @@ - + @@ -334,7 +336,7 @@ - + @@ -386,8 +388,13 @@ + + + + + @@ -406,10 +413,10 @@ - + - + @@ -437,7 +444,7 @@ - + diff --git a/src/schema/FACTUR-X_EXTENDED_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_100.xsd b/src/schema/FACTUR-X_EXTENDED_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_100.xsd index 78e78a0d..fc6f3b2f 100644 --- a/src/schema/FACTUR-X_EXTENDED_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_100.xsd +++ b/src/schema/FACTUR-X_EXTENDED_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_100.xsd @@ -2,8 +2,7 @@ + elementFormDefault="qualified"> @@ -23,7 +22,7 @@ - + @@ -56,7 +55,7 @@ - + @@ -68,7 +67,7 @@ - + @@ -85,7 +84,7 @@ - + diff --git a/src/schema/FACTUR-X_MINIMUM_urn_un_unece_uncefact_data_standard_QualifiedDataType_100.xsd b/src/schema/FACTUR-X_MINIMUM_urn_un_unece_uncefact_data_standard_QualifiedDataType_100.xsd index ee8db280..b842378b 100644 --- a/src/schema/FACTUR-X_MINIMUM_urn_un_unece_uncefact_data_standard_QualifiedDataType_100.xsd +++ b/src/schema/FACTUR-X_MINIMUM_urn_un_unece_uncefact_data_standard_QualifiedDataType_100.xsd @@ -1,265 +1,10 @@ - + elementFormDefault="qualified"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -267,187 +12,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -455,53 +20,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/src/schema/FACTUR-X_MINIMUM_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_100.xsd b/src/schema/FACTUR-X_MINIMUM_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_100.xsd index b0dfe863..ecd98451 100644 --- a/src/schema/FACTUR-X_MINIMUM_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_100.xsd +++ b/src/schema/FACTUR-X_MINIMUM_urn_un_unece_uncefact_data_standard_ReusableAggregateBusinessInformationEntity_100.xsd @@ -78,7 +78,7 @@ - + diff --git a/src/schema/FACTUR-X_MINIMUM_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_100.xsd b/src/schema/FACTUR-X_MINIMUM_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_100.xsd index ac27fb40..bb7ccb2f 100644 --- a/src/schema/FACTUR-X_MINIMUM_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_100.xsd +++ b/src/schema/FACTUR-X_MINIMUM_urn_un_unece_uncefact_data_standard_UnqualifiedDataType_100.xsd @@ -2,8 +2,7 @@ + elementFormDefault="qualified"> @@ -27,7 +26,7 @@ - + diff --git a/src/schema/schematron/EN16931-CII-validation.xslt b/src/schema/schematron/EN16931-CII-validation.xslt deleted file mode 100644 index 8a5b8089..00000000 --- a/src/schema/schematron/EN16931-CII-validation.xslt +++ /dev/null @@ -1,11333 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - / - - - - - - *: - - [namespace-uri()=' - - '] - - - - [ - - ] - - - - / - - @ - - - @*[local-name()=' - - ' and namespace-uri()=' - - '] - - - - - - - - / - - - [ - - ] - - - - /@ - - - - - - - / - - - [ - - ] - - - - /@ - - - - - - - - - - - - - - - - - - - - - - - . - - - - U - - U - - - - U. - - n - - - - U. - - _ - - _ - - - - - - - - -   -   -   - - - - - - - - - - - - - EN16931-CII-Model - EN16931-CII-Model - - - - - - - - EN16931-CII-Syntax - EN16931-CII-Syntax - - - - - - - - EN16931-Codes - EN16931-Codes - - - - - - - EN16931 model bound to CII - - - - - - - - - - BR-52 - fatal - - - - [BR-52]-Each Additional supporting document (BG-24) shall contain a Supporting document reference (BT-122). - - - - - - - - - - - - - - BR-51 - fatal - - - - [BR-51]-The last 4 to 6 digits of the Payment card primary account number (BT-87) shall be present if Payment card information (BG-18) is provided in the Invoice. - - - - - - - - - - - - - - BR-50 - fatal - - - - [BR-50]-A Payment account identifier (BT-84) shall be present if Credit transfer (BG-16) information is provided in the Invoice. - - - - - - - - - BR-61 - fatal - - - - [BR-61]-If the Payment means type code (BT-81) means SEPA credit transfer, Local credit transfer or Non-SEPA international credit transfer, the Payment account identifier (BT-84) shall be present. - - - - - - - - - - - - - - BR-57 - fatal - - - - [BR-57]-Each Deliver to address (BG-15) shall contain a Deliver to country code (BT-80). - - - - - - - - - - - - - - BR-31 - fatal - - - - [BR-31]-Each Document level allowance (BG-20) shall have a Document level allowance amount (BT-92). - - - - - - - - - BR-32 - fatal - - - - [BR-32]-Each Document level allowance (BG-20) shall have a Document level allowance VAT category code (BT-95). - - - - - - - - - BR-33 - fatal - - - - [BR-33]-Each Document level allowance (BG-20) shall have a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98). - - - - - - - - - BR-CO-05 - fatal - - - - [BR-CO-05]-Document level allowance reason code (BT-98) and Document level allowance reason (BT-97) shall indicate the same type of allowance. - - - - - - - - - BR-CO-21 - fatal - - - - [BR-CO-21]-Each Document level allowance (BG-20) shall contain a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98), or both. - - - - - - - - - BR-DEC-01 - fatal - - - - [BR-DEC-01]-The allowed maximum number of decimals for the Document level allowance amount (BT-92) is 2. - - - - - - - - - BR-DEC-02 - fatal - - - - [BR-DEC-02]-The allowed maximum number of decimals for the Document level allowance base amount (BT-93) is 2. - - - - - - - - - - - - - - BR-36 - fatal - - - - [BR-36]-Each Document level charge (BG-21) shall have a Document level charge amount (BT-99). - - - - - - - - - BR-37 - fatal - - - - [BR-37]-Each Document level charge (BG-21) shall have a Document level charge VAT category code (BT-102). - - - - - - - - - BR-38 - fatal - - - - [BR-38]-Each Document level charge (BG-21) shall have a Document level charge reason (BT-104) or a Document level charge reason code (BT-105). - - - - - - - - - BR-CO-06 - fatal - - - - [BR-CO-06]-Document level charge reason code (BT-105) and Document level charge reason (BT-104) shall indicate the same type of charge. - - - - - - - - - BR-CO-22 - fatal - - - - [BR-CO-22]-Each Document level charge (BG-21) shall contain a Document level charge reason (BT-104) or a Document level charge reason code (BT-105), or both. - - - - - - - - - BR-DEC-05 - fatal - - - - [BR-DEC-05]-The allowed maximum number of decimals for the Document level charge amount (BT-92) is 2. - - - - - - - - - BR-DEC-06 - fatal - - - - [BR-DEC-06]-The allowed maximum number of decimals for the Document level charge base amount (BT-93) is 2. - - - - - - - - - - - - - - BR-12 - fatal - - - - [BR-12]-An Invoice shall have the Sum of Invoice line net amount (BT-106). - - - - - - - - - BR-13 - fatal - - - - [BR-13]-An Invoice shall have the Invoice total amount without VAT (BT-109). - - - - - - - - - BR-14 - fatal - - - - [BR-14]-An Invoice shall have the Invoice total amount with VAT (BT-112). - - - - - - - - - BR-15 - fatal - - - - [BR-15]-An Invoice shall have the Amount due for payment (BT-115). - - - - - - - - - BR-53 - fatal - - - - [BR-53]-If the VAT accounting currency code (BT-6) is present, then the Invoice total VAT amount in accounting currency (BT-111) shall be provided. - - - - - - - - - BR-CO-10 - fatal - - - - [BR-CO-10]-Sum of Invoice line net amount (BT-106) = Σ Invoice line net amount (BT-131). - - - - - - - - - BR-CO-11 - fatal - - - - [BR-CO-11]-Sum of allowances on document level (BT-107) = Σ Document level allowance amount (BT-92). - - - - - - - - - BR-CO-12 - fatal - - - - [BR-CO-12]-Sum of charges on document level (BT-108) = Σ Document level charge amount (BT-99). - - - - - - - - - BR-CO-13 - fatal - - - - [BR-CO-13]-Invoice total amount without VAT (BT-109) = Σ Invoice line net amount (BT-131) - Sum of allowances on document level (BT-107) + Sum of charges on document level (BT-108). - - - - - - - - - BR-CO-15 - fatal - - - - [BR-CO-15]-Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110). - - - - - - - - - BR-CO-16 - fatal - - - - [BR-CO-16]-Amount due for payment (BT-115) = Invoice total amount with VAT (BT-112) -Paid amount (BT-113) +Rounding amount (BT-114). - - - - - - - - - BR-DEC-09 - fatal - - - - [BR-DEC-09]-The allowed maximum number of decimals for the Sum of Invoice line net amount (BT-106) is 2. - - - - - - - - - BR-DEC-10 - fatal - - - - [BR-DEC-10]-The allowed maximum number of decimals for the Sum of allowanced on document level (BT-107) is 2. - - - - - - - - - BR-DEC-11 - fatal - - - - [BR-DEC-11]-The allowed maximum number of decimals for the Sum of charges on document level (BT-108) is 2. - - - - - - - - - BR-DEC-12 - fatal - - - - [BR-DEC-12]-The allowed maximum number of decimals for the Invoice total amount without VAT (BT-109) is 2. - - - - - - - - - BR-DEC-14 - fatal - - - - [BR-DEC-14]-The allowed maximum number of decimals for the Invoice total amount with VAT (BT-112) is 2. - - - - - - - - - BR-DEC-13 - fatal - - - - [BR-DEC-13]-The allowed maximum number of decimals for the Invoice total VAT amount (BT-110) is 2. - - - - - - - - - BR-DEC-15 - fatal - - - - [BR-DEC-15]-The allowed maximum number of decimals for the Invoice total VAT amount in accounting currency (BT-111) is 2. - - - - - - - - - BR-DEC-16 - fatal - - - - [BR-DEC-16]-The allowed maximum number of decimals for the Paid amount (BT-113) is 2. - - - - - - - - - BR-DEC-17 - fatal - - - - [BR-DEC-17]-The allowed maximum number of decimals for the Rounding amount (BT-114) is 2. - - - - - - - - - BR-DEC-18 - fatal - - - - [BR-DEC-18]-The allowed maximum number of decimals for the Amount due for payment (BT-115) is 2. - - - - - - - - - - - - - - BR-01 - fatal - - - - [BR-01]-An Invoice shall have a Specification identifier (BT-24). - - - - - - - - - BR-02 - fatal - - - - [BR-02]-An Invoice shall have an Invoice number (BT-1). - - - - - - - - - BR-03 - fatal - - - - [BR-03]-An Invoice shall have an Invoice issue date (BT-2). - - - - - - - - - BR-04 - fatal - - - - [BR-04]-An Invoice shall have an Invoice type code (BT-3). - - - - - - - - - BR-05 - fatal - - - - [BR-05]-An Invoice shall have an Invoice currency code (BT-5). - - - - - - - - - BR-06 - fatal - - - - [BR-06]-An Invoice shall contain the Seller name (BT-27). - - - - - - - - - BR-07 - fatal - - - - [BR-07]-An Invoice shall contain the Buyer name (BT-44). - - - - - - - - - BR-08 - fatal - - - - [BR-08]-An Invoice shall contain the Seller postal address (BG-5). - - - - - - - - - BR-09 - fatal - - - - [BR-09]-The Seller postal address (BG-5) shall contain a Seller country code (BT-40). - - - - - - - - - BR-10 - fatal - - - - [BR-10]-An Invoice shall contain the Buyer postal address (BG-8). - - - - - - - - - BR-11 - fatal - - - - [BR-11]-The Buyer postal address shall contain a Buyer country code (BT-55). - - - - - - - - - BR-16 - fatal - - - - [BR-16]-An Invoice shall have at least one Invoice line (BG-25). - - - - - - - - - BR-62 - fatal - - - - [BR-62]-The Seller electronic address (BT-34) shall have a Scheme identifier. - - - - - - - - - BR-63 - fatal - - - - [BR-63]-The Buyer electronic address (BT-49) shall have a Scheme identifier. - - - - - - - - - BR-CO-25 - fatal - - - - [BR-CO-25]-In case the Amount due for payment (BT-115) is positive, either the Payment due date (BT-9) or the Payment terms (BT-20) shall be present. - - - - - - - - - BR-S-01 - fatal - - - - [BR-S-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Standard rated" shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "Standard rated". - - - - - - - - - BR-Z-01 - fatal - - - - [BR-Z-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Zero rated" shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "Zero rated". - - - - - - - - - BR-E-01 - fatal - - - - [BR-E-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Exempt from VAT" shall contain exactly one VAT breakdown (BG-23) with the VAT category code (BT-118) equal to "Exempt from VAT". - - - - - - - - - BR-AE-01 - fatal - - - - [BR-AE-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Reverse charge" shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "VAT reverse charge". - - - - - - - - - BR-IC-01 - fatal - - - - [BR-IC-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Intra-community supply" shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "Intra-community supply". - - - - - - - - - BR-G-01 - fatal - - - - [BR-G-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Export outside the EU" shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "Export outside the EU". - - - - - - - - - BR-O-01 - fatal - - - - [BR-O-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Not subject to VAT" shall contain exactly one VAT breakdown group (BG-23) with the VAT category code (BT-118) equal to "Not subject to VAT". - - - - - - - - - BR-AF-01 - fatal - - - - [BR-IG-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "IGIC" shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "IGIC". - - - - - - - - - BR-AG-01 - fatal - - - - [BR-IP-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "IPSI" shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "IPSI". - - - - - - - - - - - - - - BR-21 - fatal - - - - [BR-21]-Each Invoice line (BG-25) shall have an Invoice line identifier (BT-126). - - - - - - - - - BR-22 - fatal - - - - [BR-22]-Each Invoice line (BG-25) shall have an Invoiced quantity (BT-129). - - - - - - - - - BR-23 - fatal - - - - [BR-23]-An Invoice line (BG-25) shall have an Invoiced quantity unit of measure code (BT-130). - - - - - - - - - BR-24 - fatal - - - - [BR-24]-Each Invoice line (BG-25) shall have an Invoice line net amount (BT-131). - - - - - - - - - BR-25 - fatal - - - - [BR-25]-Each Invoice line (BG-25) shall contain the Item name (BT-153). - - - - - - - - - BR-26 - fatal - - - - [BR-26]-Each Invoice line (BG-25) shall contain the Item net price (BT-146). - - - - - - - - - BR-27 - fatal - - - - [BR-27]-The Item net price (BT-146) shall NOT be negative. - - - - - - - - - BR-28 - fatal - - - - [BR-28]-The Item gross price (BT-148) shall NOT be negative. - - - - - - - - - BR-64 - fatal - - - - [BR-64]-The Item standard identifier (BT-157) shall have a Scheme identifier. - - - - - - - - - BR-65 - fatal - - - - [BR-65]-The Item classification identifier (BT-158) shall have a Scheme identifier. - - - - - - - - - BR-CO-04 - fatal - - - - [BR-CO-04]-Each Invoice line (BG-25) shall be categorized with an Invoiced item VAT category code (BT-151). - - - - - - - - - BR-CO-18 - fatal - - - - [BR-CO-18]-An Invoice shall at least have one VAT breakdown group (BG-23). - - - - - - - - - BR-DEC-23 - fatal - - - - [BR-DEC-23]-The allowed maximum number of decimals for the Invoice line net amount (BT-131) is 2. - - - - - - - - - - - - - - BR-41 - fatal - - - - [BR-41]-Each Invoice line allowance (BG-27) shall have an Invoice line allowance amount (BT-136). - - - - - - - - - BR-42 - fatal - - - - [BR-42]-Each Invoice line allowance (BG-27) shall have an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140). - - - - - - - - - BR-CO-07 - fatal - - - - [BR-CO-07]-Invoice line allowance reason code (BT-140) and Invoice line allowance reason (BT-139) shall indicate the same type of allowance reason. - - - - - - - - - BR-CO-23 - fatal - - - - [BR-CO-23]-Each Invoice line allowance (BG-27) shall contain an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140), or both. - - - - - - - - - BR-DEC-24 - fatal - - - - [BR-DEC-24]-The allowed maximum number of decimals for the Invoice line allowance amount (BT-136) is 2. - - - - - - - - - BR-DEC-25 - fatal - - - - [BR-DEC-25]-The allowed maximum number of decimals for the Invoice line allowance base amount (BT-137) is 2. - - - - - - - - - - - - - - BR-43 - fatal - - - - [BR-43]-Each Invoice line charge (BG-28) shall have an Invoice line charge amount (BT-141). - - - - - - - - - BR-44 - fatal - - - - [BR-44]-Each Invoice line charge (BG-28) shall have an Invoice line charge reason (BT-144) or an Invoice line charge reason code (BT-145). - - - - - - - - - BR-CO-08 - fatal - - - - [BR-CO-08]-Invoice line charge reason code (BT-145) and Invoice line charge reason (BT144) shall indicate the same type of charge reason. - - - - - - - - - BR-CO-24 - fatal - - - - [BR-CO-24]-Each Invoice line charge (BG-28) shall contain an Invoice line charge reason (BT-144) or an Invoice line charge reason code (BT-145), or both. - - - - - - - - - BR-DEC-27 - fatal - - - - [BR-DEC-27]-The allowed maximum number of decimals for the Invoice line charge amount (BT-141) is 2. - - - - - - - - - BR-DEC-28 - fatal - - - - [BR-DEC-28]-The allowed maximum number of decimals for the Invoice line charge base amount (BT-142) is 2. - - - - - - - - - - - - - - BR-30 - fatal - - - - [BR-30]-If both Invoice line period start date (BT-134) and Invoice line period end date (BT-135) are given then the Invoice line period end date (BT-135) shall be later or equal to the Invoice line period start date (BT-134). - - - - - - - - - BR-CO-20 - fatal - - - - [BR-CO-20]-If Invoice line period (BG-26) is used, the Invoice line period start date (BT-134) or the Invoice line period end date (BT-135) shall be filled, or both. - - - - - - - - - - - - - - BR-29 - fatal - - - - [BR-29]-If both Invoicing period start date (BT-73) and Invoicing period end date (BT-74) are given then the Invoicing period end date (BT-74) shall be later or equal to the Invoicing period start date (BT-73). - - - - - - - - - BR-CO-19 - fatal - - - - [BR-CO-19]-If Invoicing period (BG-14) is used, the Invoicing period start date (BT-73) or the Invoicing period end date (BT-74) shall be filled, or both. - - - - - - - - - - - - - - BR-54 - fatal - - - - [BR-54]-Each Item attribute (BG-32) shall contain an Item attribute name (BT-160) and an Item attribute value (BT-161). - - - - - - - - - - - - - - BR-17 - fatal - - - - [BR-17]-The Payee name (BT-59) shall be provided in the Invoice, if the Payee (BG-10) is different from the Seller (BG-4). - - - - - - - - - - - - - - BR-49 - fatal - - - - [BR-49]-A Payment instruction (BG-16) shall specify the Payment means type code (BT-81). - - - - - - - - - BR-CO-27 - fatal - - - - [BR-CO-27]- Either the IBAN or a Proprietary ID (BT-84) shall be used. - - - - - - - - - - - - - - BR-55 - fatal - - - - [BR-55]-Each Preceding Invoice reference (BG-3) shall contain a Preceding Invoice reference (BT-25). - - - - - - - - - - - - - - BR-CO-26 - fatal - - - - [BR-CO-26]-In order for the buyer to automatically identify a supplier, the Seller identifier (BT-29), the Seller legal registration identifier (BT-30) and/or the Seller VAT identifier (BT-31) shall be present. - - - - - - - - - - - - - - BR-18 - fatal - - - - [BR-18]-The Seller tax representative name (BT-62) shall be provided in the Invoice, if the Seller (BG-4) has a Seller tax representative party (BG-11). - - - - - - - - - BR-19 - fatal - - - - [BR-19]-The Seller tax representative postal address (BG-12) shall be provided in the Invoice, if the Seller (BG-4) has a Seller tax representative party (BG-11). - - - - - - - - - BR-20 - fatal - - - - [BR-20]-The Seller tax representative postal address (BG-12) shall contain a Tax representative country code (BT-69), if the Seller (BG-4) has a Seller tax representative party (BG-11). - - - - - - - - - BR-56 - fatal - - - - [BR-56]-Each Seller tax representative party (BG-11) shall have a Seller tax representative VAT identifier (BT-63). - - - - - - - - - - - - - - BR-CO-14 - fatal - - - - [BR-CO-14]-Invoice total VAT amount (BT-110) = Σ VAT category tax amount (BT-117). - - - - - - - - - - - - - - BR-CO-09 - fatal - - - - [BR-CO-09]-The Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) shall have a prefix in accordance with ISO code ISO 3166-1 alpha-2 by which the country of issue may be identified. Nevertheless, Greece may use the prefix ‘EL’. - - - - - - - - - - - - - - BR-AE-08 - fatal - - - - [BR-AE-08]-In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Reverse charge" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Reverse charge". - - - - - - - - - BR-AE-09 - fatal - - - - [BR-AE-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Reverse charge" shall be 0 (zero). - - - - - - - - - BR-AE-10 - fatal - - - - [BR-AE-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Reverse charge" shall have a VAT exemption reason code (BT-121), meaning "Reverse charge" or the VAT exemption reason text (BT-120) "Reverse charge" (or the equivalent standard text in another language). - - - - - - - - - - - - - - BR-AE-03 - fatal - - - - [BR-AE-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Reverse charge" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). - - - - - - - - - BR-AE-06 - fatal - - - - [BR-AE-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Reverse charge" the Document level allowance VAT rate (BT-96) shall be 0 (zero). - - - - - - - - - - - - - - BR-AE-04 - fatal - - - - [BR-AE-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Reverse charge" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). - - - - - - - - - BR-AE-07 - fatal - - - - [BR-AE-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Reverse charge" the Document level charge VAT rate (BT-103) shall be 0 (zero). - - - - - - - - - - - - - - BR-AE-02 - fatal - - - - [BR-AE-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Reverse charge" shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). - - - - - - - - - BR-AE-05 - fatal - - - - [BR-AE-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Reverse charge" the Invoiced item VAT rate (BT-152) shall be 0 (zero). - - - - - - - - - - - - - - BR-AF-08 - fatal - - - - [BR-IG-08]-For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "IGIC", the VAT category taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-95) is "IGIC" and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119). - - - - - - - - - BR-AF-09 - fatal - - - - [BR-IG-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IGIC" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). - - - - - - - - - BR-AF-10 - fatal - - - - [BR-IG-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "IGIC" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). - - - - - - - - - - - - - - BR-AF-02 - fatal - - - - [BR-IG-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IGIC" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - - - - - - - - BR-AF-05 - fatal - - - - [BR-IG-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IGIC" the invoiced item VAT rate (BT-152) shall be greater than 0 (zero). - - - - - - - - - - - - - - BR-AF-03 - fatal - - - - [BR-IG-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IGIC" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - - - - - - - - BR-AF-06 - fatal - - - - [BR-IG-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IGIC" the Document level allowance VAT rate (BT-96) shall be 0 (zero) or greater than zero. - - - - - - - - - - - - - - BR-AF-04 - fatal - - - - [BR-IG-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IGIC" shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - - - - - - - - BR-AF-07 - fatal - - - - [BR-IG-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IGIC" the Document level charge VAT rate (BT-103) shall be 0 (zero) or greater than zero. - - - - - - - - - - - - - - BR-AG-08 - fatal - - - - [BR-IP-08]-For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "IPSI", the VAT category taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-95) is "IPSI" and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119). - - - - - - - - - BR-AG-09 - fatal - - - - [BR-IP-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IPSI" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). - - - - - - - - - BR-AG-10 - fatal - - - - [BR-IP-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "IPSI" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). - - - - - - - - - - - - - - BR-AG-02 - fatal - - - - [BR-IP-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IPSI" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - - - - - - - - BR-AG-05 - fatal - - - - [BR-IP-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IPSI" the Invoiced item VAT rate (BT-152) shall be 0 (zero) or greater than zero. - - - - - - - - - - - - - - BR-AG-03 - fatal - - - - [BR-IP-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IPSI" shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - - - - - - - - BR-AG-06 - fatal - - - - [BR-IP-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IPSI" the Document level allowance VAT rate (BT-96) shall be 0 (zero) or greater than zero. - - - - - - - - - - - - - - BR-AG-04 - fatal - - - - [BR-IP-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IPSI" shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - - - - - - - - BR-AG-07 - fatal - - - - [BR-IP-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IPSI" the Document level charge VAT rate (BT-103) shall be 0 (zero) or greater than zero. - - - - - - - - - - - - - - BR-E-08 - fatal - - - - [BR-E-08]-In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Exempt from VAT" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Exempt from VAT". - - - - - - - - - BR-E-09 - fatal - - - - [BR-E-09]-The VAT category tax amount (BT-117) In a VAT breakdown (BG-23) where the VAT category code (BT-118) equals "Exempt from VAT" shall equal 0 (zero). - - - - - - - - - BR-E-10 - fatal - - - - [BR-E-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Exempt from VAT" shall have a VAT exemption reason code (BT-121) or a VAT exemption reason text (BT-120). - - - - - - - - - - - - - - BR-E-03 - fatal - - - - [BR-E-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Exempt from VAT" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - - - - - - - - BR-E-06 - fatal - - - - [BR-E-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Exempt from VAT", the Document level allowance VAT rate (BT-96) shall be 0 (zero). - - - - - - - - - - - - - - BR-E-04 - fatal - - - - [BR-E-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Exempt from VAT" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - - - - - - - - BR-E-07 - fatal - - - - [BR-E-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Exempt from VAT", the Document level charge VAT rate (BT-103) shall be 0 (zero). - - - - - - - - - - - - - - BR-E-02 - fatal - - - - [BR-E-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Exempt from VAT" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - - - - - - - - BR-E-05 - fatal - - - - [BR-E-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Exempt from VAT", the Invoiced item VAT rate (BT-152) shall be 0 (zero). - - - - - - - - - - - - - - BR-G-08 - fatal - - - - [BR-G-08]-In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Export outside the EU" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Export outside the EU". - - - - - - - - - BR-G-09 - fatal - - - - [BR-G-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Export outside the EU" shall be 0 (zero). - - - - - - - - - BR-G-10 - fatal - - - - [BR-G-10]-A VAT Breakdown (BG-23) with the VAT Category code (BT-118) "Export outside the EU" shall have a VAT exemption reason code (BT-121), meaning "Export outside the EU" or the VAT exemption reason text (BT-120) "Export outside the EU" (or the equivalent standard text in another language). - - - - - - - - - - - - - - BR-G-03 - fatal - - - - [BR-G-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Export outside the EU" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). - - - - - - - - - BR-G-06 - fatal - - - - [BR-G-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Export outside the EU" the Document level allowance VAT rate (BT-96) shall be 0 (zero). - - - - - - - - - - - - - - BR-G-04 - fatal - - - - [BR-G-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Export outside the EU" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). - - - - - - - - - BR-G-07 - fatal - - - - [BR-G-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Export outside the EU" the Document level charge VAT rate (BT-103) shall be 0 (zero). - - - - - - - - - - - - - - BR-G-02 - fatal - - - - [BR-G-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Export outside the EU" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). - - - - - - - - - BR-G-05 - fatal - - - - [BR-G-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Export outside the EU" the Invoiced item VAT rate (BT-152) shall be 0 (zero). - - - - - - - - - - - - - - BR-IC-08 - fatal - - - - [BR-IC-08]-In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Intra-community supply". - - - - - - - - - BR-IC-09 - fatal - - - - [BR-IC-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" shall be 0 (zero). - - - - - - - - - BR-IC-10 - fatal - - - - [BR-IC-10]-A VAT Breakdown (BG-23) with the VAT Category code (BT-118) "Intra-community supply" shall have a VAT exemption reason code (BT-121), meaning "Intra-community supply" or the VAT exemption reason text (BT-120) "Intra-community supply" (or the equivalent standard text in another language). - - - - - - - - - BR-IC-11 - fatal - - - - [BR-IC-11]-In an Invoice with a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the Actual delivery date (BT-72) or the Invoicing period (BG-14) shall not be blank. - - - - - - - - - BR-IC-12 - fatal - - - - [BR-IC-12]-In an Invoice with a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the Deliver to country code (BT-80) shall not be blank. - - - - - - - - - - - - - - BR-IC-03 - fatal - - - - [BR-IC-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Intra-community supply" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). - - - - - - - - - BR-IC-06 - fatal - - - - [BR-IC-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Intra-community supply" the Document level allowance VAT rate (BT-96) shall be 0 (zero). - - - - - - - - - - - - - - BR-IC-04 - fatal - - - - [BR-IC-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Intra-community supply" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). - - - - - - - - - BR-IC-07 - fatal - - - - [BR-IC-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Intra-community supply" the Document level charge VAT rate (BT-103) shall be 0 (zero). - - - - - - - - - - - - - - BR-IC-02 - fatal - - - - [BR-IC-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Intra-community supply" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). - - - - - - - - - BR-IC-05 - fatal - - - - [BR-IC-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Intracommunity supply" the Invoiced item VAT rate (BT-152) shall be 0 (zero). - - - - - - - - - - - - - - BR-O-08 - fatal - - - - [BR-O-08]-In a VAT breakdown (BG-23) where the VAT category code (BT-118) is " Not subject to VAT" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Not subject to VAT". - - - - - - - - - BR-O-09 - fatal - - - - [BR-O-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Not subject to VAT" shall be 0 (zero). - - - - - - - - - BR-O-10 - fatal - - - - [BR-O-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) " Not subject to VAT" shall have a VAT exemption reason code (BT-121), meaning " Not subject to VAT" or a VAT exemption reason text (BT-120) " Not subject to VAT" (or the equivalent standard text in another language). - - - - - - - - - BR-O-11 - fatal - - - - [BR-O-11]-An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain other VAT breakdown groups (BG-23). - - - - - - - - - BR-O-12 - fatal - - - - [BR-O-12]-An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is not "Not subject to VAT". - - - - - - - - - BR-O-13 - fatal - - - - [BR-O-13]-An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain Document level allowances (BG-20) where Document level allowance VAT category code (BT-95) is not "Not subject to VAT". - - - - - - - - - BR-O-14 - fatal - - - - [BR-O-14]-An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain Document level charges (BG-21) where Document level charge VAT category code (BT-102) is not "Not subject to VAT". - - - - - - - - - - - - - - BR-O-03 - fatal - - - - [BR-O-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Not subject to VAT" shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-48). - - - - - - - - - BR-O-06 - fatal - - - - [BR-O-06]-A Document level allowance (BG-20) where VAT category code (BT-95) is "Not subject to VAT" shall not contain a Document level allowance VAT rate (BT-96). - - - - - - - - - - - - - - BR-O-04 - fatal - - - - [BR-O-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Not subject to VAT" shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-48). - - - - - - - - - BR-O-07 - fatal - - - - [BR-O-07]-A Document level charge (BG-21) where the VAT category code (BT-102) is "Not subject to VAT" shall not contain a Document level charge VAT rate (BT-103). - - - - - - - - - - - - - - BR-O-02 - fatal - - - - [BR-O-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Not subject to VAT" shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-48). - - - - - - - - - BR-O-05 - fatal - - - - [BR-O-05]-An Invoice line (BG-25) where the VAT category code (BT-151) is "Not subject to VAT" shall not contain an Invoiced item VAT rate (BT-152). - - - - - - - - - - - - - - BR-S-08 - fatal - - - - [BR-S-08]-For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "Standard rated", the VAT category taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-95) is "Standard rated" and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119). - - - - - - - - - BR-S-09 - fatal - - - - [BR-S-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "Standard rated" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). - - - - - - - - - BR-S-10 - fatal - - - - [BR-S-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Standard rate" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). - - - - - - - - - - - - - - BR-S-02 - fatal - - - - [BR-S-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Standard rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - - - - - - - - BR-S-05 - fatal - - - - [BR-S-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Standard rated" the Invoiced item VAT rate (BT-152) shall be greater than zero. - - - - - - - - - - - - - - BR-S-03 - fatal - - - - [BR-S-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Standard rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - - - - - - - - BR-S-06 - fatal - - - - [BR-S-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Standard rated" the Document level allowance VAT rate (BT-96) shall be greater than zero. - - - - - - - - - - - - - - BR-S-04 - fatal - - - - [BR-S-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Standard rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - - - - - - - - BR-S-07 - fatal - - - - [BR-S-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Standard rated" the Document level charge VAT rate (BT-103) shall be greater than zero. - - - - - - - - - - - - - - BR-Z-08 - fatal - - - - [BR-Z-08]-In a VAT breakdown (BG-23) where VAT category code (BT-118) is "Zero rated" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amount (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Zero rated". - - - - - - - - - BR-Z-09 - fatal - - - - [BR-Z-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "Zero rated" shall equal 0 (zero). - - - - - - - - - BR-Z-10 - fatal - - - - [BR-Z-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Zero rated" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). - - - - - - - - - - - - - - BR-Z-03 - fatal - - - - [BR-Z-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Zero rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - - - - - - - - BR-Z-06 - fatal - - - - [BR-Z-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Zero rated" the Document level allowance VAT rate (BT-96) shall be 0 (zero). - - - - - - - - - - - - - - BR-Z-04 - fatal - - - - [BR-Z-04]-An Invoice that contains a Document level charge where the Document level charge VAT category code (BT-102) is "Zero rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - - - - - - - - BR-Z-07 - fatal - - - - [BR-Z-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Zero rated" the Document level charge VAT rate (BT-103) shall be 0 (zero). - - - - - - - - - - - - - - BR-Z-02 - fatal - - - - [BR-Z-02]-An Invoice that contains an Invoice line where the Invoiced item VAT category code (BT-151) is "Zero rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - - - - - - - - BR-Z-05 - fatal - - - - [BR-Z-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Zero rated" the Invoiced item VAT rate (BT-152) shall be 0 (zero). - - - - - - - - - - - - - - BR-45 - fatal - - - - [BR-45]-Each VAT breakdown (BG-23) shall have a VAT category taxable amount (BT-116). - - - - - - - - - BR-46 - fatal - - - - [BR-46]-Each VAT breakdown (BG-23) shall have a VAT category tax amount (BT-117). - - - - - - - - - BR-47 - fatal - - - - [BR-47]-Each VAT breakdown (BG-23) shall be defined through a VAT category code (BT-118). - - - - - - - - - BR-48 - fatal - - - - [BR-48]-Each VAT breakdown (BG-23) shall have a VAT category rate (BT-119), except if the Invoice is not subject to VAT. - - - - - - - - - BR-CO-03 - fatal - - - - [BR-CO-03]-Value added tax point date (BT-7) and Value added tax point date code (BT-8) are mutually exclusive. - - - - - - - - - BR-CO-17 - fatal - - - - [BR-CO-17]-VAT category tax amount (BT-117) = VAT category taxable amount (BT-116) x (VAT category rate (BT-119) / 100), rounded to two decimals. - - - - - - - - - BR-DEC-19 - fatal - - - - [BR-DEC-19]-The allowed maximum number of decimals for the VAT category taxable amount (BT-116) is 2. - - - - - - - - - BR-DEC-20 - fatal - - - - [BR-DEC-20]-The allowed maximum number of decimals for the VAT category tax amount (BT-117) is 2. - - - - - - - - - - - - - - - - - - - CII-SR-001 - warning - - - - [CII-SR-001] - SpecifiedTransactionID should not be present - - - - - - - - - CII-SR-002 - warning - - - - [CII-SR-002] - TestIndicator should not be present - - - - - - - - - CII-SR-003 - warning - - - - [CII-SR-003] - BusinessProcessSpecifiedDocumentContextParameter should exist maximum once - - - - - - - - - CII-SR-006 - warning - - - - [CII-SR-006] - BIMSpecifiedDocumentContextParameter should not be present - - - - - - - - - CII-SR-007 - warning - - - - [CII-SR-007] - ScenarioSpecifiedDocumentContextParameter should not be present - - - - - - - - - CII-SR-008 - warning - - - - [CII-SR-008] - ApplicationSpecifiedDocumentContextParameter should not be present - - - - - - - - - CII-SR-009 - fatal - - - - [CII-SR-009] - GuidelineSpecifiedDocumentContextParameter must exist exactly once - - - - - - - - - CII-SR-010 - fatal - - - - [CII-SR-010] - ID must exist exactly once - - - - - - - - - CII-SR-011 - warning - - - - [CII-SR-011] - SubsetSpecifiedDocumentContextParameter should not be present - - - - - - - - - CII-SR-012 - warning - - - - [CII-SR-012] - MessageStandardSpecifiedDocumentContextParameter should not be present - - - - - - - - - - - - - - CII-SR-013 - warning - - - - [CII-SR-013] - Name should not be present - - - - - - - - - CII-SR-014 - fatal - - - - [CII-SR-014] - TypeCode must exist exactly once - - - - - - - - - CII-SR-015 - warning - - - - [CII-SR-015] - DateTime should not be present - - - - - - - - - CII-SR-016 - warning - - - - [CII-SR-016] - CopyIndicator should not be present - - - - - - - - - CII-SR-017 - warning - - - - [CII-SR-017] - Purpose should not be present - - - - - - - - - CII-SR-018 - warning - - - - [CII-SR-018] - ControlRequirementIndicator should not be present - - - - - - - - - CII-SR-019 - warning - - - - [CII-SR-019] - LanguageID should not be present - - - - - - - - - CII-SR-020 - warning - - - - [CII-SR-020] - PurposeCode should not be present - - - - - - - - - CII-SR-021 - warning - - - - [CII-SR-021] - RevisionDateTime should not be present - - - - - - - - - CII-SR-022 - warning - - - - [CII-SR-022] - VersionID should not be present - - - - - - - - - CII-SR-023 - warning - - - - [CII-SR-023] - GlobalID should not be present - - - - - - - - - CII-SR-024 - warning - - - - [CII-SR-024] - RevisionID should not be present - - - - - - - - - CII-SR-025 - warning - - - - [CII-SR-025] - PreviousRevisionID should not be present - - - - - - - - - CII-SR-026 - warning - - - - [CII-SR-026] - CategoryCode should not be present - - - - - - - - - CII-SR-027 - warning - - - - [CII-SR-027] - Subject should not be present - - - - - - - - - CII-SR-028 - warning - - - - [CII-SR-028] - ContentCode should not be present - - - - - - - - - CII-SR-032 - warning - - - - [CII-SR-032] - ID should not be present - - - - - - - - - CII-SR-033 - warning - - - - [CII-SR-033] - EffectiveSpecifiedPeriod should not be present - - - - - - - - - CII-SR-034 - warning - - - - [CII-SR-034] - IssuerTradeParty should not be present - - - - - - - - - - - - - - CII-SR-030 - warning - - - - [CII-SR-030] - Content should exist maximum once - - - - - - - - - - - - - - CII-SR-035 - warning - - - - [CII-SR-035] - DescriptionCode should not be present - - - - - - - - - CII-SR-036 - warning - - - - [CII-SR-036] - ParentLineID should not be present - - - - - - - - - CII-SR-037 - warning - - - - [CII-SR-037] - LineStatusCode should not be present - - - - - - - - - CII-SR-038 - warning - - - - [CII-SR-038] - LineStatusReasonCode should not be present - - - - - - - - - CII-SR-039 - warning - - - - [CII-SR-039] - IncludedNote should exist maximum once - - - - - - - - - CII-SR-040 - warning - - - - [CII-SR-040] - Content should exist maximum once - - - - - - - - - CII-SR-041 - warning - - - - [CII-SR-041] - SubjectCode should not be present - - - - - - - - - CII-SR-042 - warning - - - - [CII-SR-042] - ID should not be present - - - - - - - - - CII-SR-043 - warning - - - - [CII-SR-043] - CategoryCode should not be present - - - - - - - - - CII-SR-044 - warning - - - - [CII-SR-044] - Subject should not be present - - - - - - - - - CII-SR-221 - warning - - - - [CII-SR-221] - IncludedSubordinateTradeLineItem should not be present - - - - - - - - - - - - - - CII-SR-045 - warning - - - - [CII-SR-045] - ID should not be present - - - - - - - - - CII-SR-046 - fatal - - - - [CII-SR-046] - schemeID must be present if GlobalID is present - - - - - - - - - CII-SR-048 - warning - - - - [CII-SR-048] - ManufacturerAssignedID should not be present - - - - - - - - - CII-SR-049 - warning - - - - [CII-SR-049] - TradeName should not be present - - - - - - - - - CII-SR-050 - warning - - - - [CII-SR-050] - TypeCode should not be present - - - - - - - - - CII-SR-051 - warning - - - - [CII-SR-051] - NetWeightMeasure should not be present - - - - - - - - - CII-SR-052 - warning - - - - [CII-SR-052] - GrossWeightMeasure should not be present - - - - - - - - - CII-SR-053 - warning - - - - [CII-SR-053] - ProductGroupID should not be present - - - - - - - - - CII-SR-054 - warning - - - - [CII-SR-054] - EndItemTypeCode should not be present - - - - - - - - - CII-SR-055 - warning - - - - [CII-SR-055] - EndItemName should not be present - - - - - - - - - CII-SR-056 - warning - - - - [CII-SR-056] - AreaDensityMeasure should not be present - - - - - - - - - CII-SR-057 - warning - - - - [CII-SR-057] - UseDescription should not be present - - - - - - - - - CII-SR-058 - warning - - - - [CII-SR-058] - BrandName should not be present - - - - - - - - - CII-SR-059 - warning - - - - [CII-SR-059] - SubBrandName should not be present - - - - - - - - - CII-SR-060 - warning - - - - [CII-SR-060] - DrainedNetWeightMeasure should not be present - - - - - - - - - CII-SR-061 - warning - - - - [CII-SR-061] - VariableMeasureIndicator should not be present - - - - - - - - - CII-SR-062 - warning - - - - [CII-SR-062] - ColourCode should not be present - - - - - - - - - CII-SR-063 - warning - - - - [CII-SR-063] - ColourDescription should not be present - - - - - - - - - CII-SR-064 - warning - - - - [CII-SR-064] - Designation should not be present - - - - - - - - - CII-SR-065 - warning - - - - [CII-SR-065] - FormattedCancellationAnnouncedLaunchDateTime should not be present - - - - - - - - - CII-SR-066 - warning - - - - [CII-SR-066] - FormattedLatestProductDataChangeDateTime should not be present - - - - - - - - - CII-SR-067 - warning - - - - [CII-SR-067] - ID should not be present - - - - - - - - - CII-SR-068 - warning - - - - [CII-SR-068] - TypeCode should not be present - - - - - - - - - CII-SR-070 - warning - - - - [CII-SR-070] - ValueMeasure should not be present - - - - - - - - - CII-SR-071 - warning - - - - [CII-SR-071] - MeasurementMethodCode should not be present - - - - - - - - - CII-SR-073 - warning - - - - [CII-SR-073] - ValueCode should not be present - - - - - - - - - CII-SR-074 - warning - - - - [CII-SR-074] - ValueDateTime should not be present - - - - - - - - - CII-SR-075 - warning - - - - [CII-SR-075] - ValueIndicator should not be present - - - - - - - - - CII-SR-076 - warning - - - - [CII-SR-076] - ContentTypeCode should not be present - - - - - - - - - CII-SR-077 - warning - - - - [CII-SR-077] - ValueSpecifiedBinaryFile should not be present - - - - - - - - - CII-SR-078 - warning - - - - [CII-SR-078] - ApplicableProductCharacteristicCondition should not be present - - - - - - - - - CII-SR-079 - warning - - - - [CII-SR-079] - ApplicableReferencedStandard should not be present - - - - - - - - - CII-SR-080 - warning - - - - [CII-SR-080] - ApplicableMaterialGoodsCharacteristic should not be present - - - - - - - - - CII-SR-081 - warning - - - - [CII-SR-081] - SystemID should not be present - - - - - - - - - CII-SR-082 - warning - - - - [CII-SR-082] - SystemName should not be present - - - - - - - - - CII-SR-083 - warning - - - - [CII-SR-083] - ClassName should not be present - - - - - - - - - CII-SR-084 - warning - - - - [CII-SR-084] - SubClassCode should not be present - - - - - - - - - CII-SR-085 - warning - - - - [CII-SR-085] - ClassProductCharacteristic should not be present - - - - - - - - - CII-SR-086 - warning - - - - [CII-SR-086] - ApplicableReferencedStandard should not be present - - - - - - - - - CII-SR-087 - warning - - - - [CII-SR-087] - IndividualTradeProductInstance should not be present - - - - - - - - - CII-SR-088 - warning - - - - [CII-SR-088] - CertificationEvidenceReferenceReferencedDocument should not be present - - - - - - - - - CII-SR-089 - warning - - - - [CII-SR-089] - InspectionReferenceReferencedDocument should not be present - - - - - - - - - CII-SR-090 - fatal - - - - [CII-SR-090] - ID should exist maximum once. - - - - - - - - - CII-SR-091 - warning - - - - [CII-SR-091] - Name should not be present - - - - - - - - - CII-SR-092 - warning - - - - [CII-SR-092] - SubordinateTradeCountrySubDivision should not be present - - - - - - - - - CII-SR-093 - warning - - - - [CII-SR-093] - LinearSpatialDimension should not be present - - - - - - - - - CII-SR-094 - warning - - - - [CII-SR-094] - MinimumLinearSpatialDimension should not be present - - - - - - - - - CII-SR-095 - warning - - - - [CII-SR-095] - MaximumLinearSpatialDimension should not be present - - - - - - - - - CII-SR-096 - warning - - - - [CII-SR-096] - ManufacturerTradeParty should not be present - - - - - - - - - CII-SR-097 - warning - - - - [CII-SR-097] - PresentationSpecifiedBinaryFile should not be present - - - - - - - - - CII-SR-098 - warning - - - - [CII-SR-098] - MSDSReferenceReferencedDocument should not be present - - - - - - - - - CII-SR-099 - warning - - - - [CII-SR-099] - AdditionalReferenceReferencedDocument should not be present - - - - - - - - - CII-SR-100 - warning - - - - [CII-SR-100] - LegalRightsOwnerTradeParty should not be present - - - - - - - - - CII-SR-101 - warning - - - - [CII-SR-101] - BrandOwnerTradeParty should not be present - - - - - - - - - CII-SR-102 - warning - - - - [CII-SR-102] - IncludedReferencedProduct should not be present - - - - - - - - - CII-SR-103 - warning - - - - [CII-SR-103] - InformationNote should not be present - - - - - - - - - - - - - - CII-SR-069 - fatal - - - - [CII-SR-069] - Description should exist maximum once. - - - - - - - - - CII-SR-072 - fatal - - - - [CII-SR-072] - Value should exist maximum once. - - - - - - - - - - - - - - CII-SR-104 - warning - - - - [CII-SR-104] - BuyerReference should not be present - - - - - - - - - CII-SR-105 - warning - - - - [CII-SR-105] - BuyerRequisitionerTradeParty should not be present - - - - - - - - - CII-SR-106 - warning - - - - [CII-SR-106] - ApplicableTradeDeliveryTerms should not be present - - - - - - - - - CII-SR-107 - warning - - - - [CII-SR-107] - SellerOrderReferencedDocument should not be present - - - - - - - - - CII-SR-108 - warning - - - - [CII-SR-108] - IssuerAssignedID should not be present - - - - - - - - - CII-SR-109 - warning - - - - [CII-SR-109] - QuotationReferencedDocument should not be present - - - - - - - - - CII-SR-110 - warning - - - - [CII-SR-110] - ContractReferencedDocument should not be present - - - - - - - - - CII-SR-111 - warning - - - - [CII-SR-111] - DemandForecastReferencedDocument should not be present - - - - - - - - - CII-SR-112 - warning - - - - [CII-SR-112] - PromotionalDealReferencedDocument should not be present - - - - - - - - - CII-SR-113 - warning - - - - [CII-SR-113] - AdditionalReferencedDocument should not be present - - - - - - - - - CII-SR-114 - warning - - - - [CII-SR-114] - TypeCode should not be present - - - - - - - - - CII-SR-115 - warning - - - - [CII-SR-115] - MinimumQuantity should not be present - - - - - - - - - CII-SR-116 - warning - - - - [CII-SR-116] - MaximumQuantity should not be present - - - - - - - - - CII-SR-117 - warning - - - - [CII-SR-117] - ChangeReason should not be present - - - - - - - - - CII-SR-118 - warning - - - - [CII-SR-118] - OrderUnitConversionFactorNumeric should not be present - - - - - - - - - CII-SR-439 - fatal - - - - [CII-SR-439] - ChargeAmount should exist maximum once - - - - - - - - - CII-SR-119 - warning - - - - [CII-SR-119] - Only allowances on price a price should be present - - - - - - - - - CII-SR-120 - warning - - - - [CII-SR-120] - ID should not be present - - - - - - - - - CII-SR-121 - warning - - - - [CII-SR-121] - SequenceNumeric should not be present - - - - - - - - - CII-SR-122 - warning - - - - [CII-SR-122] - CalculationPercent should not be present - - - - - - - - - CII-SR-123 - warning - - - - [CII-SR-123] - BasisAmount should not be present - - - - - - - - - CII-SR-124 - warning - - - - [CII-SR-124] - BasisQuantityshould not be present - - - - - - - - - CII-SR-125 - warning - - - - [CII-SR-125] - PrepaidIndicator should not be present - - - - - - - - - CII-SR-126 - warning - - - - [CII-SR-126] - UnitBasisAmount should not be present - - - - - - - - - CII-SR-127 - warning - - - - [CII-SR-127] - ReasonCode should not be present - - - - - - - - - CII-SR-128 - warning - - - - [CII-SR-128] - Reason should not be present - - - - - - - - - CII-SR-129 - warning - - - - [CII-SR-129] - TypeCode should not be present - - - - - - - - - CII-SR-130 - warning - - - - [CII-SR-130] - CategoryTradeTax should not be present - - - - - - - - - CII-SR-131 - warning - - - - [CII-SR-131] - ActualTradeCurrencyExchange should not be present - - - - - - - - - CII-SR-440 - fatal - - - - [CII-SR-440] - ActualAmount should exist maximum once - - - - - - - - - CII-SR-445 - warning - - - - [CII-SR-445] - IncludedTradeTax should not be present - - - - - - - - - CII-SR-132 - warning - - - - [CII-SR-132] - ValiditySpecifiedPeriod should not be present - - - - - - - - - CII-SR-133 - warning - - - - [CII-SR-133] - DeliveryTradeLocation should not be present - - - - - - - - - CII-SR-134 - warning - - - - [CII-SR-134] - TradeComparisonReferencePrice should not be present - - - - - - - - - CII-SR-135 - warning - - - - [CII-SR-135] - AssociatedReferencedDocument should not be present - - - - - - - - - CII-SR-136 - warning - - - - [CII-SR-136] - TypeCode should not be present - - - - - - - - - CII-SR-138 - warning - - - - [CII-SR-138] - MinimumQuantity should not be present - - - - - - - - - CII-SR-139 - warning - - - - [CII-SR-139] - MaximumQuantity should not be present - - - - - - - - - CII-SR-140 - warning - - - - [CII-SR-140] - ChangeReason should not be present - - - - - - - - - CII-SR-141 - warning - - - - [CII-SR-141] - OrderUnitConversionFactorNumeric should not be present - - - - - - - - - CII-SR-142 - warning - - - - [CII-SR-142] - AppliedTradeAllowanceCharge should not be present - - - - - - - - - CII-SR-446 - warning - - - - [CII-SR-446] - IncludedTradeTax should not be present - - - - - - - - - CII-SR-143 - warning - - - - [CII-SR-143] - ValiditySpecifiedPeriod should not be present - - - - - - - - - CII-SR-144 - warning - - - - [CII-SR-144] - DeliveryTradeLocation should not be present - - - - - - - - - CII-SR-145 - warning - - - - [CII-SR-145] - TradeComparisonReferencePrice should not be present - - - - - - - - - CII-SR-146 - warning - - - - [CII-SR-146] - AssociatedReferencedDocument should not be present - - - - - - - - - CII-SR-441 - fatal - - - - [CII-SR-441] - ChargeAmount should exist maximum once - - - - - - - - - CII-SR-147 - warning - - - - [CII-SR-147] - RequisitionerReferencedDocument should not be present - - - - - - - - - CII-SR-148 - warning - - - - [CII-SR-148] - ItemSellerTradeParty should not be present - - - - - - - - - CII-SR-149 - warning - - - - [CII-SR-149] - ItemBuyerTradeParty should not be present - - - - - - - - - CII-SR-150 - warning - - - - [CII-SR-150] - IncludedSpecifiedMarketplace should not be present - - - - - - - - - CII-SR-447 - warning - - - - [CII-SR-447] - UltimateCustomerOrderReferencedDocument should not be present - - - - - - - - - - - - - - CII-SR-151 - warning - - - - [CII-SR-151] - RequestedQuantity should not be present - - - - - - - - - CII-SR-152 - warning - - - - [CII-SR-152] - ReceivedQuantity should not be present - - - - - - - - - CII-SR-153 - warning - - - - [CII-SR-153] - ChargeFreeQuantity should not be present - - - - - - - - - CII-SR-154 - warning - - - - [CII-SR-154] - PackageQuantity should not be present - - - - - - - - - CII-SR-155 - warning - - - - [CII-SR-155] - ProductUnitQuantity should not be present - - - - - - - - - CII-SR-156 - warning - - - - [CII-SR-156] - PerPackageUnitQuantity should not be present - - - - - - - - - CII-SR-157 - warning - - - - [CII-SR-157] - NetWeightMeasure should not be present - - - - - - - - - CII-SR-158 - warning - - - - [CII-SR-158] - GrossWeightMeasure should not be present - - - - - - - - - CII-SR-159 - warning - - - - [CII-SR-159] - TheoreticalWeightMeasure should not be present - - - - - - - - - CII-SR-160 - warning - - - - [CII-SR-160] - DespatchedQuantity should not be present - - - - - - - - - CII-SR-161 - warning - - - - [CII-SR-161] - SpecifiedDeliveryAdjustment should not be present - - - - - - - - - CII-SR-162 - warning - - - - [CII-SR-162] - IncludedSupplyChainPackaging should not be present - - - - - - - - - CII-SR-163 - warning - - - - [CII-SR-163] - RelatedSupplyChainConsignment should not be present - - - - - - - - - CII-SR-164 - warning - - - - [CII-SR-164] - ShipToTradeParty should not be present - - - - - - - - - CII-SR-165 - warning - - - - [CII-SR-165] - UltimateShipToTradeParty should not be present - - - - - - - - - CII-SR-166 - warning - - - - [CII-SR-166] - ShipFromTradeParty should not be present - - - - - - - - - CII-SR-167 - warning - - - - [CII-SR-167] - ActualDespatchSupplyChainEvent should not be present - - - - - - - - - CII-SR-168 - warning - - - - [CII-SR-168] - ActualPickUpSupplyChainEvent should not be present - - - - - - - - - CII-SR-169 - warning - - - - [CII-SR-169] - RequestedDeliverySupplyChainEvent should not be present - - - - - - - - - CII-SR-170 - warning - - - - [CII-SR-170] - ActualDeliverySupplyChainEvent should not be present - - - - - - - - - CII-SR-171 - warning - - - - [CII-SR-171] - ActualReceiptSupplyChainEvent should not be present - - - - - - - - - CII-SR-172 - warning - - - - [CII-SR-172] - AdditionalReferencedDocument should not be present - - - - - - - - - CII-SR-173 - warning - - - - [CII-SR-173] - DespatchAdviceReferencedDocument should not be present - - - - - - - - - CII-SR-174 - warning - - - - [CII-SR-174] - ReceivingAdviceReferencedDocument should not be present - - - - - - - - - CII-SR-175 - warning - - - - [CII-SR-175] - DeliveryNoteReferencedDocument should not be present - - - - - - - - - CII-SR-176 - warning - - - - [CII-SR-176] - ConsumptionReportReferencedDocument should not be present - - - - - - - - - CII-SR-177 - warning - - - - [CII-SR-177] - RequestedQuantity should not be present - - - - - - - - - - - - - - CII-SR-178 - warning - - - - [CII-SR-178] - PaymentReference should not be present - - - - - - - - - CII-SR-179 - warning - - - - [CII-SR-179] - InvoiceIssuerReference should not be present - - - - - - - - - CII-SR-180 - warning - - - - [CII-SR-180] - TotalAdjustmentAmount should not be present - - - - - - - - - CII-SR-181 - warning - - - - [CII-SR-181] - DiscountIndicator should not be present - - - - - - - - - CII-SR-182 - warning - - - - [CII-SR-182] - CalculatedAmount should not be present - - - - - - - - - CII-SR-183 - warning - - - - [CII-SR-183] - IndicatorString should not be present - - - - - - - - - CII-SR-184 - warning - - - - [CII-SR-184] - ID should not be present - - - - - - - - - CII-SR-185 - warning - - - - [CII-SR-185] - SequenceNumeric should not be present - - - - - - - - - CII-SR-186 - warning - - - - [CII-SR-186] - @format should not be present - - - - - - - - - CII-SR-187 - warning - - - - [CII-SR-187] - BasisQuantity should not be present - - - - - - - - - CII-SR-188 - warning - - - - [CII-SR-188] - PrepaidIndicator should not be present - - - - - - - - - CII-SR-189 - warning - - - - [CII-SR-189] - UnitBasisAmount should not be present - - - - - - - - - CII-SR-190 - warning - - - - [CII-SR-190] - TypeCode should not be present - - - - - - - - - CII-SR-191 - warning - - - - [CII-SR-191] - CategoryTradeTax should not be present - - - - - - - - - CII-SR-192 - warning - - - - [CII-SR-192] - ActualTradeCurrencyExchange should not be present - - - - - - - - - CII-SR-193 - warning - - - - [CII-SR-193] - ID should not be present - - - - - - - - - CII-SR-194 - warning - - - - [CII-SR-194] - SubtotalCalculatedTradeTax should not be present - - - - - - - - - CII-SR-195 - warning - - - - [CII-SR-195] - SpecifiedLogisticsServiceCharge should not be present - - - - - - - - - CII-SR-196 - warning - - - - [CII-SR-196] - SpecifiedTradePaymentTerms should not be present - - - - - - - - - CII-SR-197 - warning - - - - [CII-SR-197] - ChargeTotalAmount should not be present - - - - - - - - - CII-SR-198 - warning - - - - [CII-SR-198] - AllowanceTotalAmount should not be present - - - - - - - - - CII-SR-199 - warning - - - - [CII-SR-199] - TaxBasisTotalAmount should not be present - - - - - - - - - CII-SR-200 - warning - - - - [CII-SR-200] - TaxTotalAmount should not be present - - - - - - - - - CII-SR-201 - warning - - - - [CII-SR-201] - GrandTotalAmount should not be present - - - - - - - - - CII-SR-202 - warning - - - - [CII-SR-202] - InformationAmount should not be present - - - - - - - - - CII-SR-203 - warning - - - - [CII-SR-203] - TotalAllowanceChargeAmount should not be present - - - - - - - - - CII-SR-204 - warning - - - - [CII-SR-204] - TotalRetailValueInformationAmount should not be present - - - - - - - - - CII-SR-205 - warning - - - - [CII-SR-205] - GrossLineTotalAmount should not be present - - - - - - - - - CII-SR-206 - warning - - - - [CII-SR-206] - NetLineTotalAmount should not be present - - - - - - - - - CII-SR-207 - warning - - - - [CII-SR-207] - NetIncludingTaxesLineTotalAmount should not be present - - - - - - - - - CII-SR-208 - warning - - - - [CII-SR-208] - ProductWeightLossInformationAmount should not be present - - - - - - - - - CII-SR-209 - warning - - - - [CII-SR-209] - SpecifiedFinancialAdjustment should not be present - - - - - - - - - CII-SR-210 - warning - - - - [CII-SR-210] - InvoiceReferencedDocument should not be present - - - - - - - - - CII-SR-212 - warning - - - - [CII-SR-212] - PayableSpecifiedTradeAccountingAccount should not be present - - - - - - - - - CII-SR-213 - warning - - - - [CII-SR-213] - SetTriggerCode should not be present - - - - - - - - - CII-SR-214 - warning - - - - [CII-SR-214] - TypeCode should not be present - - - - - - - - - CII-SR-215 - warning - - - - [CII-SR-215] - AmountTypeCode should not be present - - - - - - - - - CII-SR-216 - warning - - - - [CII-SR-216] - Name should not be present - - - - - - - - - CII-SR-217 - warning - - - - [CII-SR-217] - CostReferenceDimensionPattern should not be present - - - - - - - - - CII-SR-218 - warning - - - - [CII-SR-218] - PurchaseSpecifiedTradeAccountingAccount should not be present - - - - - - - - - CII-SR-219 - warning - - - - [CII-SR-219] - SalesSpecifiedTradeAccountingAccount should not be present - - - - - - - - - CII-SR-220 - warning - - - - [CII-SR-220] - SpecifiedTradeSettlementFinancialCard should not be present - - - - - - - - - - - - - - CII-SR-442 - warning - - - - [CII-SR-442] - Reference should not be present - - - - - - - - - CII-SR-222 - warning - - - - [CII-SR-222] - RoleCode should not be present - - - - - - - - - CII-SR-223 - warning - - - - [CII-SR-223] - LegalClassificationCode should not be present - - - - - - - - - CII-SR-224 - warning - - - - [CII-SR-224] - Name should not be present - - - - - - - - - CII-SR-225 - warning - - - - [CII-SR-225] - PostalTradeAddress should not be present - - - - - - - - - CII-SR-226 - warning - - - - [CII-SR-226] - RoleCode should not be present - - - - - - - - - CII-SR-227 - warning - - - - [CII-SR-227] - ID should not be present - - - - - - - - - CII-SR-228 - warning - - - - [CII-SR-228] - TypeCode should not be present - - - - - - - - - CII-SR-229 - warning - - - - [CII-SR-229] - JobTitle should not be present - - - - - - - - - CII-SR-230 - warning - - - - [CII-SR-230] - Responsibility should not be present - - - - - - - - - CII-SR-231 - warning - - - - [CII-SR-231] - PersonID should not be present - - - - - - - - - CII-SR-232 - warning - - - - [CII-SR-232] - URIID should not be present - - - - - - - - - CII-SR-233 - warning - - - - [CII-SR-233] - ChannelCode should not be present - - - - - - - - - CII-SR-234 - warning - - - - [CII-SR-234] - DirectTelephoneUniversalCommunication should not be present - - - - - - - - - CII-SR-235 - warning - - - - [CII-SR-235] - MobileTelephoneUniversalCommunication should not be present - - - - - - - - - CII-SR-236 - warning - - - - [CII-SR-236] - FaxUniversalCommunication should not be present - - - - - - - - - CII-SR-237 - warning - - - - [CII-SR-237] - ChannelCode should not be present - - - - - - - - - CII-SR-238 - warning - - - - [CII-SR-238] - CompleteNumber should not be present - - - - - - - - - CII-SR-239 - warning - - - - [CII-SR-239] - TelexUniversalCommunication should not be present - - - - - - - - - CII-SR-240 - warning - - - - [CII-SR-240] - VOIPUniversalCommunication should not be present - - - - - - - - - CII-SR-241 - warning - - - - [CII-SR-241] - InstantMessagingUniversalCommunication should not be present - - - - - - - - - CII-SR-242 - warning - - - - [CII-SR-242] - SpecifiedNote should not be present - - - - - - - - - CII-SR-243 - warning - - - - [CII-SR-243] - SpecifiedContactPerson should not be present - - - - - - - - - CII-SR-244 - warning - - - - [CII-SR-244] - ChannelCode should not be present - - - - - - - - - CII-SR-245 - warning - - - - [CII-SR-245] - CompleteNumber should not be present - - - - - - - - - CII-SR-246 - warning - - - - [CII-SR-246] - AssociatedRegisteredTax should not be present - - - - - - - - - CII-SR-247 - warning - - - - [CII-SR-247] - EndPointURIUniversalCommunication should not be present - - - - - - - - - CII-SR-248 - warning - - - - [CII-SR-248] - LogoAssociatedSpecifiedBinaryFile should not be present - - - - - - - - - CII-SR-249 - warning - - - - [CII-SR-249] - RoleCode should not be present - - - - - - - - - CII-SR-250 - warning - - - - [CII-SR-250] - Description should not be present - - - - - - - - - CII-SR-251 - warning - - - - [CII-SR-251] - LegalClassificationCode should not be present - - - - - - - - - CII-SR-252 - warning - - - - [CII-SR-252] - Name should not be present - - - - - - - - - CII-SR-254 - warning - - - - [CII-SR-254] - PostalTradeAddress should not be present - - - - - - - - - CII-SR-255 - warning - - - - [CII-SR-255] - AuthorizedLegalRegistration should not be present - - - - - - - - - CII-SR-256 - warning - - - - [CII-SR-256] - ID should not be present - - - - - - - - - CII-SR-257 - warning - - - - [CII-SR-257] - TypeCode should not be present - - - - - - - - - CII-SR-258 - warning - - - - [CII-SR-258] - JobTitle should not be present - - - - - - - - - CII-SR-259 - warning - - - - [CII-SR-259] - Responsibility should not be present - - - - - - - - - CII-SR-260 - warning - - - - [CII-SR-260] - PersonID should not be present - - - - - - - - - CII-SR-261 - warning - - - - [CII-SR-261] - URIID should not be present - - - - - - - - - CII-SR-262 - warning - - - - [CII-SR-262] - ChannelCode should not be present - - - - - - - - - CII-SR-263 - warning - - - - [CII-SR-263] - DirectTelephoneUniversalCommunication should not be present - - - - - - - - - CII-SR-264 - warning - - - - [CII-SR-264] - MobileTelephoneUniversalCommunication should not be present - - - - - - - - - CII-SR-265 - warning - - - - [CII-SR-265] - FaxUniversalCommunication should not be present - - - - - - - - - CII-SR-266 - warning - - - - [CII-SR-266] - ChannelCode should not be present - - - - - - - - - CII-SR-267 - warning - - - - [CII-SR-267] - CompleteNumber should not be present - - - - - - - - - CII-SR-268 - warning - - - - [CII-SR-268] - TelexUniversalCommunication should not be present - - - - - - - - - CII-SR-269 - warning - - - - [CII-SR-269] - VOIPUniversalCommunication should not be present - - - - - - - - - CII-SR-270 - warning - - - - [CII-SR-270] - InstantMessagingUniversalCommunication should not be present - - - - - - - - - CII-SR-271 - warning - - - - [CII-SR-271] - SpecifiedNote should not be present - - - - - - - - - CII-SR-272 - warning - - - - [CII-SR-272] - SpecifiedContactPerson should not be present - - - - - - - - - CII-SR-273 - warning - - - - [CII-SR-273] - ChannelCode should not be present - - - - - - - - - CII-SR-274 - warning - - - - [CII-SR-274] - CompleteNumber should not be present - - - - - - - - - CII-SR-275 - warning - - - - [CII-SR-275] - AssociatedRegisteredTax should not be present - - - - - - - - - CII-SR-276 - warning - - - - [CII-SR-276] - EndPointURIUniversalCommunication should not be present - - - - - - - - - CII-SR-277 - warning - - - - [CII-SR-277] - LogoAssociatedSpecifiedBinaryFile should not be present - - - - - - - - - CII-SR-278 - warning - - - - [CII-SR-278] - SalesAgentTradeParty should not be present - - - - - - - - - CII-SR-279 - warning - - - - [CII-SR-279] - BuyerRequisitionerTradeParty should not be present - - - - - - - - - CII-SR-280 - warning - - - - [CII-SR-280] - BuyerAssignedAccountantTradeParty should not be present - - - - - - - - - CII-SR-281 - warning - - - - [CII-SR-281] - SellerAssignedAccountantTradeParty should not be present - - - - - - - - - CII-SR-282 - warning - - - - [CII-SR-282] - BuyerTaxRepresentativeTradeParty should not be present - - - - - - - - - CII-SR-283 - warning - - - - [CII-SR-283] - GlobalID should not be present - - - - - - - - - CII-SR-284 - warning - - - - [CII-SR-284] - RoleCode should not be present - - - - - - - - - CII-SR-285 - warning - - - - [CII-SR-285] - Description should not be present - - - - - - - - - CII-SR-286 - warning - - - - [CII-SR-286] - SpecifiedLegalOrganization should not be present - - - - - - - - - CII-SR-287 - warning - - - - [CII-SR-287] - DefinedTradeContact should not be present - - - - - - - - - CII-SR-288 - warning - - - - [CII-SR-288] - URIUniversalCommunication should not be present - - - - - - - - - CII-SR-289 - warning - - - - [CII-SR-289] - AssociatedRegisteredTax should not be present - - - - - - - - - CII-SR-290 - warning - - - - [CII-SR-290] - EndPointURIUniversalCommunication should not be present - - - - - - - - - CII-SR-291 - warning - - - - [CII-SR-291] - LogoAssociatedSpecifiedBinaryFile should not be present - - - - - - - - - CII-SR-292 - warning - - - - [CII-SR-292] - ProductEndUserTradeParty should not be present - - - - - - - - - CII-SR-293 - warning - - - - [CII-SR-293] - ApplicableTradeDeliveryTerms should not be present - - - - - - - - - CII-SR-294 - warning - - - - [CII-SR-294] - LineID should not be present - - - - - - - - - CII-SR-295 - warning - - - - [CII-SR-295] - LineID should not be present - - - - - - - - - CII-SR-296 - warning - - - - [CII-SR-296] - QuotationReferencedDocument should not be present - - - - - - - - - CII-SR-297 - warning - - - - [CII-SR-297] - OrderResponseReferencedDocument should not be present - - - - - - - - - CII-SR-298 - warning - - - - [CII-SR-298] - LineID should not be present - - - - - - - - - CII-SR-299 - warning - - - - [CII-SR-299] - DemandForecastReferencedDocument should not be present - - - - - - - - - CII-SR-300 - warning - - - - [CII-SR-300] - SupplyInstructionReferencedDocument should not be present - - - - - - - - - CII-SR-301 - warning - - - - [CII-SR-301] - PromotionalDealReferencedDocument should not be present - - - - - - - - - CII-SR-302 - warning - - - - [CII-SR-302] - PriceListReferencedDocument should not be present - - - - - - - - - CII-SR-303 - warning - - - - [CII-SR-303] - LineID should not be present - - - - - - - - - CII-SR-304 - warning - - - - [CII-SR-304] - RequisitionerReferencedDocument should not be present - - - - - - - - - CII-SR-305 - warning - - - - [CII-SR-305] - BuyerAgentTradeParty should not be present - - - - - - - - - CII-SR-306 - warning - - - - [CII-SR-306] - PurchaseConditionsReferencedDocument should not be present - - - - - - - - - CII-SR-307 - warning - - - - [CII-SR-307] - Description should not be present - - - - - - - - - CII-SR-448 - warning - - - - [CII-SR-448] - UltimateCustomerOrderReferencedDocument should not be present - - - - - - - - - CII-SR-450 - warning - - - - [CII-SR-450] - Only one buyer identifier should be present (either the ID or the Global ID) - - - - - - - - - - - - - - CII-SR-308 - warning - - - - [CII-SR-308] - RelatedSupplyChainConsignment should not be present - - - - - - - - - CII-SR-309 - warning - - - - [CII-SR-309] - RoleCode should not be present - - - - - - - - - CII-SR-310 - warning - - - - [CII-SR-310] - Description should not be present - - - - - - - - - CII-SR-311 - warning - - - - [CII-SR-311] - SpecifiedLegalOrganization should not be present - - - - - - - - - CII-SR-312 - warning - - - - [CII-SR-312] - DefinedTradeContact should not be present - - - - - - - - - CII-SR-313 - warning - - - - [CII-SR-313] - URIUniversalCommunication should not be present - - - - - - - - - CII-SR-314 - warning - - - - [CII-SR-314] - SpecifiedTaxRegistration should not be present - - - - - - - - - CII-SR-315 - warning - - - - [CII-SR-315] - EndPointURIUniversalCommunication should not be present - - - - - - - - - CII-SR-316 - warning - - - - [CII-SR-316] - LogoAssociatedSpecifiedBinaryFile should not be present - - - - - - - - - CII-SR-317 - warning - - - - [CII-SR-317] - UltimateShipToTradeParty should not be present - - - - - - - - - CII-SR-318 - warning - - - - [CII-SR-318] - ShipFromTradeParty should not be present - - - - - - - - - CII-SR-319 - warning - - - - [CII-SR-319] - ActualDespatchSupplyChainEvent should not be present - - - - - - - - - CII-SR-320 - warning - - - - [CII-SR-320] - ActualPickUpSupplyChainEvent should not be present - - - - - - - - - CII-SR-321 - warning - - - - [CII-SR-321] - ID should not be present - - - - - - - - - CII-SR-322 - warning - - - - [CII-SR-322] - DateTime should not be present - - - - - - - - - CII-SR-323 - warning - - - - [CII-SR-323] - TypeCode should not be present - - - - - - - - - CII-SR-324 - warning - - - - [CII-SR-324] - Description should not be present - - - - - - - - - CII-SR-325 - warning - - - - [CII-SR-325] - DescriptionBinaryObject should not be present - - - - - - - - - CII-SR-326 - warning - - - - [CII-SR-326] - UnitQuantity should not be present - - - - - - - - - CII-SR-327 - warning - - - - [CII-SR-327] - LatestOccurrenceDateTime should not be present - - - - - - - - - CII-SR-328 - warning - - - - [CII-SR-328] - EarliestOccurrenceDateTime should not be present - - - - - - - - - CII-SR-329 - warning - - - - [CII-SR-329] - OccurrenceSpecifiedPeriod should not be present - - - - - - - - - CII-SR-330 - warning - - - - [CII-SR-330] - OccurrenceLogisticsLocation should not be present - - - - - - - - - CII-SR-331 - warning - - - - [CII-SR-331] - ActualReceiptSupplyChainEvent should not be present - - - - - - - - - CII-SR-332 - warning - - - - [CII-SR-332] - AdditionalReferencedDocument should not be present - - - - - - - - - CII-SR-333 - warning - - - - [CII-SR-333] - LineID should not be present - - - - - - - - - CII-SR-334 - warning - - - - [CII-SR-334] - LineID should not be present - - - - - - - - - CII-SR-335 - warning - - - - [CII-SR-335] - DeliveryNoteReferencedDocument should not be present - - - - - - - - - CII-SR-336 - warning - - - - [CII-SR-336] - ConsumptionReportReferencedDocument should not be present - - - - - - - - - CII-SR-337 - warning - - - - [CII-SR-337] - PreviousDeliverySupplyChainEvent should not be present - - - - - - - - - CII-SR-338 - warning - - - - [CII-SR-338] - PackingListReferencedDocument should not be present - - - - - - - - - CII-SR-449 - warning - - - - [CII-SR-449] - Only one delivery to location identifier should be present (either the ID or the Global ID) - - - - - - - - - - - - - - CII-SR-339 - warning - - - - [CII-SR-339] - DuePayableAmount should not be present - - - - - - - - - CII-SR-340 - warning - - - - [CII-SR-340] - CreditorReferenceTypeCode should not be present - - - - - - - - - CII-SR-341 - warning - - - - [CII-SR-341] - CreditorReferenceType should not be present - - - - - - - - - CII-SR-342 - warning - - - - [CII-SR-342] - CreditorReferenceIssuerID should not be present - - - - - - - - - CII-SR-344 - warning - - - - [CII-SR-344] - PaymentCurrencyCode should not be present - - - - - - - - - CII-SR-345 - warning - - - - [CII-SR-345] - InvoiceIssuerReference should not be present - - - - - - - - - CII-SR-346 - warning - - - - [CII-SR-346] - InvoiceDateTime should not be present - - - - - - - - - CII-SR-347 - warning - - - - [CII-SR-347] - NextInvoiceDateTime should not be present - - - - - - - - - CII-SR-348 - warning - - - - [CII-SR-348] - CreditReasonCode should not be present - - - - - - - - - CII-SR-349 - warning - - - - [CII-SR-349] - CreditReason should not be present - - - - - - - - - CII-SR-350 - warning - - - - [CII-SR-350] - InvoicerTradeParty should not be present - - - - - - - - - CII-SR-351 - warning - - - - [CII-SR-351] - InvoiceeTradeParty should not be present - - - - - - - - - CII-SR-352 - warning - - - - [CII-SR-352] - RoleCode should not be present - - - - - - - - - CII-SR-353 - warning - - - - [CII-SR-353] - Description should not be present - - - - - - - - - CII-SR-354 - warning - - - - [CII-SR-354] - LegalClassificationCode should not be present - - - - - - - - - CII-SR-355 - warning - - - - [CII-SR-355] - Name should not be present - - - - - - - - - CII-SR-356 - warning - - - - [CII-SR-356] - TradingBusinessName should not be present - - - - - - - - - CII-SR-357 - warning - - - - [CII-SR-357] - PostalTradeAddress should not be present - - - - - - - - - CII-SR-358 - warning - - - - [CII-SR-358] - AuthorizedLegalRegistration should not be present - - - - - - - - - CII-SR-359 - warning - - - - [CII-SR-359] - DefinedTradeContact should not be present - - - - - - - - - CII-SR-360 - warning - - - - [CII-SR-360] - PostalTradeAddress should not be present - - - - - - - - - CII-SR-361 - warning - - - - [CII-SR-361] - URIUniversalCommunication should not be present - - - - - - - - - CII-SR-362 - warning - - - - [CII-SR-362] - SpecifiedTaxRegistration should not be present - - - - - - - - - CII-SR-363 - warning - - - - [CII-SR-363] - EndPointURIUniversalCommunication should not be present - - - - - - - - - CII-SR-364 - warning - - - - [CII-SR-364] - LogoAssociatedSpecifiedBinaryFile should not be present - - - - - - - - - CII-SR-451 - warning - - - - [CII-SR-451] - Only one payee identifier should be present (either the ID or the Global ID) - - - - - - - - - CII-SR-365 - warning - - - - [CII-SR-365] - PayerTradeParty should not be present - - - - - - - - - CII-SR-366 - warning - - - - [CII-SR-366] - TaxApplicableTradeCurrencyExchange should not be present - - - - - - - - - CII-SR-367 - warning - - - - [CII-SR-367] - InvoiceApplicableTradeCurrencyExchange should not be present - - - - - - - - - CII-SR-368 - warning - - - - [CII-SR-368] - PaymentApplicableTradeCurrencyExchange should not be present - - - - - - - - - CII-SR-369 - warning - - - - [CII-SR-369] - PaymentChannelCode should not be present - - - - - - - - - CII-SR-370 - warning - - - - [CII-SR-370] - GuaranteeMethodCode should not be present - - - - - - - - - CII-SR-371 - warning - - - - [CII-SR-371] - PaymentMethodCode should not be present - - - - - - - - - CII-SR-443 - warning - - - - [CII-SR-443] - ID should not be present - - - - - - - - - CII-SR-372 - warning - - - - [CII-SR-372] - MicrochipIndicator should not be present - - - - - - - - - CII-SR-373 - warning - - - - [CII-SR-373] - TypeCode should not be present - - - - - - - - - CII-SR-375 - warning - - - - [CII-SR-375] - ExpiryDate should not be present - - - - - - - - - CII-SR-376 - warning - - - - [CII-SR-376] - VerificationNumeric should not be present - - - - - - - - - CII-SR-377 - warning - - - - [CII-SR-377] - ValidFromDateTime should not be present - - - - - - - - - CII-SR-378 - warning - - - - [CII-SR-378] - CreditLimitAmount should not be present - - - - - - - - - CII-SR-379 - warning - - - - [CII-SR-379] - CreditAvailableAmount should not be present - - - - - - - - - CII-SR-380 - warning - - - - [CII-SR-380] - InterestRatePercent should not be present - - - - - - - - - CII-SR-381 - warning - - - - [CII-SR-381] - Description should not be present - - - - - - - - - CII-SR-382 - warning - - - - [CII-SR-382] - AccountName should not be present - - - - - - - - - CII-SR-444 - warning - - - - [CII-SR-444] - ProprietaryID should not be present - - - - - - - - - CII-SR-384 - warning - - - - [CII-SR-384] - ClearingSystemName should not be present - - - - - - - - - CII-SR-385 - warning - - - - [CII-SR-385] - Name should not be present - - - - - - - - - CII-SR-386 - warning - - - - [CII-SR-386] - LocationFinancialInstitutionAddress should not be present - - - - - - - - - CII-SR-388 - warning - - - - [CII-SR-388] - ID should not be present - - - - - - - - - CII-SR-389 - warning - - - - [CII-SR-389] - SequenceNumeric should not be present - - - - - - - - - CII-SR-390 - warning - - - - [CII-SR-390] - BasisQuantity should not be present - - - - - - - - - CII-SR-391 - warning - - - - [CII-SR-391] - PrepaidIndicator should not be present - - - - - - - - - CII-SR-392 - warning - - - - [CII-SR-392] - UnitBasisAmount should not be present - - - - - - - - - CII-SR-393 - warning - - - - [CII-SR-393] - TypeCode should not be present - - - - - - - - - CII-SR-394 - warning - - - - [CII-SR-394] - ActualTradeCurrencyExchange should not be present - - - - - - - - - CII-SR-395 - warning - - - - [CII-SR-395] - SubtotalCalculatedTradeTax should not be present - - - - - - - - - CII-SR-396 - warning - - - - [CII-SR-396] - SpecifiedLogisticsServiceCharge should not be present - - - - - - - - - CII-SR-397 - warning - - - - [CII-SR-397] - ID should not be present - - - - - - - - - CII-SR-398 - warning - - - - [CII-SR-398] - FromEventCode should not be present - - - - - - - - - CII-SR-399 - warning - - - - [CII-SR-399] - SettlementPeriodMeasure should not be present - - - - - - - - - CII-SR-400 - warning - - - - [CII-SR-400] - DateTime should not be present - - - - - - - - - CII-SR-401 - warning - - - - [CII-SR-401] - TypeCode should not be present - - - - - - - - - CII-SR-402 - warning - - - - [CII-SR-402] - InstructionTypeCode should not be present - - - - - - - - - CII-SR-404 - warning - - - - [CII-SR-404] - PartialPaymentPercent should not be present - - - - - - - - - CII-SR-405 - warning - - - - [CII-SR-405] - PaymentMeansID should not be present - - - - - - - - - CII-SR-406 - warning - - - - [CII-SR-406] - PartialPaymentAmount should not be present - - - - - - - - - CII-SR-407 - warning - - - - [CII-SR-407] - ApplicableTradePaymentPenaltyTerms should not be present - - - - - - - - - CII-SR-408 - warning - - - - [CII-SR-408] - ApplicableTradePaymentDiscountTerms should not be present - - - - - - - - - CII-SR-409 - warning - - - - [CII-SR-409] - PayeeTradeParty should not be present - - - - - - - - - CII-SR-421 - warning - - - - [CII-SR-421] - SpecifiedFinancialAdjustment should not be present - - - - - - - - - CII-SR-422 - warning - - - - [CII-SR-422] - LineID should not be present - - - - - - - - - CII-SR-423 - warning - - - - [CII-SR-423] - ProFormaInvoiceReferencedDocument should not be present - - - - - - - - - CII-SR-424 - warning - - - - [CII-SR-424] - LetterOfCreditReferencedDocument should not be present - - - - - - - - - CII-SR-425 - warning - - - - [CII-SR-425] - FactoringAgreementReferencedDocument should not be present - - - - - - - - - CII-SR-426 - warning - - - - [CII-SR-426] - FactoringListReferencedDocument should not be present - - - - - - - - - CII-SR-427 - warning - - - - [CII-SR-427] - PayableSpecifiedTradeAccountingAccount should not be present - - - - - - - - - CII-SR-428 - warning - - - - [CII-SR-428] - SetTriggerCode should not be present - - - - - - - - - CII-SR-429 - warning - - - - [CII-SR-429] - TypeCode should not be present - - - - - - - - - CII-SR-430 - warning - - - - [CII-SR-430] - AmountTypeCode should not be present - - - - - - - - - CII-SR-431 - warning - - - - [CII-SR-431] - Name should not be present - - - - - - - - - CII-SR-432 - warning - - - - [CII-SR-432] - CostReferenceDimensionPattern should not be present - - - - - - - - - CII-SR-433 - warning - - - - [CII-SR-433] - PurchaseSpecifiedTradeAccountingAccount should not be present - - - - - - - - - CII-SR-434 - warning - - - - [CII-SR-434] - SalesSpecifiedTradeAccountingAccount should not be present - - - - - - - - - CII-SR-435 - warning - - - - [CII-SR-435] - SpecifiedTradeSettlementFinancialCard should not be present - - - - - - - - - CII-SR-436 - warning - - - - [CII-SR-436] - SpecifiedAdvancePayment should not be present - - - - - - - - - CII-SR-437 - warning - - - - [CII-SR-437] - UltimatePayeeTradeParty should not be present - - - - - - - - - - - - - - CII-SR-411 - warning - - - - [CII-SR-411] - InformationAmount should not be present - - - - - - - - - CII-SR-412 - warning - - - - [CII-SR-412] - TotalDiscountAmount should not be present - - - - - - - - - CII-SR-413 - warning - - - - [CII-SR-413] - TotalAllowanceChargeAmount should not be present - - - - - - - - - CII-SR-414 - warning - - - - [CII-SR-414] - RetailValueExcludingTaxInformationAmount should not be present - - - - - - - - - CII-SR-415 - warning - - - - [CII-SR-415] - TotalDepositFeeInformationAmount should not be present - - - - - - - - - CII-SR-416 - warning - - - - [CII-SR-416] - ProductValueExcludingTobaccoTaxInformationAmount should not be present - - - - - - - - - CII-SR-417 - warning - - - - [CII-SR-417] - TotalRetailValueInformationAmount should not be present - - - - - - - - - CII-SR-418 - warning - - - - [CII-SR-418] - GrossLineTotalAmount should not be present - - - - - - - - - CII-SR-419 - warning - - - - [CII-SR-419] - NetLineTotalAmount should not be present - - - - - - - - - CII-SR-420 - warning - - - - [CII-SR-420] - NetIncludingTaxesLineTotalAmount should not be present - - - - - - - - - - - - - - CII-DT-013 - fatal - - - - [CII-DT-013] - languageID should not be present - - - - - - - - - CII-DT-014 - fatal - - - - [CII-DT-014] - languageLocaleID should not be present - - - - - - - - - CII-SR-438 - warning - - - - [CII-SR-438] - ValuationBreakdownStatement should not be present - - - - - - - - - - - - - - CII-SR-04 - warning - - - - [CII-SR-004] - Value should not be present - - - - - - - - - CII-SR-05 - warning - - - - [CII-SR-005] - SpecifiedDocumentVersion should not be present - - - - - - - - - - - - - - CII-DT-001 - fatal - - - - [CII-DT-001] - schemeName should not be present - - - - - - - - - CII-DT-002 - fatal - - - - [CII-DT-002] - schemeAgencyName should not be present - - - - - - - - - CII-DT-003 - fatal - - - - [CII-DT-003] - schemeDataURI should not be present - - - - - - - - - CII-DT-004 - fatal - - - - [CII-DT-004] - schemeURI should not be present - - - - - - - - - - - - - - CII-DT-005 - fatal - - - - [CII-DT-005] - schemeID should not be present - - - - - - - - - CII-DT-006 - fatal - - - - [CII-DT-006] - schemeAgencyID should not be present - - - - - - - - - CII-DT-007 - fatal - - - - [CII-DT-007] - schemeVersionID should not be present - - - - - - - - - - - - - - CII-DT-008 - fatal - - - - [CII-DT-008] - name should not be present - - - - - - - - - CII-DT-009 - fatal - - - - [CII-DT-009] - listURI should not be present - - - - - - - - - - - - - - CII-DT-010 - fatal - - - - [CII-DT-010] - listID should not be present - - - - - - - - - CII-DT-011 - fatal - - - - [CII-DT-011] - listAgencyID should not be present - - - - - - - - - CII-DT-012 - fatal - - - - [CII-DT-012] - listVersionID should not be present - - - - - - - - - - - - - - CII-DT-045 - warning - - - - [CII-DT-045] - @listID should not be present - - - - - - - - - CII-DT-046 - warning - - - - [CII-DT-046] - @listAgencyID should not be present - - - - - - - - - CII-DT-047 - warning - - - - [CII-DT-047] - @listVersionID should not be present - - - - - - - - - CII-DT-048 - warning - - - - [CII-DT-048] - @listURI should not be present - - - - - - - - - - - - - - CII-DT-015 - fatal - - - - [CII-DT-015] - URIID should not be present - - - - - - - - - CII-DT-016 - fatal - - - - [CII-DT-016] - StatusCode should not be present - - - - - - - - - CII-DT-017 - fatal - - - - [CII-DT-017] - CopyIndicator should not be present - - - - - - - - - CII-DT-018 - fatal - - - - [CII-DT-018] - TypeCode should not be present - - - - - - - - - CII-DT-019 - fatal - - - - [CII-DT-019] - GlobalID should not be present - - - - - - - - - CII-DT-020 - fatal - - - - [CII-DT-020] - RevisionID should not be present - - - - - - - - - CII-DT-021 - fatal - - - - [CII-DT-021] - Name should not be present - - - - - - - - - CII-DT-022 - fatal - - - - [CII-DT-022] - AttachmentBinaryObject should not be present - - - - - - - - - CII-DT-023 - fatal - - - - [CII-DT-023] - Information should not be present - - - - - - - - - CII-DT-024 - fatal - - - - [CII-DT-024] - ReferenceTypeCode should not be present - - - - - - - - - CII-DT-025 - fatal - - - - [CII-DT-025] - SectionName should not be present - - - - - - - - - CII-DT-026 - fatal - - - - [CII-DT-026] - PreviousRevisionID should not be present - - - - - - - - - CII-DT-027 - fatal - - - - [CII-DT-027] - FormattedIssueDateTime should not be present - - - - - - - - - CII-DT-028 - fatal - - - - [CII-DT-028] - EffectiveSpecifiedPeriod should not be present - - - - - - - - - CII-DT-029 - fatal - - - - [CII-DT-029] - IssuerTradeParty should not be present - - - - - - - - - CII-DT-030 - fatal - - - - [CII-DT-030] - AttachedSpecifiedBinaryFile should not be present - - - - - - - - - - - - - - CII-DT-031 - fatal - - - - [CII-DT-031] - currencyID should not be present - - - - - - - - - CII-DT-032 - fatal - - - - [CII-DT-032] - currencyCodeListVersionID should not be present - - - - - - - - - - - - - - CII-DT-033 - fatal - - - - [CII-DT-033] - unitCode should not be present - - - - - - - - - CII-DT-034 - fatal - - - - [CII-DT-034] - unitCodeListID should not be present - - - - - - - - - CII-DT-035 - fatal - - - - [CII-DT-035] - unitCodeListAgencyID should not be present - - - - - - - - - CII-DT-036 - fatal - - - - [CII-DT-036] - unitCodeListAgencyName should not be present - - - - - - - - - - - - - - CII-DT-037 - fatal - - - - [CII-DT-037] - TypeCode shall be 'VAT' - - - - - - - - - CII-DT-038 - warning - - - - [CII-DT-038] - CalculatedRate should not be present - - - - - - - - - CII-DT-039 - warning - - - - [CII-DT-039] - CalculationSequenceNumeric should not be present - - - - - - - - - CII-DT-040 - warning - - - - [CII-DT-040] - BasisQuantity should not be present - - - - - - - - - CII-DT-041 - warning - - - - [CII-DT-041] - BasisAmount should not be present - - - - - - - - - CII-DT-042 - warning - - - - [CII-DT-042] - UnitBasisAmount should not be present - - - - - - - - - CII-DT-043 - warning - - - - [CII-DT-043] - LineTotalBasisAmount should not be present - - - - - - - - - CII-DT-044 - warning - - - - [CII-DT-044] - AllowanceChargeBasisAmount should not be present - - - - - - - - - CII-DT-049 - warning - - - - [CII-DT-049] - CurrencyCode should not be present - - - - - - - - - CII-DT-050 - warning - - - - [CII-DT-050] - Jurisdiction should not be present - - - - - - - - - CII-DT-051 - warning - - - - [CII-DT-051] - CustomsDutyIndicator should not be present - - - - - - - - - CII-DT-052 - warning - - - - [CII-DT-052] - ExemptionReasonCode should not be present - - - - - - - - - CII-DT-098 - warning - - - - [CII-DT-098] - ExemptionReason should not be present - - - - - - - - - CII-DT-053 - warning - - - - [CII-DT-053] - TaxBasisAllowanceRate should not be present - - - - - - - - - CII-DT-054 - warning - - - - [CII-DT-054] - TaxPointDate should not be present - - - - - - - - - CII-DT-055 - warning - - - - [CII-DT-055] - Type should not be present - - - - - - - - - CII-DT-056 - warning - - - - [CII-DT-056] - InformationAmount should not be present - - - - - - - - - CII-DT-057 - warning - - - - [CII-DT-057] - CategoryName should not be present - - - - - - - - - CII-DT-058 - warning - - - - [CII-DT-058] - DueDateTypeCode should not be present - - - - - - - - - CII-DT-059 - warning - - - - [CII-DT-059] - @format should not be present - - - - - - - - - CII-DT-060 - warning - - - - [CII-DT-060] - SpecifiedTradeAccountingAccount should not be present - - - - - - - - - CII-DT-061 - warning - - - - [CII-DT-061] - ServiceSupplyTradeCountry should not be present - - - - - - - - - CII-DT-062 - warning - - - - [CII-DT-062] - BuyerRepayableTaxSpecifiedTradeAccountingAccount should not be present - - - - - - - - - CII-DT-063 - warning - - - - [CII-DT-063] - SellerPayableTaxSpecifiedTradeAccountingAccount should not be present - - - - - - - - - CII-DT-064 - warning - - - - [CII-DT-064] - SellerRefundableTaxSpecifiedTradeAccountingAccount should not be present - - - - - - - - - CII-DT-065 - warning - - - - [CII-DT-065] - BuyerDeductibleTaxSpecifiedTradeAccountingAccount should not be present - - - - - - - - - CII-DT-066 - warning - - - - [CII-DT-066] - BuyerNonDeductibleTaxSpecifiedTradeAccountingAccount should not be present - - - - - - - - - CII-DT-067 - warning - - - - [CII-DT-067] - PlaceApplicableTradeLocation should not be present - - - - - - - - - - - - - - CII-DT-068 - fatal - - - - [CII-DT-068] - DateTime shall not be used. - - - - - - - - - CII-DT-069 - fatal - - - - [CII-DT-069] - DurationMeasure shall not be used. - - - - - - - - - CII-DT-070 - fatal - - - - [CII-DT-070] - InclusiveIndicator shall not be used. - - - - - - - - - CII-DT-071 - fatal - - - - [CII-DT-071] - Description shall not be used. - - - - - - - - - CII-DT-072 - fatal - - - - [CII-DT-072] - DateTime shall not be used. - - - - - - - - - CII-DT-073 - fatal - - - - [CII-DT-073] - CompleteDateTime shall not be used. - - - - - - - - - CII-DT-074 - fatal - - - - [CII-DT-074] - OpenIndicator shall not be used. - - - - - - - - - CII-DT-075 - fatal - - - - [CII-DT-075] - SeasonCode shall not be used. - - - - - - - - - CII-DT-076 - fatal - - - - [CII-DT-076] - ID shall not be used. - - - - - - - - - CII-DT-077 - fatal - - - - [CII-DT-077] - Name shall not be used. - - - - - - - - - CII-DT-078 - fatal - - - - [CII-DT-078] - SequenceNumeric shall not be used. - - - - - - - - - CII-DT-079 - fatal - - - - [CII-DT-079] - StartDateFlexibilityCode shall not be used. - - - - - - - - - CII-DT-080 - fatal - - - - [CII-DT-080] - ContinuousIndicator shall not be used. - - - - - - - - - CII-DT-081 - fatal - - - - [CII-DT-081] - PurposeCode shall not be used. - - - - - - - - - - - - - - CII-DT-082 - fatal - - - - [CII-DT-082] - ID shall not be used. - - - - - - - - - CII-DT-083 - fatal - - - - [CII-DT-083] - PostOfficeBox shall not be used. - - - - - - - - - CII-DT-084 - fatal - - - - [CII-DT-084] - BuildingName shall not be used. - - - - - - - - - CII-DT-086 - fatal - - - - [CII-DT-086] - LineFour shall not be used. - - - - - - - - - CII-DT-087 - fatal - - - - [CII-DT-087] - LineFive shall not be used. - - - - - - - - - CII-DT-088 - fatal - - - - [CII-DT-088] - StreetName shall not be used. - - - - - - - - - CII-DT-089 - fatal - - - - [CII-DT-089] - CitySubDivisionName shall not be used. - - - - - - - - - CII-DT-090 - fatal - - - - [CII-DT-090] - CountryName shall not be used. - - - - - - - - - CII-DT-091 - fatal - - - - [CII-DT-091] - CountrySubDivisionID shall not be used. - - - - - - - - - CII-DT-092 - fatal - - - - [CII-DT-092] - AttentionOf shall not be used. - - - - - - - - - CII-DT-093 - fatal - - - - [CII-DT-093] - CareOf shall not be used. - - - - - - - - - CII-DT-094 - fatal - - - - [CII-DT-094] - BuildingNumber shall not be used. - - - - - - - - - CII-DT-095 - fatal - - - - [CII-DT-095] - DepartmentName shall not be used. - - - - - - - - - CII-DT-096 - fatal - - - - [CII-DT-096] - AdditionalStreetName shall not be used. - - - - - - - - - - - - - - - - - - - BR-CL-01 - fatal - - - - [BR-CL-01]-The document type code MUST be coded by the invoice and credit note related code lists of UNTDID 1001. - - - - - - - - - - - - - - BR-CL-03 - fatal - - - - [BR-CL-03]-currencyID MUST be coded using ISO code list 4217 alpha-3 - - - - - - - - - - - - - - BR-CL-04 - fatal - - - - [BR-CL-04]-Invoice currency code MUST be coded using ISO code list 4217 alpha-3 - - - - - - - - - - - - - - BR-CL-05 - fatal - - - - [BR-CL-05]-Tax currency code MUST be coded using ISO code list 4217 alpha-3 - - - - - - - - - - - - - - BR-CL-06 - fatal - - - - [BR-CL-06]-Value added tax point date code MUST be coded using a restriction of UNTDID 2475. - - - - - - - - - - - - - - BR-CL-07 - fatal - - - - [BR-CL-07]-Object identifier identification scheme identifier MUST be coded using a restriction of UNTDID 1153. - - - - - - - - - - - - - - BR-CL-08 - fatal - - - - [BR-CL-08]-Subject Code MUST be coded using a restriction of UNTDID 4451. - - - - - - - - - - - - - - BR-CL-10 - fatal - - - - [BR-CL-10]-Any identifier identification scheme identifier MUST be coded using one of the ISO 6523 ICD list. - - - - - - - - - - - - - - BR-CL-11 - fatal - - - - [BR-CL-11]-Any registration identifier identification scheme identifier MUST be coded using one of the ISO 6523 ICD list. - - - - - - - - - - - - - - BR-CL-13 - fatal - - - - [BR-CL-13]-Item classification identifier identification scheme identifier MUST be coded using one of the UNTDID 7143 list. - - - - - - - - - - - - - - BR-CL-14 - fatal - - - - [BR-CL-14]-Country codes in an invoice MUST be coded using ISO code list 3166-1 - - - - - - - - - - - - - - BR-CL-15 - fatal - - - - [BR-CL-15]-Country codes in an invoice MUST be coded using ISO code list 3166-1 - - - - - - - - - - - - - - BR-CL-16 - fatal - - - - [BR-CL-16]-Payment means in an invoice MUST be coded using UNTDID 4461 code list - - - - - - - - - - - - - - BR-CL-17 - fatal - - - - [BR-CL-17]-Invoice tax categories MUST be coded using UNCL 5305 code list - - - - - - - - - - - - - - BR-CL-18 - fatal - - - - [BR-CL-18]-Invoice tax categories MUST be coded using UNCL 5305 code list - - - - - - - - - - - - - - BR-CL-19 - fatal - - - - [BR-CL-19]-Coded allowance reasons MUST belong to the UNCL 5189 code list - - - - - - - - - - - - - - BR-CL-20 - fatal - - - - [BR-CL-20]-Coded charge reasons MUST belong to the UNCL 7161 code list - - - - - - - - - - - - - - BR-CL-21 - fatal - - - - [BR-CL-21]-Item standard identifier scheme identifier MUST belong to the ISO 6523 ICD - code list - - - - - - - - - - - - - - BR-CL-22 - fatal - - - - [BR-CL-22]-Tax exemption reason code identifier scheme identifier MUST belong to the CEF VATEX code list - - - - - - - - - - - - - - BR-CL-23 - fatal - - - - [BR-CL-23]-Unit code MUST be coded according to the UN/ECE Recommendation 20 with Rec 21 extension - - - - - - - - - - - - - - BR-CL-24 - fatal - - - - [BR-CL-24]-For Mime code in attribute use MIMEMediaType. - - - - - - - - - - - - - - BR-CL-25 - fatal - - - - [BR-CL-25]-Endpoint identifier scheme identifier MUST belong to the CEF EAS code list - - - - - - - - - - diff --git a/src/schema/schematron/FACTUR-X_BASIC-WL.sch b/src/schema/schematron/FACTUR-X_BASIC-WL.sch index 4bb8633e..a6c8857c 100644 --- a/src/schema/schematron/FACTUR-X_BASIC-WL.sch +++ b/src/schema/schematron/FACTUR-X_BASIC-WL.sch @@ -1,5765 +1,1485 @@ - - Schema for FACTUR-X; 1.0; ACCOUNTING INFORMATION, No XML Invoice, (BASIC WITHOUT LINE) - - - - - - - - Each Additional supporting document (BG-24) shall contain a Supporting document reference (BT-122). - - - - - - Each VAT breakdown (BG-23) shall have a VAT category taxable amount (BT-116). - - Each VAT breakdown (BG-23) shall have a VAT category tax amount (BT-117). - - Each VAT breakdown (BG-23) shall be defined through a VAT category code (BT-118). - - Each VAT breakdown (BG-23) shall have a VAT category rate (BT-119), except if the Invoice is not subject to VAT. - - Value added tax point date (BT-7) and Value added tax point date code (BT-8) are mutually exclusive. - - VAT category tax amount (BT-117) = VAT category taxable amount (BT-116) x (VAT category rate (BT-119) / 100), rounded to two decimals. - - The allowed maximum number of decimals for the VAT category taxable amount (BT-116) is 2. - - The allowed maximum number of decimals for the VAT category tax amount (BT-117) is 2. - - - - - - In a VAT breakdown (BG-23) where VAT category code (BT-118) is "Zero rated" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amount (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are “Zero rated". - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "Zero rated" shall equal 0 (zero). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Zero rated" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). - - - - - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "Standard rated" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Standard rate" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). - - - - - - If both Invoicing period start date (BT-73) and Invoicing period end date (BT-74) are given then the Invoicing period end date (BT-74) shall be later or equal to the Invoicing period start date (BT-73). - - If Invoicing period (BG-14) is used, the Invoicing period start date (BT-73) or the Invoicing period end date (BT-74) shall be filled, or both. - - - - - - Each Document level allowance (BG-20) shall have a Document level allowance amount (BT-92). - - Each Document level allowance (BG-20) shall have a Document level allowance VAT category code (BT-95). - - Each Document level allowance (BG-20) shall have a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98). - - Document level allowance reason code (BT-98) and Document level allowance reason (BT-97) shall indicate the same type of allowance. - - Each Document level allowance (BG-20) shall contain a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98), or both. - - The allowed maximum number of decimals for the Document level allowance amount (BT-92) is 2. - - The allowed maximum number of decimals for the Document level allowance base amount (BT-93) is 2. - - - - - - Each Document level charge (BG-21) shall have a Document level charge amount (BT-99). - - Each Document level charge (BG-21) shall have a Document level charge VAT category code (BT-102). - - Each Document level charge (BG-21) shall have a Document level charge reason (BT-104) or a Document level charge reason code (BT-105). - - Document level charge reason code (BT-105) and Document level charge reason (BT-104) shall indicate the same type of charge. - - Each Document level charge (BG-21) shall contain a Document level charge reason (BT-104) or a Document level charge reason code (BT-105), or both. - - The allowed maximum number of decimals for the Document level charge amount (BT-92) is 2. - - The allowed maximum number of decimals for the Document level charge base amount (BT-93) is 2. - - - - - - Each Item attribute (BG-32) shall contain an Item attribute name (BT-160) and an Item attribute value (BT-161). - - - - - - The last 4 to 6 digits of the Payment card primary account number (BT-87) shall be present if Payment card information (BG-18) is provided in the Invoice. - - - - - - Each Invoice line (BG-25) shall have an Invoice line identifier (BT-126). - - Each Invoice line (BG-25) shall have an Invoiced quantity (BT-129). - - An Invoice line (BG-25) shall have an Invoiced quantity unit of measure code (BT-130). - - Each Invoice line (BG-25) shall have an Invoice line net amount (BT-131). - - Each Invoice line (BG-25) shall contain the Item name (BT-153). - - Each Invoice line (BG-25) shall contain the Item net price (BT-146). - - The Item net price (BT-146) shall NOT be negative. - - The Item gross price (BT-148) shall NOT be negative. - - The Item standard identifier (BT-157) shall have a Scheme identifier - - The Item classification identifier (BT-158) shall have a Scheme identifier - - Each Invoice line (BG-25) shall be categorized with an Invoiced item VAT category code (BT-151). - - An Invoice shall at least have one VAT breakdown group (BG-23). - - The allowed maximum number of decimals for the Invoice line net amount (BT-131) is 2. - - - - - - The Payee name (BT-59) shall be provided in the Invoice, if the Payee (BG-10) is different from the Seller (BG-4). - - - - - - The Seller tax representative name (BT-62) shall be provided in the Invoice, if the Seller (BG-4) has a Seller tax representative party (BG-11). - - The Seller tax representative postal address (BG-12) shall be provided in the Invoice, if the Seller (BG-4) has a Seller tax representative party (BG-11). - - The Seller tax representative postal address (BG-12) shall contain a Tax representative country code (BT-69), if the Seller (BG-4) has a Seller tax representative party (BG-11). - - Each Seller tax representative party (BG-11) shall have a Seller tax representative VAT identifier (BT-63). - - - - - - In order for the buyer to automatically identify a supplier, the Seller identifier (BT-29), the Seller legal registration identifier (BT-30) and/or the Seller VAT identifier (BT-31) shall be present. - - - - - - If both Invoice line period start date (BT-134) and Invoice line period end date (BT-135) are given then the Invoice line period end date (BT-135) shall be later or equal to the Invoice line period start date (BT-134). - - If Invoice line period (BG-26) is used, the Invoice line period start date (BT-134) or the Invoice line period end date (BT-135) shall be filled, or both. - - - - - - Each Invoice line allowance (BG-27) shall have an Invoice line allowance amount (BT-136). - - Each Invoice line allowance (BG-27) shall have an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140). - - Invoice line allowance reason code (BT-140) and Invoice line allowance reason (BT-139) shall indicate the same type of allowance reason. - - Each Invoice line allowance (BG-27) shall contain an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140), or both. - - The allowed maximum number of decimals for the Invoice line allowance amount (BT-136) is 2. - - The allowed maximum number of decimals for the Invoice line allowance base amount (BT-137) is 2. - - - - - - Each Invoice line charge (BG-28) shall have an Invoice line charge amount (BT-141). - - Each Invoice line charge (BG-28) shall have an Invoice line charge reason (BT-144) or an Invoice line charge reason code (BT-145). - - Invoice line charge reason code (BT-145) and Invoice line charge reason (BT144) shall indicate the same type of charge reason. - - Each Invoice line charge (BG-28) shall contain an Invoice line charge reason (BT-144) or an Invoice line charge reason code (BT-145), or both. - - The allowed maximum number of decimals for the Invoice line charge amount (BT-141) is 2. - - The allowed maximum number of decimals for the Invoice line charge base amount (BT-142) is 2. - - - - - - The Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) shall have a prefix in accordance with ISO code ISO 3166-1 alpha-2 by which the country of issue may be identified. Nevertheless, Greece may use the prefix ‘EL’. - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Reverse charge” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Reverse charge" the Document level allowance VAT rate (BT-96) shall be 0 (zero). - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Exempt from VAT” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Exempt from VAT", the Document level allowance VAT rate (BT-96) shall be 0 (zero). - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Export outside the EU” shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Export outside the EU" the Document level allowance VAT rate (BT-96) shall be 0 (zero). - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Intra-community supply” shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IGIC" the Document level allowance VAT rate (BT-96) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “IGIC” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IGIC" the Document level allowance VAT rate (BT-96) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “IPSI” shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IPSI" the Document level allowance VAT rate (BT-96) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Not subject to VAT” shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-48). - - A Document level allowance (BG-20) where VAT category code (BT-95) is "Not subject to VAT" shall not contain a Document level allowance VAT rate (BT-96). - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Standard rated” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Standard rated" the Document level allowance VAT rate (BT-96) shall be greater than zero. - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Zero rated” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Zero rated" the Document level allowance VAT rate (BT-96) shall be 0 (zero). - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “Reverse charge” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Reverse charge" the Document level charge VAT rate (BT-103) shall be 0 (zero). - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “Exempt from VAT” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Exempt from VAT", the Document level charge VAT rate (BT-103) shall be 0 (zero). - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “Export outside the EU” shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Export outside the EU" the Document level charge VAT rate (BT-103) shall be 0 (zero). - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “Intra-community supply” shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Intra-community supply" the Document level charge VAT rate (BT-103) shall be 0 (zero). - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “IGIC” shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IGIC" the Document level charge VAT rate (BT-103) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “IPSI” shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IPSI" the Document level charge VAT rate (BT-103) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “Not subject to VAT” shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-48). - - A Document level charge (BG-21) where the VAT category code (BT-102) is "Not subject to VAT" shall not contain a Document level charge VAT rate (BT-103). - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “Standard rated” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Standard rated" the Document level charge VAT rate (BT-103) shall be greater than zero. - - - - - - An Invoice that contains a Document level charge where the Document level charge VAT category code (BT-102) is “Zero rated” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Zero rated" the Document level charge VAT rate (BT-103) shall be 0 (zero). - - - - - - An Invoice shall have the Invoice total amount without VAT (BT-109). - - An Invoice shall have the Invoice total amount with VAT (BT-112). - - An Invoice shall have the Amount due for payment (BT-115). - - Sum of allowances on document level (BT-107) = S Document level allowance amount (BT-92). - - Sum of charges on document level (BT-108) = S Document level charge amount (BT-99). - - Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110). - - The allowed maximum number of decimals for the Sum of Invoice line net amount (BT-106) is 2. - - The allowed maximum number of decimals for the Sum of allowanced on document level (BT-107) is 2. - - The allowed maximum number of decimals for the Sum of charges on document level (BT-108) is 2. - - The allowed maximum number of decimals for the Invoice total amount without VAT (BT-109) is 2. - - The allowed maximum number of decimals for the Invoice total VAT amount (BT-110) is 2. - - The allowed maximum number of decimals for the Invoice total amount with VAT (BT-112) is 2. - - The allowed maximum number of decimals for the Invoice total VAT amount in accounting currency (BT-111) is 2. - - The allowed maximum number of decimals for the Paid amount (BT-113) is 2. - - The allowed maximum number of decimals for the Rounding amount (BT-114) is 2. - - The allowed maximum number of decimals for the Amount due for payment (BT-115) is 2. - - If the VAT accounting currency code (BT-6) is present, then the Invoice total VAT amount in accounting currency (BT-111) shall be provided. - - Invoice total amount without VAT (BT-109) = S Invoice line net amount (BT-131) - Sum of allowances on document level (BT-107) + Sum of charges on document level (BT-108). - - Amount due for payment (BT-115) = Invoice total amount with VAT (BT-112) -Paid amount (BT-113) +Rounding amount (BT-114). - - An Invoice shall have the Sum of Invoice line net amount (BT-106). - - - - - - Invoice total VAT amount (BT-110) = S VAT category tax amount (BT-117). - - - - - - A Payment instruction (BG-16) shall specify the Payment means type code (BT-81). - - - - - - A Payment account identifier (BT-84) shall be present if Credit transfer (BG-16) information is provided in the Invoice. - - If the Payment means type code (BT-81) means SEPA credit transfer, Local credit transfer or Non-SEPA international credit transfer, the Payment account identifier (BT-84) shall be present. - - - - - - In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Reverse charge" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are “Reverse charge". - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is “Reverse charge” shall be 0 (zero). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Reverse charge" shall have a VAT exemption reason code (BT-121), meaning "Reverse charge" or the VAT exemption reason text (BT-120) "Reverse charge" (or the equivalent standard text in another language). - - - - - - The VAT category tax amount (BT-117) In a VAT breakdown (BG-23) where the VAT category code (BT-118) equals "Exempt from VAT" shall equal 0 (zero). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Exempt from VAT" shall have a VAT exemption reason code (BT-121) or a VAT exemption reason text (BT-120). - - - - - - In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Export outside the EU" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are “Export outside the EU". - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is “Export outside the EU” shall be 0 (zero). - - A VAT Breakdown (BG-23) with the VAT Category code (BT-118) "Export outside the EU" shall have a VAT exemption reason code (BT-121), meaning "Export outside the EU" or the VAT exemption reason text (BT-120) "Export outside the EU" (or the equivalent standard text in another language). - - - - - - In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are “Intra-community supply". - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IGIC" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). - - A VAT Breakdown (BG-23) with the VAT Category code (BT-118) "Intra-community supply" shall have a VAT exemption reason code (BT-121), meaning "Intra-community supply" or the VAT exemption reason text (BT-120) "Intra-community supply" (or the equivalent standard text in another language). - - In an Invoice with a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the Actual delivery date (BT-72) or the Invoicing period (BG-14) shall not be blank. - - In an Invoice with a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the Deliver to country code (BT-80) shall not be blank. - - - - - - For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "IGIC", the VAT category taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-95) is “IGIC” and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119). - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IGIC" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) "IGIC" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). - - - - - - For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "IPSI", the VAT category taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-95) is “IPSI” and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119). - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IPSI" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) "IPSI" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). - - - - - - In a VAT breakdown (BG-23) where the VAT category code (BT-118) is " Not subject to VAT" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are “Not subject to VAT". - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is “Not subject to VAT” shall be 0 (zero). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) " Not subject to VAT" shall have a VAT exemption reason code (BT-121), meaning " Not subject to VAT" or a VAT exemption reason text (BT-120) " Not subject to VAT" (or the equivalent standard text in another language). - - An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain other VAT breakdown groups (BG-23). - - An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is not "Not subject to VAT". - - An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain Document level allowances (BG-20) where Document level allowance VAT category code (BT-95) is not "Not subject to VAT". - - An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain Document level charges (BG-21) where Document level charge VAT category code (BT-102) is not "Not subject to VAT". - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “Reverse charge” shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Reverse charge" the Invoiced item VAT rate (BT-152) shall be 0 (zero). - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “Exempt from VAT” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Exempt from VAT", the Invoiced item VAT rate (BT-152) shall be 0 (zero). - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “Export outside the EU” shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Export outside the EU" the Invoiced item VAT rate (BT-152) shall be 0 (zero). - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “Intra-community supply” shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Intracommunity supply" the Invoiced item VAT rate (BT-152) shall be 0 (zero). - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “IGIC” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IGIC" the invoiced item VAT rate (BT-152) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “IPSI” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IPSI" the Invoiced item VAT rate (BT-152) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “Not subject to VAT” shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-46). - - An Invoice line (BG-25) where the VAT category code (BT-151) is "Not subject to VAT" shall not contain an Invoiced item VAT rate (BT-152). - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “Standard rated” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Standard rated" the Invoiced item VAT rate (BT-152) shall be greater than zero. - - - - - - An Invoice that contains an Invoice line where the Invoiced item VAT category code (BT-151) is “Zero rated” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Zero rated" the Invoiced item VAT rate (BT-152) shall be 0 (zero). - - - - - - An Invoice shall have a Specification identifier (BT-24). - - An Invoice shall have an Invoice number (BT-1). - - An Invoice shall have an Invoice issue date (BT-2). - - An Invoice shall have an Invoice type code (BT-3). - - An Invoice shall have an Invoice currency code (BT-5). - - An Invoice shall contain the Seller name (BT-27). - - An Invoice shall contain the Buyer name (BT-44). - - An Invoice shall contain the Seller postal address (BG-5). - - The Seller postal address (BG-5) shall contain a Seller country code (BT-40). - - The Seller electronic address (BT-34) shall have a Scheme identifier. - - The Buyer electronic address (BT-49) shall have a Scheme identifier. - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Standard rated” shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "Standard rated". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Zero rated” shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "Zero rated". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Exempt from VAT” shall contain exactly one VAT breakdown (BG-23) with the VAT category code (BT-118) equal to "Exempt from VAT". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Reverse charge” shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "VAT reverse charge". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Intra-community supply” shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "Intra-community supply". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Export outside the EU” shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "Export outside the EU". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Not subject to VAT” shall contain exactly one VAT breakdown group (BG-23) with the VAT category code (BT-118) equal to "Not subject to VAT". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “IGIC” shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "IGIC". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “IPSI” shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "IPSI". - - In case the Amount due for payment (BT-115) is positive, either the Payment due date (BT-9) or the Payment terms (BT-20) shall be present. - - An Invoice shall contain the Buyer postal address (BG-8). - - The Buyer postal address shall contain a Buyer country code (BT-55). - - - - - - Element 'ram:TypeCode' must occur exactly 1 times. - - - - - - Element 'ram:CategoryCode' is marked as not used in the given context. - - - - - - Element 'ram:ControlRequirementIndicator' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:Content' must occur exactly 1 times. - - - - - - Element 'ram:ContentCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:Subject' is marked as not used in the given context. - - - - - - - Value of 'ram:SubjectCode' is not allowed. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'udt:DateTime' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LanguageID' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:Purpose' is marked as not used in the given context. - - - - - - Element 'ram:PurposeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionDateTime' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - - Value of 'ram:TypeCode' is not allowed. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:VersionID' is marked as not used in the given context. - - - - - - Element 'ram:BusinessProcessSpecifiedDocumentContextParameter' may occur at maximum 1 times. - - Element 'ram:GuidelineSpecifiedDocumentContextParameter' must occur exactly 1 times. - - - - - - Element 'ram:ApplicationSpecifiedDocumentContextParameter' is marked as not used in the given context. - - - - - - Element 'ram:BIMSpecifiedDocumentContextParameter' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:SpecifiedDocumentVersion' is marked as not used in the given context. - - - - - - Element 'ram:Value' is marked as not used in the given context. - - - - - - Element 'ram:ID' must occur exactly 1 times. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:SpecifiedDocumentVersion' is marked as not used in the given context. - - - - - - Element 'ram:Value' is marked as not used in the given context. - - - - - - Element 'ram:MessageStandardSpecifiedDocumentContextParameter' is marked as not used in the given context. - - - - - - Element 'ram:ScenarioSpecifiedDocumentContextParameter' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTransactionID' is marked as not used in the given context. - - - - - - Element 'ram:SubsetSpecifiedDocumentContextParameter' is marked as not used in the given context. - - - - - - Element 'ram:TestIndicator' is marked as not used in the given context. - - - - - - Element 'ram:SellerTradeParty' must occur exactly 1 times. - - Element 'ram:BuyerTradeParty' must occur exactly 1 times. - - - - - - Element 'ram:AdditionalReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:ApplicableTradeDeliveryTerms' is marked as not used in the given context. - - - - - - Element 'ram:BuyerAgentTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:BuyerAssignedAccountantTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LineID' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:BuyerRequisitionerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:BuyerTaxRepresentativeTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:ID' may occur at maximum 1 times. - - Element 'ram:Name' must occur exactly 1 times. - - Element 'ram:PostalTradeAddress' must occur exactly 1 times. - - Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. - - Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. - - - - - - Element 'ram:DefinedTradeContact' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:EndPointURIUniversalCommunication' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LogoAssociatedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CountryID' must occur exactly 1 times. - - Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - - - - Element 'ram:AdditionalStreetName' is marked as not used in the given context. - - - - - - Element 'ram:AttentionOf' is marked as not used in the given context. - - - - - - Element 'ram:BuildingName' is marked as not used in the given context. - - - - - - Element 'ram:BuildingNumber' is marked as not used in the given context. - - - - - - Element 'ram:CareOf' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CitySubDivisionName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CountryName' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DepartmentName' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LineFive' is marked as not used in the given context. - - - - - - Element 'ram:LineFour' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PostOfficeBox' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:StreetName' is marked as not used in the given context. - - - - - - Element 'ram:RoleCode' is marked as not used in the given context. - - - - - - Element 'ram:AuthorizedLegalRegistration' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LegalClassificationCode' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PostalTradeAddress' is marked as not used in the given context. - - - - - - Element 'ram:TradingBusinessName' is marked as not used in the given context. - - - - - - Element 'ram:ID' must occur exactly 1 times. - - - - - - Element 'ram:AssociatedRegisteredTax' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LineID' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:DemandForecastReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:OrderResponseReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:PriceListReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:ProductEndUserTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:PromotionalDealReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:PurchaseConditionsReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:QuotationReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:Reference' is marked as not used in the given context. - - - - - - Element 'ram:RequisitionerReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:SalesAgentTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:SellerAssignedAccountantTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:SellerOrderReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:Name' must occur exactly 1 times. - - Element 'ram:PostalTradeAddress' must occur exactly 1 times. - - Element 'ram:SpecifiedTaxRegistration' must occur exactly 1 times. - - - - - - Element 'ram:DefinedTradeContact' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:EndPointURIUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LogoAssociatedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CountryID' must occur exactly 1 times. - - Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - - - - Element 'ram:AdditionalStreetName' is marked as not used in the given context. - - - - - - Element 'ram:AttentionOf' is marked as not used in the given context. - - - - - - Element 'ram:BuildingName' is marked as not used in the given context. - - - - - - Element 'ram:BuildingNumber' is marked as not used in the given context. - - - - - - Element 'ram:CareOf' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CitySubDivisionName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CountryName' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DepartmentName' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LineFive' is marked as not used in the given context. - - - - - - Element 'ram:LineFour' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PostOfficeBox' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:StreetName' is marked as not used in the given context. - - - - - - Element 'ram:RoleCode' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedLegalOrganization' is marked as not used in the given context. - - - - - - Element 'ram:ID' must occur exactly 1 times. - - - - - - Element 'ram:AssociatedRegisteredTax' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:URIUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:Name' must occur exactly 1 times. - - Element 'ram:PostalTradeAddress' must occur exactly 1 times. - - Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. - - - - - - Element 'ram:DefinedTradeContact' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:EndPointURIUniversalCommunication' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LogoAssociatedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CountryID' must occur exactly 1 times. - - Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - - - - Element 'ram:AdditionalStreetName' is marked as not used in the given context. - - - - - - Element 'ram:AttentionOf' is marked as not used in the given context. - - - - - - Element 'ram:BuildingName' is marked as not used in the given context. - - - - - - Element 'ram:BuildingNumber' is marked as not used in the given context. - - - - - - Element 'ram:CareOf' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CitySubDivisionName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CountryName' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DepartmentName' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LineFive' is marked as not used in the given context. - - - - - - Element 'ram:LineFour' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PostOfficeBox' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:StreetName' is marked as not used in the given context. - - - - - - Element 'ram:RoleCode' is marked as not used in the given context. - - - - - - Element 'ram:AuthorizedLegalRegistration' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LegalClassificationCode' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PostalTradeAddress' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:ID' must occur exactly 1 times. - - - - - - Element 'ram:AssociatedRegisteredTax' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:SpecifiedProcuringProject' is marked as not used in the given context. - - - - - - Element 'ram:SupplyInstructionReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:UltimateCustomerOrderReferencedDocument' is marked as not used in the given context. - - - - - - Each Deliver to address (BG-15) shall contain a Deliver to country code (BT-80). - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:DescriptionBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:EarliestOccurrenceDateTime' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LatestOccurrenceDateTime' is marked as not used in the given context. - - - - - - Element 'udt:DateTime' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:OccurrenceLogisticsLocation' is marked as not used in the given context. - - - - - - Element 'ram:OccurrenceSpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:UnitQuantity' is marked as not used in the given context. - - - - - - Element 'ram:ActualDespatchSupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:ActualPickUpSupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:ActualReceiptSupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:AdditionalReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:ConsumptionReportReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:DeliveryNoteReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LineID' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:PackingListReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:PreviousDeliverySupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:ReceivingAdviceReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:RelatedSupplyChainConsignment' is marked as not used in the given context. - - - - - - Element 'ram:ShipFromTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:ID' may occur at maximum 1 times. - - Element 'ram:GlobalID' may occur at maximum 1 times. - - - - - - Element 'ram:DefinedTradeContact' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:EndPointURIUniversalCommunication' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LogoAssociatedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CountryID' must occur exactly 1 times. - - - - - - Element 'ram:AdditionalStreetName' is marked as not used in the given context. - - - - - - Element 'ram:AttentionOf' is marked as not used in the given context. - - - - - - Element 'ram:BuildingName' is marked as not used in the given context. - - - - - - Element 'ram:BuildingNumber' is marked as not used in the given context. - - - - - - Element 'ram:CareOf' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CitySubDivisionName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CountryName' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionID' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionName' is marked as not used in the given context. - - - - - - Element 'ram:DepartmentName' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LineFive' is marked as not used in the given context. - - - - - - Element 'ram:LineFour' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PostOfficeBox' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:StreetName' is marked as not used in the given context. - - - - - - Element 'ram:RoleCode' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedLegalOrganization' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTaxRegistration' is marked as not used in the given context. - - - - - - Element 'ram:URIUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:UltimateShipToTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:PaymentReference' may occur at maximum 1 times. - - Element 'ram:InvoiceCurrencyCode' must occur exactly 1 times. - - Element 'ram:ApplicableTradeTax' must occur at least 1 times. - - Element 'ram:SpecifiedTradePaymentTerms' may occur at maximum 1 times. - - Element 'ram:SpecifiedTradeSettlementHeaderMonetarySummation' must occur exactly 1 times. - - - - - - Element 'ram:CalculatedAmount' must occur exactly 1 times. - - Element 'ram:TypeCode' must occur exactly 1 times. - - Element 'ram:BasisAmount' must occur exactly 1 times. - - Element 'ram:CategoryCode' must occur exactly 1 times. - - - - - - Element 'ram:AllowanceChargeBasisAmount' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:BasisQuantity' is marked as not used in the given context. - - - - - - Element 'ram:BuyerDeductibleTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:BuyerNonDeductibleTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:BuyerRepayableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:CalculatedRate' is marked as not used in the given context. - - - - - - Element 'ram:CalculationSequenceNumeric' is marked as not used in the given context. - - - - - - - Value of 'ram:CategoryCode' is not allowed. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:CategoryName' is marked as not used in the given context. - - - - - - Element 'ram:CurrencyCode' is marked as not used in the given context. - - - - - - Element 'ram:CustomsDutyIndicator' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - - Value of 'ram:ExemptionReasonCode' is not allowed. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:InformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:Jurisdiction' is marked as not used in the given context. - - - - - - Element 'ram:LineTotalBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:PlaceApplicableTradeLocation' is marked as not used in the given context. - - - - - - Attribute @format' marked as not used in the given context. - - - - - - Element 'ram:SellerPayableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:SellerRefundableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:ServiceSupplyTradeCountry' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:TaxBasisAllowanceRate' is marked as not used in the given context. - - - - - - Element 'ram:TaxPointDate' is marked as not used in the given context. - - - - - - Element 'ram:Type' is marked as not used in the given context. - - - - - - - Value of 'ram:TypeCode' is not allowed. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:UnitBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:CompleteDateTime' is marked as not used in the given context. - - - - - - Element 'ram:ContinuousIndicator' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:DurationMeasure' is marked as not used in the given context. - - - - - - Element 'udt:DateTime' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:InclusiveIndicator' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:OpenIndicator' is marked as not used in the given context. - - - - - - Element 'ram:PurposeCode' is marked as not used in the given context. - - - - - - Element 'ram:SeasonCode' is marked as not used in the given context. - - - - - - Element 'ram:SequenceNumeric' is marked as not used in the given context. - - - - - - Element 'ram:StartDateFlexibilityCode' is marked as not used in the given context. - - - - - - Element 'udt:DateTime' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:CreditReason' is marked as not used in the given context. - - - - - - Element 'ram:CreditReasonCode' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CreditorReferenceIssuerID' is marked as not used in the given context. - - - - - - Element 'ram:CreditorReferenceType' is marked as not used in the given context. - - - - - - Element 'ram:CreditorReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:DuePayableAmount' is marked as not used in the given context. - - - - - - Element 'ram:FactoringAgreementReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:FactoringListReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:InvoiceApplicableTradeCurrencyExchange' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:InvoiceDateTime' is marked as not used in the given context. - - - - - - Element 'ram:InvoiceIssuerReference' is marked as not used in the given context. - - - - - - Each Preceding Invoice reference (BG-3) shall contain a Preceding Invoice reference (BT-25). - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LineID' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:InvoiceeTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:InvoicerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LetterOfCreditReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:NextInvoiceDateTime' is marked as not used in the given context. - - - - - - Element 'ram:PayableSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:ID' may occur at maximum 1 times. - - Element 'ram:GlobalID' may occur at maximum 1 times. - - Element 'ram:Name' must occur exactly 1 times. - - - - - - Element 'ram:DefinedTradeContact' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:EndPointURIUniversalCommunication' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LogoAssociatedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PostalTradeAddress' is marked as not used in the given context. - - - - - - Element 'ram:RoleCode' is marked as not used in the given context. - - - - - - Element 'ram:AuthorizedLegalRegistration' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LegalClassificationCode' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PostalTradeAddress' is marked as not used in the given context. - - - - - - Element 'ram:TradingBusinessName' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTaxRegistration' is marked as not used in the given context. - - - - - - Element 'ram:URIUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:PayerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:PaymentApplicableTradeCurrencyExchange' is marked as not used in the given context. - - - - - - Element 'ram:PaymentCurrencyCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:ProFormaInvoiceReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:PurchaseSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:AmountTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:CostReferenceDimensionPattern' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:SetTriggerCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:SalesSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedAdvancePayment' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedFinancialAdjustment' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedLogisticsServiceCharge' is marked as not used in the given context. - - - - - - Element 'ram:ChargeIndicator' must occur exactly 1 times. - - Element 'ram:ActualAmount' must occur exactly 1 times. - - Element 'ram:CategoryTradeTax' must occur exactly 1 times. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:ActualTradeCurrencyExchange' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:BasisQuantity' is marked as not used in the given context. - - - - - - Attribute @format' marked as not used in the given context. - - - - - - Element 'ram:TypeCode' must occur exactly 1 times. - - Element 'ram:CategoryCode' must occur exactly 1 times. - - - - - - Element 'ram:AllowanceChargeBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:BasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:BasisQuantity' is marked as not used in the given context. - - - - - - Element 'ram:BuyerDeductibleTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:BuyerNonDeductibleTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:BuyerRepayableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:CalculatedAmount' is marked as not used in the given context. - - - - - - Element 'ram:CalculatedRate' is marked as not used in the given context. - - - - - - Element 'ram:CalculationSequenceNumeric' is marked as not used in the given context. - - - - - - - Value of 'ram:CategoryCode' is not allowed. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:CategoryName' is marked as not used in the given context. - - - - - - Element 'ram:CurrencyCode' is marked as not used in the given context. - - - - - - Element 'ram:CustomsDutyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:DueDateTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:ExemptionReason' is marked as not used in the given context. - - - - - - Element 'ram:ExemptionReasonCode' is marked as not used in the given context. - - - - - - Element 'ram:InformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:Jurisdiction' is marked as not used in the given context. - - - - - - Element 'ram:LineTotalBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:PlaceApplicableTradeLocation' is marked as not used in the given context. - - - - - - Attribute @format' marked as not used in the given context. - - - - - - Element 'ram:SellerPayableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:SellerRefundableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:ServiceSupplyTradeCountry' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:TaxBasisAllowanceRate' is marked as not used in the given context. - - - - - - Element 'ram:TaxPointDate' is marked as not used in the given context. - - - - - - Element 'ram:Type' is marked as not used in the given context. - - - - - - - Value of 'ram:TypeCode' is not allowed. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:UnitBasisAmount' is marked as not used in the given context. - - - - - - Element 'udt:IndicatorString' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:PrepaidIndicator' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:SequenceNumeric' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:UnitBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:DirectDebitMandateID' may occur at maximum 1 times. - - - - - - Element 'ram:ApplicableTradePaymentDiscountTerms' is marked as not used in the given context. - - - - - - Element 'ram:ApplicableTradePaymentPenaltyTerms' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'udt:DateTime' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:FromEventCode' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:InstructionTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:PartialPaymentAmount' is marked as not used in the given context. - - - - - - Element 'ram:PartialPaymentPercent' is marked as not used in the given context. - - - - - - Element 'ram:PayeeTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:PaymentMeansID' is marked as not used in the given context. - - - - - - Element 'ram:SettlementPeriodMeasure' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTradeSettlementFinancialCard' is marked as not used in the given context. - - - - - - Element 'ram:LineTotalAmount' must occur exactly 1 times. - - Element 'ram:ChargeTotalAmount' may occur at maximum 1 times. - - Element 'ram:AllowanceTotalAmount' may occur at maximum 1 times. - - Element 'ram:TaxBasisTotalAmount' must occur exactly 1 times. - - Element 'ram:TaxTotalAmount' may occur at maximum 1 times. - - Element 'ram:GrandTotalAmount' must occur exactly 1 times. - - Element 'ram:TotalPrepaidAmount' may occur at maximum 1 times. - - Element 'ram:DuePayableAmount' must occur exactly 1 times. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:GrossLineTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:InformationAmount' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:NetIncludingTaxesLineTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:NetLineTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:ProductValueExcludingTobaccoTaxInformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:RetailValueExcludingTaxInformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:RoundingAmount' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - - Value of '@currencyID' is not allowed. - - - - - - Element 'ram:TotalAllowanceChargeAmount' is marked as not used in the given context. - - - - - - Element 'ram:TotalDepositFeeInformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:TotalDiscountAmount' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:TotalRetailValueInformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' must occur exactly 1 times. - - - - - - Element 'ram:ApplicableTradeSettlementFinancialCard' is marked as not used in the given context. - - - - - - Element 'ram:GuaranteeMethodCode' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Element 'ram:AccountName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:PayeeSpecifiedCreditorFinancialInstitution' is marked as not used in the given context. - - - - - - Element 'ram:IBANID' must occur exactly 1 times. - - - - - - Element 'ram:AccountName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:ProprietaryID' is marked as not used in the given context. - - - - - - Element 'ram:PayerSpecifiedDebtorFinancialInstitution' is marked as not used in the given context. - - - - - - Element 'ram:PaymentChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:PaymentMethodCode' is marked as not used in the given context. - - - - - - - Value of 'ram:TypeCode' is not allowed. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:SubtotalCalculatedTradeTax' is marked as not used in the given context. - - - - - - Element 'ram:TaxApplicableTradeCurrencyExchange' is marked as not used in the given context. - - - - - - Element 'ram:TaxCurrencyCode' is marked as not used in the given context. - - - - - - Element 'ram:UltimatePayeeTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:IncludedSupplyChainTradeLineItem' is marked as not used in the given context. - - - - - - Element 'rsm:ValuationBreakdownStatement' is marked as not used in the given context. - - + + Schema for Factur-X; 1.0.07; Accounting, BASIC without Lines + + + + + + + + [BR-45]-Each VAT breakdown (BG-23) shall have a VAT category taxable amount (BT-116). + + [BR-46]-Each VAT breakdown (BG-23) shall have a VAT category tax amount (BT-117). + + [BR-47]-Each VAT breakdown (BG-23) shall be defined through a VAT category code (BT-118). + + [BR-48]-Each VAT breakdown (BG-23) shall have a VAT category rate (BT-119), except if the Invoice is not subject to VAT. + + [BR-CO-03]-Value added tax point date (BT-7) and Value added tax point date code (BT-8) are mutually exclusive. + + [BR-CO-17]-VAT category tax amount (BT-117) = VAT category taxable amount (BT-116) x (VAT category rate (BT-119) / 100), rounded to two decimals. + + [BR-DEC-19]-The allowed maximum number of decimals for the VAT category taxable amount (BT-116) is 2. + + [BR-DEC-20]-The allowed maximum number of decimals for the VAT category tax amount (BT-117) is 2. + + + + + + [BR-Z-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "Zero rated" shall equal 0 (zero). + + [BR-Z-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Zero rated" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). + + + + + + [BR-S-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "Standard rated" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). + + [BR-S-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Standard rate" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). + + + + + + [BR-29]-If both Invoicing period start date (BT-73) and Invoicing period end date (BT-74) are given then the Invoicing period end date (BT-74) shall be later or equal to the Invoicing period start date (BT-73). + + [BR-CO-19]-If Invoicing period (BG-14) is used, the Invoicing period start date (BT-73) or the Invoicing period end date (BT-74) shall be filled, or both. + + + + + + [BR-31]-Each Document level allowance (BG-20) shall have a Document level allowance amount (BT-92). + + [BR-32]-Each Document level allowance (BG-20) shall have a Document level allowance VAT category code (BT-95). + + [BR-33]-Each Document level allowance (BG-20) shall have a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98). + + [BR-CO-05]-Document level allowance reason code (BT-98) and Document level allowance reason (BT-97) shall indicate the same type of allowance. + + [BR-CO-21]-Each Document level allowance (BG-20) shall contain a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98), or both. + + [BR-DEC-01]-The allowed maximum number of decimals for the Document level allowance amount (BT-92) is 2. + + [BR-DEC-02]-The allowed maximum number of decimals for the Document level allowance base amount (BT-93) is 2. + + + + + + [BR-36]-Each Document level charge (BG-21) shall have a Document level charge amount (BT-99). + + [BR-37]-Each Document level charge (BG-21) shall have a Document level charge VAT category code (BT-102). + + [BR-38]-Each Document level charge (BG-21) shall have a Document level charge reason (BT-104) or a Document level charge reason code (BT-105). + + [BR-CO-06]-Document level charge reason code (BT-105) and Document level charge reason (BT-104) shall indicate the same type of charge. + + [BR-CO-22]-Each Document level charge (BG-21) shall contain a Document level charge reason (BT-104) or a Document level charge reason code (BT-105), or both. + + [BR-DEC-05]-The allowed maximum number of decimals for the Document level charge amount (BT-99) is 2. + + [BR-DEC-06]-The allowed maximum number of decimals for the Document level charge base amount (BT-100) is 2. + + + + + + [BR-17]-The Payee name (BT-59) shall be provided in the Invoice, if the Payee (BG-10) is different from the Seller (BG-4). + + + + + + [BR-18]-The Seller tax representative name (BT-62) shall be provided in the Invoice, if the Seller (BG-4) has a Seller tax representative party (BG-11). + + [BR-19]-The Seller tax representative postal address (BG-12) shall be provided in the Invoice, if the Seller (BG-4) has a Seller tax representative party (BG-11). + + [BR-20]-The Seller tax representative postal address (BG-12) shall contain a Tax representative country code (BT-69), if the Seller (BG-4) has a Seller tax representative party (BG-11). + + [BR-56]-Each Seller tax representative party (BG-11) shall have a Seller tax representative VAT identifier (BT-63). + + + + + + [BR-CO-26]-In order for the buyer to automatically identify a supplier, the Seller identifier (BT-29), the Seller legal registration identifier (BT-30) and/or the Seller VAT identifier (BT-31) shall be present. + + + + + + [BR-CO-09]-The Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) shall have a prefix in accordance with ISO code ISO 3166-1 alpha-2 by which the country of issue may be identified. Nevertheless, Greece may use the prefix ‘EL’. + + + + + + [BR-66]-Each Specified Trade Allowance Charge (BG-20)(BG-21) shall contain a Charge Indicator. + + + + + + [BR-AE-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Reverse charge" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). + + [BR-AE-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Reverse charge" the Document level allowance VAT rate (BT-96) shall be 0 (zero). + + + + + + [BR-E-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Exempt from VAT" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-E-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Exempt from VAT", the Document level allowance VAT rate (BT-96) shall be 0 (zero). + + + + + + [BR-G-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Export outside the EU" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). + + [BR-G-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Export outside the EU" the Document level allowance VAT rate (BT-96) shall be 0 (zero). + + + + + + [BR-IC-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Intra-community supply" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). + + [BR-IC-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Intra-community supply" the Document level allowance VAT rate (BT-96) shall be 0 (zero). + + + + + + [BR-AF-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IGIC" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-AF-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IGIC" the Document level allowance VAT rate (BT-96) shall be 0 (zero) or greater than zero. + + + + + + [BR-AG-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IPSI" shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-AG-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IPSI" the Document level allowance VAT rate (BT-96) shall be 0 (zero) or greater than zero. + + + + + + [BR-O-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Not subject to VAT" shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-48). + + [BR-O-06]-A Document level allowance (BG-20) where VAT category code (BT-95) is "Not subject to VAT" shall not contain a Document level allowance VAT rate (BT-96). + + + + + + [BR-S-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Standard rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-S-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Standard rated" the Document level allowance VAT rate (BT-96) shall be greater than zero. + + + + + + [BR-Z-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Zero rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-Z-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Zero rated" the Document level allowance VAT rate (BT-96) shall be 0 (zero). + + + + + + [BR-AE-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Reverse charge" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). + + [BR-AE-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Reverse charge" the Document level charge VAT rate (BT-103) shall be 0 (zero). + + + + + + [BR-E-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Exempt from VAT" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-E-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Exempt from VAT", the Document level charge VAT rate (BT-103) shall be 0 (zero). + + + + + + [BR-G-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Export outside the EU" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). + + [BR-G-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Export outside the EU" the Document level charge VAT rate (BT-103) shall be 0 (zero). + + + + + + [BR-IC-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Intra-community supply" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). + + [BR-IC-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Intra-community supply" the Document level charge VAT rate (BT-103) shall be 0 (zero). + + + + + + [BR-AF-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IGIC" shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-AF-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IGIC" the Document level charge VAT rate (BT-103) shall be 0 (zero) or greater than zero. + + + + + + [BR-AG-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IPSI" shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-AG-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IPSI" the Document level charge VAT rate (BT-103) shall be 0 (zero) or greater than zero. + + + + + + [BR-O-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Not subject to VAT" shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-48). + + [BR-O-07]-A Document level charge (BG-21) where the VAT category code (BT-102) is "Not subject to VAT" shall not contain a Document level charge VAT rate (BT-103). + + + + + + [BR-S-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Standard rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-S-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Standard rated" the Document level charge VAT rate (BT-103) shall be greater than zero. + + + + + + [BR-Z-04]-An Invoice that contains a Document level charge where the Document level charge VAT category code (BT-102) is "Zero rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-Z-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Zero rated" the Document level charge VAT rate (BT-103) shall be 0 (zero). + + + + + + [BR-12]-An Invoice shall have the Sum of Invoice line net amount (BT-106). + + [BR-13]-An Invoice shall have the Invoice total amount without VAT (BT-109). + + [BR-14]-An Invoice shall have the Invoice total amount with VAT (BT-112). + + [BR-15]-An Invoice shall have the Amount due for payment (BT-115). + + [BR-CO-11]-Sum of allowances on document level (BT-107) = Σ Document level allowance amount (BT-92). + + [BR-CO-12]-Sum of charges on document level (BT-108) = Σ Document level charge amount (BT-99). + + [BR-CO-13]-Invoice total amount without VAT (BT-109) = Σ Invoice line net amount (BT-131) - Sum of allowances on document level (BT-107) + Sum of charges on document level (BT-108). + + [BR-CO-15]-Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110). + + [BR-CO-16]-Amount due for payment (BT-115) = Invoice total amount with VAT (BT-112) -Paid amount (BT-113) +Rounding amount (BT-114). + + [BR-DEC-09]-The allowed maximum number of decimals for the Sum of Invoice line net amount (BT-106) is 2. + + [BR-DEC-10]-The allowed maximum number of decimals for the Sum of allowanced on document level (BT-107) is 2. + + [BR-DEC-11]-The allowed maximum number of decimals for the Sum of charges on document level (BT-108) is 2. + + [BR-DEC-12]-The allowed maximum number of decimals for the Invoice total amount without VAT (BT-109) is 2. + + [BR-DEC-13]-The allowed maximum number of decimals for the Invoice total VAT amount (BT-110) is 2. + + [BR-DEC-14]-The allowed maximum number of decimals for the Invoice total amount with VAT (BT-112) is 2. + + [BR-DEC-15]-The allowed maximum number of decimals for the Invoice total VAT amount in accounting currency (BT-111) is 2. + + [BR-DEC-16]-The allowed maximum number of decimals for the Paid amount (BT-113) is 2. + + [BR-DEC-17]-The allowed maximum number of decimals for the Rounding amount (BT-114) is 2. + + [BR-DEC-18]-The allowed maximum number of decimals for the Amount due for payment (BT-115) is 2. + + [BR-53]-If the VAT accounting currency code (BT-6) is present, then the Invoice total VAT amount in accounting currency (BT-111) shall be provided. + + + + + + [BR-CO-14]-Invoice total VAT amount (BT-110) = Σ VAT category tax amount (BT-117). + + + + + + [BR-49]-A Payment instruction (BG-16) shall specify the Payment means type code (BT-81). + + [BR-CO-27]-Either the IBAN or a Proprietary ID (BT-84) shall be used. + + + + + + [BR-50]-A Payment account identifier (BT-84) shall be present if Credit transfer (BG-16) information is provided in the Invoice. + + [BR-61]-If the Payment means type code (BT-81) means SEPA credit transfer, Local credit transfer or Non-SEPA international credit transfer, the Payment account identifier (BT-84) shall be present. + + + + + + [BR-CO-18]-An Invoice shall at least have one VAT breakdown group (BG-23). + + + + + + [BR-AE-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Reverse charge" shall be 0 (zero). + + [BR-AE-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Reverse charge" shall have a VAT exemption reason code (BT-121), meaning "Reverse charge" or the VAT exemption reason text (BT-120) "Reverse charge" (or the equivalent standard text in another language). + + + + + + [BR-E-09]-The VAT category tax amount (BT-117) In a VAT breakdown (BG-23) where the VAT category code (BT-118) equals "Exempt from VAT" shall equal 0 (zero). + + [BR-E-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Exempt from VAT" shall have a VAT exemption reason code (BT-121) or a VAT exemption reason text (BT-120). + + + + + + [BR-G-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Export outside the EU" shall be 0 (zero). + + [BR-G-10]-A VAT Breakdown (BG-23) with the VAT Category code (BT-118) "Export outside the EU" shall have a VAT exemption reason code (BT-121), meaning "Export outside the EU" or the VAT exemption reason text (BT-120) "Export outside the EU" (or the equivalent standard text in another language). + + + + + + [BR-IC-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" shall be 0 (zero). + + [BR-IC-10]-A VAT Breakdown (BG-23) with the VAT Category code (BT-118) "Intra-community supply" shall have a VAT exemption reason code (BT-121), meaning "Intra-community supply" or the VAT exemption reason text (BT-120) "Intra-community supply" (or the equivalent standard text in another language). + + [BR-IC-11]-In an Invoice with a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the Actual delivery date (BT-72) or the Invoicing period (BG-14) shall not be blank. + + [BR-IC-12]-In an Invoice with a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the Deliver to country code (BT-80) shall not be blank. + + + + + + [BR-AF-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IGIC" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). + + [BR-AF-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "IGIC" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). + + + + + + [BR-AG-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IPSI" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). + + [BR-AG-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "IPSI" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). + + + + + + [BR-O-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Not subject to VAT" shall be 0 (zero). + + [BR-O-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) " Not subject to VAT" shall have a VAT exemption reason code (BT-121), meaning " Not subject to VAT" or a VAT exemption reason text (BT-120) " Not subject to VAT" (or the equivalent standard text in another language). + + [BR-O-11]-An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain other VAT breakdown groups (BG-23). + + [BR-O-13]-An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain Document level allowances (BG-20) where Document level allowance VAT category code (BT-95) is not "Not subject to VAT". + + [BR-O-14]-An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain Document level charges (BG-21) where Document level charge VAT category code (BT-102) is not "Not subject to VAT". + + + + + + [BR-CO-25]-In case the Amount due for payment (BT-115) is positive, either the Payment due date (BT-9) or the Payment terms (BT-20) shall be present. + + [BR-01]-An Invoice shall have a Specification identifier (BT-24). + + [BR-02]-An Invoice shall have an Invoice number (BT-1). + + [BR-03]-An Invoice shall have an Invoice issue date (BT-2). + + [BR-04]-An Invoice shall have an Invoice type code (BT-3). + + [BR-05]-An Invoice shall have an Invoice currency code (BT-5). + + [BR-06]-An Invoice shall contain the Seller name (BT-27). + + [BR-07]-An Invoice shall contain the Buyer name (BT-44). + + [BR-08]-An Invoice shall contain the Seller postal address (BG-5). + + [BR-09]-The Seller postal address (BG-5) shall contain a Seller country code (BT-40). + + [BR-10]-An Invoice shall contain the Buyer postal address (BG-8). + + [BR-11]-The Buyer postal address shall contain a Buyer country code (BT-55). + + [BR-62]-The Seller electronic address (BT-34) shall have a Scheme identifier. + + [BR-63]-The Buyer electronic address (BT-49) shall have a Scheme identifier. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + Element 'ram:TypeCode' must occur exactly 1 times. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:Content' must occur exactly 1 times. + + Element 'ram:SubjectCode' may occur at maximum 1 times. + + + + + + + Value of 'ram:SubjectCode' is not allowed. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + Element 'ram:BusinessProcessSpecifiedDocumentContextParameter' may occur at maximum 1 times. + + Element 'ram:GuidelineSpecifiedDocumentContextParameter' must occur exactly 1 times. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + + Value of 'ram:ID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:SellerTradeParty' must occur exactly 1 times. + + Element 'ram:BuyerTradeParty' must occur exactly 1 times. + + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:ID' may occur at maximum 1 times. + + Element 'ram:GlobalID' may occur at maximum 1 times. + + Element 'ram:Name' must occur exactly 1 times. + + Element 'ram:PostalTradeAddress' must occur exactly 1 times. + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:TradingBusinessName' is marked as not used in the given context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:Name' must occur exactly 1 times. + + Element 'ram:PostalTradeAddress' must occur exactly 1 times. + + Element 'ram:SpecifiedTaxRegistration' must occur exactly 1 times. + + + + + + Element 'ram:GlobalID' is marked as not used in the given context. + + + + + + Element 'ram:ID' is marked as not used in the given context. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Element 'ram:SpecifiedLegalOrganization' is marked as not used in the given context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:URIUniversalCommunication' is marked as not used in the given context. + + + + + + Element 'ram:Name' must occur exactly 1 times. + + Element 'ram:PostalTradeAddress' must occur exactly 1 times. + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + Element variant 'ram:SpecifiedTaxRegistration[ram:ID/@schemeID="VA"]' may occur at maximum 1 times. + + Element variant 'ram:SpecifiedTaxRegistration[ram:ID/@schemeID="FC"]' may occur at maximum 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element variant 'ram:SpecifiedTaxRegistration[ not(ram:ID/@schemeID="VA") and not(ram:ID/@schemeID="FC")]' is marked as not used in the given context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + [BR-57]-Each Deliver to address (BG-15) shall contain a Deliver to country code (BT-80). + + + + + + Element 'ram:OccurrenceDateTime' must occur exactly 1 times. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:ID' may occur at maximum 1 times. + + Element 'ram:GlobalID' may occur at maximum 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Element 'ram:SpecifiedLegalOrganization' is marked as not used in the given context. + + + + + + Element 'ram:SpecifiedTaxRegistration' is marked as not used in the given context. + + + + + + Element 'ram:URIUniversalCommunication' is marked as not used in the given context. + + + + + + Element 'ram:PaymentReference' may occur at maximum 1 times. + + Element 'ram:InvoiceCurrencyCode' must occur exactly 1 times. + + Element 'ram:ApplicableTradeTax' must occur at least 1 times. + + Element 'ram:SpecifiedTradePaymentTerms' may occur at maximum 1 times. + + Element 'ram:SpecifiedTradeSettlementHeaderMonetarySummation' must occur exactly 1 times. + + Element 'ram:ReceivableSpecifiedTradeAccountingAccount' may occur at maximum 1 times. + + + + + + Element 'ram:CalculatedAmount' must occur exactly 1 times. + + Element 'ram:TypeCode' must occur exactly 1 times. + + Element 'ram:BasisAmount' must occur exactly 1 times. + + Element 'ram:CategoryCode' must occur exactly 1 times. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + Value of 'ram:CategoryCode' is not allowed. + + + + + + + Value of 'ram:DueDateTypeCode' is not allowed. + + + + + + + Value of 'ram:ExemptionReasonCode' is not allowed. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + Value of 'ram:InvoiceCurrencyCode' is not allowed. + + + + + + [BR-55]-Each Preceding Invoice reference (BG-3) shall contain a Preceding Invoice reference (BT-25). + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:ID' may occur at maximum 1 times. + + Element 'ram:GlobalID' may occur at maximum 1 times. + + Element 'ram:Name' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:PostalTradeAddress' is marked as not used in the given context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:TradingBusinessName' is marked as not used in the given context. + + + + + + Element 'ram:SpecifiedTaxRegistration' is marked as not used in the given context. + + + + + + Element 'ram:URIUniversalCommunication' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element variant 'ram:SpecifiedTradeAllowanceCharge[ not(ram:ChargeIndicator/udt:Indicator="false") and not(ram:ChargeIndicator/udt:Indicator="true")]' is marked as not used in the given context. + + + + + + Element 'ram:ChargeIndicator' must occur exactly 1 times. + + Element 'ram:ActualAmount' must occur exactly 1 times. + + Element 'ram:CategoryTradeTax' must occur exactly 1 times. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:TypeCode' must occur exactly 1 times. + + Element 'ram:CategoryCode' must occur exactly 1 times. + + + + + + Element 'ram:BasisAmount' is marked as not used in the given context. + + + + + + Element 'ram:CalculatedAmount' is marked as not used in the given context. + + + + + + + Value of 'ram:CategoryCode' is not allowed. + + + + + + Element 'ram:DueDateTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:ExemptionReason' is marked as not used in the given context. + + + + + + Element 'ram:ExemptionReasonCode' is marked as not used in the given context. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + + Value of 'ram:ReasonCode' is not allowed. + + + + + + Element 'ram:ChargeIndicator' must occur exactly 1 times. + + Element 'ram:ActualAmount' must occur exactly 1 times. + + Element 'ram:CategoryTradeTax' must occur exactly 1 times. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:TypeCode' must occur exactly 1 times. + + Element 'ram:CategoryCode' must occur exactly 1 times. + + + + + + Element 'ram:BasisAmount' is marked as not used in the given context. + + + + + + Element 'ram:CalculatedAmount' is marked as not used in the given context. + + + + + + + Value of 'ram:CategoryCode' is not allowed. + + + + + + Element 'ram:DueDateTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:ExemptionReason' is marked as not used in the given context. + + + + + + Element 'ram:ExemptionReasonCode' is marked as not used in the given context. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + + Value of 'ram:ReasonCode' is not allowed. + + + + + + Element 'ram:Description' may occur at maximum 1 times. + + Element 'ram:DirectDebitMandateID' may occur at maximum 1 times. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Element 'ram:LineTotalAmount' must occur exactly 1 times. + + Element 'ram:ChargeTotalAmount' may occur at maximum 1 times. + + Element 'ram:AllowanceTotalAmount' may occur at maximum 1 times. + + Element 'ram:TaxBasisTotalAmount' must occur exactly 1 times. + + Element variant 'ram:TaxTotalAmount[@currencyID=../../ram:InvoiceCurrencyCode]' may occur at maximum 1 times. + + Element variant 'ram:TaxTotalAmount[@currencyID=../../ram:TaxCurrencyCode]' may occur at maximum 1 times. + + Element 'ram:GrandTotalAmount' must occur exactly 1 times. + + Element 'ram:TotalPrepaidAmount' may occur at maximum 1 times. + + Element 'ram:DuePayableAmount' must occur exactly 1 times. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element variant 'ram:TaxTotalAmount[ not(@currencyID=../../ram:InvoiceCurrencyCode) and not(@currencyID=../../ram:TaxCurrencyCode)]' is marked as not used in the given context. + + + + + + + Value of '@currencyID' is not allowed. + + + + + + Attribute '@currencyID' is required in this context. + + + + + + + Value of '@currencyID' is not allowed. + + + + + + Attribute '@currencyID' is required in this context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:TypeCode' must occur exactly 1 times. + + Element 'ram:PayeePartyCreditorFinancialAccount' may occur at maximum 1 times. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:IBANID' must occur exactly 1 times. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + + Value of 'ram:TaxCurrencyCode' is not allowed. + + diff --git a/src/schema/schematron/FACTUR-X_BASIC-WL_codedb.xml b/src/schema/schematron/FACTUR-X_BASIC-WL_codedb.xml index db4a9997..cc567d65 100644 --- a/src/schema/schematron/FACTUR-X_BASIC-WL_codedb.xml +++ b/src/schema/schematron/FACTUR-X_BASIC-WL_codedb.xml @@ -1,2276 +1,2190 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/schema/schematron/FACTUR-X_BASIC.sch b/src/schema/schematron/FACTUR-X_BASIC.sch index 5263c9ea..dd6029ce 100644 --- a/src/schema/schematron/FACTUR-X_BASIC.sch +++ b/src/schema/schematron/FACTUR-X_BASIC.sch @@ -1,7106 +1,2047 @@ - - Schema for FACTUR-X; 1.0; EN16931-COMPLIANT-BASIC - - - - - - - - Each Additional supporting document (BG-24) shall contain a Supporting document reference (BT-122). - - - - - - Each VAT breakdown (BG-23) shall have a VAT category taxable amount (BT-116). - - Each VAT breakdown (BG-23) shall have a VAT category tax amount (BT-117). - - Each VAT breakdown (BG-23) shall be defined through a VAT category code (BT-118). - - Each VAT breakdown (BG-23) shall have a VAT category rate (BT-119), except if the Invoice is not subject to VAT. - - Value added tax point date (BT-7) and Value added tax point date code (BT-8) are mutually exclusive. - - VAT category tax amount (BT-117) = VAT category taxable amount (BT-116) x (VAT category rate (BT-119) / 100), rounded to two decimals. - - The allowed maximum number of decimals for the VAT category taxable amount (BT-116) is 2. - - The allowed maximum number of decimals for the VAT category tax amount (BT-117) is 2. - - - - - - In a VAT breakdown (BG-23) where VAT category code (BT-118) is "Zero rated" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amount (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are “Zero rated". - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "Zero rated" shall equal 0 (zero). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Zero rated" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). - - - - - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "Standard rated" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Standard rate" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). - - - - - - If both Invoicing period start date (BT-73) and Invoicing period end date (BT-74) are given then the Invoicing period end date (BT-74) shall be later or equal to the Invoicing period start date (BT-73). - - If Invoicing period (BG-14) is used, the Invoicing period start date (BT-73) or the Invoicing period end date (BT-74) shall be filled, or both. - - - - - - Each Document level allowance (BG-20) shall have a Document level allowance amount (BT-92). - - Each Document level allowance (BG-20) shall have a Document level allowance VAT category code (BT-95). - - Each Document level allowance (BG-20) shall have a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98). - - Document level allowance reason code (BT-98) and Document level allowance reason (BT-97) shall indicate the same type of allowance. - - Each Document level allowance (BG-20) shall contain a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98), or both. - - The allowed maximum number of decimals for the Document level allowance amount (BT-92) is 2. - - The allowed maximum number of decimals for the Document level allowance base amount (BT-93) is 2. - - - - - - Each Document level charge (BG-21) shall have a Document level charge amount (BT-99). - - Each Document level charge (BG-21) shall have a Document level charge VAT category code (BT-102). - - Each Document level charge (BG-21) shall have a Document level charge reason (BT-104) or a Document level charge reason code (BT-105). - - Document level charge reason code (BT-105) and Document level charge reason (BT-104) shall indicate the same type of charge. - - Each Document level charge (BG-21) shall contain a Document level charge reason (BT-104) or a Document level charge reason code (BT-105), or both. - - The allowed maximum number of decimals for the Document level charge amount (BT-92) is 2. - - The allowed maximum number of decimals for the Document level charge base amount (BT-93) is 2. - - - - - - Each Item attribute (BG-32) shall contain an Item attribute name (BT-160) and an Item attribute value (BT-161). - - - - - - The last 4 to 6 digits of the Payment card primary account number (BT-87) shall be present if Payment card information (BG-18) is provided in the Invoice. - - - - - - Each Invoice line (BG-25) shall have an Invoice line identifier (BT-126). - - Each Invoice line (BG-25) shall have an Invoiced quantity (BT-129). - - An Invoice line (BG-25) shall have an Invoiced quantity unit of measure code (BT-130). - - Each Invoice line (BG-25) shall have an Invoice line net amount (BT-131). - - Each Invoice line (BG-25) shall contain the Item name (BT-153). - - Each Invoice line (BG-25) shall contain the Item net price (BT-146). - - The Item net price (BT-146) shall NOT be negative. - - The Item gross price (BT-148) shall NOT be negative. - - The Item standard identifier (BT-157) shall have a Scheme identifier - - The Item classification identifier (BT-158) shall have a Scheme identifier - - Each Invoice line (BG-25) shall be categorized with an Invoiced item VAT category code (BT-151). - - An Invoice shall at least have one VAT breakdown group (BG-23). - - The allowed maximum number of decimals for the Invoice line net amount (BT-131) is 2. - - - - - - The Payee name (BT-59) shall be provided in the Invoice, if the Payee (BG-10) is different from the Seller (BG-4). - - - - - - The Seller tax representative name (BT-62) shall be provided in the Invoice, if the Seller (BG-4) has a Seller tax representative party (BG-11). - - The Seller tax representative postal address (BG-12) shall be provided in the Invoice, if the Seller (BG-4) has a Seller tax representative party (BG-11). - - The Seller tax representative postal address (BG-12) shall contain a Tax representative country code (BT-69), if the Seller (BG-4) has a Seller tax representative party (BG-11). - - Each Seller tax representative party (BG-11) shall have a Seller tax representative VAT identifier (BT-63). - - - - - - In order for the buyer to automatically identify a supplier, the Seller identifier (BT-29), the Seller legal registration identifier (BT-30) and/or the Seller VAT identifier (BT-31) shall be present. - - - - - - If both Invoice line period start date (BT-134) and Invoice line period end date (BT-135) are given then the Invoice line period end date (BT-135) shall be later or equal to the Invoice line period start date (BT-134). - - If Invoice line period (BG-26) is used, the Invoice line period start date (BT-134) or the Invoice line period end date (BT-135) shall be filled, or both. - - - - - - Each Invoice line allowance (BG-27) shall have an Invoice line allowance amount (BT-136). - - Each Invoice line allowance (BG-27) shall have an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140). - - Invoice line allowance reason code (BT-140) and Invoice line allowance reason (BT-139) shall indicate the same type of allowance reason. - - Each Invoice line allowance (BG-27) shall contain an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140), or both. - - The allowed maximum number of decimals for the Invoice line allowance amount (BT-136) is 2. - - The allowed maximum number of decimals for the Invoice line allowance base amount (BT-137) is 2. - - - - - - Each Invoice line charge (BG-28) shall have an Invoice line charge amount (BT-141). - - Each Invoice line charge (BG-28) shall have an Invoice line charge reason (BT-144) or an Invoice line charge reason code (BT-145). - - Invoice line charge reason code (BT-145) and Invoice line charge reason (BT144) shall indicate the same type of charge reason. - - Each Invoice line charge (BG-28) shall contain an Invoice line charge reason (BT-144) or an Invoice line charge reason code (BT-145), or both. - - The allowed maximum number of decimals for the Invoice line charge amount (BT-141) is 2. - - The allowed maximum number of decimals for the Invoice line charge base amount (BT-142) is 2. - - - - - - The Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) shall have a prefix in accordance with ISO code ISO 3166-1 alpha-2 by which the country of issue may be identified. Nevertheless, Greece may use the prefix ‘EL’. - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Reverse charge” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Reverse charge" the Document level allowance VAT rate (BT-96) shall be 0 (zero). - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Exempt from VAT” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Exempt from VAT", the Document level allowance VAT rate (BT-96) shall be 0 (zero). - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Export outside the EU” shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Export outside the EU" the Document level allowance VAT rate (BT-96) shall be 0 (zero). - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Intra-community supply” shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IGIC" the Document level allowance VAT rate (BT-96) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “IGIC” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IGIC" the Document level allowance VAT rate (BT-96) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “IPSI” shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IPSI" the Document level allowance VAT rate (BT-96) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Not subject to VAT” shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-48). - - A Document level allowance (BG-20) where VAT category code (BT-95) is "Not subject to VAT" shall not contain a Document level allowance VAT rate (BT-96). - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Standard rated” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Standard rated" the Document level allowance VAT rate (BT-96) shall be greater than zero. - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Zero rated” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Zero rated" the Document level allowance VAT rate (BT-96) shall be 0 (zero). - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “Reverse charge” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Reverse charge" the Document level charge VAT rate (BT-103) shall be 0 (zero). - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “Exempt from VAT” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Exempt from VAT", the Document level charge VAT rate (BT-103) shall be 0 (zero). - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “Export outside the EU” shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Export outside the EU" the Document level charge VAT rate (BT-103) shall be 0 (zero). - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “Intra-community supply” shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Intra-community supply" the Document level charge VAT rate (BT-103) shall be 0 (zero). - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “IGIC” shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IGIC" the Document level charge VAT rate (BT-103) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “IPSI” shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IPSI" the Document level charge VAT rate (BT-103) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “Not subject to VAT” shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-48). - - A Document level charge (BG-21) where the VAT category code (BT-102) is "Not subject to VAT" shall not contain a Document level charge VAT rate (BT-103). - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “Standard rated” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Standard rated" the Document level charge VAT rate (BT-103) shall be greater than zero. - - - - - - An Invoice that contains a Document level charge where the Document level charge VAT category code (BT-102) is “Zero rated” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Zero rated" the Document level charge VAT rate (BT-103) shall be 0 (zero). - - - - - - An Invoice shall have the Invoice total amount without VAT (BT-109). - - An Invoice shall have the Invoice total amount with VAT (BT-112). - - An Invoice shall have the Amount due for payment (BT-115). - - Sum of allowances on document level (BT-107) = S Document level allowance amount (BT-92). - - Sum of charges on document level (BT-108) = S Document level charge amount (BT-99). - - Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110). - - The allowed maximum number of decimals for the Sum of Invoice line net amount (BT-106) is 2. - - The allowed maximum number of decimals for the Sum of allowanced on document level (BT-107) is 2. - - The allowed maximum number of decimals for the Sum of charges on document level (BT-108) is 2. - - The allowed maximum number of decimals for the Invoice total amount without VAT (BT-109) is 2. - - The allowed maximum number of decimals for the Invoice total VAT amount (BT-110) is 2. - - The allowed maximum number of decimals for the Invoice total amount with VAT (BT-112) is 2. - - The allowed maximum number of decimals for the Invoice total VAT amount in accounting currency (BT-111) is 2. - - The allowed maximum number of decimals for the Paid amount (BT-113) is 2. - - The allowed maximum number of decimals for the Rounding amount (BT-114) is 2. - - The allowed maximum number of decimals for the Amount due for payment (BT-115) is 2. - - If the VAT accounting currency code (BT-6) is present, then the Invoice total VAT amount in accounting currency (BT-111) shall be provided. - - Invoice total amount without VAT (BT-109) = S Invoice line net amount (BT-131) - Sum of allowances on document level (BT-107) + Sum of charges on document level (BT-108). - - Amount due for payment (BT-115) = Invoice total amount with VAT (BT-112) -Paid amount (BT-113) +Rounding amount (BT-114). - - An Invoice shall have the Sum of Invoice line net amount (BT-106). - - - - - - Invoice total VAT amount (BT-110) = S VAT category tax amount (BT-117). - - - - - - A Payment instruction (BG-16) shall specify the Payment means type code (BT-81). - - - - - - A Payment account identifier (BT-84) shall be present if Credit transfer (BG-16) information is provided in the Invoice. - - If the Payment means type code (BT-81) means SEPA credit transfer, Local credit transfer or Non-SEPA international credit transfer, the Payment account identifier (BT-84) shall be present. - - - - - - In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Reverse charge" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are “Reverse charge". - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is “Reverse charge” shall be 0 (zero). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Reverse charge" shall have a VAT exemption reason code (BT-121), meaning "Reverse charge" or the VAT exemption reason text (BT-120) "Reverse charge" (or the equivalent standard text in another language). - - - - - - The VAT category tax amount (BT-117) In a VAT breakdown (BG-23) where the VAT category code (BT-118) equals "Exempt from VAT" shall equal 0 (zero). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Exempt from VAT" shall have a VAT exemption reason code (BT-121) or a VAT exemption reason text (BT-120). - - In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Exempt from VAT" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are “Exempt from VAT". - - - - - - In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Export outside the EU" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are “Export outside the EU". - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is “Export outside the EU” shall be 0 (zero). - - A VAT Breakdown (BG-23) with the VAT Category code (BT-118) "Export outside the EU" shall have a VAT exemption reason code (BT-121), meaning "Export outside the EU" or the VAT exemption reason text (BT-120) "Export outside the EU" (or the equivalent standard text in another language). - - - - - - In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are “Intra-community supply". - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IGIC" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). - - A VAT Breakdown (BG-23) with the VAT Category code (BT-118) "Intra-community supply" shall have a VAT exemption reason code (BT-121), meaning "Intra-community supply" or the VAT exemption reason text (BT-120) "Intra-community supply" (or the equivalent standard text in another language). - - In an Invoice with a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the Actual delivery date (BT-72) or the Invoicing period (BG-14) shall not be blank. - - In an Invoice with a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the Deliver to country code (BT-80) shall not be blank. - - - - - - For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "IGIC", the VAT category taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-95) is “IGIC” and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119). - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IGIC" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) "IGIC" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). - - - - - - For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "IPSI", the VAT category taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-95) is “IPSI” and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119). - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IPSI" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) "IPSI" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). - - - - - - In a VAT breakdown (BG-23) where the VAT category code (BT-118) is " Not subject to VAT" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are “Not subject to VAT". - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is “Not subject to VAT” shall be 0 (zero). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) " Not subject to VAT" shall have a VAT exemption reason code (BT-121), meaning " Not subject to VAT" or a VAT exemption reason text (BT-120) " Not subject to VAT" (or the equivalent standard text in another language). - - An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain other VAT breakdown groups (BG-23). - - An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is not "Not subject to VAT". - - An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain Document level allowances (BG-20) where Document level allowance VAT category code (BT-95) is not "Not subject to VAT". - - An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain Document level charges (BG-21) where Document level charge VAT category code (BT-102) is not "Not subject to VAT". - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “Reverse charge” shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Reverse charge" the Invoiced item VAT rate (BT-152) shall be 0 (zero). - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “Exempt from VAT” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Exempt from VAT", the Invoiced item VAT rate (BT-152) shall be 0 (zero). - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “Export outside the EU” shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Export outside the EU" the Invoiced item VAT rate (BT-152) shall be 0 (zero). - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “Intra-community supply” shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Intracommunity supply" the Invoiced item VAT rate (BT-152) shall be 0 (zero). - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “IGIC” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IGIC" the invoiced item VAT rate (BT-152) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “IPSI” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IPSI" the Invoiced item VAT rate (BT-152) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “Not subject to VAT” shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-46). - - An Invoice line (BG-25) where the VAT category code (BT-151) is "Not subject to VAT" shall not contain an Invoiced item VAT rate (BT-152). - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “Standard rated” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Standard rated" the Invoiced item VAT rate (BT-152) shall be greater than zero. - - - - - - An Invoice that contains an Invoice line where the Invoiced item VAT category code (BT-151) is “Zero rated” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Zero rated" the Invoiced item VAT rate (BT-152) shall be 0 (zero). - - - - - - An Invoice shall have a Specification identifier (BT-24). - - An Invoice shall have an Invoice number (BT-1). - - An Invoice shall have an Invoice issue date (BT-2). - - An Invoice shall have an Invoice type code (BT-3). - - An Invoice shall have an Invoice currency code (BT-5). - - An Invoice shall contain the Seller name (BT-27). - - An Invoice shall contain the Buyer name (BT-44). - - An Invoice shall contain the Seller postal address (BG-5). - - The Seller postal address (BG-5) shall contain a Seller country code (BT-40). - - The Seller electronic address (BT-34) shall have a Scheme identifier. - - The Buyer electronic address (BT-49) shall have a Scheme identifier. - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Standard rated” shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "Standard rated". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Zero rated” shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "Zero rated". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Exempt from VAT” shall contain exactly one VAT breakdown (BG-23) with the VAT category code (BT-118) equal to "Exempt from VAT". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Reverse charge” shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "VAT reverse charge". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Intra-community supply” shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "Intra-community supply". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Export outside the EU” shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "Export outside the EU". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Not subject to VAT” shall contain exactly one VAT breakdown group (BG-23) with the VAT category code (BT-118) equal to "Not subject to VAT". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “IGIC” shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "IGIC". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “IPSI” shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "IPSI". - - In case the Amount due for payment (BT-115) is positive, either the Payment due date (BT-9) or the Payment terms (BT-20) shall be present. - - An Invoice shall contain the Buyer postal address (BG-8). - - The Buyer postal address shall contain a Buyer country code (BT-55). - - - - - - Element 'ram:TypeCode' must occur exactly 1 times. - - - - - - Element 'ram:CategoryCode' is marked as not used in the given context. - - - - - - Element 'ram:ControlRequirementIndicator' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:Content' must occur exactly 1 times. - - - - - - Element 'ram:ContentCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:Subject' is marked as not used in the given context. - - - - - - - Value of 'ram:SubjectCode' is not allowed. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'udt:DateTime' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LanguageID' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:Purpose' is marked as not used in the given context. - - - - - - Element 'ram:PurposeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionDateTime' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - - Value of 'ram:TypeCode' is not allowed. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:VersionID' is marked as not used in the given context. - - - - - - Element 'ram:BusinessProcessSpecifiedDocumentContextParameter' may occur at maximum 1 times. - - Element 'ram:GuidelineSpecifiedDocumentContextParameter' must occur exactly 1 times. - - - - - - Element 'ram:ApplicationSpecifiedDocumentContextParameter' is marked as not used in the given context. - - - - - - Element 'ram:BIMSpecifiedDocumentContextParameter' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:SpecifiedDocumentVersion' is marked as not used in the given context. - - - - - - Element 'ram:Value' is marked as not used in the given context. - - - - - - Element 'ram:ID' must occur exactly 1 times. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:SpecifiedDocumentVersion' is marked as not used in the given context. - - - - - - Element 'ram:Value' is marked as not used in the given context. - - - - - - Element 'ram:MessageStandardSpecifiedDocumentContextParameter' is marked as not used in the given context. - - - - - - Element 'ram:ScenarioSpecifiedDocumentContextParameter' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTransactionID' is marked as not used in the given context. - - - - - - Element 'ram:SubsetSpecifiedDocumentContextParameter' is marked as not used in the given context. - - - - - - Element 'ram:TestIndicator' is marked as not used in the given context. - - - - - - Element 'ram:IncludedSupplyChainTradeLineItem' must occur at least 1 times. - - - - - - Element 'ram:SellerTradeParty' must occur exactly 1 times. - - Element 'ram:BuyerTradeParty' must occur exactly 1 times. - - - - - - Element 'ram:AdditionalReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:ApplicableTradeDeliveryTerms' is marked as not used in the given context. - - - - - - Element 'ram:BuyerAgentTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:BuyerAssignedAccountantTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LineID' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:BuyerRequisitionerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:BuyerTaxRepresentativeTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:ID' may occur at maximum 1 times. - - Element 'ram:Name' must occur exactly 1 times. - - Element 'ram:PostalTradeAddress' must occur exactly 1 times. - - Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. - - Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. - - - - - - Element 'ram:DefinedTradeContact' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:EndPointURIUniversalCommunication' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LogoAssociatedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CountryID' must occur exactly 1 times. - - - - - - Element 'ram:AdditionalStreetName' is marked as not used in the given context. - - - - - - Element 'ram:AttentionOf' is marked as not used in the given context. - - - - - - Element 'ram:BuildingName' is marked as not used in the given context. - - - - - - Element 'ram:BuildingNumber' is marked as not used in the given context. - - - - - - Element 'ram:CareOf' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CitySubDivisionName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CountryName' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionID' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionName' is marked as not used in the given context. - - - - - - Element 'ram:DepartmentName' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LineFive' is marked as not used in the given context. - - - - - - Element 'ram:LineFour' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PostOfficeBox' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:StreetName' is marked as not used in the given context. - - - - - - Element 'ram:RoleCode' is marked as not used in the given context. - - - - - - Element 'ram:AuthorizedLegalRegistration' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LegalClassificationCode' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PostalTradeAddress' is marked as not used in the given context. - - - - - - Element 'ram:TradingBusinessName' is marked as not used in the given context. - - - - - - Element 'ram:ID' must occur exactly 1 times. - - - - - - Element 'ram:AssociatedRegisteredTax' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LineID' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:DemandForecastReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:OrderResponseReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:PriceListReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:ProductEndUserTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:PromotionalDealReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:PurchaseConditionsReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:QuotationReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:Reference' is marked as not used in the given context. - - - - - - Element 'ram:RequisitionerReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:SalesAgentTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:SellerAssignedAccountantTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:SellerOrderReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:Name' must occur exactly 1 times. - - Element 'ram:PostalTradeAddress' must occur exactly 1 times. - - Element 'ram:SpecifiedTaxRegistration' must occur exactly 1 times. - - - - - - Element 'ram:DefinedTradeContact' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:EndPointURIUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LogoAssociatedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CountryID' must occur exactly 1 times. - - - - - - Element 'ram:AdditionalStreetName' is marked as not used in the given context. - - - - - - Element 'ram:AttentionOf' is marked as not used in the given context. - - - - - - Element 'ram:BuildingName' is marked as not used in the given context. - - - - - - Element 'ram:BuildingNumber' is marked as not used in the given context. - - - - - - Element 'ram:CareOf' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CitySubDivisionName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CountryName' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionID' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionName' is marked as not used in the given context. - - - - - - Element 'ram:DepartmentName' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LineFive' is marked as not used in the given context. - - - - - - Element 'ram:LineFour' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PostOfficeBox' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:StreetName' is marked as not used in the given context. - - - - - - Element 'ram:RoleCode' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedLegalOrganization' is marked as not used in the given context. - - - - - - Element 'ram:ID' must occur exactly 1 times. - - - - - - Element 'ram:AssociatedRegisteredTax' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:URIUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:Name' must occur exactly 1 times. - - Element 'ram:PostalTradeAddress' must occur exactly 1 times. - - Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. - - - - - - Element 'ram:DefinedTradeContact' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:EndPointURIUniversalCommunication' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LogoAssociatedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CountryID' must occur exactly 1 times. - - - - - - Element 'ram:AdditionalStreetName' is marked as not used in the given context. - - - - - - Element 'ram:AttentionOf' is marked as not used in the given context. - - - - - - Element 'ram:BuildingName' is marked as not used in the given context. - - - - - - Element 'ram:BuildingNumber' is marked as not used in the given context. - - - - - - Element 'ram:CareOf' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CitySubDivisionName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CountryName' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionID' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionName' is marked as not used in the given context. - - - - - - Element 'ram:DepartmentName' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LineFive' is marked as not used in the given context. - - - - - - Element 'ram:LineFour' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PostOfficeBox' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:StreetName' is marked as not used in the given context. - - - - - - Element 'ram:RoleCode' is marked as not used in the given context. - - - - - - Element 'ram:AuthorizedLegalRegistration' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LegalClassificationCode' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PostalTradeAddress' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:ID' must occur exactly 1 times. - - - - - - Element 'ram:AssociatedRegisteredTax' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:SpecifiedProcuringProject' is marked as not used in the given context. - - - - - - Element 'ram:SupplyInstructionReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:UltimateCustomerOrderReferencedDocument' is marked as not used in the given context. - - - - - - Each Deliver to address (BG-15) shall contain a Deliver to country code (BT-80). - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:DescriptionBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:EarliestOccurrenceDateTime' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LatestOccurrenceDateTime' is marked as not used in the given context. - - - - - - Element 'udt:DateTime' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:OccurrenceLogisticsLocation' is marked as not used in the given context. - - - - - - Element 'ram:OccurrenceSpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:UnitQuantity' is marked as not used in the given context. - - - - - - Element 'ram:ActualDespatchSupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:ActualPickUpSupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:ActualReceiptSupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:AdditionalReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:ConsumptionReportReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:DeliveryNoteReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LineID' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:PackingListReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:PreviousDeliverySupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:ReceivingAdviceReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:RelatedSupplyChainConsignment' is marked as not used in the given context. - - - - - - Element 'ram:ShipFromTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:ID' may occur at maximum 1 times. - - Element 'ram:GlobalID' may occur at maximum 1 times. - - - - - - Element 'ram:DefinedTradeContact' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:EndPointURIUniversalCommunication' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LogoAssociatedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CountryID' must occur exactly 1 times. - - - - - - Element 'ram:AdditionalStreetName' is marked as not used in the given context. - - - - - - Element 'ram:AttentionOf' is marked as not used in the given context. - - - - - - Element 'ram:BuildingName' is marked as not used in the given context. - - - - - - Element 'ram:BuildingNumber' is marked as not used in the given context. - - - - - - Element 'ram:CareOf' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CitySubDivisionName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CountryName' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionID' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionName' is marked as not used in the given context. - - - - - - Element 'ram:DepartmentName' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LineFive' is marked as not used in the given context. - - - - - - Element 'ram:LineFour' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PostOfficeBox' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:StreetName' is marked as not used in the given context. - - - - - - Element 'ram:RoleCode' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedLegalOrganization' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTaxRegistration' is marked as not used in the given context. - - - - - - Element 'ram:URIUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:UltimateShipToTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:PaymentReference' may occur at maximum 1 times. - - Element 'ram:InvoiceCurrencyCode' must occur exactly 1 times. - - Element 'ram:ApplicableTradeTax' must occur at least 1 times. - - Element 'ram:SpecifiedTradePaymentTerms' may occur at maximum 1 times. - - Element 'ram:SpecifiedTradeSettlementHeaderMonetarySummation' must occur exactly 1 times. - - Element 'ram:ReceivableSpecifiedTradeAccountingAccount' may occur at maximum 1 times. - - - - - - Element 'ram:CalculatedAmount' must occur exactly 1 times. - - Element 'ram:TypeCode' must occur exactly 1 times. - - Element 'ram:BasisAmount' must occur exactly 1 times. - - Element 'ram:CategoryCode' must occur exactly 1 times. - - - - - - Element 'ram:AllowanceChargeBasisAmount' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:BasisQuantity' is marked as not used in the given context. - - - - - - Element 'ram:BuyerDeductibleTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:BuyerNonDeductibleTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:BuyerRepayableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:CalculatedRate' is marked as not used in the given context. - - - - - - Element 'ram:CalculationSequenceNumeric' is marked as not used in the given context. - - - - - - - Value of 'ram:CategoryCode' is not allowed. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:CategoryName' is marked as not used in the given context. - - - - - - Element 'ram:CurrencyCode' is marked as not used in the given context. - - - - - - Element 'ram:CustomsDutyIndicator' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - - Value of 'ram:ExemptionReasonCode' is not allowed. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:InformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:Jurisdiction' is marked as not used in the given context. - - - - - - Element 'ram:LineTotalBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:PlaceApplicableTradeLocation' is marked as not used in the given context. - - - - - - Attribute @format' marked as not used in the given context. - - - - - - Element 'ram:SellerPayableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:SellerRefundableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:ServiceSupplyTradeCountry' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:TaxBasisAllowanceRate' is marked as not used in the given context. - - - - - - Element 'ram:TaxPointDate' is marked as not used in the given context. - - - - - - Element 'ram:Type' is marked as not used in the given context. - - - - - - - Value of 'ram:TypeCode' is not allowed. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:UnitBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:CompleteDateTime' is marked as not used in the given context. - - - - - - Element 'ram:ContinuousIndicator' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:DurationMeasure' is marked as not used in the given context. - - - - - - Element 'udt:DateTime' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:InclusiveIndicator' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:OpenIndicator' is marked as not used in the given context. - - - - - - Element 'ram:PurposeCode' is marked as not used in the given context. - - - - - - Element 'ram:SeasonCode' is marked as not used in the given context. - - - - - - Element 'ram:SequenceNumeric' is marked as not used in the given context. - - - - - - Element 'ram:StartDateFlexibilityCode' is marked as not used in the given context. - - - - - - Element 'udt:DateTime' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:CreditReason' is marked as not used in the given context. - - - - - - Element 'ram:CreditReasonCode' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CreditorReferenceIssuerID' is marked as not used in the given context. - - - - - - Element 'ram:CreditorReferenceType' is marked as not used in the given context. - - - - - - Element 'ram:CreditorReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:DuePayableAmount' is marked as not used in the given context. - - - - - - Element 'ram:FactoringAgreementReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:FactoringListReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:InvoiceApplicableTradeCurrencyExchange' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:InvoiceDateTime' is marked as not used in the given context. - - - - - - Element 'ram:InvoiceIssuerReference' is marked as not used in the given context. - - - - - - Each Preceding Invoice reference (BG-3) shall contain a Preceding Invoice reference (BT-25). - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LineID' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:InvoiceeTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:InvoicerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LetterOfCreditReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:NextInvoiceDateTime' is marked as not used in the given context. - - - - - - Element 'ram:PayableSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:ID' may occur at maximum 1 times. - - Element 'ram:GlobalID' may occur at maximum 1 times. - - Element 'ram:Name' must occur exactly 1 times. - - - - - - Element 'ram:DefinedTradeContact' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:EndPointURIUniversalCommunication' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LogoAssociatedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PostalTradeAddress' is marked as not used in the given context. - - - - - - Element 'ram:RoleCode' is marked as not used in the given context. - - - - - - Element 'ram:AuthorizedLegalRegistration' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LegalClassificationCode' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PostalTradeAddress' is marked as not used in the given context. - - - - - - Element 'ram:TradingBusinessName' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTaxRegistration' is marked as not used in the given context. - - - - - - Element 'ram:URIUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:PayerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:PaymentApplicableTradeCurrencyExchange' is marked as not used in the given context. - - - - - - Element 'ram:PaymentCurrencyCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:ProFormaInvoiceReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:PurchaseSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:AmountTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:CostReferenceDimensionPattern' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:SetTriggerCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:SalesSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedAdvancePayment' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedFinancialAdjustment' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedLogisticsServiceCharge' is marked as not used in the given context. - - - - - - Element 'ram:ChargeIndicator' must occur exactly 1 times. - - Element 'ram:ActualAmount' must occur exactly 1 times. - - Element 'ram:CategoryTradeTax' must occur exactly 1 times. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:ActualTradeCurrencyExchange' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:BasisQuantity' is marked as not used in the given context. - - - - - - Attribute @format' marked as not used in the given context. - - - - - - Element 'ram:TypeCode' must occur exactly 1 times. - - Element 'ram:CategoryCode' must occur exactly 1 times. - - - - - - Element 'ram:AllowanceChargeBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:BasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:BasisQuantity' is marked as not used in the given context. - - - - - - Element 'ram:BuyerDeductibleTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:BuyerNonDeductibleTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:BuyerRepayableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:CalculatedAmount' is marked as not used in the given context. - - - - - - Element 'ram:CalculatedRate' is marked as not used in the given context. - - - - - - Element 'ram:CalculationSequenceNumeric' is marked as not used in the given context. - - - - - - - Value of 'ram:CategoryCode' is not allowed. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:CategoryName' is marked as not used in the given context. - - - - - - Element 'ram:CurrencyCode' is marked as not used in the given context. - - - - - - Element 'ram:CustomsDutyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:DueDateTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:ExemptionReason' is marked as not used in the given context. - - - - - - Element 'ram:ExemptionReasonCode' is marked as not used in the given context. - - - - - - Element 'ram:InformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:Jurisdiction' is marked as not used in the given context. - - - - - - Element 'ram:LineTotalBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:PlaceApplicableTradeLocation' is marked as not used in the given context. - - - - - - Attribute @format' marked as not used in the given context. - - - - - - Element 'ram:SellerPayableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:SellerRefundableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:ServiceSupplyTradeCountry' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:TaxBasisAllowanceRate' is marked as not used in the given context. - - - - - - Element 'ram:TaxPointDate' is marked as not used in the given context. - - - - - - Element 'ram:Type' is marked as not used in the given context. - - - - - - - Value of 'ram:TypeCode' is not allowed. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:UnitBasisAmount' is marked as not used in the given context. - - - - - - Element 'udt:IndicatorString' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:PrepaidIndicator' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:SequenceNumeric' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:UnitBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:DirectDebitMandateID' may occur at maximum 1 times. - - - - - - Element 'ram:ApplicableTradePaymentDiscountTerms' is marked as not used in the given context. - - - - - - Element 'ram:ApplicableTradePaymentPenaltyTerms' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'udt:DateTime' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:FromEventCode' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:InstructionTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:PartialPaymentAmount' is marked as not used in the given context. - - - - - - Element 'ram:PartialPaymentPercent' is marked as not used in the given context. - - - - - - Element 'ram:PayeeTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:PaymentMeansID' is marked as not used in the given context. - - - - - - Element 'ram:SettlementPeriodMeasure' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTradeSettlementFinancialCard' is marked as not used in the given context. - - - - - - Element 'ram:LineTotalAmount' must occur exactly 1 times. - - Element 'ram:ChargeTotalAmount' may occur at maximum 1 times. - - Element 'ram:AllowanceTotalAmount' may occur at maximum 1 times. - - Element 'ram:TaxBasisTotalAmount' must occur exactly 1 times. - - Element 'ram:TaxTotalAmount' may occur at maximum 1 times. - - Element 'ram:GrandTotalAmount' must occur exactly 1 times. - - Element 'ram:TotalPrepaidAmount' may occur at maximum 1 times. - - Element 'ram:DuePayableAmount' must occur exactly 1 times. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:GrossLineTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:InformationAmount' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:NetIncludingTaxesLineTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:NetLineTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:ProductValueExcludingTobaccoTaxInformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:RetailValueExcludingTaxInformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:RoundingAmount' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - - Value of '@currencyID' is not allowed. - - - - - - Element 'ram:TotalAllowanceChargeAmount' is marked as not used in the given context. - - - - - - Element 'ram:TotalDepositFeeInformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:TotalDiscountAmount' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:TotalRetailValueInformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' must occur exactly 1 times. - - - - - - Element 'ram:ApplicableTradeSettlementFinancialCard' is marked as not used in the given context. - - - - - - Element 'ram:GuaranteeMethodCode' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Element 'ram:AccountName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:PayeeSpecifiedCreditorFinancialInstitution' is marked as not used in the given context. - - - - - - Element 'ram:IBANID' must occur exactly 1 times. - - - - - - Element 'ram:AccountName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:ProprietaryID' is marked as not used in the given context. - - - - - - Element 'ram:PayerSpecifiedDebtorFinancialInstitution' is marked as not used in the given context. - - - - - - Element 'ram:PaymentChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:PaymentMethodCode' is marked as not used in the given context. - - - - - - - Value of 'ram:TypeCode' is not allowed. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:SubtotalCalculatedTradeTax' is marked as not used in the given context. - - - - - - Element 'ram:TaxApplicableTradeCurrencyExchange' is marked as not used in the given context. - - - - - - Element 'ram:TaxCurrencyCode' is marked as not used in the given context. - - - - - - Element 'ram:UltimatePayeeTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTradeProduct' must occur exactly 1 times. - - Element 'ram:SpecifiedLineTradeAgreement' must occur exactly 1 times. - - - - - - Element 'ram:LineID' must occur exactly 1 times. - - - - - - Element 'ram:IncludedNote' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LineStatusCode' is marked as not used in the given context. - - - - - - Element 'ram:LineStatusReasonCode' is marked as not used in the given context. - - - - - - Element 'ram:ParentLineID' is marked as not used in the given context. - - - - - - Element 'ram:DescriptionCode' is marked as not used in the given context. - - - - - - Element 'ram:IncludedSubordinateTradeLineItem' is marked as not used in the given context. - - - - - - Element 'ram:NetPriceProductTradePrice' must occur exactly 1 times. - - - - - - Element 'ram:AdditionalReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:ApplicableTradeDeliveryTerms' is marked as not used in the given context. - - - - - - Element 'ram:BuyerOrderReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:BuyerReference' is marked as not used in the given context. - - - - - - Element 'ram:BuyerRequisitionerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:ContractReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:DemandForecastReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:GrossPriceProductTradePrice' is marked as not used in the given context. - - - - - - Element 'ram:IncludedSpecifiedMarketplace' is marked as not used in the given context. - - - - - - Element 'ram:ItemBuyerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:ItemSellerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:ChargeAmount' must occur exactly 1 times. - - - - - - Element 'ram:AppliedTradeAllowanceCharge' is marked as not used in the given context. - - - - - - Element 'ram:AssociatedReferencedDocument' is marked as not used in the given context. - - - - - - Attribute @unitCodeListAgencyID' marked as not used in the given context. - - - - - - Attribute @unitCodeListAgencyName' marked as not used in the given context. - - - - - - Attribute @unitCodeListID' marked as not used in the given context. - - - - - - - Value of '@unitCode' is not allowed. - - - - - - Element 'ram:ChangeReason' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:DeliveryTradeLocation' is marked as not used in the given context. - - - - - - Element 'ram:IncludedTradeTax' is marked as not used in the given context. - - - - - - Element 'ram:MaximumQuantity' is marked as not used in the given context. - - - - - - Element 'ram:MinimumQuantity' is marked as not used in the given context. - - - - - - Element 'ram:OrderUnitConversionFactorNumeric' is marked as not used in the given context. - - - - - - Element 'ram:TradeComparisonReferencePrice' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:ValiditySpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:PromotionalDealReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:QuotationReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:RequisitionerReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:SellerOrderReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:UltimateCustomerOrderReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:BilledQuantity' must occur exactly 1 times. - - - - - - Element 'ram:ActualDeliverySupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:ActualDespatchSupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:ActualPickUpSupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:ActualReceiptSupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:AdditionalReferencedDocument' is marked as not used in the given context. - - - - - - Attribute @unitCodeListAgencyID' marked as not used in the given context. - - - - - - Attribute @unitCodeListAgencyName' marked as not used in the given context. - - - - - - Attribute @unitCodeListID' marked as not used in the given context. - - - - - - - Value of '@unitCode' is not allowed. - - - - - - Element 'ram:ChargeFreeQuantity' is marked as not used in the given context. - - - - - - Element 'ram:ConsumptionReportReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:DeliveryNoteReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:DespatchAdviceReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:DespatchedQuantity' is marked as not used in the given context. - - - - - - Element 'ram:GrossWeightMeasure' is marked as not used in the given context. - - - - - - Element 'ram:IncludedSupplyChainPackaging' is marked as not used in the given context. - - - - - - Element 'ram:NetWeightMeasure' is marked as not used in the given context. - - - - - - Element 'ram:PackageQuantity' is marked as not used in the given context. - - - - - - Element 'ram:PackingListReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:PerPackageUnitQuantity' is marked as not used in the given context. - - - - - - Element 'ram:ProductUnitQuantity' is marked as not used in the given context. - - - - - - Element 'ram:ReceivedQuantity' is marked as not used in the given context. - - - - - - Element 'ram:ReceivingAdviceReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:RelatedSupplyChainConsignment' is marked as not used in the given context. - - - - - - Element 'ram:RequestedDeliverySupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:RequestedQuantity' is marked as not used in the given context. - - - - - - Element 'ram:ShipFromTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:ShipToTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedDeliveryAdjustment' is marked as not used in the given context. - - - - - - Element 'ram:TheoreticalWeightMeasure' is marked as not used in the given context. - - - - - - Element 'ram:UltimateShipToTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:ApplicableTradeTax' must occur exactly 1 times. - - Element 'ram:SpecifiedTradeSettlementLineMonetarySummation' must occur exactly 1 times. - - - - - - Element 'ram:AdditionalReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' must occur exactly 1 times. - - Element 'ram:CategoryCode' must occur exactly 1 times. - - - - - - Element 'ram:AllowanceChargeBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:BasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:BasisQuantity' is marked as not used in the given context. - - - - - - Element 'ram:BuyerDeductibleTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:BuyerNonDeductibleTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:BuyerRepayableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:CalculatedAmount' is marked as not used in the given context. - - - - - - Element 'ram:CalculatedRate' is marked as not used in the given context. - - - - - - Element 'ram:CalculationSequenceNumeric' is marked as not used in the given context. - - - - - - - Value of 'ram:CategoryCode' is not allowed. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:CategoryName' is marked as not used in the given context. - - - - - - Element 'ram:CurrencyCode' is marked as not used in the given context. - - - - - - Element 'ram:CustomsDutyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:DueDateTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:ExemptionReason' is marked as not used in the given context. - - - - - - Element 'ram:ExemptionReasonCode' is marked as not used in the given context. - - - - - - Element 'ram:InformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:Jurisdiction' is marked as not used in the given context. - - - - - - Element 'ram:LineTotalBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:PlaceApplicableTradeLocation' is marked as not used in the given context. - - - - - - Attribute @format' marked as not used in the given context. - - - - - - Element 'ram:SellerPayableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:SellerRefundableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:ServiceSupplyTradeCountry' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:TaxBasisAllowanceRate' is marked as not used in the given context. - - - - - - Element 'ram:TaxPointDate' is marked as not used in the given context. - - - - - - Element 'ram:Type' is marked as not used in the given context. - - - - - - - Value of 'ram:TypeCode' is not allowed. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:UnitBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:BillingSpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:DiscountIndicator' is marked as not used in the given context. - - - - - - Element 'ram:InvoiceIssuerReference' is marked as not used in the given context. - - - - - - Element 'ram:InvoiceReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:PayableSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:PaymentReference' is marked as not used in the given context. - - - - - - Element 'ram:PurchaseSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:ReceivableSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:SalesSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedFinancialAdjustment' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedLogisticsServiceCharge' is marked as not used in the given context. - - - - - - Element 'ram:ActualAmount' must occur exactly 1 times. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:ActualTradeCurrencyExchange' is marked as not used in the given context. - - - - - - Element 'ram:BasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:BasisQuantity' is marked as not used in the given context. - - - - - - Element 'ram:CalculationPercent' is marked as not used in the given context. - - - - - - Element 'ram:CategoryTradeTax' is marked as not used in the given context. - - - - - - Element 'udt:IndicatorString' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:PrepaidIndicator' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:SequenceNumeric' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:UnitBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTradePaymentTerms' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTradeSettlementFinancialCard' is marked as not used in the given context. - - - - - - Element 'ram:LineTotalAmount' must occur exactly 1 times. - - - - - - Element 'ram:AllowanceTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:ChargeTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:GrandTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:GrossLineTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:InformationAmount' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:NetIncludingTaxesLineTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:NetLineTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:ProductWeightLossInformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:TaxBasisTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:TaxTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:TotalAllowanceChargeAmount' is marked as not used in the given context. - - - - - - Element 'ram:TotalRetailValueInformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:SubtotalCalculatedTradeTax' is marked as not used in the given context. - - - - - - Element 'ram:TotalAdjustmentAmount' is marked as not used in the given context. - - - - - - Element 'ram:Name' must occur exactly 1 times. - - - - - - Element 'ram:AdditionalReferenceReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:ApplicableMaterialGoodsCharacteristic' is marked as not used in the given context. - - - - - - Element 'ram:ApplicableProductCharacteristic' is marked as not used in the given context. - - - - - - Element 'ram:AreaDensityMeasure' is marked as not used in the given context. - - - - - - Element 'ram:BrandName' is marked as not used in the given context. - - - - - - Element 'ram:BrandOwnerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:BuyerAssignedID' is marked as not used in the given context. - - - - - - Element 'ram:CertificationEvidenceReferenceReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:ColourCode' is marked as not used in the given context. - - - - - - Element 'ram:ColourDescription' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:DesignatedProductClassification' is marked as not used in the given context. - - - - - - Element 'ram:Designation' is marked as not used in the given context. - - - - - - Element 'ram:DrainedNetWeightMeasure' is marked as not used in the given context. - - - - - - Element 'ram:EndItemName' is marked as not used in the given context. - - - - - - Element 'ram:EndItemTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:FormattedCancellationAnnouncedLaunchDateTime' is marked as not used in the given context. - - - - - - Element 'ram:FormattedLatestProductDataChangeDateTime' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:GrossWeightMeasure' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:IncludedReferencedProduct' is marked as not used in the given context. - - - - - - Element 'ram:IndividualTradeProductInstance' is marked as not used in the given context. - - - - - - Element 'ram:InformationNote' is marked as not used in the given context. - - - - - - Element 'ram:InspectionReferenceReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:LegalRightsOwnerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LinearSpatialDimension' is marked as not used in the given context. - - - - - - Element 'ram:MSDSReferenceReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:ManufacturerAssignedID' is marked as not used in the given context. - - - - - - Element 'ram:ManufacturerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:MaximumLinearSpatialDimension' is marked as not used in the given context. - - - - - - Element 'ram:MinimumLinearSpatialDimension' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:NetWeightMeasure' is marked as not used in the given context. - - - - - - Element 'ram:OriginTradeCountry' is marked as not used in the given context. - - - - - - Element 'ram:PresentationSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:ProductGroupID' is marked as not used in the given context. - - - - - - Element 'ram:SellerAssignedID' is marked as not used in the given context. - - - - - - Element 'ram:SubBrandName' is marked as not used in the given context. - - - - - - Element 'ram:TradeName' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:UseDescription' is marked as not used in the given context. - - - - - - Element 'ram:VariableMeasureIndicator' is marked as not used in the given context. - - - - - - Element 'rsm:ValuationBreakdownStatement' is marked as not used in the given context. - - + + Schema for Factur-X; 1.0.07; EN16931-COMPLIANT-BASIC + + + + + + + + [BR-45]-Each VAT breakdown (BG-23) shall have a VAT category taxable amount (BT-116). + + [BR-46]-Each VAT breakdown (BG-23) shall have a VAT category tax amount (BT-117). + + [BR-47]-Each VAT breakdown (BG-23) shall be defined through a VAT category code (BT-118). + + [BR-48]-Each VAT breakdown (BG-23) shall have a VAT category rate (BT-119), except if the Invoice is not subject to VAT. + + [BR-CO-03]-Value added tax point date (BT-7) and Value added tax point date code (BT-8) are mutually exclusive. + + [BR-CO-17]-VAT category tax amount (BT-117) = VAT category taxable amount (BT-116) x (VAT category rate (BT-119) / 100), rounded to two decimals. + + [BR-DEC-19]-The allowed maximum number of decimals for the VAT category taxable amount (BT-116) is 2. + + [BR-DEC-20]-The allowed maximum number of decimals for the VAT category tax amount (BT-117) is 2. + + + + + + [BR-Z-08]-In a VAT breakdown (BG-23) where VAT category code (BT-118) is "Zero rated" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amount (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Zero rated". + + [BR-Z-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "Zero rated" shall equal 0 (zero). + + [BR-Z-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Zero rated" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). + + + + + + [BR-S-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "Standard rated" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). + + [BR-S-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Standard rate" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). + + [BR-S-08]-For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "Standard rated", the VAT category taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-95) is "Standard rated" and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119). + + + + + + [BR-29]-If both Invoicing period start date (BT-73) and Invoicing period end date (BT-74) are given then the Invoicing period end date (BT-74) shall be later or equal to the Invoicing period start date (BT-73). + + [BR-CO-19]-If Invoicing period (BG-14) is used, the Invoicing period start date (BT-73) or the Invoicing period end date (BT-74) shall be filled, or both. + + + + + + [BR-31]-Each Document level allowance (BG-20) shall have a Document level allowance amount (BT-92). + + [BR-32]-Each Document level allowance (BG-20) shall have a Document level allowance VAT category code (BT-95). + + [BR-33]-Each Document level allowance (BG-20) shall have a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98). + + [BR-CO-05]-Document level allowance reason code (BT-98) and Document level allowance reason (BT-97) shall indicate the same type of allowance. + + [BR-CO-21]-Each Document level allowance (BG-20) shall contain a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98), or both. + + [BR-DEC-01]-The allowed maximum number of decimals for the Document level allowance amount (BT-92) is 2. + + [BR-DEC-02]-The allowed maximum number of decimals for the Document level allowance base amount (BT-93) is 2. + + + + + + [BR-36]-Each Document level charge (BG-21) shall have a Document level charge amount (BT-99). + + [BR-37]-Each Document level charge (BG-21) shall have a Document level charge VAT category code (BT-102). + + [BR-38]-Each Document level charge (BG-21) shall have a Document level charge reason (BT-104) or a Document level charge reason code (BT-105). + + [BR-CO-06]-Document level charge reason code (BT-105) and Document level charge reason (BT-104) shall indicate the same type of charge. + + [BR-CO-22]-Each Document level charge (BG-21) shall contain a Document level charge reason (BT-104) or a Document level charge reason code (BT-105), or both. + + [BR-DEC-05]-The allowed maximum number of decimals for the Document level charge amount (BT-99) is 2. + + [BR-DEC-06]-The allowed maximum number of decimals for the Document level charge base amount (BT-100) is 2. + + + + + + [BR-54]-Each Item attribute (BG-32) shall contain an Item attribute name (BT-160) and an Item attribute value (BT-161). + + + + + + [BR-21]-Each Invoice line (BG-25) shall have an Invoice line identifier (BT-126). + + [BR-22]-Each Invoice line (BG-25) shall have an Invoiced quantity (BT-129). + + [BR-23]-An Invoice line (BG-25) shall have an Invoiced quantity unit of measure code (BT-130). + + [BR-24]-Each Invoice line (BG-25) shall have an Invoice line net amount (BT-131). + + [BR-25]-Each Invoice line (BG-25) shall contain the Item name (BT-153). + + [BR-26]-Each Invoice line (BG-25) shall contain the Item net price (BT-146). + + [BR-27]-The Item net price (BT-146) shall NOT be negative. + + [BR-28]-The Item gross price (BT-148) shall NOT be negative. + + [BR-64]-The Item standard identifier (BT-157) shall have a Scheme identifier. + + [BR-65]-The Item classification identifier (BT-158) shall have a Scheme identifier. + + [BR-CO-04]-Each Invoice line (BG-25) shall be categorized with an Invoiced item VAT category code (BT-151). + + [BR-DEC-23]-The allowed maximum number of decimals for the Invoice line net amount (BT-131) is 2. + + + + + + [BR-17]-The Payee name (BT-59) shall be provided in the Invoice, if the Payee (BG-10) is different from the Seller (BG-4). + + + + + + [BR-18]-The Seller tax representative name (BT-62) shall be provided in the Invoice, if the Seller (BG-4) has a Seller tax representative party (BG-11). + + [BR-19]-The Seller tax representative postal address (BG-12) shall be provided in the Invoice, if the Seller (BG-4) has a Seller tax representative party (BG-11). + + [BR-20]-The Seller tax representative postal address (BG-12) shall contain a Tax representative country code (BT-69), if the Seller (BG-4) has a Seller tax representative party (BG-11). + + [BR-56]-Each Seller tax representative party (BG-11) shall have a Seller tax representative VAT identifier (BT-63). + + + + + + [BR-CO-26]-In order for the buyer to automatically identify a supplier, the Seller identifier (BT-29), the Seller legal registration identifier (BT-30) and/or the Seller VAT identifier (BT-31) shall be present. + + + + + + [BR-30]-If both Invoice line period start date (BT-134) and Invoice line period end date (BT-135) are given then the Invoice line period end date (BT-135) shall be later or equal to the Invoice line period start date (BT-134). + + [BR-CO-20]-If Invoice line period (BG-26) is used, the Invoice line period start date (BT-134) or the Invoice line period end date (BT-135) shall be filled, or both. + + + + + + [BR-42]-Each Invoice line allowance (BG-27) shall have an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140). + + + + + + [BR-41]-Each Invoice line allowance (BG-27) shall have an Invoice line allowance amount (BT-136). + + [BR-CO-07]-Invoice line allowance reason code (BT-140) and Invoice line allowance reason (BT-139) shall indicate the same type of allowance reason. + + [BR-CO-23]-Each Invoice line allowance (BG-27) shall contain an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140), or both. + + [BR-DEC-24]-The allowed maximum number of decimals for the Invoice line allowance amount (BT-136) is 2. + + [BR-DEC-25]-The allowed maximum number of decimals for the Invoice line allowance base amount (BT-137) is 2. + + + + + + [BR-43]-Each Invoice line charge (BG-28) shall have an Invoice line charge amount (BT-141). + + [BR-44]-Each Invoice line charge (BG-28) shall have an Invoice line charge reason (BT-144) or an Invoice line charge reason code (BT-145). + + [BR-CO-08]-Invoice line charge reason code (BT-145) and Invoice line charge reason (BT-144) shall indicate the same type of charge reason. + + [BR-CO-24]-Each Invoice line charge (BG-28) shall contain an Invoice line charge reason (BT-144) or an Invoice line charge reason code (BT-145), or both. + + [BR-DEC-27]-The allowed maximum number of decimals for the Invoice line charge amount (BT-141) is 2. + + [BR-DEC-28]-The allowed maximum number of decimals for the Invoice line charge base amount (BT-142) is 2. + + + + + + [BR-CO-09]-The Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) shall have a prefix in accordance with ISO code ISO 3166-1 alpha-2 by which the country of issue may be identified. Nevertheless, Greece may use the prefix ‘EL’. + + + + + + [BR-66]-Each Specified Trade Allowance Charge (BG-20)(BG-21) shall contain a Charge Indicator. + + + + + + [BR-AE-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Reverse charge" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). + + [BR-AE-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Reverse charge" the Document level allowance VAT rate (BT-96) shall be 0 (zero). + + + + + + [BR-E-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Exempt from VAT" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-E-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Exempt from VAT", the Document level allowance VAT rate (BT-96) shall be 0 (zero). + + + + + + [BR-G-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Export outside the EU" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). + + [BR-G-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Export outside the EU" the Document level allowance VAT rate (BT-96) shall be 0 (zero). + + + + + + [BR-IC-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Intra-community supply" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). + + [BR-IC-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Intra-community supply" the Document level allowance VAT rate (BT-96) shall be 0 (zero). + + + + + + [BR-AF-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IGIC" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-AF-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IGIC" the Document level allowance VAT rate (BT-96) shall be 0 (zero) or greater than zero. + + + + + + [BR-AG-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IPSI" shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-AG-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IPSI" the Document level allowance VAT rate (BT-96) shall be 0 (zero) or greater than zero. + + + + + + [BR-O-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Not subject to VAT" shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-48). + + [BR-O-06]-A Document level allowance (BG-20) where VAT category code (BT-95) is "Not subject to VAT" shall not contain a Document level allowance VAT rate (BT-96). + + + + + + [BR-S-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Standard rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-S-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Standard rated" the Document level allowance VAT rate (BT-96) shall be greater than zero. + + + + + + [BR-Z-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Zero rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-Z-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Zero rated" the Document level allowance VAT rate (BT-96) shall be 0 (zero). + + + + + + [BR-AE-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Reverse charge" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). + + [BR-AE-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Reverse charge" the Document level charge VAT rate (BT-103) shall be 0 (zero). + + + + + + [BR-E-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Exempt from VAT" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-E-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Exempt from VAT", the Document level charge VAT rate (BT-103) shall be 0 (zero). + + + + + + [BR-G-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Export outside the EU" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). + + [BR-G-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Export outside the EU" the Document level charge VAT rate (BT-103) shall be 0 (zero). + + + + + + [BR-IC-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Intra-community supply" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). + + [BR-IC-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Intra-community supply" the Document level charge VAT rate (BT-103) shall be 0 (zero). + + + + + + [BR-AF-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IGIC" shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-AF-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IGIC" the Document level charge VAT rate (BT-103) shall be 0 (zero) or greater than zero. + + + + + + [BR-AG-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IPSI" shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-AG-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IPSI" the Document level charge VAT rate (BT-103) shall be 0 (zero) or greater than zero. + + + + + + [BR-O-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Not subject to VAT" shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-48). + + [BR-O-07]-A Document level charge (BG-21) where the VAT category code (BT-102) is "Not subject to VAT" shall not contain a Document level charge VAT rate (BT-103). + + + + + + [BR-S-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Standard rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-S-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Standard rated" the Document level charge VAT rate (BT-103) shall be greater than zero. + + + + + + [BR-Z-04]-An Invoice that contains a Document level charge where the Document level charge VAT category code (BT-102) is "Zero rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-Z-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Zero rated" the Document level charge VAT rate (BT-103) shall be 0 (zero). + + + + + + [BR-CO-10]-Sum of Invoice line net amount (BT-106) = Σ Invoice line net amount (BT-131). + + [BR-12]-An Invoice shall have the Sum of Invoice line net amount (BT-106). + + [BR-13]-An Invoice shall have the Invoice total amount without VAT (BT-109). + + [BR-14]-An Invoice shall have the Invoice total amount with VAT (BT-112). + + [BR-15]-An Invoice shall have the Amount due for payment (BT-115). + + [BR-CO-11]-Sum of allowances on document level (BT-107) = Σ Document level allowance amount (BT-92). + + [BR-CO-12]-Sum of charges on document level (BT-108) = Σ Document level charge amount (BT-99). + + [BR-CO-13]-Invoice total amount without VAT (BT-109) = Σ Invoice line net amount (BT-131) - Sum of allowances on document level (BT-107) + Sum of charges on document level (BT-108). + + [BR-CO-15]-Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110). + + [BR-CO-16]-Amount due for payment (BT-115) = Invoice total amount with VAT (BT-112) -Paid amount (BT-113) +Rounding amount (BT-114). + + [BR-DEC-09]-The allowed maximum number of decimals for the Sum of Invoice line net amount (BT-106) is 2. + + [BR-DEC-10]-The allowed maximum number of decimals for the Sum of allowanced on document level (BT-107) is 2. + + [BR-DEC-11]-The allowed maximum number of decimals for the Sum of charges on document level (BT-108) is 2. + + [BR-DEC-12]-The allowed maximum number of decimals for the Invoice total amount without VAT (BT-109) is 2. + + [BR-DEC-13]-The allowed maximum number of decimals for the Invoice total VAT amount (BT-110) is 2. + + [BR-DEC-14]-The allowed maximum number of decimals for the Invoice total amount with VAT (BT-112) is 2. + + [BR-DEC-15]-The allowed maximum number of decimals for the Invoice total VAT amount in accounting currency (BT-111) is 2. + + [BR-DEC-16]-The allowed maximum number of decimals for the Paid amount (BT-113) is 2. + + [BR-DEC-17]-The allowed maximum number of decimals for the Rounding amount (BT-114) is 2. + + [BR-DEC-18]-The allowed maximum number of decimals for the Amount due for payment (BT-115) is 2. + + [BR-53]-If the VAT accounting currency code (BT-6) is present, then the Invoice total VAT amount in accounting currency (BT-111) shall be provided. + + + + + + [BR-CO-14]-Invoice total VAT amount (BT-110) = Σ VAT category tax amount (BT-117). + + + + + + [BR-49]-A Payment instruction (BG-16) shall specify the Payment means type code (BT-81). + + [BR-CO-27]-Either the IBAN or a Proprietary ID (BT-84) shall be used. + + + + + + [BR-50]-A Payment account identifier (BT-84) shall be present if Credit transfer (BG-16) information is provided in the Invoice. + + [BR-61]-If the Payment means type code (BT-81) means SEPA credit transfer, Local credit transfer or Non-SEPA international credit transfer, the Payment account identifier (BT-84) shall be present. + + + + + + [BR-CO-18]-An Invoice shall at least have one VAT breakdown group (BG-23). + + + + + + [BR-AE-08]-In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Reverse charge" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Reverse charge". + + [BR-AE-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Reverse charge" shall be 0 (zero). + + [BR-AE-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Reverse charge" shall have a VAT exemption reason code (BT-121), meaning "Reverse charge" or the VAT exemption reason text (BT-120) "Reverse charge" (or the equivalent standard text in another language). + + + + + + [BR-E-08]-In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Exempt from VAT" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Exempt from VAT". + + [BR-E-09]-The VAT category tax amount (BT-117) In a VAT breakdown (BG-23) where the VAT category code (BT-118) equals "Exempt from VAT" shall equal 0 (zero). + + [BR-E-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Exempt from VAT" shall have a VAT exemption reason code (BT-121) or a VAT exemption reason text (BT-120). + + + + + + [BR-G-08]-In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Export outside the EU" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Export outside the EU". + + [BR-G-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Export outside the EU" shall be 0 (zero). + + [BR-G-10]-A VAT Breakdown (BG-23) with the VAT Category code (BT-118) "Export outside the EU" shall have a VAT exemption reason code (BT-121), meaning "Export outside the EU" or the VAT exemption reason text (BT-120) "Export outside the EU" (or the equivalent standard text in another language). + + + + + + [BR-IC-08]-In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Intra-community supply". + + [BR-IC-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" shall be 0 (zero). + + [BR-IC-10]-A VAT Breakdown (BG-23) with the VAT Category code (BT-118) "Intra-community supply" shall have a VAT exemption reason code (BT-121), meaning "Intra-community supply" or the VAT exemption reason text (BT-120) "Intra-community supply" (or the equivalent standard text in another language). + + [BR-IC-11]-In an Invoice with a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the Actual delivery date (BT-72) or the Invoicing period (BG-14) shall not be blank. + + [BR-IC-12]-In an Invoice with a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the Deliver to country code (BT-80) shall not be blank. + + + + + + [BR-AF-08]-For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "IGIC", the VAT category taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-95) is "IGIC" and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119). + + [BR-AF-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IGIC" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). + + [BR-AF-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "IGIC" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). + + + + + + [BR-AG-08]-For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "IPSI", the VAT category taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-95) is "IPSI" and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119). + + [BR-AG-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IPSI" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). + + [BR-AG-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "IPSI" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). + + + + + + [BR-O-08]-In a VAT breakdown (BG-23) where the VAT category code (BT-118) is " Not subject to VAT" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Not subject to VAT". + + [BR-O-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Not subject to VAT" shall be 0 (zero). + + [BR-O-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) " Not subject to VAT" shall have a VAT exemption reason code (BT-121), meaning " Not subject to VAT" or a VAT exemption reason text (BT-120) " Not subject to VAT" (or the equivalent standard text in another language). + + [BR-O-11]-An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain other VAT breakdown groups (BG-23). + + [BR-O-12]-An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is not "Not subject to VAT". + + [BR-O-13]-An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain Document level allowances (BG-20) where Document level allowance VAT category code (BT-95) is not "Not subject to VAT". + + [BR-O-14]-An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain Document level charges (BG-21) where Document level charge VAT category code (BT-102) is not "Not subject to VAT". + + + + + + [BR-AE-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Reverse charge" shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). + + [BR-AE-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Reverse charge" the Invoiced item VAT rate (BT-152) shall be 0 (zero). + + + + + + [BR-E-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Exempt from VAT" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-E-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Exempt from VAT", the Invoiced item VAT rate (BT-152) shall be 0 (zero). + + + + + + [BR-G-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Export outside the EU" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). + + [BR-G-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Export outside the EU" the Invoiced item VAT rate (BT-152) shall be 0 (zero). + + + + + + [BR-IC-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Intra-community supply" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). + + [BR-IC-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Intracommunity supply" the Invoiced item VAT rate (BT-152) shall be 0 (zero). + + + + + + [BR-AF-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IGIC" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-AF-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IGIC" the invoiced item VAT rate (BT-152) shall be greater than 0 (zero). + + + + + + [BR-AG-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IPSI" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-AG-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IPSI" the Invoiced item VAT rate (BT-152) shall be 0 (zero) or greater than zero. + + + + + + [BR-O-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Not subject to VAT" shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-46). + + [BR-O-05]-An Invoice line (BG-25) where the VAT category code (BT-151) is "Not subject to VAT" shall not contain an Invoiced item VAT rate (BT-152). + + + + + + [BR-S-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Standard rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-S-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Standard rated" the Invoiced item VAT rate (BT-152) shall be greater than zero. + + + + + + [BR-Z-02]-An Invoice that contains an Invoice line where the Invoiced item VAT category code (BT-151) is "Zero rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-Z-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Zero rated" the Invoiced item VAT rate (BT-152) shall be 0 (zero). + + + + + + [BR-16]-An Invoice shall have at least one Invoice line (BG-25). + + [BR-CO-25]-In case the Amount due for payment (BT-115) is positive, either the Payment due date (BT-9) or the Payment terms (BT-20) shall be present. + + [BR-01]-An Invoice shall have a Specification identifier (BT-24). + + [BR-02]-An Invoice shall have an Invoice number (BT-1). + + [BR-03]-An Invoice shall have an Invoice issue date (BT-2). + + [BR-04]-An Invoice shall have an Invoice type code (BT-3). + + [BR-05]-An Invoice shall have an Invoice currency code (BT-5). + + [BR-06]-An Invoice shall contain the Seller name (BT-27). + + [BR-07]-An Invoice shall contain the Buyer name (BT-44). + + [BR-08]-An Invoice shall contain the Seller postal address (BG-5). + + [BR-09]-The Seller postal address (BG-5) shall contain a Seller country code (BT-40). + + [BR-10]-An Invoice shall contain the Buyer postal address (BG-8). + + [BR-11]-The Buyer postal address shall contain a Buyer country code (BT-55). + + [BR-62]-The Seller electronic address (BT-34) shall have a Scheme identifier. + + [BR-63]-The Buyer electronic address (BT-49) shall have a Scheme identifier. + + [BR-S-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Standard rated" shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "Standard rated". + + [BR-Z-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Zero rated" shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "Zero rated". + + [BR-E-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Exempt from VAT” shall contain exactly one VAT breakdown (BG-23) with the VAT category code (BT-118) equal to "Exempt from VAT". + + [BR-AE-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Reverse charge" shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "VAT reverse charge". + + [BR-IC-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Intra-community supply" shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "Intra-community supply". + + [BR-G-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Export outside the EU" shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "Export outside the EU". + + [BR-O-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Not subject to VAT" shall contain exactly one VAT breakdown group (BG-23) with the VAT category code (BT-118) equal to "Not subject to VAT". + + [BR-AF-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "IGIC" shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "IGIC". + + [BR-AG-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "IPSI" shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "IPSI". + + [BR-B-01]-An Invoice where the VAT category code (BT-151, BT-95 or BT-102) is “Split payment” shall be a domestic Italian invoice. + + [BR-B-02]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Split payment" shall not contain an invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Standard rated”. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + Element 'ram:TypeCode' must occur exactly 1 times. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:Content' must occur exactly 1 times. + + Element 'ram:SubjectCode' may occur at maximum 1 times. + + + + + + + Value of 'ram:SubjectCode' is not allowed. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + Element 'ram:BusinessProcessSpecifiedDocumentContextParameter' may occur at maximum 1 times. + + Element 'ram:GuidelineSpecifiedDocumentContextParameter' must occur exactly 1 times. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + + Value of 'ram:ID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:IncludedSupplyChainTradeLineItem' must occur at least 1 times. + + + + + + Element 'ram:SellerTradeParty' must occur exactly 1 times. + + Element 'ram:BuyerTradeParty' must occur exactly 1 times. + + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:ID' may occur at maximum 1 times. + + Element 'ram:GlobalID' may occur at maximum 1 times. + + Element 'ram:Name' must occur exactly 1 times. + + Element 'ram:PostalTradeAddress' must occur exactly 1 times. + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:TradingBusinessName' is marked as not used in the given context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:Name' must occur exactly 1 times. + + Element 'ram:PostalTradeAddress' must occur exactly 1 times. + + Element 'ram:SpecifiedTaxRegistration' must occur exactly 1 times. + + + + + + Element 'ram:GlobalID' is marked as not used in the given context. + + + + + + Element 'ram:ID' is marked as not used in the given context. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Element 'ram:SpecifiedLegalOrganization' is marked as not used in the given context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:URIUniversalCommunication' is marked as not used in the given context. + + + + + + Element 'ram:Name' must occur exactly 1 times. + + Element 'ram:PostalTradeAddress' must occur exactly 1 times. + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + Element variant 'ram:SpecifiedTaxRegistration[ram:ID/@schemeID="VA"]' may occur at maximum 1 times. + + Element variant 'ram:SpecifiedTaxRegistration[ram:ID/@schemeID="FC"]' may occur at maximum 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element variant 'ram:SpecifiedTaxRegistration[ not(ram:ID/@schemeID="VA") and not(ram:ID/@schemeID="FC")]' is marked as not used in the given context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + [BR-57]-Each Deliver to address (BG-15) shall contain a Deliver to country code (BT-80). + + + + + + Element 'ram:OccurrenceDateTime' must occur exactly 1 times. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:ID' may occur at maximum 1 times. + + Element 'ram:GlobalID' may occur at maximum 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Element 'ram:SpecifiedLegalOrganization' is marked as not used in the given context. + + + + + + Element 'ram:SpecifiedTaxRegistration' is marked as not used in the given context. + + + + + + Element 'ram:URIUniversalCommunication' is marked as not used in the given context. + + + + + + Element 'ram:PaymentReference' may occur at maximum 1 times. + + Element 'ram:InvoiceCurrencyCode' must occur exactly 1 times. + + Element 'ram:ApplicableTradeTax' must occur at least 1 times. + + Element 'ram:SpecifiedTradePaymentTerms' may occur at maximum 1 times. + + Element 'ram:SpecifiedTradeSettlementHeaderMonetarySummation' must occur exactly 1 times. + + Element 'ram:ReceivableSpecifiedTradeAccountingAccount' may occur at maximum 1 times. + + + + + + Element 'ram:CalculatedAmount' must occur exactly 1 times. + + Element 'ram:TypeCode' must occur exactly 1 times. + + Element 'ram:BasisAmount' must occur exactly 1 times. + + Element 'ram:CategoryCode' must occur exactly 1 times. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + Value of 'ram:CategoryCode' is not allowed. + + + + + + + Value of 'ram:DueDateTypeCode' is not allowed. + + + + + + + Value of 'ram:ExemptionReasonCode' is not allowed. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + Value of 'ram:InvoiceCurrencyCode' is not allowed. + + + + + + [BR-55]-Each Preceding Invoice reference (BG-3) shall contain a Preceding Invoice reference (BT-25). + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:ID' may occur at maximum 1 times. + + Element 'ram:GlobalID' may occur at maximum 1 times. + + Element 'ram:Name' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:PostalTradeAddress' is marked as not used in the given context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:TradingBusinessName' is marked as not used in the given context. + + + + + + Element 'ram:SpecifiedTaxRegistration' is marked as not used in the given context. + + + + + + Element 'ram:URIUniversalCommunication' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element variant 'ram:SpecifiedTradeAllowanceCharge[ not(ram:ChargeIndicator/udt:Indicator="false") and not(ram:ChargeIndicator/udt:Indicator="true")]' is marked as not used in the given context. + + + + + + Element 'ram:ChargeIndicator' must occur exactly 1 times. + + Element 'ram:ActualAmount' must occur exactly 1 times. + + Element 'ram:CategoryTradeTax' must occur exactly 1 times. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:TypeCode' must occur exactly 1 times. + + Element 'ram:CategoryCode' must occur exactly 1 times. + + + + + + Element 'ram:BasisAmount' is marked as not used in the given context. + + + + + + Element 'ram:CalculatedAmount' is marked as not used in the given context. + + + + + + + Value of 'ram:CategoryCode' is not allowed. + + + + + + Element 'ram:DueDateTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:ExemptionReason' is marked as not used in the given context. + + + + + + Element 'ram:ExemptionReasonCode' is marked as not used in the given context. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + + Value of 'ram:ReasonCode' is not allowed. + + + + + + Element 'ram:ChargeIndicator' must occur exactly 1 times. + + Element 'ram:ActualAmount' must occur exactly 1 times. + + Element 'ram:CategoryTradeTax' must occur exactly 1 times. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:TypeCode' must occur exactly 1 times. + + Element 'ram:CategoryCode' must occur exactly 1 times. + + + + + + Element 'ram:BasisAmount' is marked as not used in the given context. + + + + + + Element 'ram:CalculatedAmount' is marked as not used in the given context. + + + + + + + Value of 'ram:CategoryCode' is not allowed. + + + + + + Element 'ram:DueDateTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:ExemptionReason' is marked as not used in the given context. + + + + + + Element 'ram:ExemptionReasonCode' is marked as not used in the given context. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + + Value of 'ram:ReasonCode' is not allowed. + + + + + + Element 'ram:Description' may occur at maximum 1 times. + + Element 'ram:DirectDebitMandateID' may occur at maximum 1 times. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Element 'ram:LineTotalAmount' must occur exactly 1 times. + + Element 'ram:ChargeTotalAmount' may occur at maximum 1 times. + + Element 'ram:AllowanceTotalAmount' may occur at maximum 1 times. + + Element 'ram:TaxBasisTotalAmount' must occur exactly 1 times. + + Element variant 'ram:TaxTotalAmount[@currencyID=../../ram:InvoiceCurrencyCode]' may occur at maximum 1 times. + + Element variant 'ram:TaxTotalAmount[@currencyID=../../ram:TaxCurrencyCode]' may occur at maximum 1 times. + + Element 'ram:GrandTotalAmount' must occur exactly 1 times. + + Element 'ram:TotalPrepaidAmount' may occur at maximum 1 times. + + Element 'ram:DuePayableAmount' must occur exactly 1 times. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element variant 'ram:TaxTotalAmount[ not(@currencyID=../../ram:InvoiceCurrencyCode) and not(@currencyID=../../ram:TaxCurrencyCode)]' is marked as not used in the given context. + + + + + + + Value of '@currencyID' is not allowed. + + + + + + Attribute '@currencyID' is required in this context. + + + + + + + Value of '@currencyID' is not allowed. + + + + + + Attribute '@currencyID' is required in this context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:TypeCode' must occur exactly 1 times. + + Element 'ram:PayeePartyCreditorFinancialAccount' may occur at maximum 1 times. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:IBANID' must occur exactly 1 times. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + + Value of 'ram:TaxCurrencyCode' is not allowed. + + + + + + Element 'ram:AssociatedDocumentLineDocument' must occur exactly 1 times. + + Element 'ram:SpecifiedTradeProduct' must occur exactly 1 times. + + Element 'ram:SpecifiedLineTradeAgreement' must occur exactly 1 times. + + Element 'ram:SpecifiedLineTradeDelivery' must occur exactly 1 times. + + + + + + Element 'ram:LineID' must occur exactly 1 times. + + Element 'ram:IncludedNote' may occur at maximum 1 times. + + + + + + Element 'ram:Content' must occur exactly 1 times. + + + + + + Element 'ram:SubjectCode' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:NetPriceProductTradePrice' must occur exactly 1 times. + + + + + + Element 'ram:ChargeAmount' must occur exactly 1 times. + + Element variant 'ram:AppliedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator="false"]' may occur at maximum 1 times. + + + + + + Element variant 'ram:AppliedTradeAllowanceCharge[ not(ram:ChargeIndicator/udt:Indicator="false") and not(ram:ChargeIndicator/udt:Indicator="true")]' is marked as not used in the given context. + + + + + + Element 'ram:ChargeIndicator' must occur exactly 1 times. + + Element 'ram:ActualAmount' must occur exactly 1 times. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:BasisAmount' is marked as not used in the given context. + + + + + + Element 'ram:CalculationPercent' is marked as not used in the given context. + + + + + + Element 'ram:CategoryTradeTax' is marked as not used in the given context. + + + + + + Element 'ram:Reason' is marked as not used in the given context. + + + + + + Element 'ram:ReasonCode' is marked as not used in the given context. + + + + + + + Value of '@unitCode' is not allowed. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:ChargeAmount' must occur exactly 1 times. + + + + + + Element 'ram:AppliedTradeAllowanceCharge' is marked as not used in the given context. + + + + + + + Value of '@unitCode' is not allowed. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:BilledQuantity' must occur exactly 1 times. + + + + + + Attribute '@unitCode' is required in this context. + + + + + + + Value of '@unitCode' is not allowed. + + + + + + Element 'ram:ApplicableTradeTax' must occur exactly 1 times. + + Element 'ram:SpecifiedTradeSettlementLineMonetarySummation' must occur exactly 1 times. + + + + + + Element 'ram:TypeCode' must occur exactly 1 times. + + Element 'ram:CategoryCode' must occur exactly 1 times. + + + + + + Element 'ram:BasisAmount' is marked as not used in the given context. + + + + + + Element 'ram:CalculatedAmount' is marked as not used in the given context. + + + + + + + Value of 'ram:CategoryCode' is not allowed. + + + + + + Element 'ram:DueDateTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:ExemptionReason' is marked as not used in the given context. + + + + + + Element 'ram:ExemptionReasonCode' is marked as not used in the given context. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Element variant 'ram:SpecifiedTradeAllowanceCharge[ not(ram:ChargeIndicator/udt:Indicator="false") and not(ram:ChargeIndicator/udt:Indicator="true")]' is marked as not used in the given context. + + + + + + Element 'ram:ChargeIndicator' must occur exactly 1 times. + + Element 'ram:ActualAmount' must occur exactly 1 times. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:BasisAmount' is marked as not used in the given context. + + + + + + Element 'ram:CalculationPercent' is marked as not used in the given context. + + + + + + Element 'ram:CategoryTradeTax' is marked as not used in the given context. + + + + + + + Value of 'ram:ReasonCode' is not allowed. + + + + + + Element 'ram:ChargeIndicator' must occur exactly 1 times. + + Element 'ram:ActualAmount' must occur exactly 1 times. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:BasisAmount' is marked as not used in the given context. + + + + + + Element 'ram:CalculationPercent' is marked as not used in the given context. + + + + + + Element 'ram:CategoryTradeTax' is marked as not used in the given context. + + + + + + + Value of 'ram:ReasonCode' is not allowed. + + + + + + Element 'ram:LineTotalAmount' must occur exactly 1 times. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:Name' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + diff --git a/src/schema/schematron/FACTUR-X_BASIC_codedb.xml b/src/schema/schematron/FACTUR-X_BASIC_codedb.xml index 7df499c8..cc567d65 100644 --- a/src/schema/schematron/FACTUR-X_BASIC_codedb.xml +++ b/src/schema/schematron/FACTUR-X_BASIC_codedb.xml @@ -1,4673 +1,2190 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/schema/schematron/FACTUR-X_EN16931.sch b/src/schema/schematron/FACTUR-X_EN16931.sch index b9cf16c4..4d86dd79 100644 --- a/src/schema/schematron/FACTUR-X_EN16931.sch +++ b/src/schema/schematron/FACTUR-X_EN16931.sch @@ -1,9500 +1,2905 @@ - - Schema for FACTUR-X; 1.0; EN16931-COMPLIANT (FULLY) - - - - - - - - Each Additional supporting document (BG-24) shall contain a Supporting document reference (BT-122). - - - - - - Each VAT breakdown (BG-23) shall have a VAT category taxable amount (BT-116). - - Each VAT breakdown (BG-23) shall have a VAT category tax amount (BT-117). - - Each VAT breakdown (BG-23) shall be defined through a VAT category code (BT-118). - - Each VAT breakdown (BG-23) shall have a VAT category rate (BT-119), except if the Invoice is not subject to VAT. - - Value added tax point date (BT-7) and Value added tax point date code (BT-8) are mutually exclusive. - - VAT category tax amount (BT-117) = VAT category taxable amount (BT-116) x (VAT category rate (BT-119) / 100), rounded to two decimals. - - The allowed maximum number of decimals for the VAT category taxable amount (BT-116) is 2. - - The allowed maximum number of decimals for the VAT category tax amount (BT-117) is 2. - - - - - - In a VAT breakdown (BG-23) where VAT category code (BT-118) is "Zero rated" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amount (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are “Zero rated". - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "Zero rated" shall equal 0 (zero). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Zero rated" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). - - - - - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "Standard rated" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Standard rate" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). - - - - - - If both Invoicing period start date (BT-73) and Invoicing period end date (BT-74) are given then the Invoicing period end date (BT-74) shall be later or equal to the Invoicing period start date (BT-73). - - If Invoicing period (BG-14) is used, the Invoicing period start date (BT-73) or the Invoicing period end date (BT-74) shall be filled, or both. - - - - - - Each Document level allowance (BG-20) shall have a Document level allowance amount (BT-92). - - Each Document level allowance (BG-20) shall have a Document level allowance VAT category code (BT-95). - - Each Document level allowance (BG-20) shall have a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98). - - Document level allowance reason code (BT-98) and Document level allowance reason (BT-97) shall indicate the same type of allowance. - - Each Document level allowance (BG-20) shall contain a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98), or both. - - The allowed maximum number of decimals for the Document level allowance amount (BT-92) is 2. - - The allowed maximum number of decimals for the Document level allowance base amount (BT-93) is 2. - - - - - - Each Document level charge (BG-21) shall have a Document level charge amount (BT-99). - - Each Document level charge (BG-21) shall have a Document level charge VAT category code (BT-102). - - Each Document level charge (BG-21) shall have a Document level charge reason (BT-104) or a Document level charge reason code (BT-105). - - Document level charge reason code (BT-105) and Document level charge reason (BT-104) shall indicate the same type of charge. - - Each Document level charge (BG-21) shall contain a Document level charge reason (BT-104) or a Document level charge reason code (BT-105), or both. - - The allowed maximum number of decimals for the Document level charge amount (BT-92) is 2. - - The allowed maximum number of decimals for the Document level charge base amount (BT-93) is 2. - - - - - - Each Item attribute (BG-32) shall contain an Item attribute name (BT-160) and an Item attribute value (BT-161). - - - - - - The last 4 to 6 digits of the Payment card primary account number (BT-87) shall be present if Payment card information (BG-18) is provided in the Invoice. - - - - - - Each Invoice line (BG-25) shall have an Invoice line identifier (BT-126). - - Each Invoice line (BG-25) shall have an Invoiced quantity (BT-129). - - An Invoice line (BG-25) shall have an Invoiced quantity unit of measure code (BT-130). - - Each Invoice line (BG-25) shall have an Invoice line net amount (BT-131). - - Each Invoice line (BG-25) shall contain the Item name (BT-153). - - Each Invoice line (BG-25) shall contain the Item net price (BT-146). - - The Item net price (BT-146) shall NOT be negative. - - The Item gross price (BT-148) shall NOT be negative. - - The Item standard identifier (BT-157) shall have a Scheme identifier - - The Item classification identifier (BT-158) shall have a Scheme identifier - - Each Invoice line (BG-25) shall be categorized with an Invoiced item VAT category code (BT-151). - - An Invoice shall at least have one VAT breakdown group (BG-23). - - The allowed maximum number of decimals for the Invoice line net amount (BT-131) is 2. - - - - - - The Payee name (BT-59) shall be provided in the Invoice, if the Payee (BG-10) is different from the Seller (BG-4). - - - - - - The Seller tax representative name (BT-62) shall be provided in the Invoice, if the Seller (BG-4) has a Seller tax representative party (BG-11). - - The Seller tax representative postal address (BG-12) shall be provided in the Invoice, if the Seller (BG-4) has a Seller tax representative party (BG-11). - - The Seller tax representative postal address (BG-12) shall contain a Tax representative country code (BT-69), if the Seller (BG-4) has a Seller tax representative party (BG-11). - - Each Seller tax representative party (BG-11) shall have a Seller tax representative VAT identifier (BT-63). - - - - - - In order for the buyer to automatically identify a supplier, the Seller identifier (BT-29), the Seller legal registration identifier (BT-30) and/or the Seller VAT identifier (BT-31) shall be present. - - - - - - If both Invoice line period start date (BT-134) and Invoice line period end date (BT-135) are given then the Invoice line period end date (BT-135) shall be later or equal to the Invoice line period start date (BT-134). - - If Invoice line period (BG-26) is used, the Invoice line period start date (BT-134) or the Invoice line period end date (BT-135) shall be filled, or both. - - - - - - Each Invoice line allowance (BG-27) shall have an Invoice line allowance amount (BT-136). - - Each Invoice line allowance (BG-27) shall have an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140). - - Invoice line allowance reason code (BT-140) and Invoice line allowance reason (BT-139) shall indicate the same type of allowance reason. - - Each Invoice line allowance (BG-27) shall contain an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140), or both. - - The allowed maximum number of decimals for the Invoice line allowance amount (BT-136) is 2. - - The allowed maximum number of decimals for the Invoice line allowance base amount (BT-137) is 2. - - - - - - Each Invoice line charge (BG-28) shall have an Invoice line charge amount (BT-141). - - Each Invoice line charge (BG-28) shall have an Invoice line charge reason (BT-144) or an Invoice line charge reason code (BT-145). - - Invoice line charge reason code (BT-145) and Invoice line charge reason (BT144) shall indicate the same type of charge reason. - - Each Invoice line charge (BG-28) shall contain an Invoice line charge reason (BT-144) or an Invoice line charge reason code (BT-145), or both. - - The allowed maximum number of decimals for the Invoice line charge amount (BT-141) is 2. - - The allowed maximum number of decimals for the Invoice line charge base amount (BT-142) is 2. - - - - - - The Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) shall have a prefix in accordance with ISO code ISO 3166-1 alpha-2 by which the country of issue may be identified. Nevertheless, Greece may use the prefix ‘EL’. - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Reverse charge” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Reverse charge" the Document level allowance VAT rate (BT-96) shall be 0 (zero). - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Exempt from VAT” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Exempt from VAT", the Document level allowance VAT rate (BT-96) shall be 0 (zero). - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Export outside the EU” shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Export outside the EU" the Document level allowance VAT rate (BT-96) shall be 0 (zero). - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Intra-community supply” shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IGIC" the Document level allowance VAT rate (BT-96) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “IGIC” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IGIC" the Document level allowance VAT rate (BT-96) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “IPSI” shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IPSI" the Document level allowance VAT rate (BT-96) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Not subject to VAT” shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-48). - - A Document level allowance (BG-20) where VAT category code (BT-95) is "Not subject to VAT" shall not contain a Document level allowance VAT rate (BT-96). - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Standard rated” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Standard rated" the Document level allowance VAT rate (BT-96) shall be greater than zero. - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Zero rated” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Zero rated" the Document level allowance VAT rate (BT-96) shall be 0 (zero). - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “Reverse charge” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Reverse charge" the Document level charge VAT rate (BT-103) shall be 0 (zero). - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “Exempt from VAT” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Exempt from VAT", the Document level charge VAT rate (BT-103) shall be 0 (zero). - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “Export outside the EU” shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Export outside the EU" the Document level charge VAT rate (BT-103) shall be 0 (zero). - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “Intra-community supply” shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Intra-community supply" the Document level charge VAT rate (BT-103) shall be 0 (zero). - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “IGIC” shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IGIC" the Document level charge VAT rate (BT-103) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “IPSI” shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IPSI" the Document level charge VAT rate (BT-103) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “Not subject to VAT” shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-48). - - A Document level charge (BG-21) where the VAT category code (BT-102) is "Not subject to VAT" shall not contain a Document level charge VAT rate (BT-103). - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “Standard rated” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Standard rated" the Document level charge VAT rate (BT-103) shall be greater than zero. - - - - - - An Invoice that contains a Document level charge where the Document level charge VAT category code (BT-102) is “Zero rated” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Zero rated" the Document level charge VAT rate (BT-103) shall be 0 (zero). - - - - - - An Invoice shall have the Invoice total amount without VAT (BT-109). - - An Invoice shall have the Invoice total amount with VAT (BT-112). - - An Invoice shall have the Amount due for payment (BT-115). - - Sum of allowances on document level (BT-107) = S Document level allowance amount (BT-92). - - Sum of charges on document level (BT-108) = S Document level charge amount (BT-99). - - Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110). - - The allowed maximum number of decimals for the Sum of Invoice line net amount (BT-106) is 2. - - The allowed maximum number of decimals for the Sum of allowanced on document level (BT-107) is 2. - - The allowed maximum number of decimals for the Sum of charges on document level (BT-108) is 2. - - The allowed maximum number of decimals for the Invoice total amount without VAT (BT-109) is 2. - - The allowed maximum number of decimals for the Invoice total VAT amount (BT-110) is 2. - - The allowed maximum number of decimals for the Invoice total amount with VAT (BT-112) is 2. - - The allowed maximum number of decimals for the Invoice total VAT amount in accounting currency (BT-111) is 2. - - The allowed maximum number of decimals for the Paid amount (BT-113) is 2. - - The allowed maximum number of decimals for the Rounding amount (BT-114) is 2. - - The allowed maximum number of decimals for the Amount due for payment (BT-115) is 2. - - If the VAT accounting currency code (BT-6) is present, then the Invoice total VAT amount in accounting currency (BT-111) shall be provided. - - Invoice total amount without VAT (BT-109) = S Invoice line net amount (BT-131) - Sum of allowances on document level (BT-107) + Sum of charges on document level (BT-108). - - Amount due for payment (BT-115) = Invoice total amount with VAT (BT-112) -Paid amount (BT-113) +Rounding amount (BT-114). - - An Invoice shall have the Sum of Invoice line net amount (BT-106). - - - - - - Invoice total VAT amount (BT-110) = S VAT category tax amount (BT-117). - - - - - - A Payment instruction (BG-16) shall specify the Payment means type code (BT-81). - - - - - - A Payment account identifier (BT-84) shall be present if Credit transfer (BG-16) information is provided in the Invoice. - - If the Payment means type code (BT-81) means SEPA credit transfer, Local credit transfer or Non-SEPA international credit transfer, the Payment account identifier (BT-84) shall be present. - - - - - - In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Reverse charge" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are “Reverse charge". - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is “Reverse charge” shall be 0 (zero). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Reverse charge" shall have a VAT exemption reason code (BT-121), meaning "Reverse charge" or the VAT exemption reason text (BT-120) "Reverse charge" (or the equivalent standard text in another language). - - - - - - The VAT category tax amount (BT-117) In a VAT breakdown (BG-23) where the VAT category code (BT-118) equals "Exempt from VAT" shall equal 0 (zero). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Exempt from VAT" shall have a VAT exemption reason code (BT-121) or a VAT exemption reason text (BT-120). - - In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Exempt from VAT" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are “Exempt from VAT". - - - - - - In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Export outside the EU" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are “Export outside the EU". - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is “Export outside the EU” shall be 0 (zero). - - A VAT Breakdown (BG-23) with the VAT Category code (BT-118) "Export outside the EU" shall have a VAT exemption reason code (BT-121), meaning "Export outside the EU" or the VAT exemption reason text (BT-120) "Export outside the EU" (or the equivalent standard text in another language). - - - - - - In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are “Intra-community supply". - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IGIC" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). - - A VAT Breakdown (BG-23) with the VAT Category code (BT-118) "Intra-community supply" shall have a VAT exemption reason code (BT-121), meaning "Intra-community supply" or the VAT exemption reason text (BT-120) "Intra-community supply" (or the equivalent standard text in another language). - - In an Invoice with a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the Actual delivery date (BT-72) or the Invoicing period (BG-14) shall not be blank. - - In an Invoice with a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the Deliver to country code (BT-80) shall not be blank. - - - - - - For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "IGIC", the VAT category taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-95) is “IGIC” and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119). - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IGIC" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) "IGIC" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). - - - - - - For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "IPSI", the VAT category taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-95) is “IPSI” and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119). - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IPSI" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) "IPSI" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). - - - - - - In a VAT breakdown (BG-23) where the VAT category code (BT-118) is " Not subject to VAT" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are “Not subject to VAT". - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is “Not subject to VAT” shall be 0 (zero). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) " Not subject to VAT" shall have a VAT exemption reason code (BT-121), meaning " Not subject to VAT" or a VAT exemption reason text (BT-120) " Not subject to VAT" (or the equivalent standard text in another language). - - An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain other VAT breakdown groups (BG-23). - - An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is not "Not subject to VAT". - - An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain Document level allowances (BG-20) where Document level allowance VAT category code (BT-95) is not "Not subject to VAT". - - An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain Document level charges (BG-21) where Document level charge VAT category code (BT-102) is not "Not subject to VAT". - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “Reverse charge” shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Reverse charge" the Invoiced item VAT rate (BT-152) shall be 0 (zero). - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “Exempt from VAT” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Exempt from VAT", the Invoiced item VAT rate (BT-152) shall be 0 (zero). - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “Export outside the EU” shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Export outside the EU" the Invoiced item VAT rate (BT-152) shall be 0 (zero). - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “Intra-community supply” shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Intracommunity supply" the Invoiced item VAT rate (BT-152) shall be 0 (zero). - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “IGIC” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IGIC" the invoiced item VAT rate (BT-152) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “IPSI” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IPSI" the Invoiced item VAT rate (BT-152) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “Not subject to VAT” shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-46). - - An Invoice line (BG-25) where the VAT category code (BT-151) is "Not subject to VAT" shall not contain an Invoiced item VAT rate (BT-152). - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “Standard rated” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Standard rated" the Invoiced item VAT rate (BT-152) shall be greater than zero. - - - - - - An Invoice that contains an Invoice line where the Invoiced item VAT category code (BT-151) is “Zero rated” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Zero rated" the Invoiced item VAT rate (BT-152) shall be 0 (zero). - - - - - - An Invoice shall have a Specification identifier (BT-24). - - An Invoice shall have an Invoice number (BT-1). - - An Invoice shall have an Invoice issue date (BT-2). - - An Invoice shall have an Invoice type code (BT-3). - - An Invoice shall have an Invoice currency code (BT-5). - - An Invoice shall contain the Seller name (BT-27). - - An Invoice shall contain the Buyer name (BT-44). - - An Invoice shall contain the Seller postal address (BG-5). - - The Seller postal address (BG-5) shall contain a Seller country code (BT-40). - - The Seller electronic address (BT-34) shall have a Scheme identifier. - - The Buyer electronic address (BT-49) shall have a Scheme identifier. - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Standard rated” shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "Standard rated". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Zero rated” shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "Zero rated". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Exempt from VAT” shall contain exactly one VAT breakdown (BG-23) with the VAT category code (BT-118) equal to "Exempt from VAT". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Reverse charge” shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "VAT reverse charge". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Intra-community supply” shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "Intra-community supply". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Export outside the EU” shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "Export outside the EU". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Not subject to VAT” shall contain exactly one VAT breakdown group (BG-23) with the VAT category code (BT-118) equal to "Not subject to VAT". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “IGIC” shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "IGIC". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “IPSI” shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "IPSI". - - In case the Amount due for payment (BT-115) is positive, either the Payment due date (BT-9) or the Payment terms (BT-20) shall be present. - - An Invoice shall contain the Buyer postal address (BG-8). - - The Buyer postal address shall contain a Buyer country code (BT-55). - - - - - - Element 'ram:TypeCode' must occur exactly 1 times. - - - - - - Element 'ram:CategoryCode' is marked as not used in the given context. - - - - - - Element 'ram:ControlRequirementIndicator' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:Content' must occur exactly 1 times. - - - - - - Element 'ram:ContentCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:Subject' is marked as not used in the given context. - - - - - - - Value of 'ram:SubjectCode' is not allowed. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'udt:DateTime' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LanguageID' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:Purpose' is marked as not used in the given context. - - - - - - Element 'ram:PurposeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionDateTime' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - - Value of 'ram:TypeCode' is not allowed. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:VersionID' is marked as not used in the given context. - - - - - - Element 'ram:BusinessProcessSpecifiedDocumentContextParameter' may occur at maximum 1 times. - - Element 'ram:GuidelineSpecifiedDocumentContextParameter' must occur exactly 1 times. - - - - - - Element 'ram:ApplicationSpecifiedDocumentContextParameter' is marked as not used in the given context. - - - - - - Element 'ram:BIMSpecifiedDocumentContextParameter' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:SpecifiedDocumentVersion' is marked as not used in the given context. - - - - - - Element 'ram:Value' is marked as not used in the given context. - - - - - - Element 'ram:ID' must occur exactly 1 times. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:SpecifiedDocumentVersion' is marked as not used in the given context. - - - - - - Element 'ram:Value' is marked as not used in the given context. - - - - - - Element 'ram:MessageStandardSpecifiedDocumentContextParameter' is marked as not used in the given context. - - - - - - Element 'ram:ScenarioSpecifiedDocumentContextParameter' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTransactionID' is marked as not used in the given context. - - - - - - Element 'ram:SubsetSpecifiedDocumentContextParameter' is marked as not used in the given context. - - - - - - Element 'ram:TestIndicator' is marked as not used in the given context. - - - - - - Element 'ram:IncludedSupplyChainTradeLineItem' must occur at least 1 times. - - - - - - Element 'ram:SellerTradeParty' must occur exactly 1 times. - - Element 'ram:BuyerTradeParty' must occur exactly 1 times. - - - - - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - Element 'ram:TypeCode' must occur exactly 1 times. - - Element 'ram:Name' may occur at maximum 1 times. - - Element 'ram:AttachmentBinaryObject' may occur at maximum 1 times. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @characterSetCode' marked as not used in the given context. - - - - - - Attribute @encodingCode' marked as not used in the given context. - - - - - - Attribute @format' marked as not used in the given context. - - - - - - - Value of '@mimeCode' is not allowed. - - - - - - Attribute @uri' marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LineID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - - Value of 'ram:TypeCode' is not allowed. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:ApplicableTradeDeliveryTerms' is marked as not used in the given context. - - - - - - Element 'ram:BuyerAgentTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:BuyerAssignedAccountantTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LineID' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:BuyerRequisitionerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:BuyerTaxRepresentativeTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:ID' may occur at maximum 1 times. - - Element 'ram:Name' must occur exactly 1 times. - - Element 'ram:DefinedTradeContact' may occur at maximum 1 times. - - Element 'ram:PostalTradeAddress' must occur exactly 1 times. - - Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. - - Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DirectTelephoneUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:FaxUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:InstantMessagingUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:JobTitle' is marked as not used in the given context. - - - - - - Element 'ram:MobileTelephoneUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:PersonID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:Responsibility' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedContactPerson' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedNote' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:TelexUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:VOIPUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:EndPointURIUniversalCommunication' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LogoAssociatedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CountryID' must occur exactly 1 times. - - Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - - - - Element 'ram:AdditionalStreetName' is marked as not used in the given context. - - - - - - Element 'ram:AttentionOf' is marked as not used in the given context. - - - - - - Element 'ram:BuildingName' is marked as not used in the given context. - - - - - - Element 'ram:BuildingNumber' is marked as not used in the given context. - - - - - - Element 'ram:CareOf' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CitySubDivisionName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CountryName' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DepartmentName' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LineFive' is marked as not used in the given context. - - - - - - Element 'ram:LineFour' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PostOfficeBox' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:StreetName' is marked as not used in the given context. - - - - - - Element 'ram:RoleCode' is marked as not used in the given context. - - - - - - Element 'ram:AuthorizedLegalRegistration' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LegalClassificationCode' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PostalTradeAddress' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:ID' must occur exactly 1 times. - - - - - - Element 'ram:AssociatedRegisteredTax' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LineID' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:DemandForecastReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:OrderResponseReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:PriceListReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:ProductEndUserTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:PromotionalDealReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:PurchaseConditionsReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:QuotationReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:Reference' is marked as not used in the given context. - - - - - - Element 'ram:RequisitionerReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:SalesAgentTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:SellerAssignedAccountantTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LineID' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:Name' must occur exactly 1 times. - - Element 'ram:PostalTradeAddress' must occur exactly 1 times. - - Element 'ram:SpecifiedTaxRegistration' must occur exactly 1 times. - - - - - - Element 'ram:DefinedTradeContact' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:EndPointURIUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LogoAssociatedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CountryID' must occur exactly 1 times. - - Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - - - - Element 'ram:AdditionalStreetName' is marked as not used in the given context. - - - - - - Element 'ram:AttentionOf' is marked as not used in the given context. - - - - - - Element 'ram:BuildingName' is marked as not used in the given context. - - - - - - Element 'ram:BuildingNumber' is marked as not used in the given context. - - - - - - Element 'ram:CareOf' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CitySubDivisionName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CountryName' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DepartmentName' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LineFive' is marked as not used in the given context. - - - - - - Element 'ram:LineFour' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PostOfficeBox' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:StreetName' is marked as not used in the given context. - - - - - - Element 'ram:RoleCode' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedLegalOrganization' is marked as not used in the given context. - - - - - - Element 'ram:ID' must occur exactly 1 times. - - - - - - Element 'ram:AssociatedRegisteredTax' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:URIUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:Name' must occur exactly 1 times. - - Element 'ram:Description' may occur at maximum 1 times. - - Element 'ram:DefinedTradeContact' may occur at maximum 1 times. - - Element 'ram:PostalTradeAddress' must occur exactly 1 times. - - Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DirectTelephoneUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:FaxUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:InstantMessagingUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:JobTitle' is marked as not used in the given context. - - - - - - Element 'ram:MobileTelephoneUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:PersonID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:Responsibility' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedContactPerson' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedNote' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:TelexUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:VOIPUniversalCommunication' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:EndPointURIUniversalCommunication' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LogoAssociatedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CountryID' must occur exactly 1 times. - - Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - - - - Element 'ram:AdditionalStreetName' is marked as not used in the given context. - - - - - - Element 'ram:AttentionOf' is marked as not used in the given context. - - - - - - Element 'ram:BuildingName' is marked as not used in the given context. - - - - - - Element 'ram:BuildingNumber' is marked as not used in the given context. - - - - - - Element 'ram:CareOf' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CitySubDivisionName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CountryName' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DepartmentName' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LineFive' is marked as not used in the given context. - - - - - - Element 'ram:LineFour' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PostOfficeBox' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:StreetName' is marked as not used in the given context. - - - - - - Element 'ram:RoleCode' is marked as not used in the given context. - - - - - - Element 'ram:AuthorizedLegalRegistration' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LegalClassificationCode' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PostalTradeAddress' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:ID' must occur exactly 1 times. - - - - - - Element 'ram:AssociatedRegisteredTax' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:SupplyInstructionReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:UltimateCustomerOrderReferencedDocument' is marked as not used in the given context. - - - - - - Each Deliver to address (BG-15) shall contain a Deliver to country code (BT-80). - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:DescriptionBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:EarliestOccurrenceDateTime' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LatestOccurrenceDateTime' is marked as not used in the given context. - - - - - - Element 'udt:DateTime' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:OccurrenceLogisticsLocation' is marked as not used in the given context. - - - - - - Element 'ram:OccurrenceSpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:UnitQuantity' is marked as not used in the given context. - - - - - - Element 'ram:ActualDespatchSupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:ActualPickUpSupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:ActualReceiptSupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:AdditionalReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:ConsumptionReportReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:DeliveryNoteReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LineID' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:PackingListReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:PreviousDeliverySupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LineID' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:RelatedSupplyChainConsignment' is marked as not used in the given context. - - - - - - Element 'ram:ShipFromTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:ID' may occur at maximum 1 times. - - Element 'ram:GlobalID' may occur at maximum 1 times. - - - - - - Element 'ram:DefinedTradeContact' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:EndPointURIUniversalCommunication' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LogoAssociatedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CountryID' must occur exactly 1 times. - - Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - - - - Element 'ram:AdditionalStreetName' is marked as not used in the given context. - - - - - - Element 'ram:AttentionOf' is marked as not used in the given context. - - - - - - Element 'ram:BuildingName' is marked as not used in the given context. - - - - - - Element 'ram:BuildingNumber' is marked as not used in the given context. - - - - - - Element 'ram:CareOf' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CitySubDivisionName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CountryName' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DepartmentName' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LineFive' is marked as not used in the given context. - - - - - - Element 'ram:LineFour' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PostOfficeBox' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:StreetName' is marked as not used in the given context. - - - - - - Element 'ram:RoleCode' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedLegalOrganization' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTaxRegistration' is marked as not used in the given context. - - - - - - Element 'ram:URIUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:UltimateShipToTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:PaymentReference' may occur at maximum 1 times. - - Element 'ram:InvoiceCurrencyCode' must occur exactly 1 times. - - Element 'ram:ApplicableTradeTax' must occur at least 1 times. - - Element 'ram:SpecifiedTradePaymentTerms' may occur at maximum 1 times. - - Element 'ram:SpecifiedTradeSettlementHeaderMonetarySummation' must occur exactly 1 times. - - Element 'ram:ReceivableSpecifiedTradeAccountingAccount' may occur at maximum 1 times. - - - - - - Element 'ram:CalculatedAmount' must occur exactly 1 times. - - Element 'ram:TypeCode' must occur exactly 1 times. - - Element 'ram:BasisAmount' must occur exactly 1 times. - - Element 'ram:CategoryCode' must occur exactly 1 times. - - - - - - Element 'ram:AllowanceChargeBasisAmount' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:BasisQuantity' is marked as not used in the given context. - - - - - - Element 'ram:BuyerDeductibleTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:BuyerNonDeductibleTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:BuyerRepayableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:CalculatedRate' is marked as not used in the given context. - - - - - - Element 'ram:CalculationSequenceNumeric' is marked as not used in the given context. - - - - - - - Value of 'ram:CategoryCode' is not allowed. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:CategoryName' is marked as not used in the given context. - - - - - - Element 'ram:CurrencyCode' is marked as not used in the given context. - - - - - - Element 'ram:CustomsDutyIndicator' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - - Value of 'ram:ExemptionReasonCode' is not allowed. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:InformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:Jurisdiction' is marked as not used in the given context. - - - - - - Element 'ram:LineTotalBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:PlaceApplicableTradeLocation' is marked as not used in the given context. - - - - - - Attribute @format' marked as not used in the given context. - - - - - - Element 'ram:SellerPayableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:SellerRefundableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:ServiceSupplyTradeCountry' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:TaxBasisAllowanceRate' is marked as not used in the given context. - - - - - - Element 'udt:Date' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:Type' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:UnitBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:CompleteDateTime' is marked as not used in the given context. - - - - - - Element 'ram:ContinuousIndicator' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:DurationMeasure' is marked as not used in the given context. - - - - - - Element 'udt:DateTime' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:InclusiveIndicator' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:OpenIndicator' is marked as not used in the given context. - - - - - - Element 'ram:PurposeCode' is marked as not used in the given context. - - - - - - Element 'ram:SeasonCode' is marked as not used in the given context. - - - - - - Element 'ram:SequenceNumeric' is marked as not used in the given context. - - - - - - Element 'ram:StartDateFlexibilityCode' is marked as not used in the given context. - - - - - - Element 'udt:DateTime' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:CreditReason' is marked as not used in the given context. - - - - - - Element 'ram:CreditReasonCode' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CreditorReferenceIssuerID' is marked as not used in the given context. - - - - - - Element 'ram:CreditorReferenceType' is marked as not used in the given context. - - - - - - Element 'ram:CreditorReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:DuePayableAmount' is marked as not used in the given context. - - - - - - Element 'ram:FactoringAgreementReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:FactoringListReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:InvoiceApplicableTradeCurrencyExchange' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:InvoiceDateTime' is marked as not used in the given context. - - - - - - Element 'ram:InvoiceIssuerReference' is marked as not used in the given context. - - - - - - Each Preceding Invoice reference (BG-3) shall contain a Preceding Invoice reference (BT-25). - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LineID' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:InvoiceeTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:InvoicerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LetterOfCreditReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:NextInvoiceDateTime' is marked as not used in the given context. - - - - - - Element 'ram:PayableSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:ID' may occur at maximum 1 times. - - Element 'ram:GlobalID' may occur at maximum 1 times. - - Element 'ram:Name' must occur exactly 1 times. - - - - - - Element 'ram:DefinedTradeContact' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:EndPointURIUniversalCommunication' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LogoAssociatedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PostalTradeAddress' is marked as not used in the given context. - - - - - - Element 'ram:RoleCode' is marked as not used in the given context. - - - - - - Element 'ram:AuthorizedLegalRegistration' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LegalClassificationCode' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PostalTradeAddress' is marked as not used in the given context. - - - - - - Element 'ram:TradingBusinessName' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTaxRegistration' is marked as not used in the given context. - - - - - - Element 'ram:URIUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:PayerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:PaymentApplicableTradeCurrencyExchange' is marked as not used in the given context. - - - - - - Element 'ram:PaymentCurrencyCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:ProFormaInvoiceReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:PurchaseSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:AmountTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:CostReferenceDimensionPattern' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:SetTriggerCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:SalesSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedAdvancePayment' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedFinancialAdjustment' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedLogisticsServiceCharge' is marked as not used in the given context. - - - - - - Element 'ram:ChargeIndicator' must occur exactly 1 times. - - Element 'ram:ActualAmount' must occur exactly 1 times. - - Element 'ram:CategoryTradeTax' must occur exactly 1 times. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:ActualTradeCurrencyExchange' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:BasisQuantity' is marked as not used in the given context. - - - - - - Attribute @format' marked as not used in the given context. - - - - - - Element 'ram:TypeCode' must occur exactly 1 times. - - Element 'ram:CategoryCode' must occur exactly 1 times. - - - - - - Element 'ram:AllowanceChargeBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:BasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:BasisQuantity' is marked as not used in the given context. - - - - - - Element 'ram:BuyerDeductibleTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:BuyerNonDeductibleTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:BuyerRepayableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:CalculatedAmount' is marked as not used in the given context. - - - - - - Element 'ram:CalculatedRate' is marked as not used in the given context. - - - - - - Element 'ram:CalculationSequenceNumeric' is marked as not used in the given context. - - - - - - - Value of 'ram:CategoryCode' is not allowed. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:CategoryName' is marked as not used in the given context. - - - - - - Element 'ram:CurrencyCode' is marked as not used in the given context. - - - - - - Element 'ram:CustomsDutyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:DueDateTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:ExemptionReason' is marked as not used in the given context. - - - - - - Element 'ram:ExemptionReasonCode' is marked as not used in the given context. - - - - - - Element 'ram:InformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:Jurisdiction' is marked as not used in the given context. - - - - - - Element 'ram:LineTotalBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:PlaceApplicableTradeLocation' is marked as not used in the given context. - - - - - - Attribute @format' marked as not used in the given context. - - - - - - Element 'ram:SellerPayableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:SellerRefundableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:ServiceSupplyTradeCountry' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:TaxBasisAllowanceRate' is marked as not used in the given context. - - - - - - Element 'ram:TaxPointDate' is marked as not used in the given context. - - - - - - Element 'ram:Type' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:UnitBasisAmount' is marked as not used in the given context. - - - - - - Element 'udt:IndicatorString' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:PrepaidIndicator' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:SequenceNumeric' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:UnitBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:Description' may occur at maximum 1 times. - - Element 'ram:DirectDebitMandateID' may occur at maximum 1 times. - - - - - - Element 'ram:ApplicableTradePaymentDiscountTerms' is marked as not used in the given context. - - - - - - Element 'ram:ApplicableTradePaymentPenaltyTerms' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'udt:DateTime' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:FromEventCode' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:InstructionTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:PartialPaymentAmount' is marked as not used in the given context. - - - - - - Element 'ram:PartialPaymentPercent' is marked as not used in the given context. - - - - - - Element 'ram:PayeeTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:PaymentMeansID' is marked as not used in the given context. - - - - - - Element 'ram:SettlementPeriodMeasure' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTradeSettlementFinancialCard' is marked as not used in the given context. - - - - - - Element 'ram:LineTotalAmount' must occur exactly 1 times. - - Element 'ram:ChargeTotalAmount' may occur at maximum 1 times. - - Element 'ram:AllowanceTotalAmount' may occur at maximum 1 times. - - Element 'ram:TaxBasisTotalAmount' must occur exactly 1 times. - - Element 'ram:TaxTotalAmount' may occur at maximum 2 times. - - Element 'ram:RoundingAmount' may occur at maximum 1 times. - - Element 'ram:GrandTotalAmount' must occur exactly 1 times. - - Element 'ram:TotalPrepaidAmount' may occur at maximum 1 times. - - Element 'ram:DuePayableAmount' must occur exactly 1 times. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - - Value of '@currencyID' is not allowed. - - - - - - Element 'ram:GrossLineTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:InformationAmount' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:NetIncludingTaxesLineTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:NetLineTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:ProductValueExcludingTobaccoTaxInformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:RetailValueExcludingTaxInformationAmount' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - - Value of '@currencyID' is not allowed. - - - - - - Element 'ram:TotalAllowanceChargeAmount' is marked as not used in the given context. - - - - - - Element 'ram:TotalDepositFeeInformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:TotalDiscountAmount' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:TotalRetailValueInformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' must occur exactly 1 times. - - Element 'ram:Information' may occur at maximum 1 times. - - - - - - Element 'ram:ID' must occur exactly 1 times. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CreditAvailableAmount' is marked as not used in the given context. - - - - - - Element 'ram:CreditLimitAmount' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:ExpiryDate' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:InterestRatePercent' is marked as not used in the given context. - - - - - - Element 'ram:IssuingCompanyName' is marked as not used in the given context. - - - - - - Element 'ram:MicrochipIndicator' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:ValidFromDateTime' is marked as not used in the given context. - - - - - - Element 'ram:VerificationNumeric' is marked as not used in the given context. - - - - - - Element 'ram:GuaranteeMethodCode' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:BICID' must occur exactly 1 times. - - - - - - Element 'ram:AustralianBSBID' is marked as not used in the given context. - - - - - - Element 'ram:AustrianBankleitzahlID' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CHIPSParticipantID' is marked as not used in the given context. - - - - - - Element 'ram:CHIPSUniversalID' is marked as not used in the given context. - - - - - - Element 'ram:CanadianPaymentsAssociationID' is marked as not used in the given context. - - - - - - Element 'ram:ClearingSystemName' is marked as not used in the given context. - - - - - - Element 'ram:FedwireRoutingNumberID' is marked as not used in the given context. - - - - - - Element 'ram:GermanBankleitzahlID' is marked as not used in the given context. - - - - - - Element 'ram:HellenicBankID' is marked as not used in the given context. - - - - - - Element 'ram:HongKongBankID' is marked as not used in the given context. - - - - - - Element 'ram:IndianFinancialSystemID' is marked as not used in the given context. - - - - - - Element 'ram:IrishNSCID' is marked as not used in the given context. - - - - - - Element 'ram:ItalianDomesticID' is marked as not used in the given context. - - - - - - Element 'ram:JapanFinancialInstitutionCommonID' is marked as not used in the given context. - - - - - - Element 'ram:LocationFinancialInstitutionAddress' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:NewZealandNCCID' is marked as not used in the given context. - - - - - - Element 'ram:PolishNationalClearingID' is marked as not used in the given context. - - - - - - Element 'ram:PortugueseNCCID' is marked as not used in the given context. - - - - - - Element 'ram:RussianCentralBankID' is marked as not used in the given context. - - - - - - Element 'ram:SICID' is marked as not used in the given context. - - - - - - Element 'ram:SouthAfricanNCCID' is marked as not used in the given context. - - - - - - Element 'ram:SpanishDomesticInterbankingID' is marked as not used in the given context. - - - - - - Element 'ram:SubDivisionBranchFinancialInstitution' is marked as not used in the given context. - - - - - - Element 'ram:SwissBCID' is marked as not used in the given context. - - - - - - Element 'ram:UKSortCodeID' is marked as not used in the given context. - - - - - - Element 'ram:IBANID' must occur exactly 1 times. - - - - - - Element 'ram:AccountName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:ProprietaryID' is marked as not used in the given context. - - - - - - Element 'ram:PayerSpecifiedDebtorFinancialInstitution' is marked as not used in the given context. - - - - - - Element 'ram:PaymentChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:PaymentMethodCode' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:SubtotalCalculatedTradeTax' is marked as not used in the given context. - - - - - - Element 'ram:TaxApplicableTradeCurrencyExchange' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:UltimatePayeeTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTradeProduct' must occur exactly 1 times. - - Element 'ram:SpecifiedLineTradeAgreement' must occur exactly 1 times. - - - - - - Element 'ram:LineID' must occur exactly 1 times. - - Element 'ram:IncludedNote' may occur at maximum 1 times. - - - - - - Element 'ram:Content' must occur exactly 1 times. - - - - - - Element 'ram:ContentCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:Subject' is marked as not used in the given context. - - - - - - Element 'ram:SubjectCode' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LineStatusCode' is marked as not used in the given context. - - - - - - Element 'ram:LineStatusReasonCode' is marked as not used in the given context. - - - - - - Element 'ram:ParentLineID' is marked as not used in the given context. - - - - - - Element 'ram:DescriptionCode' is marked as not used in the given context. - - - - - - Element 'ram:IncludedSubordinateTradeLineItem' is marked as not used in the given context. - - - - - - Element 'ram:NetPriceProductTradePrice' must occur exactly 1 times. - - - - - - Element 'ram:AdditionalReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:ApplicableTradeDeliveryTerms' is marked as not used in the given context. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Element 'ram:IssuerAssignedID' is marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:BuyerReference' is marked as not used in the given context. - - - - - - Element 'ram:BuyerRequisitionerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:ContractReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:DemandForecastReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:ChargeAmount' must occur exactly 1 times. - - Element 'ram:AppliedTradeAllowanceCharge' may occur at maximum 1 times. - - - - - - Element 'ram:ActualAmount' must occur exactly 1 times. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:ActualTradeCurrencyExchange' is marked as not used in the given context. - - - - - - Element 'ram:BasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:BasisQuantity' is marked as not used in the given context. - - - - - - Element 'ram:CalculationPercent' is marked as not used in the given context. - - - - - - Element 'ram:CategoryTradeTax' is marked as not used in the given context. - - - - - - Element 'ram:ChargeIndicator' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:PrepaidIndicator' is marked as not used in the given context. - - - - - - Element 'ram:Reason' is marked as not used in the given context. - - - - - - Element 'ram:ReasonCode' is marked as not used in the given context. - - - - - - Element 'ram:SequenceNumeric' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:UnitBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:AssociatedReferencedDocument' is marked as not used in the given context. - - - - - - Attribute @unitCodeListAgencyID' marked as not used in the given context. - - - - - - Attribute @unitCodeListAgencyName' marked as not used in the given context. - - - - - - Attribute @unitCodeListID' marked as not used in the given context. - - - - - - - Value of '@unitCode' is not allowed. - - - - - - Element 'ram:ChangeReason' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:DeliveryTradeLocation' is marked as not used in the given context. - - - - - - Element 'ram:IncludedTradeTax' is marked as not used in the given context. - - - - - - Element 'ram:MaximumQuantity' is marked as not used in the given context. - - - - - - Element 'ram:MinimumQuantity' is marked as not used in the given context. - - - - - - Element 'ram:OrderUnitConversionFactorNumeric' is marked as not used in the given context. - - - - - - Element 'ram:TradeComparisonReferencePrice' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:ValiditySpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:IncludedSpecifiedMarketplace' is marked as not used in the given context. - - - - - - Element 'ram:ItemBuyerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:ItemSellerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:ChargeAmount' must occur exactly 1 times. - - - - - - Element 'ram:AppliedTradeAllowanceCharge' is marked as not used in the given context. - - - - - - Element 'ram:AssociatedReferencedDocument' is marked as not used in the given context. - - - - - - Attribute @unitCodeListAgencyID' marked as not used in the given context. - - - - - - Attribute @unitCodeListAgencyName' marked as not used in the given context. - - - - - - Attribute @unitCodeListID' marked as not used in the given context. - - - - - - - Value of '@unitCode' is not allowed. - - - - - - Element 'ram:ChangeReason' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:DeliveryTradeLocation' is marked as not used in the given context. - - - - - - Element 'ram:IncludedTradeTax' is marked as not used in the given context. - - - - - - Element 'ram:MaximumQuantity' is marked as not used in the given context. - - - - - - Element 'ram:MinimumQuantity' is marked as not used in the given context. - - - - - - Element 'ram:OrderUnitConversionFactorNumeric' is marked as not used in the given context. - - - - - - Element 'ram:TradeComparisonReferencePrice' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:ValiditySpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:PromotionalDealReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:QuotationReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:RequisitionerReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:SellerOrderReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:UltimateCustomerOrderReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:BilledQuantity' must occur exactly 1 times. - - - - - - Element 'ram:ActualDeliverySupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:ActualDespatchSupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:ActualPickUpSupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:ActualReceiptSupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:AdditionalReferencedDocument' is marked as not used in the given context. - - - - - - Attribute @unitCodeListAgencyID' marked as not used in the given context. - - - - - - Attribute @unitCodeListAgencyName' marked as not used in the given context. - - - - - - Attribute @unitCodeListID' marked as not used in the given context. - - - - - - - Value of '@unitCode' is not allowed. - - - - - - Element 'ram:ChargeFreeQuantity' is marked as not used in the given context. - - - - - - Element 'ram:ConsumptionReportReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:DeliveryNoteReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:DespatchAdviceReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:DespatchedQuantity' is marked as not used in the given context. - - - - - - Element 'ram:GrossWeightMeasure' is marked as not used in the given context. - - - - - - Element 'ram:IncludedSupplyChainPackaging' is marked as not used in the given context. - - - - - - Element 'ram:NetWeightMeasure' is marked as not used in the given context. - - - - - - Element 'ram:PackageQuantity' is marked as not used in the given context. - - - - - - Element 'ram:PackingListReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:PerPackageUnitQuantity' is marked as not used in the given context. - - - - - - Element 'ram:ProductUnitQuantity' is marked as not used in the given context. - - - - - - Element 'ram:ReceivedQuantity' is marked as not used in the given context. - - - - - - Element 'ram:ReceivingAdviceReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:RelatedSupplyChainConsignment' is marked as not used in the given context. - - - - - - Element 'ram:RequestedDeliverySupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:RequestedQuantity' is marked as not used in the given context. - - - - - - Element 'ram:ShipFromTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:ShipToTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedDeliveryAdjustment' is marked as not used in the given context. - - - - - - Element 'ram:TheoreticalWeightMeasure' is marked as not used in the given context. - - - - - - Element 'ram:UltimateShipToTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:ApplicableTradeTax' must occur exactly 1 times. - - Element 'ram:SpecifiedTradeSettlementLineMonetarySummation' must occur exactly 1 times. - - Element 'ram:AdditionalReferencedDocument' may occur at maximum 1 times. - - Element 'ram:ReceivableSpecifiedTradeAccountingAccount' may occur at maximum 1 times. - - - - - - Element 'ram:TypeCode' must occur exactly 1 times. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LineID' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - - Value of 'ram:TypeCode' is not allowed. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' must occur exactly 1 times. - - Element 'ram:CategoryCode' must occur exactly 1 times. - - - - - - Element 'ram:AllowanceChargeBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:BasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:BasisQuantity' is marked as not used in the given context. - - - - - - Element 'ram:BuyerDeductibleTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:BuyerNonDeductibleTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:BuyerRepayableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:CalculatedAmount' is marked as not used in the given context. - - - - - - Element 'ram:CalculatedRate' is marked as not used in the given context. - - - - - - Element 'ram:CalculationSequenceNumeric' is marked as not used in the given context. - - - - - - - Value of 'ram:CategoryCode' is not allowed. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:CategoryName' is marked as not used in the given context. - - - - - - Element 'ram:CurrencyCode' is marked as not used in the given context. - - - - - - Element 'ram:CustomsDutyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:DueDateTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:ExemptionReason' is marked as not used in the given context. - - - - - - Element 'ram:ExemptionReasonCode' is marked as not used in the given context. - - - - - - Element 'ram:InformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:Jurisdiction' is marked as not used in the given context. - - - - - - Element 'ram:LineTotalBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:PlaceApplicableTradeLocation' is marked as not used in the given context. - - - - - - Attribute @format' marked as not used in the given context. - - - - - - Element 'ram:SellerPayableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:SellerRefundableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:ServiceSupplyTradeCountry' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:TaxBasisAllowanceRate' is marked as not used in the given context. - - - - - - Element 'ram:TaxPointDate' is marked as not used in the given context. - - - - - - Element 'ram:Type' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:UnitBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:CompleteDateTime' is marked as not used in the given context. - - - - - - Element 'ram:ContinuousIndicator' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:DurationMeasure' is marked as not used in the given context. - - - - - - Element 'udt:DateTime' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:InclusiveIndicator' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:OpenIndicator' is marked as not used in the given context. - - - - - - Element 'ram:PurposeCode' is marked as not used in the given context. - - - - - - Element 'ram:SeasonCode' is marked as not used in the given context. - - - - - - Element 'ram:SequenceNumeric' is marked as not used in the given context. - - - - - - Element 'ram:StartDateFlexibilityCode' is marked as not used in the given context. - - - - - - Element 'udt:DateTime' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:DiscountIndicator' is marked as not used in the given context. - - - - - - Element 'ram:InvoiceIssuerReference' is marked as not used in the given context. - - - - - - Element 'ram:InvoiceReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:PayableSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:PaymentReference' is marked as not used in the given context. - - - - - - Element 'ram:PurchaseSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:AmountTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:CostReferenceDimensionPattern' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:SetTriggerCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:SalesSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedFinancialAdjustment' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedLogisticsServiceCharge' is marked as not used in the given context. - - - - - - Element 'ram:ActualAmount' must occur exactly 1 times. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:ActualTradeCurrencyExchange' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:BasisQuantity' is marked as not used in the given context. - - - - - - Attribute @format' marked as not used in the given context. - - - - - - Element 'ram:CategoryTradeTax' is marked as not used in the given context. - - - - - - Element 'udt:IndicatorString' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:PrepaidIndicator' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:SequenceNumeric' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:UnitBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTradePaymentTerms' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTradeSettlementFinancialCard' is marked as not used in the given context. - - - - - - Element 'ram:LineTotalAmount' must occur exactly 1 times. - - - - - - Element 'ram:AllowanceTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:ChargeTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:GrandTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:GrossLineTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:InformationAmount' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:NetIncludingTaxesLineTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:NetLineTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:ProductWeightLossInformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:TaxBasisTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:TaxTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:TotalAllowanceChargeAmount' is marked as not used in the given context. - - - - - - Element 'ram:TotalRetailValueInformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:SubtotalCalculatedTradeTax' is marked as not used in the given context. - - - - - - Element 'ram:TotalAdjustmentAmount' is marked as not used in the given context. - - - - - - Element 'ram:Name' must occur exactly 1 times. - - - - - - Element 'ram:AdditionalReferenceReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:ApplicableMaterialGoodsCharacteristic' is marked as not used in the given context. - - - - - - Element 'ram:Description' must occur exactly 1 times. - - Element 'ram:Value' must occur exactly 1 times. - - - - - - Element 'ram:ApplicableProductCharacteristicCondition' is marked as not used in the given context. - - - - - - Element 'ram:ApplicableReferencedStandard' is marked as not used in the given context. - - - - - - Element 'ram:ContentTypeCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:MeasurementMethodCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:ValueCode' is marked as not used in the given context. - - - - - - Element 'ram:ValueDateTime' is marked as not used in the given context. - - - - - - Element 'ram:ValueIndicator' is marked as not used in the given context. - - - - - - Element 'ram:ValueMeasure' is marked as not used in the given context. - - - - - - Element 'ram:ValueSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:AreaDensityMeasure' is marked as not used in the given context. - - - - - - Element 'ram:BrandName' is marked as not used in the given context. - - - - - - Element 'ram:BrandOwnerTradeParty' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CertificationEvidenceReferenceReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:ColourCode' is marked as not used in the given context. - - - - - - Element 'ram:ColourDescription' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:ClassCode' must occur exactly 1 times. - - - - - - Element 'ram:ApplicableReferencedStandard' is marked as not used in the given context. - - - - - - - Value of 'ram:ClassCode' is not allowed. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - - Value of '@listID' is not allowed. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:ClassName' is marked as not used in the given context. - - - - - - Element 'ram:ClassProductCharacteristic' is marked as not used in the given context. - - - - - - Element 'ram:SubClassCode' is marked as not used in the given context. - - - - - - Element 'ram:SystemID' is marked as not used in the given context. - - - - - - Element 'ram:SystemName' is marked as not used in the given context. - - - - - - Element 'ram:Designation' is marked as not used in the given context. - - - - - - Element 'ram:DrainedNetWeightMeasure' is marked as not used in the given context. - - - - - - Element 'ram:EndItemName' is marked as not used in the given context. - - - - - - Element 'ram:EndItemTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:FormattedCancellationAnnouncedLaunchDateTime' is marked as not used in the given context. - - - - - - Element 'ram:FormattedLatestProductDataChangeDateTime' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:GrossWeightMeasure' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:IncludedReferencedProduct' is marked as not used in the given context. - - - - - - Element 'ram:IndividualTradeProductInstance' is marked as not used in the given context. - - - - - - Element 'ram:InformationNote' is marked as not used in the given context. - - - - - - Element 'ram:InspectionReferenceReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:LegalRightsOwnerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LinearSpatialDimension' is marked as not used in the given context. - - - - - - Element 'ram:MSDSReferenceReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:ManufacturerAssignedID' is marked as not used in the given context. - - - - - - Element 'ram:ManufacturerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:MaximumLinearSpatialDimension' is marked as not used in the given context. - - - - - - Element 'ram:MinimumLinearSpatialDimension' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:NetWeightMeasure' is marked as not used in the given context. - - - - - - Element 'ram:ID' must occur exactly 1 times. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:SubordinateTradeCountrySubDivision' is marked as not used in the given context. - - - - - - Element 'ram:PresentationSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:ProductGroupID' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:SubBrandName' is marked as not used in the given context. - - - - - - Element 'ram:TradeName' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:UseDescription' is marked as not used in the given context. - - - - - - Element 'ram:VariableMeasureIndicator' is marked as not used in the given context. - - - - - - Element 'rsm:ValuationBreakdownStatement' is marked as not used in the given context. - - + + Schema for Factur-X; 1.0.07; EN16931-COMPLIANT (FULLY) + + + + + + + + [BR-52]-Each Additional supporting document (BG-24) shall contain a Supporting document reference (BT-122). + + + + + + [BR-45]-Each VAT breakdown (BG-23) shall have a VAT category taxable amount (BT-116). + + [BR-46]-Each VAT breakdown (BG-23) shall have a VAT category tax amount (BT-117). + + [BR-47]-Each VAT breakdown (BG-23) shall be defined through a VAT category code (BT-118). + + [BR-48]-Each VAT breakdown (BG-23) shall have a VAT category rate (BT-119), except if the Invoice is not subject to VAT. + + [BR-CO-03]-Value added tax point date (BT-7) and Value added tax point date code (BT-8) are mutually exclusive. + + [BR-CO-17]-VAT category tax amount (BT-117) = VAT category taxable amount (BT-116) x (VAT category rate (BT-119) / 100), rounded to two decimals. + + [BR-DEC-19]-The allowed maximum number of decimals for the VAT category taxable amount (BT-116) is 2. + + [BR-DEC-20]-The allowed maximum number of decimals for the VAT category tax amount (BT-117) is 2. + + + + + + [BR-Z-08]-In a VAT breakdown (BG-23) where VAT category code (BT-118) is "Zero rated" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amount (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Zero rated". + + [BR-Z-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "Zero rated" shall equal 0 (zero). + + [BR-Z-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Zero rated" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). + + + + + + [BR-S-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "Standard rated" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). + + [BR-S-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Standard rate" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). + + [BR-S-08]-For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "Standard rated", the VAT category taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-95) is "Standard rated" and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119). + + + + + + [BR-29]-If both Invoicing period start date (BT-73) and Invoicing period end date (BT-74) are given then the Invoicing period end date (BT-74) shall be later or equal to the Invoicing period start date (BT-73). + + [BR-CO-19]-If Invoicing period (BG-14) is used, the Invoicing period start date (BT-73) or the Invoicing period end date (BT-74) shall be filled, or both. + + + + + + [BR-31]-Each Document level allowance (BG-20) shall have a Document level allowance amount (BT-92). + + [BR-32]-Each Document level allowance (BG-20) shall have a Document level allowance VAT category code (BT-95). + + [BR-33]-Each Document level allowance (BG-20) shall have a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98). + + [BR-CO-05]-Document level allowance reason code (BT-98) and Document level allowance reason (BT-97) shall indicate the same type of allowance. + + [BR-CO-21]-Each Document level allowance (BG-20) shall contain a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98), or both. + + [BR-DEC-01]-The allowed maximum number of decimals for the Document level allowance amount (BT-92) is 2. + + [BR-DEC-02]-The allowed maximum number of decimals for the Document level allowance base amount (BT-93) is 2. + + + + + + [BR-36]-Each Document level charge (BG-21) shall have a Document level charge amount (BT-99). + + [BR-37]-Each Document level charge (BG-21) shall have a Document level charge VAT category code (BT-102). + + [BR-38]-Each Document level charge (BG-21) shall have a Document level charge reason (BT-104) or a Document level charge reason code (BT-105). + + [BR-CO-06]-Document level charge reason code (BT-105) and Document level charge reason (BT-104) shall indicate the same type of charge. + + [BR-CO-22]-Each Document level charge (BG-21) shall contain a Document level charge reason (BT-104) or a Document level charge reason code (BT-105), or both. + + [BR-DEC-05]-The allowed maximum number of decimals for the Document level charge amount (BT-99) is 2. + + [BR-DEC-06]-The allowed maximum number of decimals for the Document level charge base amount (BT-100) is 2. + + + + + + [BR-54]-Each Item attribute (BG-32) shall contain an Item attribute name (BT-160) and an Item attribute value (BT-161). + + + + + + [BR-51]-In accordance with card payments security standards an invoice should never include a full card primary account number (BT-87). At the moment PCI Security Standards Council has defined that the first 6 digits and last 4 digits are the maximum number of digits to be shown. + + + + + + [BR-21]-Each Invoice line (BG-25) shall have an Invoice line identifier (BT-126). + + [BR-22]-Each Invoice line (BG-25) shall have an Invoiced quantity (BT-129). + + [BR-23]-An Invoice line (BG-25) shall have an Invoiced quantity unit of measure code (BT-130). + + [BR-24]-Each Invoice line (BG-25) shall have an Invoice line net amount (BT-131). + + [BR-25]-Each Invoice line (BG-25) shall contain the Item name (BT-153). + + [BR-26]-Each Invoice line (BG-25) shall contain the Item net price (BT-146). + + [BR-27]-The Item net price (BT-146) shall NOT be negative. + + [BR-28]-The Item gross price (BT-148) shall NOT be negative. + + [BR-64]-The Item standard identifier (BT-157) shall have a Scheme identifier. + + [BR-65]-The Item classification identifier (BT-158) shall have a Scheme identifier. + + [BR-CO-04]-Each Invoice line (BG-25) shall be categorized with an Invoiced item VAT category code (BT-151). + + [BR-DEC-23]-The allowed maximum number of decimals for the Invoice line net amount (BT-131) is 2. + + + + + + [BR-17]-The Payee name (BT-59) shall be provided in the Invoice, if the Payee (BG-10) is different from the Seller (BG-4). + + + + + + [BR-18]-The Seller tax representative name (BT-62) shall be provided in the Invoice, if the Seller (BG-4) has a Seller tax representative party (BG-11). + + [BR-19]-The Seller tax representative postal address (BG-12) shall be provided in the Invoice, if the Seller (BG-4) has a Seller tax representative party (BG-11). + + [BR-20]-The Seller tax representative postal address (BG-12) shall contain a Tax representative country code (BT-69), if the Seller (BG-4) has a Seller tax representative party (BG-11). + + [BR-56]-Each Seller tax representative party (BG-11) shall have a Seller tax representative VAT identifier (BT-63). + + + + + + [BR-CO-26]-In order for the buyer to automatically identify a supplier, the Seller identifier (BT-29), the Seller legal registration identifier (BT-30) and/or the Seller VAT identifier (BT-31) shall be present. + + + + + + [BR-30]-If both Invoice line period start date (BT-134) and Invoice line period end date (BT-135) are given then the Invoice line period end date (BT-135) shall be later or equal to the Invoice line period start date (BT-134). + + [BR-CO-20]-If Invoice line period (BG-26) is used, the Invoice line period start date (BT-134) or the Invoice line period end date (BT-135) shall be filled, or both. + + + + + + [BR-42]-Each Invoice line allowance (BG-27) shall have an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140). + + + + + + [BR-41]-Each Invoice line allowance (BG-27) shall have an Invoice line allowance amount (BT-136). + + [BR-CO-07]-Invoice line allowance reason code (BT-140) and Invoice line allowance reason (BT-139) shall indicate the same type of allowance reason. + + [BR-CO-23]-Each Invoice line allowance (BG-27) shall contain an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140), or both. + + [BR-DEC-24]-The allowed maximum number of decimals for the Invoice line allowance amount (BT-136) is 2. + + [BR-DEC-25]-The allowed maximum number of decimals for the Invoice line allowance base amount (BT-137) is 2. + + + + + + [BR-43]-Each Invoice line charge (BG-28) shall have an Invoice line charge amount (BT-141). + + [BR-44]-Each Invoice line charge (BG-28) shall have an Invoice line charge reason (BT-144) or an Invoice line charge reason code (BT-145). + + [BR-CO-08]-Invoice line charge reason code (BT-145) and Invoice line charge reason (BT-144) shall indicate the same type of charge reason. + + [BR-CO-24]-Each Invoice line charge (BG-28) shall contain an Invoice line charge reason (BT-144) or an Invoice line charge reason code (BT-145), or both. + + [BR-DEC-27]-The allowed maximum number of decimals for the Invoice line charge amount (BT-141) is 2. + + [BR-DEC-28]-The allowed maximum number of decimals for the Invoice line charge base amount (BT-142) is 2. + + + + + + [BR-CO-09]-The Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) shall have a prefix in accordance with ISO code ISO 3166-1 alpha-2 by which the country of issue may be identified. Nevertheless, Greece may use the prefix ‘EL’. + + + + + + [BR-66]-Each Specified Trade Allowance Charge (BG-20)(BG-21) shall contain a Charge Indicator. + + + + + + [BR-AE-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Reverse charge" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). + + [BR-AE-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Reverse charge" the Document level allowance VAT rate (BT-96) shall be 0 (zero). + + + + + + [BR-E-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Exempt from VAT" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-E-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Exempt from VAT", the Document level allowance VAT rate (BT-96) shall be 0 (zero). + + + + + + [BR-G-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Export outside the EU" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). + + [BR-G-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Export outside the EU" the Document level allowance VAT rate (BT-96) shall be 0 (zero). + + + + + + [BR-IC-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Intra-community supply" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). + + [BR-IC-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Intra-community supply" the Document level allowance VAT rate (BT-96) shall be 0 (zero). + + + + + + [BR-AF-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IGIC" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-AF-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IGIC" the Document level allowance VAT rate (BT-96) shall be 0 (zero) or greater than zero. + + + + + + [BR-AG-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IPSI" shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-AG-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IPSI" the Document level allowance VAT rate (BT-96) shall be 0 (zero) or greater than zero. + + + + + + [BR-O-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Not subject to VAT" shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-48). + + [BR-O-06]-A Document level allowance (BG-20) where VAT category code (BT-95) is "Not subject to VAT" shall not contain a Document level allowance VAT rate (BT-96). + + + + + + [BR-S-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Standard rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-S-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Standard rated" the Document level allowance VAT rate (BT-96) shall be greater than zero. + + + + + + [BR-Z-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Zero rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-Z-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Zero rated" the Document level allowance VAT rate (BT-96) shall be 0 (zero). + + + + + + [BR-AE-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Reverse charge" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). + + [BR-AE-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Reverse charge" the Document level charge VAT rate (BT-103) shall be 0 (zero). + + + + + + [BR-E-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Exempt from VAT" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-E-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Exempt from VAT", the Document level charge VAT rate (BT-103) shall be 0 (zero). + + + + + + [BR-G-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Export outside the EU" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). + + [BR-G-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Export outside the EU" the Document level charge VAT rate (BT-103) shall be 0 (zero). + + + + + + [BR-IC-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Intra-community supply" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). + + [BR-IC-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Intra-community supply" the Document level charge VAT rate (BT-103) shall be 0 (zero). + + + + + + [BR-AF-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IGIC" shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-AF-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IGIC" the Document level charge VAT rate (BT-103) shall be 0 (zero) or greater than zero. + + + + + + [BR-AG-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IPSI" shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-AG-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IPSI" the Document level charge VAT rate (BT-103) shall be 0 (zero) or greater than zero. + + + + + + [BR-O-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Not subject to VAT" shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-48). + + [BR-O-07]-A Document level charge (BG-21) where the VAT category code (BT-102) is "Not subject to VAT" shall not contain a Document level charge VAT rate (BT-103). + + + + + + [BR-S-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Standard rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-S-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Standard rated" the Document level charge VAT rate (BT-103) shall be greater than zero. + + + + + + [BR-Z-04]-An Invoice that contains a Document level charge where the Document level charge VAT category code (BT-102) is "Zero rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-Z-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Zero rated" the Document level charge VAT rate (BT-103) shall be 0 (zero). + + + + + + [BR-CO-10]-Sum of Invoice line net amount (BT-106) = Σ Invoice line net amount (BT-131). + + [BR-12]-An Invoice shall have the Sum of Invoice line net amount (BT-106). + + [BR-13]-An Invoice shall have the Invoice total amount without VAT (BT-109). + + [BR-14]-An Invoice shall have the Invoice total amount with VAT (BT-112). + + [BR-15]-An Invoice shall have the Amount due for payment (BT-115). + + [BR-CO-11]-Sum of allowances on document level (BT-107) = Σ Document level allowance amount (BT-92). + + [BR-CO-12]-Sum of charges on document level (BT-108) = Σ Document level charge amount (BT-99). + + [BR-CO-13]-Invoice total amount without VAT (BT-109) = Σ Invoice line net amount (BT-131) - Sum of allowances on document level (BT-107) + Sum of charges on document level (BT-108). + + [BR-CO-15]-Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110). + + [BR-CO-16]-Amount due for payment (BT-115) = Invoice total amount with VAT (BT-112) -Paid amount (BT-113) +Rounding amount (BT-114). + + [BR-DEC-09]-The allowed maximum number of decimals for the Sum of Invoice line net amount (BT-106) is 2. + + [BR-DEC-10]-The allowed maximum number of decimals for the Sum of allowanced on document level (BT-107) is 2. + + [BR-DEC-11]-The allowed maximum number of decimals for the Sum of charges on document level (BT-108) is 2. + + [BR-DEC-12]-The allowed maximum number of decimals for the Invoice total amount without VAT (BT-109) is 2. + + [BR-DEC-13]-The allowed maximum number of decimals for the Invoice total VAT amount (BT-110) is 2. + + [BR-DEC-14]-The allowed maximum number of decimals for the Invoice total amount with VAT (BT-112) is 2. + + [BR-DEC-15]-The allowed maximum number of decimals for the Invoice total VAT amount in accounting currency (BT-111) is 2. + + [BR-DEC-16]-The allowed maximum number of decimals for the Paid amount (BT-113) is 2. + + [BR-DEC-17]-The allowed maximum number of decimals for the Rounding amount (BT-114) is 2. + + [BR-DEC-18]-The allowed maximum number of decimals for the Amount due for payment (BT-115) is 2. + + [BR-53]-If the VAT accounting currency code (BT-6) is present, then the Invoice total VAT amount in accounting currency (BT-111) shall be provided. + + + + + + [BR-CO-14]-Invoice total VAT amount (BT-110) = Σ VAT category tax amount (BT-117). + + + + + + [BR-49]-A Payment instruction (BG-16) shall specify the Payment means type code (BT-81). + + [BR-CO-27]-Either the IBAN or a Proprietary ID (BT-84) shall be used. + + + + + + [BR-50]-A Payment account identifier (BT-84) shall be present if Credit transfer (BG-16) information is provided in the Invoice. + + [BR-61]-If the Payment means type code (BT-81) means SEPA credit transfer, Local credit transfer or Non-SEPA international credit transfer, the Payment account identifier (BT-84) shall be present. + + + + + + [BR-CO-18]-An Invoice shall at least have one VAT breakdown group (BG-23). + + + + + + [BR-AE-08]-In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Reverse charge" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Reverse charge". + + [BR-AE-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Reverse charge" shall be 0 (zero). + + [BR-AE-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Reverse charge" shall have a VAT exemption reason code (BT-121), meaning "Reverse charge" or the VAT exemption reason text (BT-120) "Reverse charge" (or the equivalent standard text in another language). + + + + + + [BR-E-08]-In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Exempt from VAT" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Exempt from VAT". + + [BR-E-09]-The VAT category tax amount (BT-117) In a VAT breakdown (BG-23) where the VAT category code (BT-118) equals "Exempt from VAT" shall equal 0 (zero). + + [BR-E-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Exempt from VAT" shall have a VAT exemption reason code (BT-121) or a VAT exemption reason text (BT-120). + + + + + + [BR-G-08]-In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Export outside the EU" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Export outside the EU". + + [BR-G-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Export outside the EU" shall be 0 (zero). + + [BR-G-10]-A VAT Breakdown (BG-23) with the VAT Category code (BT-118) "Export outside the EU" shall have a VAT exemption reason code (BT-121), meaning "Export outside the EU" or the VAT exemption reason text (BT-120) "Export outside the EU" (or the equivalent standard text in another language). + + + + + + [BR-IC-08]-In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Intra-community supply". + + [BR-IC-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" shall be 0 (zero). + + [BR-IC-10]-A VAT Breakdown (BG-23) with the VAT Category code (BT-118) "Intra-community supply" shall have a VAT exemption reason code (BT-121), meaning "Intra-community supply" or the VAT exemption reason text (BT-120) "Intra-community supply" (or the equivalent standard text in another language). + + [BR-IC-11]-In an Invoice with a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the Actual delivery date (BT-72) or the Invoicing period (BG-14) shall not be blank. + + [BR-IC-12]-In an Invoice with a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the Deliver to country code (BT-80) shall not be blank. + + + + + + [BR-AF-08]-For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "IGIC", the VAT category taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-95) is "IGIC" and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119). + + [BR-AF-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IGIC" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). + + [BR-AF-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "IGIC" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). + + + + + + [BR-AG-08]-For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "IPSI", the VAT category taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-95) is "IPSI" and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119). + + [BR-AG-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IPSI" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). + + [BR-AG-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "IPSI" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). + + + + + + [BR-O-08]-In a VAT breakdown (BG-23) where the VAT category code (BT-118) is " Not subject to VAT" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Not subject to VAT". + + [BR-O-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Not subject to VAT" shall be 0 (zero). + + [BR-O-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) " Not subject to VAT" shall have a VAT exemption reason code (BT-121), meaning " Not subject to VAT" or a VAT exemption reason text (BT-120) " Not subject to VAT" (or the equivalent standard text in another language). + + [BR-O-11]-An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain other VAT breakdown groups (BG-23). + + [BR-O-12]-An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is not "Not subject to VAT". + + [BR-O-13]-An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain Document level allowances (BG-20) where Document level allowance VAT category code (BT-95) is not "Not subject to VAT". + + [BR-O-14]-An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain Document level charges (BG-21) where Document level charge VAT category code (BT-102) is not "Not subject to VAT". + + + + + + [BR-AE-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Reverse charge" shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). + + [BR-AE-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Reverse charge" the Invoiced item VAT rate (BT-152) shall be 0 (zero). + + + + + + [BR-E-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Exempt from VAT" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-E-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Exempt from VAT", the Invoiced item VAT rate (BT-152) shall be 0 (zero). + + + + + + [BR-G-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Export outside the EU" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). + + [BR-G-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Export outside the EU" the Invoiced item VAT rate (BT-152) shall be 0 (zero). + + + + + + [BR-IC-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Intra-community supply" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). + + [BR-IC-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Intracommunity supply" the Invoiced item VAT rate (BT-152) shall be 0 (zero). + + + + + + [BR-AF-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IGIC" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-AF-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IGIC" the invoiced item VAT rate (BT-152) shall be greater than 0 (zero). + + + + + + [BR-AG-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IPSI" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-AG-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IPSI" the Invoiced item VAT rate (BT-152) shall be 0 (zero) or greater than zero. + + + + + + [BR-O-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Not subject to VAT" shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-46). + + [BR-O-05]-An Invoice line (BG-25) where the VAT category code (BT-151) is "Not subject to VAT" shall not contain an Invoiced item VAT rate (BT-152). + + + + + + [BR-S-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Standard rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-S-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Standard rated" the Invoiced item VAT rate (BT-152) shall be greater than zero. + + + + + + [BR-Z-02]-An Invoice that contains an Invoice line where the Invoiced item VAT category code (BT-151) is "Zero rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-Z-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Zero rated" the Invoiced item VAT rate (BT-152) shall be 0 (zero). + + + + + + [BR-16]-An Invoice shall have at least one Invoice line (BG-25). + + [BR-CO-25]-In case the Amount due for payment (BT-115) is positive, either the Payment due date (BT-9) or the Payment terms (BT-20) shall be present. + + [BR-01]-An Invoice shall have a Specification identifier (BT-24). + + [BR-02]-An Invoice shall have an Invoice number (BT-1). + + [BR-03]-An Invoice shall have an Invoice issue date (BT-2). + + [BR-04]-An Invoice shall have an Invoice type code (BT-3). + + [BR-05]-An Invoice shall have an Invoice currency code (BT-5). + + [BR-06]-An Invoice shall contain the Seller name (BT-27). + + [BR-07]-An Invoice shall contain the Buyer name (BT-44). + + [BR-08]-An Invoice shall contain the Seller postal address (BG-5). + + [BR-09]-The Seller postal address (BG-5) shall contain a Seller country code (BT-40). + + [BR-10]-An Invoice shall contain the Buyer postal address (BG-8). + + [BR-11]-The Buyer postal address shall contain a Buyer country code (BT-55). + + [BR-62]-The Seller electronic address (BT-34) shall have a Scheme identifier. + + [BR-63]-The Buyer electronic address (BT-49) shall have a Scheme identifier. + + [BR-S-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Standard rated" shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "Standard rated". + + [BR-Z-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Zero rated" shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "Zero rated". + + [BR-E-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Exempt from VAT” shall contain exactly one VAT breakdown (BG-23) with the VAT category code (BT-118) equal to "Exempt from VAT". + + [BR-AE-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Reverse charge" shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "VAT reverse charge". + + [BR-IC-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Intra-community supply" shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "Intra-community supply". + + [BR-G-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Export outside the EU" shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "Export outside the EU". + + [BR-O-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Not subject to VAT" shall contain exactly one VAT breakdown group (BG-23) with the VAT category code (BT-118) equal to "Not subject to VAT". + + [BR-AF-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "IGIC" shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "IGIC". + + [BR-AG-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "IPSI" shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "IPSI". + + [BR-B-01]-An Invoice where the VAT category code (BT-151, BT-95 or BT-102) is “Split payment” shall be a domestic Italian invoice. + + [BR-B-02]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Split payment" shall not contain an invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Standard rated”. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + Element 'ram:TypeCode' must occur exactly 1 times. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:Content' must occur exactly 1 times. + + Element 'ram:SubjectCode' may occur at maximum 1 times. + + + + + + + Value of 'ram:SubjectCode' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + Element 'ram:BusinessProcessSpecifiedDocumentContextParameter' may occur at maximum 1 times. + + Element 'ram:GuidelineSpecifiedDocumentContextParameter' must occur exactly 1 times. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + + Value of 'ram:ID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:IncludedSupplyChainTradeLineItem' must occur at least 1 times. + + + + + + Element 'ram:SellerTradeParty' must occur exactly 1 times. + + Element 'ram:BuyerTradeParty' must occur exactly 1 times. + + + + + + Element variant 'ram:AdditionalReferencedDocument[ not(ram:TypeCode="916") and not(ram:TypeCode="50") and not(ram:TypeCode="130")]' is marked as not used in the given context. + + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + Element 'ram:TypeCode' must occur exactly 1 times. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + + Value of 'ram:ReferenceTypeCode' is not allowed. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + Element 'ram:TypeCode' must occur exactly 1 times. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + Element 'ram:TypeCode' must occur exactly 1 times. + + Element 'ram:Name' may occur at maximum 1 times. + + Element 'ram:AttachmentBinaryObject' may occur at maximum 1 times. + + + + + + Attribute '@mimeCode' is required in this context. + + Attribute '@filename' is required in this context. + + + + + + + Value of '@mimeCode' is not allowed. + + + + + + Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:ID' may occur at maximum 1 times. + + Element 'ram:GlobalID' may occur at maximum 1 times. + + Element 'ram:Name' must occur exactly 1 times. + + Element 'ram:DefinedTradeContact' may occur at maximum 1 times. + + Element 'ram:PostalTradeAddress' must occur exactly 1 times. + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:Name' must occur exactly 1 times. + + Element 'ram:PostalTradeAddress' must occur exactly 1 times. + + Element 'ram:SpecifiedTaxRegistration' must occur exactly 1 times. + + + + + + Element 'ram:DefinedTradeContact' is marked as not used in the given context. + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + Element 'ram:GlobalID' is marked as not used in the given context. + + + + + + Element 'ram:ID' is marked as not used in the given context. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + Element 'ram:SpecifiedLegalOrganization' is marked as not used in the given context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:URIUniversalCommunication' is marked as not used in the given context. + + + + + + Element 'ram:Name' must occur exactly 1 times. + + Element 'ram:Description' may occur at maximum 1 times. + + Element 'ram:DefinedTradeContact' may occur at maximum 1 times. + + Element 'ram:PostalTradeAddress' must occur exactly 1 times. + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + Element variant 'ram:SpecifiedTaxRegistration[ram:ID/@schemeID="VA"]' may occur at maximum 1 times. + + Element variant 'ram:SpecifiedTaxRegistration[ram:ID/@schemeID="FC"]' may occur at maximum 1 times. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element variant 'ram:SpecifiedTaxRegistration[ not(ram:ID/@schemeID="VA") and not(ram:ID/@schemeID="FC")]' is marked as not used in the given context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + [BR-57]-Each Deliver to address (BG-15) shall contain a Deliver to country code (BT-80). + + + + + + Element 'ram:OccurrenceDateTime' must occur exactly 1 times. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:ID' may occur at maximum 1 times. + + Element 'ram:GlobalID' may occur at maximum 1 times. + + + + + + Element 'ram:DefinedTradeContact' is marked as not used in the given context. + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + Element 'ram:SpecifiedLegalOrganization' is marked as not used in the given context. + + + + + + Element 'ram:SpecifiedTaxRegistration' is marked as not used in the given context. + + + + + + Element 'ram:URIUniversalCommunication' is marked as not used in the given context. + + + + + + Element 'ram:PaymentReference' may occur at maximum 1 times. + + Element 'ram:InvoiceCurrencyCode' must occur exactly 1 times. + + Element 'ram:ApplicableTradeTax' must occur at least 1 times. + + Element 'ram:SpecifiedTradePaymentTerms' may occur at maximum 1 times. + + Element 'ram:SpecifiedTradeSettlementHeaderMonetarySummation' must occur exactly 1 times. + + Element 'ram:ReceivableSpecifiedTradeAccountingAccount' may occur at maximum 1 times. + + + + + + Element 'ram:CalculatedAmount' must occur exactly 1 times. + + Element 'ram:TypeCode' must occur exactly 1 times. + + Element 'ram:BasisAmount' must occur exactly 1 times. + + Element 'ram:CategoryCode' must occur exactly 1 times. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + Value of 'ram:CategoryCode' is not allowed. + + + + + + + Value of 'ram:DueDateTypeCode' is not allowed. + + + + + + + Value of 'ram:ExemptionReasonCode' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + Value of 'ram:InvoiceCurrencyCode' is not allowed. + + + + + + [BR-55]-Each Preceding Invoice reference (BG-3) shall contain a Preceding Invoice reference (BT-25). + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:ID' may occur at maximum 1 times. + + Element 'ram:GlobalID' may occur at maximum 1 times. + + Element 'ram:Name' must occur exactly 1 times. + + + + + + Element 'ram:DefinedTradeContact' is marked as not used in the given context. + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:PostalTradeAddress' is marked as not used in the given context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:TradingBusinessName' is marked as not used in the given context. + + + + + + Element 'ram:SpecifiedTaxRegistration' is marked as not used in the given context. + + + + + + Element 'ram:URIUniversalCommunication' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element variant 'ram:SpecifiedTradeAllowanceCharge[ not(ram:ChargeIndicator/udt:Indicator="false") and not(ram:ChargeIndicator/udt:Indicator="true")]' is marked as not used in the given context. + + + + + + Element 'ram:ChargeIndicator' must occur exactly 1 times. + + Element 'ram:ActualAmount' must occur exactly 1 times. + + Element 'ram:CategoryTradeTax' must occur exactly 1 times. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:TypeCode' must occur exactly 1 times. + + Element 'ram:CategoryCode' must occur exactly 1 times. + + + + + + Element 'ram:BasisAmount' is marked as not used in the given context. + + + + + + Element 'ram:CalculatedAmount' is marked as not used in the given context. + + + + + + + Value of 'ram:CategoryCode' is not allowed. + + + + + + Element 'ram:DueDateTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:ExemptionReason' is marked as not used in the given context. + + + + + + Element 'ram:ExemptionReasonCode' is marked as not used in the given context. + + + + + + Element 'ram:TaxPointDate' is marked as not used in the given context. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + + Value of 'ram:ReasonCode' is not allowed. + + + + + + Element 'ram:ChargeIndicator' must occur exactly 1 times. + + Element 'ram:ActualAmount' must occur exactly 1 times. + + Element 'ram:CategoryTradeTax' must occur exactly 1 times. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:TypeCode' must occur exactly 1 times. + + Element 'ram:CategoryCode' must occur exactly 1 times. + + + + + + Element 'ram:BasisAmount' is marked as not used in the given context. + + + + + + Element 'ram:CalculatedAmount' is marked as not used in the given context. + + + + + + + Value of 'ram:CategoryCode' is not allowed. + + + + + + Element 'ram:DueDateTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:ExemptionReason' is marked as not used in the given context. + + + + + + Element 'ram:ExemptionReasonCode' is marked as not used in the given context. + + + + + + Element 'ram:TaxPointDate' is marked as not used in the given context. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + + Value of 'ram:ReasonCode' is not allowed. + + + + + + Element 'ram:Description' may occur at maximum 1 times. + + Element 'ram:DirectDebitMandateID' may occur at maximum 1 times. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Element 'ram:LineTotalAmount' must occur exactly 1 times. + + Element 'ram:ChargeTotalAmount' may occur at maximum 1 times. + + Element 'ram:AllowanceTotalAmount' may occur at maximum 1 times. + + Element 'ram:TaxBasisTotalAmount' must occur exactly 1 times. + + Element variant 'ram:TaxTotalAmount[@currencyID=../../ram:InvoiceCurrencyCode]' may occur at maximum 1 times. + + Element variant 'ram:TaxTotalAmount[@currencyID=../../ram:TaxCurrencyCode]' may occur at maximum 1 times. + + Element 'ram:RoundingAmount' may occur at maximum 1 times. + + Element 'ram:GrandTotalAmount' must occur exactly 1 times. + + Element 'ram:TotalPrepaidAmount' may occur at maximum 1 times. + + Element 'ram:DuePayableAmount' must occur exactly 1 times. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element variant 'ram:TaxTotalAmount[ not(@currencyID=../../ram:InvoiceCurrencyCode) and not(@currencyID=../../ram:TaxCurrencyCode)]' is marked as not used in the given context. + + + + + + + Value of '@currencyID' is not allowed. + + + + + + Attribute '@currencyID' is required in this context. + + + + + + + Value of '@currencyID' is not allowed. + + + + + + Attribute '@currencyID' is required in this context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:TypeCode' must occur exactly 1 times. + + Element 'ram:Information' may occur at maximum 1 times. + + Element 'ram:PayeePartyCreditorFinancialAccount' may occur at maximum 1 times. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:BICID' must occur exactly 1 times. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:IBANID' must occur exactly 1 times. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + + Value of 'ram:TaxCurrencyCode' is not allowed. + + + + + + Element 'ram:AssociatedDocumentLineDocument' must occur exactly 1 times. + + Element 'ram:SpecifiedTradeProduct' must occur exactly 1 times. + + Element 'ram:SpecifiedLineTradeAgreement' must occur exactly 1 times. + + Element 'ram:SpecifiedLineTradeDelivery' must occur exactly 1 times. + + + + + + Element 'ram:LineID' must occur exactly 1 times. + + Element 'ram:IncludedNote' may occur at maximum 1 times. + + + + + + Element 'ram:Content' must occur exactly 1 times. + + + + + + Element 'ram:SubjectCode' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:NetPriceProductTradePrice' must occur exactly 1 times. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. + + + + + + Element 'ram:IssuerAssignedID' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:ChargeAmount' must occur exactly 1 times. + + Element variant 'ram:AppliedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator="false"]' may occur at maximum 1 times. + + + + + + Element variant 'ram:AppliedTradeAllowanceCharge[ not(ram:ChargeIndicator/udt:Indicator="false") and not(ram:ChargeIndicator/udt:Indicator="true")]' is marked as not used in the given context. + + + + + + Element 'ram:ChargeIndicator' must occur exactly 1 times. + + Element 'ram:ActualAmount' must occur exactly 1 times. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:BasisAmount' is marked as not used in the given context. + + + + + + Element 'ram:CalculationPercent' is marked as not used in the given context. + + + + + + Element 'ram:CategoryTradeTax' is marked as not used in the given context. + + + + + + Element 'ram:Reason' is marked as not used in the given context. + + + + + + Element 'ram:ReasonCode' is marked as not used in the given context. + + + + + + + Value of '@unitCode' is not allowed. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:ChargeAmount' must occur exactly 1 times. + + + + + + Element 'ram:AppliedTradeAllowanceCharge' is marked as not used in the given context. + + + + + + + Value of '@unitCode' is not allowed. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:BilledQuantity' must occur exactly 1 times. + + + + + + Attribute '@unitCode' is required in this context. + + + + + + + Value of '@unitCode' is not allowed. + + + + + + Element 'ram:ApplicableTradeTax' must occur exactly 1 times. + + Element 'ram:SpecifiedTradeSettlementLineMonetarySummation' must occur exactly 1 times. + + Element 'ram:AdditionalReferencedDocument' may occur at maximum 1 times. + + Element 'ram:ReceivableSpecifiedTradeAccountingAccount' may occur at maximum 1 times. + + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + Element 'ram:TypeCode' must occur exactly 1 times. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + + Value of 'ram:ReferenceTypeCode' is not allowed. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:TypeCode' must occur exactly 1 times. + + Element 'ram:CategoryCode' must occur exactly 1 times. + + + + + + Element 'ram:BasisAmount' is marked as not used in the given context. + + + + + + Element 'ram:CalculatedAmount' is marked as not used in the given context. + + + + + + + Value of 'ram:CategoryCode' is not allowed. + + + + + + Element 'ram:DueDateTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:ExemptionReason' is marked as not used in the given context. + + + + + + Element 'ram:ExemptionReasonCode' is marked as not used in the given context. + + + + + + Element 'ram:TaxPointDate' is marked as not used in the given context. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element variant 'ram:SpecifiedTradeAllowanceCharge[ not(ram:ChargeIndicator/udt:Indicator="false") and not(ram:ChargeIndicator/udt:Indicator="true")]' is marked as not used in the given context. + + + + + + Element 'ram:ChargeIndicator' must occur exactly 1 times. + + Element 'ram:ActualAmount' must occur exactly 1 times. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:CategoryTradeTax' is marked as not used in the given context. + + + + + + + Value of 'ram:ReasonCode' is not allowed. + + + + + + Element 'ram:ChargeIndicator' must occur exactly 1 times. + + Element 'ram:ActualAmount' must occur exactly 1 times. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:CategoryTradeTax' is marked as not used in the given context. + + + + + + + Value of 'ram:ReasonCode' is not allowed. + + + + + + Element 'ram:LineTotalAmount' must occur exactly 1 times. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:Name' must occur exactly 1 times. + + Element 'ram:Description' may occur at maximum 1 times. + + + + + + Element 'ram:Description' must occur exactly 1 times. + + Element 'ram:Value' must occur exactly 1 times. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Attribute '@listID' is required in this context. + + + + + + + Value of '@listID' is not allowed. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + + Value of 'ram:ID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + diff --git a/src/schema/schematron/FACTUR-X_EN16931_codedb.xml b/src/schema/schematron/FACTUR-X_EN16931_codedb.xml index a830e0f1..d0ad2b33 100644 --- a/src/schema/schematron/FACTUR-X_EN16931_codedb.xml +++ b/src/schema/schematron/FACTUR-X_EN16931_codedb.xml @@ -1,5030 +1,5812 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/schema/schematron/FACTUR-X_EXTENDED.sch b/src/schema/schematron/FACTUR-X_EXTENDED.sch index be1b088e..6cc69bb4 100644 --- a/src/schema/schematron/FACTUR-X_EXTENDED.sch +++ b/src/schema/schematron/FACTUR-X_EXTENDED.sch @@ -1,20294 +1,7069 @@ - - Schema for FACTUR-X; 1.0; EN16931-CONFORMANT-EXTENDED - - - - - - - - Each Additional supporting document (BG-24) shall contain a Supporting document reference (BT-122). - - - - - - Each VAT breakdown (BG-23) shall have a VAT category taxable amount (BT-116). - - Each VAT breakdown (BG-23) shall have a VAT category tax amount (BT-117). - - Each VAT breakdown (BG-23) shall be defined through a VAT category code (BT-118). - - Each VAT breakdown (BG-23) shall have a VAT category rate (BT-119), except if the Invoice is not subject to VAT. - - Value added tax point date (BT-7) and Value added tax point date code (BT-8) are mutually exclusive. - - VAT category tax amount (BT-117) = VAT category taxable amount (BT-116) x (VAT category rate (BT-119) / 100), rounded to two decimals. - - The allowed maximum number of decimals for the VAT category taxable amount (BT-116) is 2. - - The allowed maximum number of decimals for the VAT category tax amount (BT-117) is 2. - - - - - - In a VAT breakdown (BG-23) where VAT category code (BT-118) is "Zero rated" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amount (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are “Zero rated". - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "Zero rated" shall equal 0 (zero). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Zero rated" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). - - - - - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "Standard rated" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Standard rate" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). - - - - - - If both Invoicing period start date (BT-73) and Invoicing period end date (BT-74) are given then the Invoicing period end date (BT-74) shall be later or equal to the Invoicing period start date (BT-73). - - If Invoicing period (BG-14) is used, the Invoicing period start date (BT-73) or the Invoicing period end date (BT-74) shall be filled, or both. - - - - - - Each Document level allowance (BG-20) shall have a Document level allowance amount (BT-92). - - Each Document level allowance (BG-20) shall have a Document level allowance VAT category code (BT-95). - - Each Document level allowance (BG-20) shall have a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98). - - Document level allowance reason code (BT-98) and Document level allowance reason (BT-97) shall indicate the same type of allowance. - - Each Document level allowance (BG-20) shall contain a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98), or both. - - The allowed maximum number of decimals for the Document level allowance amount (BT-92) is 2. - - The allowed maximum number of decimals for the Document level allowance base amount (BT-93) is 2. - - - - - - Each Document level charge (BG-21) shall have a Document level charge amount (BT-99). - - Each Document level charge (BG-21) shall have a Document level charge VAT category code (BT-102). - - Each Document level charge (BG-21) shall have a Document level charge reason (BT-104) or a Document level charge reason code (BT-105). - - Document level charge reason code (BT-105) and Document level charge reason (BT-104) shall indicate the same type of charge. - - Each Document level charge (BG-21) shall contain a Document level charge reason (BT-104) or a Document level charge reason code (BT-105), or both. - - The allowed maximum number of decimals for the Document level charge amount (BT-92) is 2. - - The allowed maximum number of decimals for the Document level charge base amount (BT-93) is 2. - - - - - - Each Item attribute (BG-32) shall contain an Item attribute name (BT-160) and an Item attribute value (BT-161). - - - - - - The last 4 to 6 digits of the Payment card primary account number (BT-87) shall be present if Payment card information (BG-18) is provided in the Invoice. - - - - - - Each Invoice line (BG-25) shall have an Invoice line identifier (BT-126). - - Each Invoice line (BG-25) shall have an Invoiced quantity (BT-129). - - An Invoice line (BG-25) shall have an Invoiced quantity unit of measure code (BT-130). - - Each Invoice line (BG-25) shall have an Invoice line net amount (BT-131). - - Each Invoice line (BG-25) shall contain the Item name (BT-153). - - Each Invoice line (BG-25) shall contain the Item net price (BT-146). - - The Item net price (BT-146) shall NOT be negative. - - The Item gross price (BT-148) shall NOT be negative. - - The Item standard identifier (BT-157) shall have a Scheme identifier - - The Item classification identifier (BT-158) shall have a Scheme identifier - - Each Invoice line (BG-25) shall be categorized with an Invoiced item VAT category code (BT-151). - - An Invoice shall at least have one VAT breakdown group (BG-23). - - The allowed maximum number of decimals for the Invoice line net amount (BT-131) is 2. - - - - - - The Payee name (BT-59) shall be provided in the Invoice, if the Payee (BG-10) is different from the Seller (BG-4). - - - - - - The Seller tax representative name (BT-62) shall be provided in the Invoice, if the Seller (BG-4) has a Seller tax representative party (BG-11). - - The Seller tax representative postal address (BG-12) shall be provided in the Invoice, if the Seller (BG-4) has a Seller tax representative party (BG-11). - - The Seller tax representative postal address (BG-12) shall contain a Tax representative country code (BT-69), if the Seller (BG-4) has a Seller tax representative party (BG-11). - - Each Seller tax representative party (BG-11) shall have a Seller tax representative VAT identifier (BT-63). - - - - - - In order for the buyer to automatically identify a supplier, the Seller identifier (BT-29), the Seller legal registration identifier (BT-30) and/or the Seller VAT identifier (BT-31) shall be present. - - - - - - If both Invoice line period start date (BT-134) and Invoice line period end date (BT-135) are given then the Invoice line period end date (BT-135) shall be later or equal to the Invoice line period start date (BT-134). - - If Invoice line period (BG-26) is used, the Invoice line period start date (BT-134) or the Invoice line period end date (BT-135) shall be filled, or both. - - - - - - Each Invoice line allowance (BG-27) shall have an Invoice line allowance amount (BT-136). - - Each Invoice line allowance (BG-27) shall have an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140). - - Invoice line allowance reason code (BT-140) and Invoice line allowance reason (BT-139) shall indicate the same type of allowance reason. - - Each Invoice line allowance (BG-27) shall contain an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140), or both. - - The allowed maximum number of decimals for the Invoice line allowance amount (BT-136) is 2. - - The allowed maximum number of decimals for the Invoice line allowance base amount (BT-137) is 2. - - - - - - Each Invoice line charge (BG-28) shall have an Invoice line charge amount (BT-141). - - Each Invoice line charge (BG-28) shall have an Invoice line charge reason (BT-144) or an Invoice line charge reason code (BT-145). - - Invoice line charge reason code (BT-145) and Invoice line charge reason (BT144) shall indicate the same type of charge reason. - - Each Invoice line charge (BG-28) shall contain an Invoice line charge reason (BT-144) or an Invoice line charge reason code (BT-145), or both. - - The allowed maximum number of decimals for the Invoice line charge amount (BT-141) is 2. - - The allowed maximum number of decimals for the Invoice line charge base amount (BT-142) is 2. - - - - - - The Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) shall have a prefix in accordance with ISO code ISO 3166-1 alpha-2 by which the country of issue may be identified. Nevertheless, Greece may use the prefix ‘EL’. - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Reverse charge” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Reverse charge" the Document level allowance VAT rate (BT-96) shall be 0 (zero). - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Exempt from VAT” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Exempt from VAT", the Document level allowance VAT rate (BT-96) shall be 0 (zero). - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Export outside the EU” shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Export outside the EU" the Document level allowance VAT rate (BT-96) shall be 0 (zero). - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Intra-community supply” shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IGIC" the Document level allowance VAT rate (BT-96) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “IGIC” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IGIC" the Document level allowance VAT rate (BT-96) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “IPSI” shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IPSI" the Document level allowance VAT rate (BT-96) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Not subject to VAT” shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-48). - - A Document level allowance (BG-20) where VAT category code (BT-95) is "Not subject to VAT" shall not contain a Document level allowance VAT rate (BT-96). - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Standard rated” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Standard rated" the Document level allowance VAT rate (BT-96) shall be greater than zero. - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Zero rated” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Zero rated" the Document level allowance VAT rate (BT-96) shall be 0 (zero). - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “Reverse charge” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Reverse charge" the Document level charge VAT rate (BT-103) shall be 0 (zero). - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “Exempt from VAT” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Exempt from VAT", the Document level charge VAT rate (BT-103) shall be 0 (zero). - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “Export outside the EU” shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Export outside the EU" the Document level charge VAT rate (BT-103) shall be 0 (zero). - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “Intra-community supply” shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Intra-community supply" the Document level charge VAT rate (BT-103) shall be 0 (zero). - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “IGIC” shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IGIC" the Document level charge VAT rate (BT-103) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “IPSI” shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IPSI" the Document level charge VAT rate (BT-103) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “Not subject to VAT” shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-48). - - A Document level charge (BG-21) where the VAT category code (BT-102) is "Not subject to VAT" shall not contain a Document level charge VAT rate (BT-103). - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “Standard rated” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Standard rated" the Document level charge VAT rate (BT-103) shall be greater than zero. - - - - - - An Invoice that contains a Document level charge where the Document level charge VAT category code (BT-102) is “Zero rated” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Zero rated" the Document level charge VAT rate (BT-103) shall be 0 (zero). - - - - - - An Invoice shall have the Invoice total amount without VAT (BT-109). - - An Invoice shall have the Invoice total amount with VAT (BT-112). - - An Invoice shall have the Amount due for payment (BT-115). - - Sum of allowances on document level (BT-107) = S Document level allowance amount (BT-92). - - Sum of charges on document level (BT-108) = S Document level charge amount (BT-99). - - Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110). - - The allowed maximum number of decimals for the Sum of Invoice line net amount (BT-106) is 2. - - The allowed maximum number of decimals for the Sum of allowanced on document level (BT-107) is 2. - - The allowed maximum number of decimals for the Sum of charges on document level (BT-108) is 2. - - The allowed maximum number of decimals for the Invoice total amount without VAT (BT-109) is 2. - - The allowed maximum number of decimals for the Invoice total VAT amount (BT-110) is 2. - - The allowed maximum number of decimals for the Invoice total amount with VAT (BT-112) is 2. - - The allowed maximum number of decimals for the Invoice total VAT amount in accounting currency (BT-111) is 2. - - The allowed maximum number of decimals for the Paid amount (BT-113) is 2. - - The allowed maximum number of decimals for the Rounding amount (BT-114) is 2. - - The allowed maximum number of decimals for the Amount due for payment (BT-115) is 2. - - If the VAT accounting currency code (BT-6) is present, then the Invoice total VAT amount in accounting currency (BT-111) shall be provided. - - Invoice total amount without VAT (BT-109) = S Invoice line net amount (BT-131) - Sum of allowances on document level (BT-107) + Sum of charges on document level (BT-108). - - Amount due for payment (BT-115) = Invoice total amount with VAT (BT-112) -Paid amount (BT-113) +Rounding amount (BT-114). - - An Invoice shall have the Sum of Invoice line net amount (BT-106). - - - - - - Invoice total VAT amount (BT-110) = S VAT category tax amount (BT-117). - - - - - - A Payment instruction (BG-16) shall specify the Payment means type code (BT-81). - - - - - - A Payment account identifier (BT-84) shall be present if Credit transfer (BG-16) information is provided in the Invoice. - - If the Payment means type code (BT-81) means SEPA credit transfer, Local credit transfer or Non-SEPA international credit transfer, the Payment account identifier (BT-84) shall be present. - - - - - - In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Reverse charge" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are “Reverse charge". - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is “Reverse charge” shall be 0 (zero). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Reverse charge" shall have a VAT exemption reason code (BT-121), meaning "Reverse charge" or the VAT exemption reason text (BT-120) "Reverse charge" (or the equivalent standard text in another language). - - - - - - The VAT category tax amount (BT-117) In a VAT breakdown (BG-23) where the VAT category code (BT-118) equals "Exempt from VAT" shall equal 0 (zero). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Exempt from VAT" shall have a VAT exemption reason code (BT-121) or a VAT exemption reason text (BT-120). - - In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Exempt from VAT" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are “Exempt from VAT". - - - - - - In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Export outside the EU" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are “Export outside the EU". - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is “Export outside the EU” shall be 0 (zero). - - A VAT Breakdown (BG-23) with the VAT Category code (BT-118) "Export outside the EU" shall have a VAT exemption reason code (BT-121), meaning "Export outside the EU" or the VAT exemption reason text (BT-120) "Export outside the EU" (or the equivalent standard text in another language). - - - - - - In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are “Intra-community supply". - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IGIC" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). - - A VAT Breakdown (BG-23) with the VAT Category code (BT-118) "Intra-community supply" shall have a VAT exemption reason code (BT-121), meaning "Intra-community supply" or the VAT exemption reason text (BT-120) "Intra-community supply" (or the equivalent standard text in another language). - - In an Invoice with a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the Actual delivery date (BT-72) or the Invoicing period (BG-14) shall not be blank. - - In an Invoice with a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the Deliver to country code (BT-80) shall not be blank. - - - - - - For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "IGIC", the VAT category taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-95) is “IGIC” and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119). - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IGIC" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) "IGIC" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). - - - - - - For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "IPSI", the VAT category taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-95) is “IPSI” and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119). - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IPSI" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) "IPSI" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). - - - - - - In a VAT breakdown (BG-23) where the VAT category code (BT-118) is " Not subject to VAT" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are “Not subject to VAT". - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is “Not subject to VAT” shall be 0 (zero). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) " Not subject to VAT" shall have a VAT exemption reason code (BT-121), meaning " Not subject to VAT" or a VAT exemption reason text (BT-120) " Not subject to VAT" (or the equivalent standard text in another language). - - An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain other VAT breakdown groups (BG-23). - - An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is not "Not subject to VAT". - - An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain Document level allowances (BG-20) where Document level allowance VAT category code (BT-95) is not "Not subject to VAT". - - An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain Document level charges (BG-21) where Document level charge VAT category code (BT-102) is not "Not subject to VAT". - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “Reverse charge” shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Reverse charge" the Invoiced item VAT rate (BT-152) shall be 0 (zero). - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “Exempt from VAT” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Exempt from VAT", the Invoiced item VAT rate (BT-152) shall be 0 (zero). - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “Export outside the EU” shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Export outside the EU" the Invoiced item VAT rate (BT-152) shall be 0 (zero). - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “Intra-community supply” shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Intracommunity supply" the Invoiced item VAT rate (BT-152) shall be 0 (zero). - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “IGIC” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IGIC" the invoiced item VAT rate (BT-152) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “IPSI” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IPSI" the Invoiced item VAT rate (BT-152) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “Not subject to VAT” shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-46). - - An Invoice line (BG-25) where the VAT category code (BT-151) is "Not subject to VAT" shall not contain an Invoiced item VAT rate (BT-152). - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “Standard rated” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Standard rated" the Invoiced item VAT rate (BT-152) shall be greater than zero. - - - - - - An Invoice that contains an Invoice line where the Invoiced item VAT category code (BT-151) is “Zero rated” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Zero rated" the Invoiced item VAT rate (BT-152) shall be 0 (zero). - - - - - - An Invoice shall have a Specification identifier (BT-24). - - An Invoice shall have an Invoice number (BT-1). - - An Invoice shall have an Invoice issue date (BT-2). - - An Invoice shall have an Invoice type code (BT-3). - - An Invoice shall have an Invoice currency code (BT-5). - - An Invoice shall contain the Seller name (BT-27). - - An Invoice shall contain the Buyer name (BT-44). - - An Invoice shall contain the Seller postal address (BG-5). - - The Seller postal address (BG-5) shall contain a Seller country code (BT-40). - - The Seller electronic address (BT-34) shall have a Scheme identifier. - - The Buyer electronic address (BT-49) shall have a Scheme identifier. - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Standard rated” shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "Standard rated". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Zero rated” shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "Zero rated". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Exempt from VAT” shall contain exactly one VAT breakdown (BG-23) with the VAT category code (BT-118) equal to "Exempt from VAT". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Reverse charge” shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "VAT reverse charge". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Intra-community supply” shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "Intra-community supply". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Export outside the EU” shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "Export outside the EU". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Not subject to VAT” shall contain exactly one VAT breakdown group (BG-23) with the VAT category code (BT-118) equal to "Not subject to VAT". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “IGIC” shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "IGIC". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “IPSI” shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "IPSI". - - In case the Amount due for payment (BT-115) is positive, either the Payment due date (BT-9) or the Payment terms (BT-20) shall be present. - - An Invoice shall contain the Buyer postal address (BG-8). - - The Buyer postal address shall contain a Buyer country code (BT-55). - - - - - - Element 'ram:Name' may occur at maximum 1 times. - - Element 'ram:TypeCode' must occur exactly 1 times. - - - - - - Element 'ram:CategoryCode' is marked as not used in the given context. - - - - - - Element 'ram:ControlRequirementIndicator' is marked as not used in the given context. - - - - - - Element 'udt:IndicatorString' is marked as not used in the given context. - - - - - - Element 'ram:CompleteDateTime' must occur exactly 1 times. - - - - - - Element 'udt:DateTime' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:ContinuousIndicator' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:DurationMeasure' is marked as not used in the given context. - - - - - - Element 'ram:EndDateTime' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:InclusiveIndicator' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:OpenIndicator' is marked as not used in the given context. - - - - - - Element 'ram:PurposeCode' is marked as not used in the given context. - - - - - - Element 'ram:SeasonCode' is marked as not used in the given context. - - - - - - Element 'ram:SequenceNumeric' is marked as not used in the given context. - - - - - - Element 'ram:StartDateFlexibilityCode' is marked as not used in the given context. - - - - - - Element 'ram:StartDateTime' is marked as not used in the given context. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:Content' must occur exactly 1 times. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:Subject' is marked as not used in the given context. - - - - - - - Value of 'ram:SubjectCode' is not allowed. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'udt:DateTime' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:Purpose' is marked as not used in the given context. - - - - - - Element 'ram:PurposeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionDateTime' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - - Value of 'ram:TypeCode' is not allowed. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:VersionID' is marked as not used in the given context. - - - - - - Element 'ram:BusinessProcessSpecifiedDocumentContextParameter' may occur at maximum 1 times. - - Element 'ram:GuidelineSpecifiedDocumentContextParameter' must occur exactly 1 times. - - - - - - Element 'ram:ApplicationSpecifiedDocumentContextParameter' is marked as not used in the given context. - - - - - - Element 'ram:BIMSpecifiedDocumentContextParameter' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:SpecifiedDocumentVersion' is marked as not used in the given context. - - - - - - Element 'ram:Value' is marked as not used in the given context. - - - - - - Element 'ram:ID' must occur exactly 1 times. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:SpecifiedDocumentVersion' is marked as not used in the given context. - - - - - - Element 'ram:Value' is marked as not used in the given context. - - - - - - Element 'ram:MessageStandardSpecifiedDocumentContextParameter' is marked as not used in the given context. - - - - - - Element 'ram:ScenarioSpecifiedDocumentContextParameter' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTransactionID' is marked as not used in the given context. - - - - - - Element 'ram:SubsetSpecifiedDocumentContextParameter' is marked as not used in the given context. - - - - - - Element 'udt:IndicatorString' is marked as not used in the given context. - - - - - - Element 'ram:IncludedSupplyChainTradeLineItem' must occur at least 1 times. - - - - - - Element 'ram:SellerTradeParty' must occur exactly 1 times. - - Element 'ram:BuyerTradeParty' must occur exactly 1 times. - - - - - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - Element 'ram:TypeCode' must occur exactly 1 times. - - Element 'ram:Name' may occur at maximum 1 times. - - Element 'ram:AttachmentBinaryObject' may occur at maximum 1 times. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @characterSetCode' marked as not used in the given context. - - - - - - Attribute @encodingCode' marked as not used in the given context. - - - - - - Attribute @format' marked as not used in the given context. - - - - - - - Value of '@mimeCode' is not allowed. - - - - - - Attribute @uri' marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LineID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - - Value of 'ram:TypeCode' is not allowed. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:RelevantTradeLocation' is marked as not used in the given context. - - - - - - Element 'ram:BuyerAgentTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:BuyerAssignedAccountantTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LineID' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:BuyerRequisitionerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:BuyerTaxRepresentativeTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:ID' may occur at maximum 1 times. - - Element 'ram:Name' must occur exactly 1 times. - - Element 'ram:DefinedTradeContact' may occur at maximum 1 times. - - Element 'ram:PostalTradeAddress' must occur exactly 1 times. - - Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. - - Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DirectTelephoneUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:InstantMessagingUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:JobTitle' is marked as not used in the given context. - - - - - - Element 'ram:MobileTelephoneUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:PersonID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:Responsibility' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedContactPerson' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedNote' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:TelexUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:VOIPUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:EndPointURIUniversalCommunication' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LogoAssociatedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CountryID' must occur exactly 1 times. - - Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - - - - Element 'ram:AdditionalStreetName' is marked as not used in the given context. - - - - - - Element 'ram:AttentionOf' is marked as not used in the given context. - - - - - - Element 'ram:BuildingName' is marked as not used in the given context. - - - - - - Element 'ram:BuildingNumber' is marked as not used in the given context. - - - - - - Element 'ram:CareOf' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CitySubDivisionName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CountryName' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DepartmentName' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LineFive' is marked as not used in the given context. - - - - - - Element 'ram:LineFour' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PostOfficeBox' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:StreetName' is marked as not used in the given context. - - - - - - Element 'ram:RoleCode' is marked as not used in the given context. - - - - - - Element 'ram:AuthorizedLegalRegistration' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LegalClassificationCode' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:CountryID' must occur exactly 1 times. - - Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - - - - Element 'ram:AdditionalStreetName' is marked as not used in the given context. - - - - - - Element 'ram:AttentionOf' is marked as not used in the given context. - - - - - - Element 'ram:BuildingName' is marked as not used in the given context. - - - - - - Element 'ram:BuildingNumber' is marked as not used in the given context. - - - - - - Element 'ram:CareOf' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CitySubDivisionName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CountryName' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DepartmentName' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LineFive' is marked as not used in the given context. - - - - - - Element 'ram:LineFour' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PostOfficeBox' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:StreetName' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:ID' must occur exactly 1 times. - - - - - - Element 'ram:AssociatedRegisteredTax' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LineID' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:DemandForecastReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:OrderResponseReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:PriceListReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:ID' may occur at maximum 1 times. - - Element 'ram:Name' must occur exactly 1 times. - - Element 'ram:DefinedTradeContact' may occur at maximum 1 times. - - Element 'ram:PostalTradeAddress' must occur exactly 1 times. - - Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DirectTelephoneUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:InstantMessagingUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:JobTitle' is marked as not used in the given context. - - - - - - Element 'ram:MobileTelephoneUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:PersonID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:Responsibility' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedContactPerson' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedNote' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:TelexUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:VOIPUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:EndPointURIUniversalCommunication' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LogoAssociatedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CountryID' must occur exactly 1 times. - - Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - - - - Element 'ram:AdditionalStreetName' is marked as not used in the given context. - - - - - - Element 'ram:AttentionOf' is marked as not used in the given context. - - - - - - Element 'ram:BuildingName' is marked as not used in the given context. - - - - - - Element 'ram:BuildingNumber' is marked as not used in the given context. - - - - - - Element 'ram:CareOf' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CitySubDivisionName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CountryName' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DepartmentName' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LineFive' is marked as not used in the given context. - - - - - - Element 'ram:LineFour' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PostOfficeBox' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:StreetName' is marked as not used in the given context. - - - - - - Element 'ram:RoleCode' is marked as not used in the given context. - - - - - - Element 'ram:AuthorizedLegalRegistration' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LegalClassificationCode' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PostalTradeAddress' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:ID' must occur exactly 1 times. - - - - - - Element 'ram:AssociatedRegisteredTax' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:PromotionalDealReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:PurchaseConditionsReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:QuotationReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:Reference' is marked as not used in the given context. - - - - - - Element 'ram:RequisitionerReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:SalesAgentTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:SellerAssignedAccountantTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LineID' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:ID' may occur at maximum 1 times. - - Element 'ram:Name' must occur exactly 1 times. - - Element 'ram:DefinedTradeContact' may occur at maximum 1 times. - - Element 'ram:PostalTradeAddress' must occur exactly 1 times. - - Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. - - Element 'ram:SpecifiedTaxRegistration' must occur exactly 1 times. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DirectTelephoneUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:InstantMessagingUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:JobTitle' is marked as not used in the given context. - - - - - - Element 'ram:MobileTelephoneUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:PersonID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:Responsibility' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedContactPerson' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedNote' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:TelexUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:VOIPUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:EndPointURIUniversalCommunication' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LogoAssociatedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CountryID' must occur exactly 1 times. - - Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - - - - Element 'ram:AdditionalStreetName' is marked as not used in the given context. - - - - - - Element 'ram:AttentionOf' is marked as not used in the given context. - - - - - - Element 'ram:BuildingName' is marked as not used in the given context. - - - - - - Element 'ram:BuildingNumber' is marked as not used in the given context. - - - - - - Element 'ram:CareOf' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CitySubDivisionName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CountryName' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DepartmentName' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LineFive' is marked as not used in the given context. - - - - - - Element 'ram:LineFour' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PostOfficeBox' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:StreetName' is marked as not used in the given context. - - - - - - Element 'ram:RoleCode' is marked as not used in the given context. - - - - - - Element 'ram:AuthorizedLegalRegistration' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LegalClassificationCode' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PostalTradeAddress' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:ID' must occur exactly 1 times. - - - - - - Element 'ram:AssociatedRegisteredTax' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:Name' must occur exactly 1 times. - - Element 'ram:Description' may occur at maximum 1 times. - - Element 'ram:DefinedTradeContact' may occur at maximum 1 times. - - Element 'ram:PostalTradeAddress' must occur exactly 1 times. - - Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DirectTelephoneUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:InstantMessagingUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:JobTitle' is marked as not used in the given context. - - - - - - Element 'ram:MobileTelephoneUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:PersonID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:Responsibility' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedContactPerson' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedNote' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:TelexUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:VOIPUniversalCommunication' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:EndPointURIUniversalCommunication' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LogoAssociatedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CountryID' must occur exactly 1 times. - - Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - - - - Element 'ram:AdditionalStreetName' is marked as not used in the given context. - - - - - - Element 'ram:AttentionOf' is marked as not used in the given context. - - - - - - Element 'ram:BuildingName' is marked as not used in the given context. - - - - - - Element 'ram:BuildingNumber' is marked as not used in the given context. - - - - - - Element 'ram:CareOf' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CitySubDivisionName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CountryName' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DepartmentName' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LineFive' is marked as not used in the given context. - - - - - - Element 'ram:LineFour' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PostOfficeBox' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:StreetName' is marked as not used in the given context. - - - - - - Element 'ram:RoleCode' is marked as not used in the given context. - - - - - - Element 'ram:AuthorizedLegalRegistration' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LegalClassificationCode' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:CountryID' must occur exactly 1 times. - - Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - - - - Element 'ram:AdditionalStreetName' is marked as not used in the given context. - - - - - - Element 'ram:AttentionOf' is marked as not used in the given context. - - - - - - Element 'ram:BuildingName' is marked as not used in the given context. - - - - - - Element 'ram:BuildingNumber' is marked as not used in the given context. - - - - - - Element 'ram:CareOf' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CitySubDivisionName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CountryName' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DepartmentName' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LineFive' is marked as not used in the given context. - - - - - - Element 'ram:LineFour' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PostOfficeBox' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:StreetName' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:ID' must occur exactly 1 times. - - - - - - Element 'ram:AssociatedRegisteredTax' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:SupplyInstructionReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LineID' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Each Deliver to address (BG-15) shall contain a Deliver to country code (BT-80). - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:DescriptionBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:EarliestOccurrenceDateTime' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LatestOccurrenceDateTime' is marked as not used in the given context. - - - - - - Element 'udt:DateTime' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:OccurrenceLogisticsLocation' is marked as not used in the given context. - - - - - - Element 'ram:OccurrenceSpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:UnitQuantity' is marked as not used in the given context. - - - - - - Element 'ram:ActualDespatchSupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:ActualPickUpSupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:ActualReceiptSupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:AdditionalReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:ConsumptionReportReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LineID' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LineID' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:PackingListReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:PreviousDeliverySupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LineID' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:AssociatedInvoiceAmount' is marked as not used in the given context. - - - - - - Element 'ram:AssociatedReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:CarrierTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:ConsigneeTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:ConsignorTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:CustomsExportAgentTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:CustomsImportAgentTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:DeclaredValueForCustomsAmount' is marked as not used in the given context. - - - - - - Element 'ram:DeliveryTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:FreightForwarderTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:GrossVolumeMeasure' is marked as not used in the given context. - - - - - - Element 'ram:GrossWeightMeasure' is marked as not used in the given context. - - - - - - Element 'ram:GroupingCentreTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:IncludedSupplyChainConsignmentItem' is marked as not used in the given context. - - - - - - Element 'ram:InsurancePremiumAmount' is marked as not used in the given context. - - - - - - Element 'ram:NetWeightMeasure' is marked as not used in the given context. - - - - - - Element 'ram:PackageQuantity' is marked as not used in the given context. - - - - - - Element 'ram:ModeCode' must occur exactly 1 times. - - - - - - Element 'ram:Mode' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:StageCode' is marked as not used in the given context. - - - - - - Element 'ram:UsedLogisticsTransportMeans' is marked as not used in the given context. - - - - - - Element 'ram:TotalChargeAmount' is marked as not used in the given context. - - - - - - Element 'ram:TransportContractReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:UtilizedLogisticsTransportEquipment' is marked as not used in the given context. - - - - - - Element 'ram:DefinedTradeContact' may occur at maximum 1 times. - - Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DirectTelephoneUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:InstantMessagingUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:JobTitle' is marked as not used in the given context. - - - - - - Element 'ram:MobileTelephoneUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:PersonID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:Responsibility' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedContactPerson' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedNote' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:TelexUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:VOIPUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:EndPointURIUniversalCommunication' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LogoAssociatedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CountryID' must occur exactly 1 times. - - Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - - - - Element 'ram:AdditionalStreetName' is marked as not used in the given context. - - - - - - Element 'ram:AttentionOf' is marked as not used in the given context. - - - - - - Element 'ram:BuildingName' is marked as not used in the given context. - - - - - - Element 'ram:BuildingNumber' is marked as not used in the given context. - - - - - - Element 'ram:CareOf' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CitySubDivisionName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CountryName' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DepartmentName' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LineFive' is marked as not used in the given context. - - - - - - Element 'ram:LineFour' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PostOfficeBox' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:StreetName' is marked as not used in the given context. - - - - - - Element 'ram:RoleCode' is marked as not used in the given context. - - - - - - Element 'ram:AuthorizedLegalRegistration' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LegalClassificationCode' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PostalTradeAddress' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:ID' must occur exactly 1 times. - - - - - - Element 'ram:AssociatedRegisteredTax' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:DefinedTradeContact' may occur at maximum 1 times. - - Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DirectTelephoneUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:InstantMessagingUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:JobTitle' is marked as not used in the given context. - - - - - - Element 'ram:MobileTelephoneUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:PersonID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:Responsibility' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedContactPerson' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedNote' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:TelexUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:VOIPUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:EndPointURIUniversalCommunication' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LogoAssociatedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CountryID' must occur exactly 1 times. - - Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - - - - Element 'ram:AdditionalStreetName' is marked as not used in the given context. - - - - - - Element 'ram:AttentionOf' is marked as not used in the given context. - - - - - - Element 'ram:BuildingName' is marked as not used in the given context. - - - - - - Element 'ram:BuildingNumber' is marked as not used in the given context. - - - - - - Element 'ram:CareOf' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CitySubDivisionName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CountryName' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DepartmentName' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LineFive' is marked as not used in the given context. - - - - - - Element 'ram:LineFour' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PostOfficeBox' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:StreetName' is marked as not used in the given context. - - - - - - Element 'ram:RoleCode' is marked as not used in the given context. - - - - - - Element 'ram:AuthorizedLegalRegistration' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LegalClassificationCode' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PostalTradeAddress' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:ID' must occur exactly 1 times. - - - - - - Element 'ram:AssociatedRegisteredTax' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:DefinedTradeContact' may occur at maximum 1 times. - - Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DirectTelephoneUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:InstantMessagingUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:JobTitle' is marked as not used in the given context. - - - - - - Element 'ram:MobileTelephoneUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:PersonID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:Responsibility' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedContactPerson' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedNote' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:TelexUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:VOIPUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:EndPointURIUniversalCommunication' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LogoAssociatedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CountryID' must occur exactly 1 times. - - - - - - Element 'ram:AdditionalStreetName' is marked as not used in the given context. - - - - - - Element 'ram:AttentionOf' is marked as not used in the given context. - - - - - - Element 'ram:BuildingName' is marked as not used in the given context. - - - - - - Element 'ram:BuildingNumber' is marked as not used in the given context. - - - - - - Element 'ram:CareOf' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CitySubDivisionName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CountryName' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DepartmentName' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LineFive' is marked as not used in the given context. - - - - - - Element 'ram:LineFour' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PostOfficeBox' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:StreetName' is marked as not used in the given context. - - - - - - Element 'ram:RoleCode' is marked as not used in the given context. - - - - - - Element 'ram:AuthorizedLegalRegistration' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LegalClassificationCode' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PostalTradeAddress' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:ID' must occur exactly 1 times. - - - - - - Element 'ram:AssociatedRegisteredTax' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:PaymentReference' may occur at maximum 1 times. - - Element 'ram:InvoiceCurrencyCode' must occur exactly 1 times. - - Element 'ram:ApplicableTradeTax' must occur at least 1 times. - - Element 'ram:SpecifiedTradeSettlementHeaderMonetarySummation' must occur exactly 1 times. - - - - - - Element 'ram:CalculatedAmount' must occur exactly 1 times. - - Element 'ram:TypeCode' must occur exactly 1 times. - - Element 'ram:BasisAmount' must occur exactly 1 times. - - Element 'ram:LineTotalBasisAmount' may occur at maximum 1 times. - - Element 'ram:AllowanceChargeBasisAmount' may occur at maximum 1 times. - - Element 'ram:CategoryCode' must occur exactly 1 times. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:BasisQuantity' is marked as not used in the given context. - - - - - - Element 'ram:BuyerDeductibleTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:BuyerNonDeductibleTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:BuyerRepayableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:CalculatedRate' is marked as not used in the given context. - - - - - - Element 'ram:CalculationSequenceNumeric' is marked as not used in the given context. - - - - - - - Value of 'ram:CategoryCode' is not allowed. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:CategoryName' is marked as not used in the given context. - - - - - - Element 'ram:CurrencyCode' is marked as not used in the given context. - - - - - - Element 'ram:CustomsDutyIndicator' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - - Value of 'ram:ExemptionReasonCode' is not allowed. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:InformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:Jurisdiction' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:PlaceApplicableTradeLocation' is marked as not used in the given context. - - - - - - Attribute @format' marked as not used in the given context. - - - - - - Element 'ram:SellerPayableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:SellerRefundableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:ServiceSupplyTradeCountry' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:TaxBasisAllowanceRate' is marked as not used in the given context. - - - - - - Element 'udt:Date' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:Type' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:UnitBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:Description' may occur at maximum 1 times. - - - - - - Element 'ram:CompleteDateTime' is marked as not used in the given context. - - - - - - Element 'ram:ContinuousIndicator' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DurationMeasure' is marked as not used in the given context. - - - - - - Element 'udt:DateTime' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:InclusiveIndicator' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:OpenIndicator' is marked as not used in the given context. - - - - - - Element 'ram:PurposeCode' is marked as not used in the given context. - - - - - - Element 'ram:SeasonCode' is marked as not used in the given context. - - - - - - Element 'ram:SequenceNumeric' is marked as not used in the given context. - - - - - - Element 'ram:StartDateFlexibilityCode' is marked as not used in the given context. - - - - - - Element 'udt:DateTime' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:CreditReason' is marked as not used in the given context. - - - - - - Element 'ram:CreditReasonCode' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CreditorReferenceIssuerID' is marked as not used in the given context. - - - - - - Element 'ram:CreditorReferenceType' is marked as not used in the given context. - - - - - - Element 'ram:CreditorReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:DuePayableAmount' is marked as not used in the given context. - - - - - - Element 'ram:FactoringAgreementReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:FactoringListReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:InvoiceApplicableTradeCurrencyExchange' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:InvoiceDateTime' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Each Preceding Invoice reference (BG-3) shall contain a Preceding Invoice reference (BT-25). - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LineID' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:DefinedTradeContact' may occur at maximum 1 times. - - Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DirectTelephoneUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:InstantMessagingUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:JobTitle' is marked as not used in the given context. - - - - - - Element 'ram:MobileTelephoneUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:PersonID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:Responsibility' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedContactPerson' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedNote' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:TelexUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:VOIPUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:EndPointURIUniversalCommunication' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LogoAssociatedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CountryID' must occur exactly 1 times. - - - - - - Element 'ram:AdditionalStreetName' is marked as not used in the given context. - - - - - - Element 'ram:AttentionOf' is marked as not used in the given context. - - - - - - Element 'ram:BuildingName' is marked as not used in the given context. - - - - - - Element 'ram:BuildingNumber' is marked as not used in the given context. - - - - - - Element 'ram:CareOf' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CitySubDivisionName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CountryName' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DepartmentName' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LineFive' is marked as not used in the given context. - - - - - - Element 'ram:LineFour' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PostOfficeBox' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:StreetName' is marked as not used in the given context. - - - - - - Element 'ram:RoleCode' is marked as not used in the given context. - - - - - - Element 'ram:AuthorizedLegalRegistration' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LegalClassificationCode' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PostalTradeAddress' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:ID' must occur exactly 1 times. - - - - - - Element 'ram:AssociatedRegisteredTax' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:DefinedTradeContact' may occur at maximum 1 times. - - Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DirectTelephoneUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:InstantMessagingUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:JobTitle' is marked as not used in the given context. - - - - - - Element 'ram:MobileTelephoneUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:PersonID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:Responsibility' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedContactPerson' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedNote' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:TelexUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:VOIPUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:EndPointURIUniversalCommunication' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LogoAssociatedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CountryID' must occur exactly 1 times. - - Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - - - - Element 'ram:AdditionalStreetName' is marked as not used in the given context. - - - - - - Element 'ram:AttentionOf' is marked as not used in the given context. - - - - - - Element 'ram:BuildingName' is marked as not used in the given context. - - - - - - Element 'ram:BuildingNumber' is marked as not used in the given context. - - - - - - Element 'ram:CareOf' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CitySubDivisionName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CountryName' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DepartmentName' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LineFive' is marked as not used in the given context. - - - - - - Element 'ram:LineFour' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PostOfficeBox' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:StreetName' is marked as not used in the given context. - - - - - - Element 'ram:RoleCode' is marked as not used in the given context. - - - - - - Element 'ram:AuthorizedLegalRegistration' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LegalClassificationCode' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PostalTradeAddress' is marked as not used in the given context. - - - - - - Element 'ram:TradingBusinessName' is marked as not used in the given context. - - - - - - Element 'ram:ID' must occur exactly 1 times. - - - - - - Element 'ram:AssociatedRegisteredTax' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LetterOfCreditReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:NextInvoiceDateTime' is marked as not used in the given context. - - - - - - Element 'ram:PayableSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:Name' must occur exactly 1 times. - - Element 'ram:DefinedTradeContact' may occur at maximum 1 times. - - Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DirectTelephoneUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:InstantMessagingUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:JobTitle' is marked as not used in the given context. - - - - - - Element 'ram:MobileTelephoneUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:PersonID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:Responsibility' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedContactPerson' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedNote' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:TelexUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:VOIPUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:EndPointURIUniversalCommunication' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LogoAssociatedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CountryID' must occur exactly 1 times. - - Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - - - - Element 'ram:AdditionalStreetName' is marked as not used in the given context. - - - - - - Element 'ram:AttentionOf' is marked as not used in the given context. - - - - - - Element 'ram:BuildingName' is marked as not used in the given context. - - - - - - Element 'ram:BuildingNumber' is marked as not used in the given context. - - - - - - Element 'ram:CareOf' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CitySubDivisionName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CountryName' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DepartmentName' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LineFive' is marked as not used in the given context. - - - - - - Element 'ram:LineFour' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PostOfficeBox' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:StreetName' is marked as not used in the given context. - - - - - - Element 'ram:RoleCode' is marked as not used in the given context. - - - - - - Element 'ram:AuthorizedLegalRegistration' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LegalClassificationCode' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PostalTradeAddress' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:ID' must occur exactly 1 times. - - - - - - Element 'ram:AssociatedRegisteredTax' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:PayerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:PaymentApplicableTradeCurrencyExchange' is marked as not used in the given context. - - - - - - Element 'ram:PaymentCurrencyCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:ProFormaInvoiceReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:PurchaseSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:AmountTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:CostReferenceDimensionPattern' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:SetTriggerCode' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:SalesSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:IncludedTradeTax' must occur at least 1 times. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:CalculatedAmount' must occur exactly 1 times. - - Element 'ram:TypeCode' must occur exactly 1 times. - - Element 'ram:CategoryCode' must occur exactly 1 times. - - - - - - Element 'ram:AllowanceChargeBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:BasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:BasisQuantity' is marked as not used in the given context. - - - - - - Element 'ram:BuyerDeductibleTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:BuyerNonDeductibleTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:BuyerRepayableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:CalculatedRate' is marked as not used in the given context. - - - - - - Element 'ram:CalculationSequenceNumeric' is marked as not used in the given context. - - - - - - - Value of 'ram:CategoryCode' is not allowed. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:CategoryName' is marked as not used in the given context. - - - - - - Element 'ram:CurrencyCode' is marked as not used in the given context. - - - - - - Element 'ram:CustomsDutyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:DueDateTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:ExemptionReasonCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:InformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:Jurisdiction' is marked as not used in the given context. - - - - - - Element 'ram:LineTotalBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:PlaceApplicableTradeLocation' is marked as not used in the given context. - - - - - - Attribute @format' marked as not used in the given context. - - - - - - Element 'ram:SellerPayableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:SellerRefundableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:ServiceSupplyTradeCountry' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:TaxBasisAllowanceRate' is marked as not used in the given context. - - - - - - Element 'ram:TaxPointDate' is marked as not used in the given context. - - - - - - Element 'ram:Type' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:UnitBasisAmount' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:SpecifiedFinancialAdjustment' is marked as not used in the given context. - - - - - - Element 'ram:Description' must occur exactly 1 times. - - Element 'ram:AppliedAmount' must occur exactly 1 times. - - - - - - Element 'ram:AllowanceCharge' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:AppliedFromLogisticsLocation' is marked as not used in the given context. - - - - - - Element 'ram:AppliedToLogisticsLocation' is marked as not used in the given context. - - - - - - Element 'ram:AllowanceChargeBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:BasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:BasisQuantity' is marked as not used in the given context. - - - - - - Element 'ram:BuyerDeductibleTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:BuyerNonDeductibleTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:BuyerRepayableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:CalculatedAmount' is marked as not used in the given context. - - - - - - Element 'ram:CalculatedRate' is marked as not used in the given context. - - - - - - Element 'ram:CalculationSequenceNumeric' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:CategoryName' is marked as not used in the given context. - - - - - - Element 'ram:CurrencyCode' is marked as not used in the given context. - - - - - - Element 'ram:CustomsDutyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:DueDateTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:ExemptionReason' is marked as not used in the given context. - - - - - - Element 'ram:ExemptionReasonCode' is marked as not used in the given context. - - - - - - Element 'ram:InformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:Jurisdiction' is marked as not used in the given context. - - - - - - Element 'ram:LineTotalBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:PlaceApplicableTradeLocation' is marked as not used in the given context. - - - - - - Attribute @format' marked as not used in the given context. - - - - - - Element 'ram:SellerPayableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:SellerRefundableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:ServiceSupplyTradeCountry' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:TaxBasisAllowanceRate' is marked as not used in the given context. - - - - - - Element 'ram:TaxPointDate' is marked as not used in the given context. - - - - - - Element 'ram:Type' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:UnitBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:CalculationBasis' is marked as not used in the given context. - - - - - - Element 'ram:CalculationBasisCode' is marked as not used in the given context. - - - - - - Element 'ram:ChargeCategoryCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DisbursementAmount' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:PayingPartyRoleCode' is marked as not used in the given context. - - - - - - Element 'ram:PaymentArrangementCode' is marked as not used in the given context. - - - - - - Element 'ram:PaymentPlaceLogisticsLocation' is marked as not used in the given context. - - - - - - Element 'ram:ServiceCategoryCode' is marked as not used in the given context. - - - - - - Element 'ram:TariffClassCode' is marked as not used in the given context. - - - - - - Element 'ram:TransportPaymentMethodCode' is marked as not used in the given context. - - - - - - Element 'ram:ChargeIndicator' must occur exactly 1 times. - - Element 'ram:ActualAmount' must occur exactly 1 times. - - Element 'ram:CategoryTradeTax' must occur exactly 1 times. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:ActualTradeCurrencyExchange' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Attribute @unitCodeListAgencyID' marked as not used in the given context. - - - - - - Attribute @unitCodeListAgencyName' marked as not used in the given context. - - - - - - Attribute @unitCodeListID' marked as not used in the given context. - - - - - - - Value of '@unitCode' is not allowed. - - - - - - Attribute @format' marked as not used in the given context. - - - - - - Element 'ram:TypeCode' must occur exactly 1 times. - - Element 'ram:CategoryCode' must occur exactly 1 times. - - - - - - Element 'ram:AllowanceChargeBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:BasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:BasisQuantity' is marked as not used in the given context. - - - - - - Element 'ram:BuyerDeductibleTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:BuyerNonDeductibleTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:BuyerRepayableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:CalculatedAmount' is marked as not used in the given context. - - - - - - Element 'ram:CalculatedRate' is marked as not used in the given context. - - - - - - Element 'ram:CalculationSequenceNumeric' is marked as not used in the given context. - - - - - - - Value of 'ram:CategoryCode' is not allowed. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:CategoryName' is marked as not used in the given context. - - - - - - Element 'ram:CurrencyCode' is marked as not used in the given context. - - - - - - Element 'ram:CustomsDutyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:DueDateTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:ExemptionReason' is marked as not used in the given context. - - - - - - Element 'ram:ExemptionReasonCode' is marked as not used in the given context. - - - - - - Element 'ram:InformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:Jurisdiction' is marked as not used in the given context. - - - - - - Element 'ram:LineTotalBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:PlaceApplicableTradeLocation' is marked as not used in the given context. - - - - - - Attribute @format' marked as not used in the given context. - - - - - - Element 'ram:SellerPayableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:SellerRefundableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:ServiceSupplyTradeCountry' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:TaxBasisAllowanceRate' is marked as not used in the given context. - - - - - - Element 'ram:TaxPointDate' is marked as not used in the given context. - - - - - - Element 'ram:Type' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:UnitBasisAmount' is marked as not used in the given context. - - - - - - Element 'udt:IndicatorString' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:PrepaidIndicator' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @format' marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:UnitBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:Description' may occur at maximum 1 times. - - Element 'ram:DirectDebitMandateID' may occur at maximum 1 times. - - Element 'ram:PartialPaymentAmount' may occur at maximum 1 times. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'udt:DateTime' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Attribute @unitCodeListVersionID' marked as not used in the given context. - - - - - - - Value of '@unitCode' is not allowed. - - - - - - Attribute @format' marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'udt:DateTime' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Attribute @unitCodeListVersionID' marked as not used in the given context. - - - - - - - Value of '@unitCode' is not allowed. - - - - - - Attribute @format' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'udt:DateTime' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:FromEventCode' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:InstructionTypeCode' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:PartialPaymentPercent' is marked as not used in the given context. - - - - - - Element 'ram:PayeeTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:PaymentMeansID' is marked as not used in the given context. - - - - - - Element 'ram:SettlementPeriodMeasure' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTradeSettlementFinancialCard' is marked as not used in the given context. - - - - - - Element 'ram:LineTotalAmount' must occur exactly 1 times. - - Element 'ram:ChargeTotalAmount' may occur at maximum 1 times. - - Element 'ram:AllowanceTotalAmount' may occur at maximum 1 times. - - Element 'ram:TaxBasisTotalAmount' may occur at maximum 2 times. - - Element 'ram:TaxTotalAmount' may occur at maximum 2 times. - - Element 'ram:RoundingAmount' may occur at maximum 1 times. - - Element 'ram:GrandTotalAmount' may occur at maximum 2 times. - - Element 'ram:TotalPrepaidAmount' may occur at maximum 1 times. - - Element 'ram:DuePayableAmount' must occur exactly 1 times. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - - Value of '@currencyID' is not allowed. - - - - - - Element 'ram:GrossLineTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:InformationAmount' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:NetIncludingTaxesLineTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:NetLineTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:ProductValueExcludingTobaccoTaxInformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:RetailValueExcludingTaxInformationAmount' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Attribute '@currencyID' is required in this context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - - Value of '@currencyID' is not allowed. - - - - - - Element 'ram:TotalAllowanceChargeAmount' is marked as not used in the given context. - - - - - - Element 'ram:TotalDepositFeeInformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:TotalDiscountAmount' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:TotalRetailValueInformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' must occur exactly 1 times. - - Element 'ram:Information' may occur at maximum 1 times. - - - - - - Element 'ram:ID' must occur exactly 1 times. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CreditAvailableAmount' is marked as not used in the given context. - - - - - - Element 'ram:CreditLimitAmount' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:ExpiryDate' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:InterestRatePercent' is marked as not used in the given context. - - - - - - Element 'ram:IssuingCompanyName' is marked as not used in the given context. - - - - - - Element 'ram:MicrochipIndicator' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:ValidFromDateTime' is marked as not used in the given context. - - - - - - Element 'ram:VerificationNumeric' is marked as not used in the given context. - - - - - - Element 'ram:GuaranteeMethodCode' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:BICID' must occur exactly 1 times. - - - - - - Element 'ram:AustralianBSBID' is marked as not used in the given context. - - - - - - Element 'ram:AustrianBankleitzahlID' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CHIPSParticipantID' is marked as not used in the given context. - - - - - - Element 'ram:CHIPSUniversalID' is marked as not used in the given context. - - - - - - Element 'ram:CanadianPaymentsAssociationID' is marked as not used in the given context. - - - - - - Element 'ram:ClearingSystemName' is marked as not used in the given context. - - - - - - Element 'ram:FedwireRoutingNumberID' is marked as not used in the given context. - - - - - - Element 'ram:GermanBankleitzahlID' is marked as not used in the given context. - - - - - - Element 'ram:HellenicBankID' is marked as not used in the given context. - - - - - - Element 'ram:HongKongBankID' is marked as not used in the given context. - - - - - - Element 'ram:IndianFinancialSystemID' is marked as not used in the given context. - - - - - - Element 'ram:IrishNSCID' is marked as not used in the given context. - - - - - - Element 'ram:ItalianDomesticID' is marked as not used in the given context. - - - - - - Element 'ram:JapanFinancialInstitutionCommonID' is marked as not used in the given context. - - - - - - Element 'ram:LocationFinancialInstitutionAddress' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:NewZealandNCCID' is marked as not used in the given context. - - - - - - Element 'ram:PolishNationalClearingID' is marked as not used in the given context. - - - - - - Element 'ram:PortugueseNCCID' is marked as not used in the given context. - - - - - - Element 'ram:RussianCentralBankID' is marked as not used in the given context. - - - - - - Element 'ram:SICID' is marked as not used in the given context. - - - - - - Element 'ram:SouthAfricanNCCID' is marked as not used in the given context. - - - - - - Element 'ram:SpanishDomesticInterbankingID' is marked as not used in the given context. - - - - - - Element 'ram:SubDivisionBranchFinancialInstitution' is marked as not used in the given context. - - - - - - Element 'ram:SwissBCID' is marked as not used in the given context. - - - - - - Element 'ram:UKSortCodeID' is marked as not used in the given context. - - - - - - Element 'ram:IBANID' must occur exactly 1 times. - - - - - - Element 'ram:AccountName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:ProprietaryID' is marked as not used in the given context. - - - - - - Element 'ram:PayerSpecifiedDebtorFinancialInstitution' is marked as not used in the given context. - - - - - - Element 'ram:PaymentChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:PaymentMethodCode' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:SubtotalCalculatedTradeTax' is marked as not used in the given context. - - - - - - Element 'ram:AssociatedReferencedDocument' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Attribute @format' marked as not used in the given context. - - - - - - Element 'ram:MarketID' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:SourceUnitBasisNumeric' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:TargetUnitBaseNumeric' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:UltimatePayeeTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTradeProduct' must occur exactly 1 times. - - Element 'ram:SpecifiedLineTradeAgreement' must occur exactly 1 times. - - - - - - Element 'ram:LineID' must occur exactly 1 times. - - - - - - Element 'ram:Content' must occur exactly 1 times. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:Subject' is marked as not used in the given context. - - - - - - - Value of 'ram:SubjectCode' is not allowed. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:ParentLineID' is marked as not used in the given context. - - - - - - Element 'ram:DescriptionCode' is marked as not used in the given context. - - - - - - Element 'ram:IncludedSubordinateTradeLineItem' is marked as not used in the given context. - - - - - - Element 'ram:NetPriceProductTradePrice' must occur exactly 1 times. - - - - - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - Element 'ram:TypeCode' must occur exactly 1 times. - - Element 'ram:AttachmentBinaryObject' may occur at maximum 1 times. - - Element 'ram:ReferenceTypeCode' must occur exactly 1 times. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @characterSetCode' marked as not used in the given context. - - - - - - Attribute @encodingCode' marked as not used in the given context. - - - - - - Attribute @format' marked as not used in the given context. - - - - - - - Value of '@mimeCode' is not allowed. - - - - - - Attribute @uri' marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:ApplicableTradeDeliveryTerms' is marked as not used in the given context. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:BuyerReference' is marked as not used in the given context. - - - - - - Element 'ram:BuyerRequisitionerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:DemandForecastReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:ChargeAmount' must occur exactly 1 times. - - - - - - Element 'ram:ActualAmount' must occur exactly 1 times. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:ActualTradeCurrencyExchange' is marked as not used in the given context. - - - - - - Element 'ram:BasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:BasisQuantity' is marked as not used in the given context. - - - - - - Element 'ram:CalculationPercent' is marked as not used in the given context. - - - - - - Element 'ram:CategoryTradeTax' is marked as not used in the given context. - - - - - - Element 'udt:IndicatorString' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:PrepaidIndicator' is marked as not used in the given context. - - - - - - Element 'ram:ReasonCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:SequenceNumeric' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:UnitBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:AssociatedReferencedDocument' is marked as not used in the given context. - - - - - - Attribute @unitCodeListAgencyID' marked as not used in the given context. - - - - - - Attribute @unitCodeListAgencyName' marked as not used in the given context. - - - - - - Attribute @unitCodeListID' marked as not used in the given context. - - - - - - - Value of '@unitCode' is not allowed. - - - - - - Element 'ram:ChangeReason' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:DeliveryTradeLocation' is marked as not used in the given context. - - - - - - Element 'ram:IncludedTradeTax' is marked as not used in the given context. - - - - - - Element 'ram:MaximumQuantity' is marked as not used in the given context. - - - - - - Element 'ram:MinimumQuantity' is marked as not used in the given context. - - - - - - Element 'ram:OrderUnitConversionFactorNumeric' is marked as not used in the given context. - - - - - - Element 'ram:TradeComparisonReferencePrice' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:ValiditySpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:IncludedSpecifiedMarketplace' is marked as not used in the given context. - - - - - - Element 'ram:ItemBuyerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:ItemSellerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:ChargeAmount' must occur exactly 1 times. - - Element 'ram:IncludedTradeTax' may occur at maximum 1 times. - - - - - - Element 'ram:AppliedTradeAllowanceCharge' is marked as not used in the given context. - - - - - - Element 'ram:AssociatedReferencedDocument' is marked as not used in the given context. - - - - - - Attribute @unitCodeListAgencyID' marked as not used in the given context. - - - - - - Attribute @unitCodeListAgencyName' marked as not used in the given context. - - - - - - Attribute @unitCodeListID' marked as not used in the given context. - - - - - - - Value of '@unitCode' is not allowed. - - - - - - Element 'ram:ChangeReason' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:DeliveryTradeLocation' is marked as not used in the given context. - - - - - - Element 'ram:CalculatedAmount' must occur exactly 1 times. - - Element 'ram:TypeCode' must occur exactly 1 times. - - Element 'ram:CategoryCode' must occur exactly 1 times. - - Element 'ram:RateApplicablePercent' must occur exactly 1 times. - - - - - - Element 'ram:AllowanceChargeBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:BasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:BasisQuantity' is marked as not used in the given context. - - - - - - Element 'ram:BuyerDeductibleTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:BuyerNonDeductibleTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:BuyerRepayableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:CalculatedRate' is marked as not used in the given context. - - - - - - Element 'ram:CalculationSequenceNumeric' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:CategoryName' is marked as not used in the given context. - - - - - - Element 'ram:CurrencyCode' is marked as not used in the given context. - - - - - - Element 'ram:CustomsDutyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:DueDateTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:ExemptionReasonCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:InformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:Jurisdiction' is marked as not used in the given context. - - - - - - Element 'ram:LineTotalBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:PlaceApplicableTradeLocation' is marked as not used in the given context. - - - - - - Attribute @format' marked as not used in the given context. - - - - - - Element 'ram:SellerPayableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:SellerRefundableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:ServiceSupplyTradeCountry' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:TaxBasisAllowanceRate' is marked as not used in the given context. - - - - - - Element 'ram:TaxPointDate' is marked as not used in the given context. - - - - - - Element 'ram:Type' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:UnitBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:MaximumQuantity' is marked as not used in the given context. - - - - - - Element 'ram:MinimumQuantity' is marked as not used in the given context. - - - - - - Element 'ram:OrderUnitConversionFactorNumeric' is marked as not used in the given context. - - - - - - Element 'ram:TradeComparisonReferencePrice' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:ValiditySpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:PromotionalDealReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:QuotationReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:RequisitionerReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:SellerOrderReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:BilledQuantity' must occur exactly 1 times. - - - - - - Element 'ram:OccurrenceDateTime' must occur exactly 1 times. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:DescriptionBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:EarliestOccurrenceDateTime' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LatestOccurrenceDateTime' is marked as not used in the given context. - - - - - - Element 'udt:DateTime' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:OccurrenceLogisticsLocation' is marked as not used in the given context. - - - - - - Element 'ram:OccurrenceSpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:UnitQuantity' is marked as not used in the given context. - - - - - - Element 'ram:ActualDespatchSupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:ActualPickUpSupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:ActualReceiptSupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:AdditionalReferencedDocument' is marked as not used in the given context. - - - - - - Attribute @unitCodeListAgencyID' marked as not used in the given context. - - - - - - Attribute @unitCodeListAgencyName' marked as not used in the given context. - - - - - - Attribute @unitCodeListID' marked as not used in the given context. - - - - - - - Value of '@unitCode' is not allowed. - - - - - - Attribute @unitCodeListAgencyID' marked as not used in the given context. - - - - - - Attribute @unitCodeListAgencyName' marked as not used in the given context. - - - - - - Attribute @unitCodeListID' marked as not used in the given context. - - - - - - - Value of '@unitCode' is not allowed. - - - - - - Element 'ram:ConsumptionReportReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:DespatchedQuantity' is marked as not used in the given context. - - - - - - Element 'ram:GrossWeightMeasure' is marked as not used in the given context. - - - - - - Element 'ram:IncludedSupplyChainPackaging' is marked as not used in the given context. - - - - - - Element 'ram:NetWeightMeasure' is marked as not used in the given context. - - - - - - Attribute @unitCodeListAgencyID' marked as not used in the given context. - - - - - - Attribute @unitCodeListAgencyName' marked as not used in the given context. - - - - - - Attribute @unitCodeListID' marked as not used in the given context. - - - - - - - Value of '@unitCode' is not allowed. - - - - - - Element 'ram:PackingListReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:PerPackageUnitQuantity' is marked as not used in the given context. - - - - - - Element 'ram:ProductUnitQuantity' is marked as not used in the given context. - - - - - - Element 'ram:ReceivedQuantity' is marked as not used in the given context. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:RelatedSupplyChainConsignment' is marked as not used in the given context. - - - - - - Element 'ram:RequestedDeliverySupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:RequestedQuantity' is marked as not used in the given context. - - - - - - Element 'ram:ShipFromTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:ID' may occur at maximum 1 times. - - Element 'ram:Name' must occur exactly 1 times. - - Element 'ram:DefinedTradeContact' may occur at maximum 1 times. - - Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. - - Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DirectTelephoneUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:InstantMessagingUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:JobTitle' is marked as not used in the given context. - - - - - - Element 'ram:MobileTelephoneUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:PersonID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:Responsibility' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedContactPerson' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedNote' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:TelexUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:VOIPUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:EndPointURIUniversalCommunication' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LogoAssociatedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CountryID' must occur exactly 1 times. - - Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - - - - Element 'ram:AdditionalStreetName' is marked as not used in the given context. - - - - - - Element 'ram:AttentionOf' is marked as not used in the given context. - - - - - - Element 'ram:BuildingName' is marked as not used in the given context. - - - - - - Element 'ram:BuildingNumber' is marked as not used in the given context. - - - - - - Element 'ram:CareOf' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CitySubDivisionName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CountryName' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DepartmentName' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LineFive' is marked as not used in the given context. - - - - - - Element 'ram:LineFour' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PostOfficeBox' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:StreetName' is marked as not used in the given context. - - - - - - Element 'ram:RoleCode' is marked as not used in the given context. - - - - - - Element 'ram:AuthorizedLegalRegistration' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LegalClassificationCode' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PostalTradeAddress' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:ID' must occur exactly 1 times. - - - - - - Element 'ram:AssociatedRegisteredTax' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:SpecifiedDeliveryAdjustment' is marked as not used in the given context. - - - - - - Element 'ram:TheoreticalWeightMeasure' is marked as not used in the given context. - - - - - - Element 'ram:ID' may occur at maximum 1 times. - - Element 'ram:Name' must occur exactly 1 times. - - Element 'ram:DefinedTradeContact' may occur at maximum 1 times. - - Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. - - Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DirectTelephoneUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:InstantMessagingUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:JobTitle' is marked as not used in the given context. - - - - - - Element 'ram:MobileTelephoneUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:PersonID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:Responsibility' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedContactPerson' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedNote' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:TelexUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:VOIPUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:EndPointURIUniversalCommunication' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LogoAssociatedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CountryID' must occur exactly 1 times. - - Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - - - - Element 'ram:AdditionalStreetName' is marked as not used in the given context. - - - - - - Element 'ram:AttentionOf' is marked as not used in the given context. - - - - - - Element 'ram:BuildingName' is marked as not used in the given context. - - - - - - Element 'ram:BuildingNumber' is marked as not used in the given context. - - - - - - Element 'ram:CareOf' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CitySubDivisionName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CountryName' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DepartmentName' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LineFive' is marked as not used in the given context. - - - - - - Element 'ram:LineFour' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PostOfficeBox' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:StreetName' is marked as not used in the given context. - - - - - - Element 'ram:RoleCode' is marked as not used in the given context. - - - - - - Element 'ram:AuthorizedLegalRegistration' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LegalClassificationCode' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PostalTradeAddress' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:ID' must occur exactly 1 times. - - - - - - Element 'ram:AssociatedRegisteredTax' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:URIID' must occur exactly 1 times. - - - - - - Element 'ram:ChannelCode' is marked as not used in the given context. - - - - - - Element 'ram:CompleteNumber' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:ApplicableTradeTax' must occur at least 1 times. - - Element 'ram:SpecifiedTradeSettlementLineMonetarySummation' must occur exactly 1 times. - - - - - - Element 'ram:TypeCode' must occur exactly 1 times. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LineID' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - - Value of 'ram:TypeCode' is not allowed. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Element 'ram:CalculatedAmount' may occur at maximum 1 times. - - Element 'ram:TypeCode' must occur exactly 1 times. - - Element 'ram:CategoryCode' must occur exactly 1 times. - - - - - - Element 'ram:AllowanceChargeBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:BasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:BasisQuantity' is marked as not used in the given context. - - - - - - Element 'ram:BuyerDeductibleTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:BuyerNonDeductibleTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:BuyerRepayableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:CalculatedRate' is marked as not used in the given context. - - - - - - Element 'ram:CalculationSequenceNumeric' is marked as not used in the given context. - - - - - - - Value of 'ram:CategoryCode' is not allowed. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:CategoryName' is marked as not used in the given context. - - - - - - Element 'ram:CurrencyCode' is marked as not used in the given context. - - - - - - Element 'ram:CustomsDutyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:DueDateTypeCode' is marked as not used in the given context. - - - - - - - Value of 'ram:ExemptionReasonCode' is not allowed. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:InformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:Jurisdiction' is marked as not used in the given context. - - - - - - Element 'ram:LineTotalBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:PlaceApplicableTradeLocation' is marked as not used in the given context. - - - - - - Attribute @format' marked as not used in the given context. - - - - - - Element 'ram:SellerPayableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:SellerRefundableTaxSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:ServiceSupplyTradeCountry' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:TaxBasisAllowanceRate' is marked as not used in the given context. - - - - - - Element 'ram:TaxPointDate' is marked as not used in the given context. - - - - - - Element 'ram:Type' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:UnitBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:CompleteDateTime' is marked as not used in the given context. - - - - - - Element 'ram:ContinuousIndicator' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:DurationMeasure' is marked as not used in the given context. - - - - - - Element 'udt:DateTime' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:InclusiveIndicator' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:OpenIndicator' is marked as not used in the given context. - - - - - - Element 'ram:PurposeCode' is marked as not used in the given context. - - - - - - Element 'ram:SeasonCode' is marked as not used in the given context. - - - - - - Element 'ram:SequenceNumeric' is marked as not used in the given context. - - - - - - Element 'ram:StartDateFlexibilityCode' is marked as not used in the given context. - - - - - - Element 'udt:DateTime' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:DiscountIndicator' is marked as not used in the given context. - - - - - - Element 'ram:InvoiceIssuerReference' is marked as not used in the given context. - - - - - - Element 'ram:InvoiceReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:PayableSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:PaymentReference' is marked as not used in the given context. - - - - - - Element 'ram:PurchaseSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:AmountTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:CostReferenceDimensionPattern' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:SetTriggerCode' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Element 'ram:SalesSpecifiedTradeAccountingAccount' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedFinancialAdjustment' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedLogisticsServiceCharge' is marked as not used in the given context. - - - - - - Element 'ram:ChargeIndicator' must occur exactly 1 times. - - Element 'ram:ActualAmount' must occur exactly 1 times. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:ActualTradeCurrencyExchange' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:BasisQuantity' is marked as not used in the given context. - - - - - - Attribute @format' marked as not used in the given context. - - - - - - Element 'ram:CategoryTradeTax' is marked as not used in the given context. - - - - - - Element 'udt:IndicatorString' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:PrepaidIndicator' is marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:SequenceNumeric' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:UnitBasisAmount' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTradePaymentTerms' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTradeSettlementFinancialCard' is marked as not used in the given context. - - - - - - Element 'ram:LineTotalAmount' must occur exactly 1 times. - - Element 'ram:TotalAllowanceChargeAmount' may occur at maximum 1 times. - - - - - - Element 'ram:AllowanceTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:ChargeTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:GrandTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:GrossLineTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:InformationAmount' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:NetIncludingTaxesLineTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:NetLineTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:ProductWeightLossInformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:TaxBasisTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:TaxTotalAmount' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - - - - - Attribute @currencyID' marked as not used in the given context. - - - - - - Element 'ram:TotalRetailValueInformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:SubtotalCalculatedTradeTax' is marked as not used in the given context. - - - - - - Element 'ram:TotalAdjustmentAmount' is marked as not used in the given context. - - - - - - Element 'ram:Name' must occur exactly 1 times. - - - - - - Element 'ram:AdditionalReferenceReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:ApplicableMaterialGoodsCharacteristic' is marked as not used in the given context. - - - - - - Element 'ram:Description' must occur exactly 1 times. - - Element 'ram:Value' must occur exactly 1 times. - - - - - - Element 'ram:ApplicableProductCharacteristicCondition' is marked as not used in the given context. - - - - - - Element 'ram:ApplicableReferencedStandard' is marked as not used in the given context. - - - - - - Element 'ram:ContentTypeCode' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:MeasurementMethodCode' is marked as not used in the given context. - - - - - - - Value of 'ram:TypeCode' is not allowed. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:ValueCode' is marked as not used in the given context. - - - - - - Element 'ram:ValueDateTime' is marked as not used in the given context. - - - - - - Element 'ram:ValueIndicator' is marked as not used in the given context. - - - - - - Attribute @unitCodeListVersionID' marked as not used in the given context. - - - - - - - Value of '@unitCode' is not allowed. - - - - - - Element 'ram:ValueSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:AreaDensityMeasure' is marked as not used in the given context. - - - - - - Element 'ram:BrandName' is marked as not used in the given context. - - - - - - Element 'ram:BrandOwnerTradeParty' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CertificationEvidenceReferenceReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:ColourCode' is marked as not used in the given context. - - - - - - Element 'ram:ColourDescription' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:ClassCode' must occur exactly 1 times. - - Element 'ram:ClassName' may occur at maximum 1 times. - - - - - - Element 'ram:ApplicableReferencedStandard' is marked as not used in the given context. - - - - - - - Value of 'ram:ClassCode' is not allowed. - - Attribute '@listID' is required in this context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - - Value of '@listID' is not allowed. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:ClassProductCharacteristic' is marked as not used in the given context. - - - - - - Element 'ram:SubClassCode' is marked as not used in the given context. - - - - - - Element 'ram:SystemID' is marked as not used in the given context. - - - - - - Element 'ram:SystemName' is marked as not used in the given context. - - - - - - Element 'ram:Designation' is marked as not used in the given context. - - - - - - Element 'ram:DrainedNetWeightMeasure' is marked as not used in the given context. - - - - - - Element 'ram:EndItemName' is marked as not used in the given context. - - - - - - Element 'ram:EndItemTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:FormattedCancellationAnnouncedLaunchDateTime' is marked as not used in the given context. - - - - - - Element 'ram:FormattedLatestProductDataChangeDateTime' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:GrossWeightMeasure' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:GlobalID' may occur at maximum 1 times. - - Element 'ram:Name' must occur exactly 1 times. - - Element 'ram:Description' may occur at maximum 1 times. - - Element 'ram:UnitQuantity' may occur at maximum 1 times. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:IndustryAssignedID' is marked as not used in the given context. - - - - - - Element 'ram:ManufacturerAssignedID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:RelationshipTypeCode' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Attribute @unitCodeListAgencyID' marked as not used in the given context. - - - - - - Attribute @unitCodeListAgencyName' marked as not used in the given context. - - - - - - Attribute @unitCodeListID' marked as not used in the given context. - - - - - - - Value of '@unitCode' is not allowed. - - - - - - Element 'ram:IndividualTradeProductInstance' is marked as not used in the given context. - - - - - - Element 'ram:InformationNote' is marked as not used in the given context. - - - - - - Element 'ram:InspectionReferenceReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:LegalRightsOwnerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LinearSpatialDimension' is marked as not used in the given context. - - - - - - Element 'ram:MSDSReferenceReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:ManufacturerAssignedID' is marked as not used in the given context. - - - - - - Element 'ram:ManufacturerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:MaximumLinearSpatialDimension' is marked as not used in the given context. - - - - - - Element 'ram:MinimumLinearSpatialDimension' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:NetWeightMeasure' is marked as not used in the given context. - - - - - - Element 'ram:ID' must occur exactly 1 times. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:SubordinateTradeCountrySubDivision' is marked as not used in the given context. - - - - - - Element 'ram:PresentationSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:ProductGroupID' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:SubBrandName' is marked as not used in the given context. - - - - - - Element 'ram:TradeName' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:UseDescription' is marked as not used in the given context. - - - - - - Element 'ram:VariableMeasureIndicator' is marked as not used in the given context. - - - - - - Element 'rsm:ValuationBreakdownStatement' is marked as not used in the given context. - - + + Schema for Factur-X; 1.0.07; EN16931-CONFORMANT-EXTENDED + + + + + + + + [BR-52]-Each Additional supporting document (BG-24) shall contain a Supporting document reference (BT-122). + + + + + + [BR-45]-Each VAT breakdown (BG-23) shall have a VAT category taxable amount (BT-116). + + [BR-46]-Each VAT breakdown (BG-23) shall have a VAT category tax amount (BT-117). + + [BR-47]-Each VAT breakdown (BG-23) shall be defined through a VAT category code (BT-118). + + [BR-48]-Each VAT breakdown (BG-23) shall have a VAT category rate (BT-119), except if the Invoice is not subject to VAT. + + [BR-CO-03]-Value added tax point date (BT-7) and Value added tax point date code (BT-8) are mutually exclusive. + + [BR-DEC-19]-The allowed maximum number of decimals for the VAT category taxable amount (BT-116) is 2. + + [BR-DEC-20]-The allowed maximum number of decimals for the VAT category tax amount (BT-117) is 2. + + + + + + [BR-FXEXT-Z-08]-In a VAT breakdown (BG-23) where VAT category code (BT-118) is equal to “Z” ("Zero Rated"), Absolute Value of (VAT category taxable amount (BT-116) - ∑ Invoice line net amounts (BT-131) + Σ Document level allowance amounts (BT-92) - Σ Document level charge amounts (BT-99) - Σ Logistics Service fee amounts (BT-x-272)) <= 0,01 * ((Number of line net amounts (BT-131) + Number of Document level allowance amounts (BT-92) + Number of Document level charge amounts (BT-99) + Number of Logistics Service fee amounts (BT-X-272)), where the VAT category code (BT-151, BT-95, BT-102, BT-X-273) is "Zero Rated" (Z). + + [BR-Z-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "Zero rated" shall equal 0 (zero). + + [BR-Z-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Zero rated" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). + + + + + + [BR-S-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Standard rate" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). + + [BR-FXEXT-S-08]-For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is equal to “S” ("Standard rated"), Absolute Value of (VAT category taxable amount (BT-116) - ∑ Invoice line net amounts (BT-131) + Σ Document level allowance amounts (BT-92) - Σ Document level charges amounts (BT-99) - Σ Logistics Service fee amounts (BT-x-272)) <= 0,01 * ((Number of line net amounts (BT-131) + Number of Document level allowance amounts (BT-92) + Number of Document level charge amounts (BT-99) + Number of Logistics Service fee amounts (BT-X-272)), where the VAT category code (BT-151, BT-95, BT-102, BT-X-273) is "Standard rated" (S) and the VAT rate (BT-152, BT-96, BT-103, BT-X-274) equals the VAT category rate (BT-119). + + + + + + [BR-FXEXT-S-09]-For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is equal to “S” ("Standard rated"), Absolute Value of (VAT category tax amount (BT-117) - VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119)/100) <= 0,01 * ((Number of line net amounts (BT-131) + Number of Document level allowance amounts (BT-92) + Number of Document level charge amounts (BT-99) + Number of Logistics Service fee amounts (BT-X-272)), where the VAT category code (BT-151, BT-95, BT-102, BT-X-273) is " Standard rated " (S), and the VAT rate (BT-152, BT-96, BT-103, BT-X-274) equals the VAT category rate (BT-119). + + + + + + [BR-29]-If both Invoicing period start date (BT-73) and Invoicing period end date (BT-74) are given then the Invoicing period end date (BT-74) shall be later or equal to the Invoicing period start date (BT-73). + + [BR-CO-19]-If Invoicing period (BG-14) is used, the Invoicing period start date (BT-73) or the Invoicing period end date (BT-74) shall be filled, or both. + + + + + + [BR-31]-Each Document level allowance (BG-20) shall have a Document level allowance amount (BT-92). + + [BR-32]-Each Document level allowance (BG-20) shall have a Document level allowance VAT category code (BT-95). + + [BR-33]-Each Document level allowance (BG-20) shall have a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98). + + [BR-CO-05]-Document level allowance reason code (BT-98) and Document level allowance reason (BT-97) shall indicate the same type of allowance. + + [BR-CO-21]-Each Document level allowance (BG-20) shall contain a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98), or both. + + [BR-DEC-01]-The allowed maximum number of decimals for the Document level allowance amount (BT-92) is 2. + + [BR-DEC-02]-The allowed maximum number of decimals for the Document level allowance base amount (BT-93) is 2. + + + + + + [BR-36]-Each Document level charge (BG-21) shall have a Document level charge amount (BT-99). + + [BR-37]-Each Document level charge (BG-21) shall have a Document level charge VAT category code (BT-102). + + [BR-38]-Each Document level charge (BG-21) shall have a Document level charge reason (BT-104) or a Document level charge reason code (BT-105). + + [BR-CO-06]-Document level charge reason code (BT-105) and Document level charge reason (BT-104) shall indicate the same type of charge. + + [BR-CO-22]-Each Document level charge (BG-21) shall contain a Document level charge reason (BT-104) or a Document level charge reason code (BT-105), or both. + + [BR-DEC-05]-The allowed maximum number of decimals for the Document level charge amount (BT-99) is 2. + + [BR-DEC-06]-The allowed maximum number of decimals for the Document level charge base amount (BT-100) is 2. + + + + + + [BR-54]-Each Item attribute (BG-32) shall contain an Item attribute name (BT-160) and an Item attribute value (BT-161). + + + + + + [BR-51]-In accordance with card payments security standards an invoice should never include a full card primary account number (BT-87). At the moment PCI Security Standards Council has defined that the first 6 digits and last 4 digits are the maximum number of digits to be shown. + + + + + + [BR-FXEXT-02]-If the invoice line item free text subject code (BT-X-10) is specified, either the coded invoice line item free text (BT-X-9) or the invoice line item free text (BT-127) must be specified, or both. If both BT-X-9 and BT-127 are specified, both must have the same meaning. + + + + + + [BR-21]-Each Invoice line (BG-25) shall have an Invoice line identifier (BT-126). + + [BR-22]-Each Invoice line (BG-25) shall have an Invoiced quantity (BT-129). + + [BR-23]-An Invoice line (BG-25) shall have an Invoiced quantity unit of measure code (BT-130). + + [BR-24]-Each Invoice line (BG-25) shall have an Invoice line net amount (BT-131). + + [BR-25]-Each Invoice line (BG-25) shall contain the Item name (BT-153). + + [BR-26]-Each Invoice line (BG-25) shall contain the Item net price (BT-146). + + [BR-27]-The Item net price (BT-146) shall NOT be negative. + + [BR-28]-The Item gross price (BT-148) shall NOT be negative. + + [BR-64]-The Item standard identifier (BT-157) shall have a Scheme identifier. + + [BR-65]-The Item classification identifier (BT-158) shall have a Scheme identifier. + + [BR-CO-04]-Each Invoice line (BG-25) shall be categorized with an Invoiced item VAT category code (BT-151). + + [BR-DEC-23]-The allowed maximum number of decimals for the Invoice line net amount (BT-131) is 2. + + + + + + [BR-17]-The Payee name (BT-59) shall be provided in the Invoice, if the Payee (BG-10) is different from the Seller (BG-4). + + + + + + [BR-18]-The Seller tax representative name (BT-62) shall be provided in the Invoice, if the Seller (BG-4) has a Seller tax representative party (BG-11). + + [BR-19]-The Seller tax representative postal address (BG-12) shall be provided in the Invoice, if the Seller (BG-4) has a Seller tax representative party (BG-11). + + [BR-20]-The Seller tax representative postal address (BG-12) shall contain a Tax representative country code (BT-69), if the Seller (BG-4) has a Seller tax representative party (BG-11). + + [BR-56]-Each Seller tax representative party (BG-11) shall have a Seller tax representative VAT identifier (BT-63). + + + + + + [BR-CO-26]-In order for the buyer to automatically identify a supplier, the Seller identifier (BT-29), the Seller legal registration identifier (BT-30) and/or the Seller VAT identifier (BT-31) shall be present. + + + + + + [BR-30]-If both Invoice line period start date (BT-134) and Invoice line period end date (BT-135) are given then the Invoice line period end date (BT-135) shall be later or equal to the Invoice line period start date (BT-134). + + [BR-CO-20]-If Invoice line period (BG-26) is used, the Invoice line period start date (BT-134) or the Invoice line period end date (BT-135) shall be filled, or both. + + + + + + [BR-42]-Each Invoice line allowance (BG-27) shall have an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140). + + + + + + [BR-41]-Each Invoice line allowance (BG-27) shall have an Invoice line allowance amount (BT-136). + + [BR-CO-07]-Invoice line allowance reason code (BT-140) and Invoice line allowance reason (BT-139) shall indicate the same type of allowance reason. + + [BR-CO-23]-Each Invoice line allowance (BG-27) shall contain an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140), or both. + + [BR-DEC-24]-The allowed maximum number of decimals for the Invoice line allowance amount (BT-136) is 2. + + [BR-DEC-25]-The allowed maximum number of decimals for the Invoice line allowance base amount (BT-137) is 2. + + + + + + [BR-43]-Each Invoice line charge (BG-28) shall have an Invoice line charge amount (BT-141). + + [BR-44]-Each Invoice line charge (BG-28) shall have an Invoice line charge reason (BT-144) or an Invoice line charge reason code (BT-145). + + [BR-CO-08]-Invoice line charge reason code (BT-145) and Invoice line charge reason (BT-144) shall indicate the same type of charge reason. + + [BR-CO-24]-Each Invoice line charge (BG-28) shall contain an Invoice line charge reason (BT-144) or an Invoice line charge reason code (BT-145), or both. + + [BR-DEC-27]-The allowed maximum number of decimals for the Invoice line charge amount (BT-141) is 2. + + [BR-DEC-28]-The allowed maximum number of decimals for the Invoice line charge base amount (BT-142) is 2. + + + + + + [BR-CO-09]-The Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) shall have a prefix in accordance with ISO code ISO 3166-1 alpha-2 by which the country of issue may be identified. Nevertheless, Greece may use the prefix ‘EL’. + + + + + + [BR-FXEXT-03]-Only a VAT registration ID may be provided for the following business partners: the line level Ship-To (BT-X-66), the line level Ultimate-Ship-To (BT-X-84), the Sales-Agent (BT-X-340), the Buyer-Tax-Representative (BT-X-367), the Product-Enduser (BT-X-144), the Buyer-Agent (BT-X-411), the document level Ship-To (BT-X-161), the document level Ultimate-Ship-To (BT-X-180), the Ship-From (BT-X-199), the Invoicer (BT-X-223), the Invoicee (BT-X-242), the document level Payee (BT-X-257), the Payer (BT-X-481), or the payment-term-specific Payee (BT-X-509). + + + + + + [BR-66]-Each Specified Trade Allowance Charge (BG-20)(BG-21) shall contain a Charge Indicator. + + + + + + [BR-AE-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Reverse charge" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). + + [BR-AE-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Reverse charge" the Document level allowance VAT rate (BT-96) shall be 0 (zero). + + + + + + [BR-E-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Exempt from VAT" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-E-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Exempt from VAT", the Document level allowance VAT rate (BT-96) shall be 0 (zero). + + + + + + [BR-G-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Export outside the EU" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). + + [BR-G-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Export outside the EU" the Document level allowance VAT rate (BT-96) shall be 0 (zero). + + + + + + [BR-IC-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Intra-community supply" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). + + [BR-IC-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Intra-community supply" the Document level allowance VAT rate (BT-96) shall be 0 (zero). + + + + + + [BR-AF-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IGIC" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-AF-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IGIC" the Document level allowance VAT rate (BT-96) shall be 0 (zero) or greater than zero. + + + + + + [BR-AG-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IPSI" shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-AG-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IPSI" the Document level allowance VAT rate (BT-96) shall be 0 (zero) or greater than zero. + + + + + + [BR-O-06]-A Document level allowance (BG-20) where VAT category code (BT-95) is "Not subject to VAT" shall not contain a Document level allowance VAT rate (BT-96). + + + + + + [BR-S-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Standard rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-S-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Standard rated" the Document level allowance VAT rate (BT-96) shall be greater than zero. + + + + + + [BR-Z-03]-An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Zero rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-Z-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Zero rated" the Document level allowance VAT rate (BT-96) shall be 0 (zero). + + + + + + [BR-AE-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Reverse charge" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). + + [BR-AE-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Reverse charge" the Document level charge VAT rate (BT-103) shall be 0 (zero). + + + + + + [BR-E-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Exempt from VAT" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-E-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Exempt from VAT", the Document level charge VAT rate (BT-103) shall be 0 (zero). + + + + + + [BR-G-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Export outside the EU" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). + + [BR-G-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Export outside the EU" the Document level charge VAT rate (BT-103) shall be 0 (zero). + + + + + + [BR-IC-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Intra-community supply" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). + + [BR-IC-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Intra-community supply" the Document level charge VAT rate (BT-103) shall be 0 (zero). + + + + + + [BR-AF-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IGIC" shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-AF-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IGIC" the Document level charge VAT rate (BT-103) shall be 0 (zero) or greater than zero. + + + + + + [BR-AG-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IPSI" shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-AG-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IPSI" the Document level charge VAT rate (BT-103) shall be 0 (zero) or greater than zero. + + + + + + [BR-O-07]-A Document level charge (BG-21) where the VAT category code (BT-102) is "Not subject to VAT" shall not contain a Document level charge VAT rate (BT-103). + + + + + + [BR-S-04]-An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Standard rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-S-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Standard rated" the Document level charge VAT rate (BT-103) shall be greater than zero. + + + + + + [BR-Z-04]-An Invoice that contains a Document level charge where the Document level charge VAT category code (BT-102) is "Zero rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-Z-07]-In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Zero rated" the Document level charge VAT rate (BT-103) shall be 0 (zero). + + + + + + [BR-FXEXT-CO-10]-Absolute Value of (Sum of Invoice line net amount (BT-106) - Σ Invoice line net amounts (BT-131))<= 0,01 * Number of line net amounts (BT-131). + + [BR-12]-An Invoice shall have the Sum of Invoice line net amount (BT-106). + + [BR-13]-An Invoice shall have the Invoice total amount without VAT (BT-109). + + [BR-14]-An Invoice shall have the Invoice total amount with VAT (BT-112). + + [BR-15]-An Invoice shall have the Amount due for payment (BT-115). + + [BR-FXEXT-CO-11]-Absolute Value of (Sum of allowances on document level (BT-107) - Σ Document level allowance amounts (BT-92))<= 0,01 * Number of Document level allowance amounts (BT-92). + + [BR-FXEXT-CO-12]-Absolute Value of (Sum of charges on document level (BT-108) - Σ Document level charge amounts (BT-99) - Σ Logistics Service fee amounts (BT-x-272))<= 0,01 * (Number of Document level charge amounts (BT-99) + Number of Logistics Service fee amounts (BT-X-272)). + + [BR-FXEXT-CO-13]-Absolute Value of (Invoice total amount without VAT (BT-109) - ∑ Invoice line net amounts (BT-131) + Σ Document level allowance amounts (BT-92) - Σ Document level charge amounts (BT-99)) <= 0,01 * (Number of line net amounts (BT-131) + Number of Document level allowance amounts (BT-92) + Number of Document level charge amounts (BT-99)). + + [BR-FXEXT-CO-15]-If Invoice Total VAT amount (BT-110) ,where currency (BT-110-0) is equal to BT-5, is present, then the Absolute Value of (Invoice total amount with VAT (BT-112) - Invoice total amount without VAT (BT-109) - Invoice total VAT amount (BT-110)) <= 0,01 * (Number of line net amounts (BT-131) + Number of Document level allowance amounts (BT-92) + Number of Document level charges amounts (BT-99) + Number of Logistics Service fee amounts (BT-X-272). Else, Invoice total amount with VAT (BT-112) is equal to Invoice total amount without VAT (BT-109). + + [BR-CO-16]-Amount due for payment (BT-115) = Invoice total amount with VAT (BT-112) -Paid amount (BT-113) +Rounding amount (BT-114). + + [BR-DEC-09]-The allowed maximum number of decimals for the Sum of Invoice line net amount (BT-106) is 2. + + [BR-DEC-10]-The allowed maximum number of decimals for the Sum of allowanced on document level (BT-107) is 2. + + [BR-DEC-11]-The allowed maximum number of decimals for the Sum of charges on document level (BT-108) is 2. + + [BR-DEC-12]-The allowed maximum number of decimals for the Invoice total amount without VAT (BT-109) is 2. + + [BR-DEC-13]-The allowed maximum number of decimals for the Invoice total VAT amount (BT-110) is 2. + + [BR-DEC-14]-The allowed maximum number of decimals for the Invoice total amount with VAT (BT-112) is 2. + + [BR-DEC-15]-The allowed maximum number of decimals for the Invoice total VAT amount in accounting currency (BT-111) is 2. + + [BR-DEC-16]-The allowed maximum number of decimals for the Paid amount (BT-113) is 2. + + [BR-DEC-17]-The allowed maximum number of decimals for the Rounding amount (BT-114) is 2. + + [BR-DEC-18]-The allowed maximum number of decimals for the Amount due for payment (BT-115) is 2. + + [BR-53]-If the VAT accounting currency code (BT-6) is present, then the Invoice total VAT amount in accounting currency (BT-111) shall be provided. + + + + + + [BR-CO-14]-Invoice total VAT amount (BT-110) = Σ VAT category tax amount (BT-117). + + + + + + [BR-49]-A Payment instruction (BG-16) shall specify the Payment means type code (BT-81). + + [BR-CO-27]-Either the IBAN or a Proprietary ID (BT-84) shall be used. + + + + + + [BR-50]-A Payment account identifier (BT-84) shall be present if Credit transfer (BG-16) information is provided in the Invoice. + + [BR-61]-If the Payment means type code (BT-81) means SEPA credit transfer, Local credit transfer or Non-SEPA international credit transfer, the Payment account identifier (BT-84) shall be present. + + + + + + [BR-CO-18]-An Invoice shall at least have one VAT breakdown group (BG-23). + + + + + + [BR-FXEXT-AE-08]-In a VAT breakdown (BG-23) where VAT category code (BT-118) is equal to “AE” ("Reverse Charge"), Absolute Value of (VAT category taxable amount (BT-116) - ∑ Invoice line net amounts (BT-131) + Σ Document level allowance amounts (BT-92) - Σ Document level charge amounts (BT-99) - Σ Logistics Service fee amounts (BT-x-272)) <= 0,01 * ((Number of line net amounts (BT-131) + Number of Document level allowance amounts (BT-92) + Number of Document level charge amounts (BT-99) + Number of Logistics Service fee amounts (BT-X-272)), where the VAT category code (BT-151, BT-95, BT-102, BT-X-273) is "Reversed Charge" (AE). + + [BR-AE-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Reverse charge" shall be 0 (zero). + + [BR-AE-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Reverse charge" shall have a VAT exemption reason code (BT-121), meaning "Reverse charge" or the VAT exemption reason text (BT-120) "Reverse charge" (or the equivalent standard text in another language). + + + + + + [BR-FXEXT-E-08]-In a VAT breakdown (BG-23) where VAT category code (BT-118) is equal to “E” ("Exempt from VAT"), Absolute Value of (VAT category taxable amount (BT-116) - ∑ Invoice line net amounts (BT-131) + Σ Document level allowance amounts (BT-92) - Σ Document level charges amounts (BT-99) - Σ Logistics Service fee amounts (BT-x-272)) <= 0,01 * ((Number of line net amounts (BT-131) + Number of Document level allowance amounts (BT-92) + Number of Document level charge amounts (BT-99) + Number of Logistics Service fee amounts (BT-X-272)), where the VAT category code (BT-151, BT-95, BT-102, BT-X-273) is " Exempt from VAT" (E). + + [BR-E-09]-The VAT category tax amount (BT-117) In a VAT breakdown (BG-23) where the VAT category code (BT-118) equals "Exempt from VAT" shall equal 0 (zero). + + [BR-E-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Exempt from VAT" shall have a VAT exemption reason code (BT-121) or a VAT exemption reason text (BT-120). + + + + + + [BR-FXEXT-G-08]-In a VAT breakdown (BG-23) where VAT category code (BT-118) is equal to “G” ("Export outside the EU"), Absolute Value of (VAT category taxable amount (BT-116) - ∑ Invoice line net amounts (BT-131) + Σ Document level allowance amounts (BT-92) - Σ Document level charges amounts (BT-99) - Σ Logistics Service fee amounts (BT-x-272)) <= 0,01 * ((Number of line net amounts (BT-131) + Number of Document level allowance amounts (BT-92) + Number of Document level charge amounts (BT-99) + Number of Logistics Service fee amounts (BT-X-272)), where the VAT category code (BT-151, BT-95, BT-102, BT-X-273) is " Export outside the EU " (G). + + [BR-G-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Export outside the EU" shall be 0 (zero). + + [BR-G-10]-A VAT Breakdown (BG-23) with the VAT Category code (BT-118) "Export outside the EU" shall have a VAT exemption reason code (BT-121), meaning "Export outside the EU" or the VAT exemption reason text (BT-120) "Export outside the EU" (or the equivalent standard text in another language). + + + + + + [BR-FXEXT-IC-08]-In a VAT breakdown (BG-23) where VAT category code (BT-118) is equal to “K” ("Intra-community supply"), Absolute Value of (VAT category taxable amount (BT-116) - ∑ Invoice line net amounts (BT-131) + Σ Document level allowance amounts (BT-92) - Σ Document level charges amounts (BT-99) - Σ Logistics Service fee amounts (BT-x-272)) <= 0,01 * ((Number of line net amounts (BT-131) + Number of Document level allowance amounts (BT-92) + Number of Document level charge amounts (BT-99) + Number of Logistics Service fee amounts (BT-X-272)), where the VAT category code (BT-151, BT-95, BT-102, BT-X-273) is " Intra-community supply " (K) + + [BR-IC-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" shall be 0 (zero). + + [BR-IC-10]-A VAT Breakdown (BG-23) with the VAT Category code (BT-118) "Intra-community supply" shall have a VAT exemption reason code (BT-121), meaning "Intra-community supply" or the VAT exemption reason text (BT-120) "Intra-community supply" (or the equivalent standard text in another language). + + [BR-IC-11]-In an Invoice with a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the Actual delivery date (BT-72) or the Invoicing period (BG-14) shall not be blank. + + [BR-IC-12]-In an Invoice with a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the Deliver to country code (BT-80) shall not be blank. + + + + + + [BR-FXEXT-AF-08]-In a VAT breakdown (BG-23) where VAT category code (BT-118) is equal to “L” ("Canary Islands tax"), Absolute Value of (VAT category taxable amount (BT-116) - ∑ Invoice line net amounts (BT-131) + Σ Document level allowance amounts (BT-92) - Σ Document level charges amounts (BT-99) - Σ Logistics Service fee amounts (BT-x-272)) <= 0,01 * ((Number of line net amounts (BT-131) + Number of Document level allowance amounts (BT-92) + Number of Document level charge amounts (BT-99) + Number of Logistics Service fee amounts (BT-X-272)), where the VAT category code (BT-151, BT-95, BT-102, BT-X-273) is " Canary Islands tax " (L). + + [BR-AF-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IGIC" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). + + [BR-AF-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "IGIC" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). + + + + + + [BR-FXEXT-AG-08]-In a VAT breakdown (BG-23) where VAT category code (BT-118) is equal to “M” ("Ceuta and Mellita tax"), Absolute Value of (VAT category taxable amount (BT-116) - ∑ Invoice line net amounts (BT-131) + Σ Document level allowance amounts (BT-92) - Σ Document level charges amounts (BT-99) - Σ Logistics Service fee amounts (BT-x-272)) <= 0,01 * ((Number of line net amounts (BT-131) + Number of Document level allowance amounts (BT-92) + Number of Document level charge amounts (BT-99) + Number of Logistics Service fee amounts (BT-X-272)), where the VAT category code (BT-151, BT-95, BT-102, BT-X-273) is " Ceuta and Mellita tax " (M). + + [BR-AG-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IPSI" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). + + [BR-AG-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "IPSI" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). + + + + + + [BR-FXEXT-O-08]-In a VAT breakdown (BG-23) where VAT category code (BT-118) is equal to “O” ("Not subject to VAT"), Absolute Value of (VAT category taxable amount (BT-116) - ∑ Invoice line net amounts (BT-131) + Σ Document level allowance amounts (BT-92) - Σ Document level charges amounts (BT-99) - Σ Logistics Service fee amounts (BT-x-272)) <= 0,01 * ((Number of line net amounts (BT-131) + Number of Document level allowance amounts (BT-92) + Number of Document level charge amounts (BT-99) + Number of Logistics Service fee amounts (BT-X-272)), where the VAT category code (BT-151, BT-95, BT-102, BT-X-273) is " Not subject to VAT " (O). + + [BR-O-09]-The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Not subject to VAT" shall be 0 (zero). + + [BR-O-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) " Not subject to VAT" shall have a VAT exemption reason code (BT-121), meaning " Not subject to VAT" or a VAT exemption reason text (BT-120) " Not subject to VAT" (or the equivalent standard text in another language). + + + + + + [BR-AE-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Reverse charge" shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). + + [BR-AE-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Reverse charge" the Invoiced item VAT rate (BT-152) shall be 0 (zero). + + + + + + [BR-E-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Exempt from VAT" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-E-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Exempt from VAT", the Invoiced item VAT rate (BT-152) shall be 0 (zero). + + + + + + [BR-G-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Export outside the EU" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). + + [BR-G-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Export outside the EU" the Invoiced item VAT rate (BT-152) shall be 0 (zero). + + + + + + [BR-IC-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Intra-community supply" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). + + [BR-IC-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Intracommunity supply" the Invoiced item VAT rate (BT-152) shall be 0 (zero). + + + + + + [BR-AF-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IGIC" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-AF-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IGIC" the invoiced item VAT rate (BT-152) shall be greater than 0 (zero). + + + + + + [BR-AG-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IPSI" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-AG-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IPSI" the Invoiced item VAT rate (BT-152) shall be 0 (zero) or greater than zero. + + + + + + [BR-O-05]-An Invoice line (BG-25) where the VAT category code (BT-151) is "Not subject to VAT" shall not contain an Invoiced item VAT rate (BT-152). + + + + + + [BR-S-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Standard rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-S-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Standard rated" the Invoiced item VAT rate (BT-152) shall be greater than zero. + + + + + + [BR-Z-02]-An Invoice that contains an Invoice line where the Invoiced item VAT category code (BT-151) is "Zero rated" shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). + + [BR-Z-05]-In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Zero rated" the Invoiced item VAT rate (BT-152) shall be 0 (zero). + + + + + + [BR-16]-An Invoice shall have at least one Invoice line (BG-25). + + [BR-CO-25]-In case the Amount due for payment (BT-115) is positive, either the Payment due date (BT-9) or the Payment terms (BT-20) shall be present. + + [BR-01]-An Invoice shall have a Specification identifier (BT-24). + + [BR-02]-An Invoice shall have an Invoice number (BT-1). + + [BR-03]-An Invoice shall have an Invoice issue date (BT-2). + + [BR-04]-An Invoice shall have an Invoice type code (BT-3). + + [BR-05]-An Invoice shall have an Invoice currency code (BT-5). + + [BR-06]-An Invoice shall contain the Seller name (BT-27). + + [BR-07]-An Invoice shall contain the Buyer name (BT-44). + + [BR-08]-An Invoice shall contain the Seller postal address (BG-5). + + [BR-09]-The Seller postal address (BG-5) shall contain a Seller country code (BT-40). + + [BR-10]-An Invoice shall contain the Buyer postal address (BG-8). + + [BR-11]-The Buyer postal address shall contain a Buyer country code (BT-55). + + [BR-62]-The Seller electronic address (BT-34) shall have a Scheme identifier. + + [BR-63]-The Buyer electronic address (BT-49) shall have a Scheme identifier. + + [BR-S-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Standard rated" shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "Standard rated". + + [BR-Z-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Zero rated" shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "Zero rated". + + [BR-E-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Exempt from VAT” shall contain exactly one VAT breakdown (BG-23) with the VAT category code (BT-118) equal to "Exempt from VAT". + + [BR-AE-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Reverse charge" shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "VAT reverse charge". + + [BR-IC-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Intra-community supply" shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "Intra-community supply". + + [BR-G-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Export outside the EU" shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "Export outside the EU". + + [BR-O-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Not subject to VAT" shall contain exactly one VAT breakdown group (BG-23) with the VAT category code (BT-118) equal to "Not subject to VAT". + + [BR-AF-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "IGIC" shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "IGIC". + + [BR-AG-01]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "IPSI" shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "IPSI". + + [BR-B-01]-An Invoice where the VAT category code (BT-151, BT-95 or BT-102) is “Split payment” shall be a domestic Italian invoice. + + [BR-B-02]-An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Split payment" shall not contain an invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Standard rated”. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + Element 'ram:Name' may occur at maximum 1 times. + + Element 'ram:TypeCode' must occur exactly 1 times. + + Element 'ram:LanguageID' may occur at maximum 1 times. + + + + + + Element 'ram:CompleteDateTime' must occur exactly 1 times. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + Element 'ram:EndDateTime' is marked as not used in the given context. + + + + + + Element 'ram:StartDateTime' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:Content' may occur at maximum 1 times. + + Element 'ram:SubjectCode' may occur at maximum 1 times. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + Value of 'ram:SubjectCode' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + [BR-FXEXT-01]-If the Invoice Free Text subject Code (BT-21) is specified, either the coded message free text (BT-X-5) or the message free text (BT-22) must be specified, or both. If both BT-X-5 and BT-22 are specified, both must have the same meaning. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + Element 'ram:BusinessProcessSpecifiedDocumentContextParameter' may occur at maximum 1 times. + + Element 'ram:GuidelineSpecifiedDocumentContextParameter' must occur exactly 1 times. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + + Value of 'ram:ID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:IncludedSupplyChainTradeLineItem' must occur at least 1 times. + + + + + + Element 'ram:SellerTradeParty' must occur exactly 1 times. + + Element 'ram:BuyerTradeParty' must occur exactly 1 times. + + + + + + Element variant 'ram:AdditionalReferencedDocument[ not(ram:TypeCode="916") and not(ram:TypeCode="50") and not(ram:TypeCode="130")]' is marked as not used in the given context. + + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + Element 'ram:TypeCode' must occur exactly 1 times. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + + Value of 'ram:ReferenceTypeCode' is not allowed. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + Element 'ram:TypeCode' must occur exactly 1 times. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + Element 'ram:TypeCode' must occur exactly 1 times. + + Element 'ram:Name' may occur at maximum 1 times. + + Element 'ram:AttachmentBinaryObject' may occur at maximum 1 times. + + + + + + Attribute '@mimeCode' is required in this context. + + Attribute '@filename' is required in this context. + + + + + + + Value of '@mimeCode' is not allowed. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:DeliveryTypeCode' must occur exactly 1 times. + + + + + + Element 'ram:ID' may occur at maximum 1 times. + + Element 'ram:Name' must occur exactly 1 times. + + Element 'ram:RoleCode' may occur at maximum 1 times. + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:ID' may occur at maximum 1 times. + + Element 'ram:Name' must occur exactly 1 times. + + Element 'ram:RoleCode' may occur at maximum 1 times. + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + Element 'ram:SpecifiedTaxRegistration' must occur exactly 1 times. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:ID' may occur at maximum 1 times. + + Element 'ram:Name' must occur exactly 1 times. + + Element 'ram:RoleCode' may occur at maximum 1 times. + + Element 'ram:Description' may occur at maximum 1 times. + + Element 'ram:PostalTradeAddress' must occur exactly 1 times. + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + + Value of 'ram:ReferenceTypeCode' is not allowed. + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:ID' may occur at maximum 1 times. + + Element 'ram:Name' must occur exactly 1 times. + + Element 'ram:RoleCode' may occur at maximum 1 times. + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:ID' may occur at maximum 1 times. + + Element 'ram:Name' must occur exactly 1 times. + + Element 'ram:RoleCode' may occur at maximum 1 times. + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:ID' may occur at maximum 1 times. + + Element 'ram:Name' must occur exactly 1 times. + + Element 'ram:RoleCode' may occur at maximum 1 times. + + Element 'ram:PostalTradeAddress' must occur exactly 1 times. + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + Element 'ram:SpecifiedTaxRegistration' must occur exactly 1 times. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:Name' must occur exactly 1 times. + + Element 'ram:RoleCode' may occur at maximum 1 times. + + Element 'ram:Description' may occur at maximum 1 times. + + Element 'ram:PostalTradeAddress' must occur exactly 1 times. + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + Element variant 'ram:SpecifiedTaxRegistration[ram:ID/@schemeID="VA"]' may occur at maximum 1 times. + + Element variant 'ram:SpecifiedTaxRegistration[ram:ID/@schemeID="FC"]' may occur at maximum 1 times. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + Element variant 'ram:SpecifiedTaxRegistration[ not(ram:ID/@schemeID="VA") and not(ram:ID/@schemeID="FC")]' is marked as not used in the given context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + [BR-57]-Each Deliver to address (BG-15) shall contain a Deliver to country code (BT-80). + + + + + + Element 'ram:OccurrenceDateTime' must occur exactly 1 times. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:ModeCode' must occur exactly 1 times. + + + + + + Element 'ram:ID' may occur at maximum 1 times. + + Element 'ram:RoleCode' may occur at maximum 1 times. + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:ID' may occur at maximum 1 times. + + Element 'ram:RoleCode' may occur at maximum 1 times. + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:ID' may occur at maximum 1 times. + + Element 'ram:RoleCode' may occur at maximum 1 times. + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:PaymentReference' may occur at maximum 1 times. + + Element 'ram:InvoiceCurrencyCode' must occur exactly 1 times. + + Element 'ram:ApplicableTradeTax' must occur at least 1 times. + + Element 'ram:SpecifiedTradeSettlementHeaderMonetarySummation' must occur exactly 1 times. + + + + + + Element 'ram:CalculatedAmount' must occur exactly 1 times. + + Element 'ram:TypeCode' must occur exactly 1 times. + + Element 'ram:BasisAmount' must occur exactly 1 times. + + Element 'ram:LineTotalBasisAmount' may occur at maximum 1 times. + + Element 'ram:AllowanceChargeBasisAmount' may occur at maximum 1 times. + + Element 'ram:CategoryCode' must occur exactly 1 times. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + Value of 'ram:CategoryCode' is not allowed. + + + + + + + Value of 'ram:DueDateTypeCode' is not allowed. + + + + + + + Value of 'ram:ExemptionReasonCode' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + Element 'ram:Description' may occur at maximum 1 times. + + + + + + Element 'ram:CompleteDateTime' is marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + Value of 'ram:InvoiceCurrencyCode' is not allowed. + + + + + + [BR-55]-Each Preceding Invoice reference (BG-3) shall contain a Preceding Invoice reference (BT-25). + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:ID' may occur at maximum 1 times. + + Element 'ram:Name' must occur exactly 1 times. + + Element 'ram:RoleCode' may occur at maximum 1 times. + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:ID' may occur at maximum 1 times. + + Element 'ram:Name' must occur exactly 1 times. + + Element 'ram:RoleCode' may occur at maximum 1 times. + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:ID' may occur at maximum 1 times. + + Element 'ram:Name' must occur exactly 1 times. + + Element 'ram:RoleCode' may occur at maximum 1 times. + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:ID' may occur at maximum 1 times. + + Element 'ram:Name' must occur exactly 1 times. + + Element 'ram:RoleCode' may occur at maximum 1 times. + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + Element 'ram:IncludedTradeTax' must occur at least 1 times. + + Element 'ram:InvoiceSpecifiedReferencedDocument' may occur at maximum 1 times. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Element 'ram:CalculatedAmount' must occur exactly 1 times. + + Element 'ram:TypeCode' must occur exactly 1 times. + + Element 'ram:CategoryCode' must occur exactly 1 times. + + + + + + Element 'ram:AllowanceChargeBasisAmount' is marked as not used in the given context. + + + + + + Element 'ram:BasisAmount' is marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + Value of 'ram:CategoryCode' is not allowed. + + + + + + Element 'ram:DueDateTypeCode' is marked as not used in the given context. + + + + + + + Value of 'ram:ExemptionReasonCode' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + Element 'ram:LineTotalBasisAmount' is marked as not used in the given context. + + + + + + Element 'ram:TaxPointDate' is marked as not used in the given context. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:Description' must occur exactly 1 times. + + Element 'ram:AppliedAmount' must occur exactly 1 times. + + Element 'ram:AppliedTradeTax' must occur at least 1 times. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:TypeCode' must occur exactly 1 times. + + Element 'ram:CategoryCode' must occur exactly 1 times. + + Element 'ram:RateApplicablePercent' must occur exactly 1 times. + + + + + + Element 'ram:AllowanceChargeBasisAmount' is marked as not used in the given context. + + + + + + Element 'ram:BasisAmount' is marked as not used in the given context. + + + + + + Element 'ram:CalculatedAmount' is marked as not used in the given context. + + + + + + + Value of 'ram:CategoryCode' is not allowed. + + + + + + Element 'ram:DueDateTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:ExemptionReason' is marked as not used in the given context. + + + + + + Element 'ram:ExemptionReasonCode' is marked as not used in the given context. + + + + + + Element 'ram:LineTotalBasisAmount' is marked as not used in the given context. + + + + + + Element 'ram:TaxPointDate' is marked as not used in the given context. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + Element variant 'ram:SpecifiedTradeAllowanceCharge[ not(ram:ChargeIndicator/udt:Indicator="false") and not(ram:ChargeIndicator/udt:Indicator="true")]' is marked as not used in the given context. + + + + + + Element 'ram:ChargeIndicator' must occur exactly 1 times. + + Element 'ram:ActualAmount' must occur exactly 1 times. + + Element 'ram:CategoryTradeTax' must occur exactly 1 times. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + Value of '@unitCode' is not allowed. + + + + + + Element 'ram:TypeCode' must occur exactly 1 times. + + Element 'ram:CategoryCode' must occur exactly 1 times. + + + + + + Element 'ram:AllowanceChargeBasisAmount' is marked as not used in the given context. + + + + + + Element 'ram:BasisAmount' is marked as not used in the given context. + + + + + + Element 'ram:CalculatedAmount' is marked as not used in the given context. + + + + + + + Value of 'ram:CategoryCode' is not allowed. + + + + + + Element 'ram:DueDateTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:ExemptionReason' is marked as not used in the given context. + + + + + + Element 'ram:ExemptionReasonCode' is marked as not used in the given context. + + + + + + Element 'ram:LineTotalBasisAmount' is marked as not used in the given context. + + + + + + Element 'ram:TaxPointDate' is marked as not used in the given context. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + + Value of 'ram:ReasonCode' is not allowed. + + + + + + Element 'ram:ChargeIndicator' must occur exactly 1 times. + + Element 'ram:ActualAmount' must occur exactly 1 times. + + Element 'ram:CategoryTradeTax' must occur exactly 1 times. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + Value of '@unitCode' is not allowed. + + + + + + Element 'ram:TypeCode' must occur exactly 1 times. + + Element 'ram:CategoryCode' must occur exactly 1 times. + + + + + + Element 'ram:AllowanceChargeBasisAmount' is marked as not used in the given context. + + + + + + Element 'ram:BasisAmount' is marked as not used in the given context. + + + + + + Element 'ram:CalculatedAmount' is marked as not used in the given context. + + + + + + + Value of 'ram:CategoryCode' is not allowed. + + + + + + Element 'ram:DueDateTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:ExemptionReason' is marked as not used in the given context. + + + + + + Element 'ram:ExemptionReasonCode' is marked as not used in the given context. + + + + + + Element 'ram:LineTotalBasisAmount' is marked as not used in the given context. + + + + + + Element 'ram:TaxPointDate' is marked as not used in the given context. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + + Value of 'ram:ReasonCode' is not allowed. + + + + + + Element 'ram:Description' may occur at maximum 1 times. + + Element 'ram:DirectDebitMandateID' may occur at maximum 1 times. + + Element 'ram:PartialPaymentAmount' may occur at maximum 1 times. + + Element 'ram:PayeeTradeParty' may occur at maximum 1 times. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute '@unitCode' is required in this context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:ID' may occur at maximum 1 times. + + Element 'ram:Name' must occur exactly 1 times. + + Element 'ram:RoleCode' may occur at maximum 1 times. + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:LineTotalAmount' must occur exactly 1 times. + + Element 'ram:ChargeTotalAmount' may occur at maximum 1 times. + + Element 'ram:AllowanceTotalAmount' may occur at maximum 1 times. + + Element 'ram:TaxBasisTotalAmount' must occur exactly 1 times. + + Element variant 'ram:TaxTotalAmount[@currencyID=../../ram:InvoiceCurrencyCode]' may occur at maximum 1 times. + + Element variant 'ram:TaxTotalAmount[@currencyID=../../ram:TaxCurrencyCode]' may occur at maximum 1 times. + + Element 'ram:RoundingAmount' may occur at maximum 1 times. + + Element 'ram:GrandTotalAmount' must occur exactly 1 times. + + Element 'ram:TotalPrepaidAmount' may occur at maximum 1 times. + + Element 'ram:DuePayableAmount' must occur exactly 1 times. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element variant 'ram:TaxTotalAmount[ not(@currencyID=../../ram:InvoiceCurrencyCode) and not(@currencyID=../../ram:TaxCurrencyCode)]' is marked as not used in the given context. + + + + + + + Value of '@currencyID' is not allowed. + + + + + + Attribute '@currencyID' is required in this context. + + + + + + + Value of '@currencyID' is not allowed. + + + + + + Attribute '@currencyID' is required in this context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:TypeCode' must occur exactly 1 times. + + Element 'ram:Information' may occur at maximum 1 times. + + Element 'ram:PayeePartyCreditorFinancialAccount' may occur at maximum 1 times. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:BICID' must occur exactly 1 times. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:IBANID' must occur exactly 1 times. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + + Value of 'ram:SourceCurrencyCode' is not allowed. + + + + + + + Value of 'ram:TargetCurrencyCode' is not allowed. + + + + + + + Value of 'ram:TaxCurrencyCode' is not allowed. + + + + + + Element 'ram:AssociatedDocumentLineDocument' must occur exactly 1 times. + + Element 'ram:SpecifiedTradeProduct' must occur exactly 1 times. + + Element 'ram:SpecifiedLineTradeAgreement' must occur exactly 1 times. + + Element 'ram:SpecifiedLineTradeDelivery' must occur exactly 1 times. + + + + + + Element 'ram:LineID' must occur exactly 1 times. + + + + + + Element 'ram:Content' may occur at maximum 1 times. + + Element 'ram:SubjectCode' may occur at maximum 1 times. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + Value of 'ram:SubjectCode' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:NetPriceProductTradePrice' must occur exactly 1 times. + + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + Element 'ram:TypeCode' must occur exactly 1 times. + + Element 'ram:Name' may occur at maximum 1 times. + + Element 'ram:AttachmentBinaryObject' may occur at maximum 1 times. + + + + + + Attribute '@mimeCode' is required in this context. + + Attribute '@filename' is required in this context. + + + + + + + Value of '@mimeCode' is not allowed. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + + Value of 'ram:ReferenceTypeCode' is not allowed. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:ChargeAmount' must occur exactly 1 times. + + + + + + Element variant 'ram:AppliedTradeAllowanceCharge[ not(ram:ChargeIndicator/udt:Indicator="false") and not(ram:ChargeIndicator/udt:Indicator="true")]' is marked as not used in the given context. + + + + + + Element 'ram:ChargeIndicator' must occur exactly 1 times. + + Element 'ram:ActualAmount' must occur exactly 1 times. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:BasisQuantity' is marked as not used in the given context. + + + + + + Element 'ram:CategoryTradeTax' is marked as not used in the given context. + + + + + + + Value of 'ram:ReasonCode' is not allowed. + + + + + + Element 'ram:SequenceNumeric' is marked as not used in the given context. + + + + + + Element 'ram:ChargeIndicator' must occur exactly 1 times. + + Element 'ram:ActualAmount' must occur exactly 1 times. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:BasisQuantity' is marked as not used in the given context. + + + + + + Element 'ram:CategoryTradeTax' is marked as not used in the given context. + + + + + + + Value of 'ram:ReasonCode' is not allowed. + + + + + + Element 'ram:SequenceNumeric' is marked as not used in the given context. + + + + + + + Value of '@unitCode' is not allowed. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:IncludedTradeTax' is marked as not used in the given context. + + + + + + Element 'ram:ChargeAmount' must occur exactly 1 times. + + Element 'ram:IncludedTradeTax' may occur at maximum 1 times. + + + + + + Element 'ram:AppliedTradeAllowanceCharge' is marked as not used in the given context. + + + + + + + Value of '@unitCode' is not allowed. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:CalculatedAmount' must occur exactly 1 times. + + Element 'ram:TypeCode' must occur exactly 1 times. + + Element 'ram:CategoryCode' must occur exactly 1 times. + + Element 'ram:RateApplicablePercent' must occur exactly 1 times. + + + + + + Element 'ram:AllowanceChargeBasisAmount' is marked as not used in the given context. + + + + + + Element 'ram:BasisAmount' is marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + Value of 'ram:CategoryCode' is not allowed. + + + + + + Element 'ram:DueDateTypeCode' is marked as not used in the given context. + + + + + + + Value of 'ram:ExemptionReasonCode' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + Element 'ram:LineTotalBasisAmount' is marked as not used in the given context. + + + + + + Element 'ram:TaxPointDate' is marked as not used in the given context. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:BilledQuantity' must occur exactly 1 times. + + + + + + Element 'ram:OccurrenceDateTime' must occur exactly 1 times. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute '@unitCode' is required in this context. + + + + + + + Value of '@unitCode' is not allowed. + + + + + + Attribute '@unitCode' is required in this context. + + + + + + + Value of '@unitCode' is not allowed. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Attribute '@unitCode' is required in this context. + + + + + + + Value of '@unitCode' is not allowed. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + Element 'ram:TypeCode' is marked as not used in the given context. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:ID' may occur at maximum 1 times. + + Element 'ram:RoleCode' may occur at maximum 1 times. + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:PostalTradeAddress' is marked as not used in the given context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:ID' may occur at maximum 1 times. + + Element 'ram:RoleCode' may occur at maximum 1 times. + + Element 'ram:URIUniversalCommunication' may occur at maximum 1 times. + + Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:CompleteNumber' must occur exactly 1 times. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:CountryID' must occur exactly 1 times. + + Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. + + + + + + + Value of 'ram:CountryID' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:PostalTradeAddress' is marked as not used in the given context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + Element 'ram:URIID' must occur exactly 1 times. + + + + + + Element 'ram:CompleteNumber' is marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Element 'ram:ApplicableTradeTax' must occur at least 1 times. + + Element 'ram:SpecifiedTradeSettlementLineMonetarySummation' must occur exactly 1 times. + + Element 'ram:InvoiceReferencedDocument' may occur at maximum 1 times. + + Element 'ram:ReceivableSpecifiedTradeAccountingAccount' may occur at maximum 1 times. + + + + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. + + Element 'ram:TypeCode' must occur exactly 1 times. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:LineID' is marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + + Value of 'ram:ReferenceTypeCode' is not allowed. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Element 'ram:CalculatedAmount' may occur at maximum 1 times. + + Element 'ram:TypeCode' must occur exactly 1 times. + + Element 'ram:CategoryCode' must occur exactly 1 times. + + + + + + Element 'ram:AllowanceChargeBasisAmount' is marked as not used in the given context. + + + + + + Element 'ram:BasisAmount' is marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + + Value of 'ram:CategoryCode' is not allowed. + + + + + + Element 'ram:DueDateTypeCode' is marked as not used in the given context. + + + + + + + Value of 'ram:ExemptionReasonCode' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + Element 'ram:LineTotalBasisAmount' is marked as not used in the given context. + + + + + + Element 'ram:TaxPointDate' is marked as not used in the given context. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + Element 'ram:CompleteDateTime' is marked as not used in the given context. + + + + + + Element 'ram:Description' is marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. + + + + + + Attribute '@format' is required in this context. + + + + + + + Value of '@format' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:Name' is marked as not used in the given context. + + + + + + Element 'ram:ReferenceTypeCode' is marked as not used in the given context. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + Element 'ram:URIID' is marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element variant 'ram:SpecifiedTradeAllowanceCharge[ not(ram:ChargeIndicator/udt:Indicator="false") and not(ram:ChargeIndicator/udt:Indicator="true")]' is marked as not used in the given context. + + + + + + Element 'ram:ChargeIndicator' must occur exactly 1 times. + + Element 'ram:ActualAmount' must occur exactly 1 times. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:BasisQuantity' is marked as not used in the given context. + + + + + + Element 'ram:CategoryTradeTax' is marked as not used in the given context. + + + + + + + Value of 'ram:ReasonCode' is not allowed. + + + + + + Element 'ram:SequenceNumeric' is marked as not used in the given context. + + + + + + Element 'ram:ChargeIndicator' must occur exactly 1 times. + + Element 'ram:ActualAmount' must occur exactly 1 times. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:BasisQuantity' is marked as not used in the given context. + + + + + + Element 'ram:CategoryTradeTax' is marked as not used in the given context. + + + + + + + Value of 'ram:ReasonCode' is not allowed. + + + + + + Element 'ram:SequenceNumeric' is marked as not used in the given context. + + + + + + Element 'ram:LineTotalAmount' must occur exactly 1 times. + + Element 'ram:ChargeTotalAmount' may occur at maximum 1 times. + + Element 'ram:AllowanceTotalAmount' may occur at maximum 1 times. + + Element 'ram:TaxTotalAmount' may occur at maximum 1 times. + + Element 'ram:GrandTotalAmount' may occur at maximum 1 times. + + Element 'ram:TotalAllowanceChargeAmount' may occur at maximum 1 times. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Attribute @currencyID' marked as not used in the given context. + + + + + + Element 'ram:Name' must occur exactly 1 times. + + Element 'ram:Description' may occur at maximum 1 times. + + + + + + Element 'ram:Description' must occur exactly 1 times. + + Element 'ram:Value' must occur exactly 1 times. + + + + + + + Value of 'ram:TypeCode' is not allowed. + + + + + + Attribute @listID' marked as not used in the given context. + + + + + + Attribute @listVersionID' marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:ClassName' may occur at maximum 1 times. + + + + + + Attribute '@listID' is required in this context. + + + + + + + Value of '@listID' is not allowed. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + + Value of '@schemeID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:ID' may occur at maximum 1 times. + + Element 'ram:IndustryAssignedID' may occur at maximum 1 times. + + Element 'ram:Name' must occur exactly 1 times. + + Element 'ram:Description' may occur at maximum 1 times. + + Element 'ram:UnitQuantity' may occur at maximum 1 times. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Attribute '@schemeID' is required in this context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Attribute '@unitCode' is required in this context. + + + + + + + Value of '@unitCode' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Attribute @schemeID' marked as not used in the given context. + + + + + + Element 'ram:ID' must occur exactly 1 times. + + + + + + + Value of 'ram:ID' is not allowed. + + + + + + Attribute @schemeID' marked as not used in the given context. + + diff --git a/src/schema/schematron/FACTUR-X_EXTENDED_codedb.xml b/src/schema/schematron/FACTUR-X_EXTENDED_codedb.xml index 3bfbba24..6f20669d 100644 --- a/src/schema/schematron/FACTUR-X_EXTENDED_codedb.xml +++ b/src/schema/schematron/FACTUR-X_EXTENDED_codedb.xml @@ -1,7604 +1,6292 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/schema/schematron/FACTUR-X_MINIMUM.sch b/src/schema/schematron/FACTUR-X_MINIMUM.sch index 84d1298b..4e8152da 100644 --- a/src/schema/schematron/FACTUR-X_MINIMUM.sch +++ b/src/schema/schematron/FACTUR-X_MINIMUM.sch @@ -1,2497 +1,289 @@ - - Schema for FACTUR-X; 1.0; ACCOUNTING INFORMATION, No XML Invoice, (MINIMUM) + + Schema for Factur-X; 1.0.07; Accounting, MINIMUM - - - Each Additional supporting document (BG-24) shall contain a Supporting document reference (BT-122). - - - - - - Each VAT breakdown (BG-23) shall have a VAT category taxable amount (BT-116). - - Each VAT breakdown (BG-23) shall have a VAT category tax amount (BT-117). - - Each VAT breakdown (BG-23) shall be defined through a VAT category code (BT-118). - - Each VAT breakdown (BG-23) shall have a VAT category rate (BT-119), except if the Invoice is not subject to VAT. - - Value added tax point date (BT-7) and Value added tax point date code (BT-8) are mutually exclusive. - - VAT category tax amount (BT-117) = VAT category taxable amount (BT-116) x (VAT category rate (BT-119) / 100), rounded to two decimals. - - The allowed maximum number of decimals for the VAT category taxable amount (BT-116) is 2. - - The allowed maximum number of decimals for the VAT category tax amount (BT-117) is 2. - - - - - - In a VAT breakdown (BG-23) where VAT category code (BT-118) is "Zero rated" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amount (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are “Zero rated". - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "Zero rated" shall equal 0 (zero). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Zero rated" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). - - - - - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "Standard rated" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Standard rate" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). - - - - - - If both Invoicing period start date (BT-73) and Invoicing period end date (BT-74) are given then the Invoicing period end date (BT-74) shall be later or equal to the Invoicing period start date (BT-73). - - If Invoicing period (BG-14) is used, the Invoicing period start date (BT-73) or the Invoicing period end date (BT-74) shall be filled, or both. - - - - - - Each Document level allowance (BG-20) shall have a Document level allowance amount (BT-92). - - Each Document level allowance (BG-20) shall have a Document level allowance VAT category code (BT-95). - - Each Document level allowance (BG-20) shall have a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98). - - Document level allowance reason code (BT-98) and Document level allowance reason (BT-97) shall indicate the same type of allowance. - - Each Document level allowance (BG-20) shall contain a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98), or both. - - The allowed maximum number of decimals for the Document level allowance amount (BT-92) is 2. - - The allowed maximum number of decimals for the Document level allowance base amount (BT-93) is 2. - - - - - - Each Document level charge (BG-21) shall have a Document level charge amount (BT-99). - - Each Document level charge (BG-21) shall have a Document level charge VAT category code (BT-102). - - Each Document level charge (BG-21) shall have a Document level charge reason (BT-104) or a Document level charge reason code (BT-105). - - Document level charge reason code (BT-105) and Document level charge reason (BT-104) shall indicate the same type of charge. - - Each Document level charge (BG-21) shall contain a Document level charge reason (BT-104) or a Document level charge reason code (BT-105), or both. - - The allowed maximum number of decimals for the Document level charge amount (BT-92) is 2. - - The allowed maximum number of decimals for the Document level charge base amount (BT-93) is 2. - - - - - - Each Item attribute (BG-32) shall contain an Item attribute name (BT-160) and an Item attribute value (BT-161). - - - - - - The last 4 to 6 digits of the Payment card primary account number (BT-87) shall be present if Payment card information (BG-18) is provided in the Invoice. - - - - - - Each Invoice line (BG-25) shall have an Invoice line identifier (BT-126). - - Each Invoice line (BG-25) shall have an Invoiced quantity (BT-129). - - An Invoice line (BG-25) shall have an Invoiced quantity unit of measure code (BT-130). - - Each Invoice line (BG-25) shall have an Invoice line net amount (BT-131). - - Each Invoice line (BG-25) shall contain the Item name (BT-153). - - Each Invoice line (BG-25) shall contain the Item net price (BT-146). - - The Item net price (BT-146) shall NOT be negative. - - The Item gross price (BT-148) shall NOT be negative. - - The Item standard identifier (BT-157) shall have a Scheme identifier - - The Item classification identifier (BT-158) shall have a Scheme identifier - - Each Invoice line (BG-25) shall be categorized with an Invoiced item VAT category code (BT-151). - - An Invoice shall at least have one VAT breakdown group (BG-23). - - The allowed maximum number of decimals for the Invoice line net amount (BT-131) is 2. - - - - - - The Payee name (BT-59) shall be provided in the Invoice, if the Payee (BG-10) is different from the Seller (BG-4). - - - - - - The Seller tax representative name (BT-62) shall be provided in the Invoice, if the Seller (BG-4) has a Seller tax representative party (BG-11). - - The Seller tax representative postal address (BG-12) shall be provided in the Invoice, if the Seller (BG-4) has a Seller tax representative party (BG-11). - - The Seller tax representative postal address (BG-12) shall contain a Tax representative country code (BT-69), if the Seller (BG-4) has a Seller tax representative party (BG-11). - - Each Seller tax representative party (BG-11) shall have a Seller tax representative VAT identifier (BT-63). - - - - - - In order for the buyer to automatically identify a supplier, the Seller identifier (BT-29), the Seller legal registration identifier (BT-30) and/or the Seller VAT identifier (BT-31) shall be present. - - - - - - If both Invoice line period start date (BT-134) and Invoice line period end date (BT-135) are given then the Invoice line period end date (BT-135) shall be later or equal to the Invoice line period start date (BT-134). - - If Invoice line period (BG-26) is used, the Invoice line period start date (BT-134) or the Invoice line period end date (BT-135) shall be filled, or both. - - - - - - Each Invoice line allowance (BG-27) shall have an Invoice line allowance amount (BT-136). - - Each Invoice line allowance (BG-27) shall have an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140). - - Invoice line allowance reason code (BT-140) and Invoice line allowance reason (BT-139) shall indicate the same type of allowance reason. - - Each Invoice line allowance (BG-27) shall contain an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140), or both. - - The allowed maximum number of decimals for the Invoice line allowance amount (BT-136) is 2. - - The allowed maximum number of decimals for the Invoice line allowance base amount (BT-137) is 2. - - - - - - Each Invoice line charge (BG-28) shall have an Invoice line charge amount (BT-141). - - Each Invoice line charge (BG-28) shall have an Invoice line charge reason (BT-144) or an Invoice line charge reason code (BT-145). - - Invoice line charge reason code (BT-145) and Invoice line charge reason (BT144) shall indicate the same type of charge reason. - - Each Invoice line charge (BG-28) shall contain an Invoice line charge reason (BT-144) or an Invoice line charge reason code (BT-145), or both. - - The allowed maximum number of decimals for the Invoice line charge amount (BT-141) is 2. - - The allowed maximum number of decimals for the Invoice line charge base amount (BT-142) is 2. - - - - - - The Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) shall have a prefix in accordance with ISO code ISO 3166-1 alpha-2 by which the country of issue may be identified. Nevertheless, Greece may use the prefix ‘EL’. - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Reverse charge” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Reverse charge" the Document level allowance VAT rate (BT-96) shall be 0 (zero). - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Exempt from VAT” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Exempt from VAT", the Document level allowance VAT rate (BT-96) shall be 0 (zero). - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Export outside the EU” shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Export outside the EU" the Document level allowance VAT rate (BT-96) shall be 0 (zero). - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Intra-community supply” shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IGIC" the Document level allowance VAT rate (BT-96) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “IGIC” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IGIC" the Document level allowance VAT rate (BT-96) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “IPSI” shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "IPSI" the Document level allowance VAT rate (BT-96) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Not subject to VAT” shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-48). - - A Document level allowance (BG-20) where VAT category code (BT-95) is "Not subject to VAT" shall not contain a Document level allowance VAT rate (BT-96). - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Standard rated” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Standard rated" the Document level allowance VAT rate (BT-96) shall be greater than zero. - - - - - - An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is “Zero rated” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Zero rated" the Document level allowance VAT rate (BT-96) shall be 0 (zero). - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “Reverse charge” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Reverse charge" the Document level charge VAT rate (BT-103) shall be 0 (zero). - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “Exempt from VAT” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Exempt from VAT", the Document level charge VAT rate (BT-103) shall be 0 (zero). - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “Export outside the EU” shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Export outside the EU" the Document level charge VAT rate (BT-103) shall be 0 (zero). - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “Intra-community supply” shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Intra-community supply" the Document level charge VAT rate (BT-103) shall be 0 (zero). - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “IGIC” shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IGIC" the Document level charge VAT rate (BT-103) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “IPSI” shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IPSI" the Document level charge VAT rate (BT-103) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “Not subject to VAT” shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-48). - - A Document level charge (BG-21) where the VAT category code (BT-102) is "Not subject to VAT" shall not contain a Document level charge VAT rate (BT-103). - - - - - - An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is “Standard rated” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Standard rated" the Document level charge VAT rate (BT-103) shall be greater than zero. - - - - - - An Invoice that contains a Document level charge where the Document level charge VAT category code (BT-102) is “Zero rated” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Zero rated" the Document level charge VAT rate (BT-103) shall be 0 (zero). - - - - - - An Invoice shall have the Invoice total amount without VAT (BT-109). - - An Invoice shall have the Invoice total amount with VAT (BT-112). - - An Invoice shall have the Amount due for payment (BT-115). - - Sum of allowances on document level (BT-107) = S Document level allowance amount (BT-92). - - Sum of charges on document level (BT-108) = S Document level charge amount (BT-99). - - Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110). - - The allowed maximum number of decimals for the Sum of Invoice line net amount (BT-106) is 2. - - The allowed maximum number of decimals for the Sum of allowanced on document level (BT-107) is 2. - - The allowed maximum number of decimals for the Sum of charges on document level (BT-108) is 2. - - The allowed maximum number of decimals for the Invoice total amount without VAT (BT-109) is 2. - - The allowed maximum number of decimals for the Invoice total VAT amount (BT-110) is 2. - - The allowed maximum number of decimals for the Invoice total amount with VAT (BT-112) is 2. - - The allowed maximum number of decimals for the Invoice total VAT amount in accounting currency (BT-111) is 2. - - The allowed maximum number of decimals for the Paid amount (BT-113) is 2. - - The allowed maximum number of decimals for the Rounding amount (BT-114) is 2. - - The allowed maximum number of decimals for the Amount due for payment (BT-115) is 2. - - If the VAT accounting currency code (BT-6) is present, then the Invoice total VAT amount in accounting currency (BT-111) shall be provided. - - - - - - A Payment instruction (BG-16) shall specify the Payment means type code (BT-81). - - - - - - A Payment account identifier (BT-84) shall be present if Credit transfer (BG-16) information is provided in the Invoice. - - If the Payment means type code (BT-81) means SEPA credit transfer, Local credit transfer or Non-SEPA international credit transfer, the Payment account identifier (BT-84) shall be present. - - - - - - In Deutschland sind die Profile MINIMUM und BASIC WL nur als Buchungshilfe (TypeCode: 751) zugelassen. - - - - - - In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Reverse charge" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are “Reverse charge". - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is “Reverse charge” shall be 0 (zero). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Reverse charge" shall have a VAT exemption reason code (BT-121), meaning "Reverse charge" or the VAT exemption reason text (BT-120) "Reverse charge" (or the equivalent standard text in another language). - - - - - - The VAT category tax amount (BT-117) In a VAT breakdown (BG-23) where the VAT category code (BT-118) equals "Exempt from VAT" shall equal 0 (zero). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Exempt from VAT" shall have a VAT exemption reason code (BT-121) or a VAT exemption reason text (BT-120). - - - - - - In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Export outside the EU" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are “Export outside the EU". - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is “Export outside the EU” shall be 0 (zero). - - A VAT Breakdown (BG-23) with the VAT Category code (BT-118) "Export outside the EU" shall have a VAT exemption reason code (BT-121), meaning "Export outside the EU" or the VAT exemption reason text (BT-120) "Export outside the EU" (or the equivalent standard text in another language). - - - - - - In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are “Intra-community supply". - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IGIC" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). - - A VAT Breakdown (BG-23) with the VAT Category code (BT-118) "Intra-community supply" shall have a VAT exemption reason code (BT-121), meaning "Intra-community supply" or the VAT exemption reason text (BT-120) "Intra-community supply" (or the equivalent standard text in another language). - - In an Invoice with a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the Actual delivery date (BT-72) or the Invoicing period (BG-14) shall not be blank. - - In an Invoice with a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Intra-community supply" the Deliver to country code (BT-80) shall not be blank. - - - - - - For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "IGIC", the VAT category taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-95) is “IGIC” and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119). - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IGIC" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) "IGIC" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). - - - - - - For each different value of VAT category rate (BT-119) where the VAT category code (BT-118) is "IPSI", the VAT category taxable amount (BT-116) in a VAT breakdown (BG-23) shall equal the sum of Invoice line net amounts (BT-131) plus the sum of document level charge amounts (BT-99) minus the sum of document level allowance amounts (BT-92) where the VAT category code (BT-151, BT-102, BT-95) is “IPSI” and the VAT rate (BT-152, BT-103, BT-96) equals the VAT category rate (BT-119). - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IPSI" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) "IPSI" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120). - - - - - - In a VAT breakdown (BG-23) where the VAT category code (BT-118) is " Not subject to VAT" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are “Not subject to VAT". - - The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where the VAT category code (BT-118) is “Not subject to VAT” shall be 0 (zero). - - A VAT Breakdown (BG-23) with VAT Category code (BT-118) " Not subject to VAT" shall have a VAT exemption reason code (BT-121), meaning " Not subject to VAT" or a VAT exemption reason text (BT-120) " Not subject to VAT" (or the equivalent standard text in another language). - - An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain other VAT breakdown groups (BG-23). - - An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is not "Not subject to VAT". - - An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain Document level allowances (BG-20) where Document level allowance VAT category code (BT-95) is not "Not subject to VAT". - - An Invoice that contains a VAT breakdown group (BG-23) with a VAT category code (BT-118) "Not subject to VAT" shall not contain Document level charges (BG-21) where Document level charge VAT category code (BT-102) is not "Not subject to VAT". - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “Reverse charge” shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Reverse charge" the Invoiced item VAT rate (BT-152) shall be 0 (zero). - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “Exempt from VAT” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Exempt from VAT", the Invoiced item VAT rate (BT-152) shall be 0 (zero). - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “Export outside the EU” shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Export outside the EU" the Invoiced item VAT rate (BT-152) shall be 0 (zero). - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “Intra-community supply” shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Intracommunity supply" the Invoiced item VAT rate (BT-152) shall be 0 (zero). - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “IGIC” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IGIC" the invoiced item VAT rate (BT-152) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “IPSI” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IPSI" the Invoiced item VAT rate (BT-152) shall be 0 (zero) or greater than zero. - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “Not subject to VAT” shall not contain the Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) or the Buyer VAT identifier (BT-46). - - An Invoice line (BG-25) where the VAT category code (BT-151) is "Not subject to VAT" shall not contain an Invoiced item VAT rate (BT-152). - - - - - - An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is “Standard rated” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Standard rated" the Invoiced item VAT rate (BT-152) shall be greater than zero. - - - - - - An Invoice that contains an Invoice line where the Invoiced item VAT category code (BT-151) is “Zero rated” shall contain the Seller VAT Identifier (BT-31), the Seller tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63). - - In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Zero rated" the Invoiced item VAT rate (BT-152) shall be 0 (zero). - - - - - - An Invoice shall have a Specification identifier (BT-24). - - An Invoice shall have an Invoice number (BT-1). - - An Invoice shall have an Invoice issue date (BT-2). - - An Invoice shall have an Invoice type code (BT-3). - - An Invoice shall have an Invoice currency code (BT-5). - - An Invoice shall contain the Seller name (BT-27). - - An Invoice shall contain the Buyer name (BT-44). - - An Invoice shall contain the Seller postal address (BG-5). - - The Seller postal address (BG-5) shall contain a Seller country code (BT-40). - - The Seller electronic address (BT-34) shall have a Scheme identifier. - - The Buyer electronic address (BT-49) shall have a Scheme identifier. - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Standard rated” shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "Standard rated". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Zero rated” shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "Zero rated". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Exempt from VAT” shall contain exactly one VAT breakdown (BG-23) with the VAT category code (BT-118) equal to "Exempt from VAT". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Reverse charge” shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "VAT reverse charge". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Intra-community supply” shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "Intra-community supply". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Export outside the EU” shall contain in the VAT breakdown (BG-23) exactly one VAT category code (BT-118) equal with "Export outside the EU". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “Not subject to VAT” shall contain exactly one VAT breakdown group (BG-23) with the VAT category code (BT-118) equal to "Not subject to VAT". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “IGIC” shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "IGIC". - - An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is “IPSI” shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "IPSI". - - - - - - Element 'ram:TypeCode' must occur exactly 1 times. - - - - - - Element 'ram:CategoryCode' is marked as not used in the given context. - - - - - - Element 'ram:ControlRequirementIndicator' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IncludedNote' is marked as not used in the given context. - - - - - - Element 'udt:DateTime' is marked as not used in the given context. - - - - - - - Value of '@format' is not allowed. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LanguageID' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:Purpose' is marked as not used in the given context. - - - - - - Element 'ram:PurposeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionDateTime' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - - Value of 'ram:TypeCode' is not allowed. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:VersionID' is marked as not used in the given context. - - - - - - Element 'ram:BusinessProcessSpecifiedDocumentContextParameter' may occur at maximum 1 times. - - Element 'ram:GuidelineSpecifiedDocumentContextParameter' must occur exactly 1 times. - - - - - - Element 'ram:ApplicationSpecifiedDocumentContextParameter' is marked as not used in the given context. - - - - - - Element 'ram:BIMSpecifiedDocumentContextParameter' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:SpecifiedDocumentVersion' is marked as not used in the given context. - - - - - - Element 'ram:Value' is marked as not used in the given context. - - - - - - Element 'ram:ID' must occur exactly 1 times. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:SpecifiedDocumentVersion' is marked as not used in the given context. - - - - - - Element 'ram:Value' is marked as not used in the given context. - - - - - - Element 'ram:MessageStandardSpecifiedDocumentContextParameter' is marked as not used in the given context. - - - - - - Element 'ram:ScenarioSpecifiedDocumentContextParameter' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTransactionID' is marked as not used in the given context. - - - - - - Element 'ram:SubsetSpecifiedDocumentContextParameter' is marked as not used in the given context. - - - - - - Element 'ram:TestIndicator' is marked as not used in the given context. - - - - - - Element 'ram:SellerTradeParty' must occur exactly 1 times. - - Element 'ram:BuyerTradeParty' must occur exactly 1 times. - - - - - - Element 'ram:AdditionalReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:ApplicableTradeDeliveryTerms' is marked as not used in the given context. - - - - - - Element 'ram:BuyerAgentTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:BuyerAssignedAccountantTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:IssuerAssignedID' must occur exactly 1 times. - - - - - - Element 'ram:AttachedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Element 'ram:AttachmentBinaryObject' is marked as not used in the given context. - - - - - - Element 'ram:CopyIndicator' is marked as not used in the given context. - - - - - - Element 'ram:EffectiveSpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:FormattedIssueDateTime' is marked as not used in the given context. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:Information' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:IssuerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:LineID' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PreviousRevisionID' is marked as not used in the given context. - - - - - - Element 'ram:ReferenceTypeCode' is marked as not used in the given context. - - - - - - Element 'ram:RevisionID' is marked as not used in the given context. - - - - - - Element 'ram:SectionName' is marked as not used in the given context. - - - - - - Element 'ram:StatusCode' is marked as not used in the given context. - - - - - - Element 'ram:TypeCode' is marked as not used in the given context. - - - - - - Element 'ram:URIID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:BuyerRequisitionerTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:BuyerTaxRepresentativeTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:Name' must occur exactly 1 times. - - - - - - Element 'ram:DefinedTradeContact' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:EndPointURIUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LogoAssociatedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CountryID' must occur exactly 1 times. - - Element 'ram:CountrySubDivisionName' may occur at maximum 1 times. - - - - - - Element 'ram:AdditionalStreetName' is marked as not used in the given context. - - - - - - Element 'ram:AttentionOf' is marked as not used in the given context. - - - - - - Element 'ram:BuildingName' is marked as not used in the given context. - - - - - - Element 'ram:BuildingNumber' is marked as not used in the given context. - - - - - - Element 'ram:CareOf' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CitySubDivisionName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CountryName' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionID' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:DepartmentName' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LineFive' is marked as not used in the given context. - - - - - - Element 'ram:LineFour' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PostOfficeBox' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:StreetName' is marked as not used in the given context. - - - - - - Element 'ram:RoleCode' is marked as not used in the given context. - - - - - - Element 'ram:AuthorizedLegalRegistration' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LegalClassificationCode' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PostalTradeAddress' is marked as not used in the given context. - - - - - - Element 'ram:TradingBusinessName' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTaxRegistration' is marked as not used in the given context. - - - - - - Element 'ram:URIUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:ContractReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:DemandForecastReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:OrderResponseReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:PriceListReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:ProductEndUserTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:PromotionalDealReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:PurchaseConditionsReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:QuotationReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:Reference' is marked as not used in the given context. - - - - - - Element 'ram:RequisitionerReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:SalesAgentTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:SellerAssignedAccountantTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:SellerOrderReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:SellerTaxRepresentativeTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:Name' must occur exactly 1 times. - - Element 'ram:PostalTradeAddress' must occur exactly 1 times. - - - - - - Element 'ram:DefinedTradeContact' is marked as not used in the given context. - - - - - - Element 'ram:Description' is marked as not used in the given context. - - - - - - Element 'ram:EndPointURIUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:GlobalID' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LogoAssociatedSpecifiedBinaryFile' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CountryID' must occur exactly 1 times. - - - - - - Element 'ram:AdditionalStreetName' is marked as not used in the given context. - - - - - - Element 'ram:AttentionOf' is marked as not used in the given context. - - - - - - Element 'ram:BuildingName' is marked as not used in the given context. - - - - - - Element 'ram:BuildingNumber' is marked as not used in the given context. - - - - - - Element 'ram:CareOf' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:CitySubDivisionName' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeID' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:CountryName' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionID' is marked as not used in the given context. - - - - - - Element 'ram:CountrySubDivisionName' is marked as not used in the given context. - - - - - - Element 'ram:DepartmentName' is marked as not used in the given context. - - - - - - Element 'ram:ID' is marked as not used in the given context. - - - - - - Element 'ram:LineFive' is marked as not used in the given context. - - - - - - Element 'ram:LineFour' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @languageLocaleID' marked as not used in the given context. - - - - - - Element 'ram:PostOfficeBox' is marked as not used in the given context. - - - - - - Attribute @languageID' marked as not used in the given context. - - - - - - Attribute @listAgencyID' marked as not used in the given context. - - - - - - Attribute @listAgencyName' marked as not used in the given context. - - - - - - Attribute @listID' marked as not used in the given context. - - - - - - Attribute @listName' marked as not used in the given context. - - - - - - Attribute @listSchemeURI' marked as not used in the given context. - - - - - - Attribute @listURI' marked as not used in the given context. - - - - - - Attribute @listVersionID' marked as not used in the given context. - - - - - - Attribute @name' marked as not used in the given context. - - - - - - Element 'ram:StreetName' is marked as not used in the given context. - - - - - - Element 'ram:RoleCode' is marked as not used in the given context. - - - - - - Element 'ram:AuthorizedLegalRegistration' is marked as not used in the given context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:LegalClassificationCode' is marked as not used in the given context. - - - - - - Element 'ram:Name' is marked as not used in the given context. - - - - - - Element 'ram:PostalTradeAddress' is marked as not used in the given context. - - - - - - Element 'ram:TradingBusinessName' is marked as not used in the given context. - - - - - - Element 'ram:ID' must occur exactly 1 times. - - - - - - Element 'ram:AssociatedRegisteredTax' is marked as not used in the given context. - - - - - - Attribute '@schemeID' is required in this context. - - - - - - Attribute @schemeAgencyID' marked as not used in the given context. - - - - - - Attribute @schemeAgencyName' marked as not used in the given context. - - - - - - Attribute @schemeDataURI' marked as not used in the given context. - - - - - - - Value of '@schemeID' is not allowed. - - - - - - Attribute @schemeName' marked as not used in the given context. - - - - - - Attribute @schemeURI' marked as not used in the given context. - - - - - - Attribute @schemeVersionID' marked as not used in the given context. - - - - - - Element 'ram:URIUniversalCommunication' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedProcuringProject' is marked as not used in the given context. - - - - - - Element 'ram:SupplyInstructionReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:UltimateCustomerOrderReferencedDocument' is marked as not used in the given context. - - - - - - Each Deliver to address (BG-15) shall contain a Deliver to country code (BT-80). - - - - - - Element 'ram:ActualDeliverySupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:ActualDespatchSupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:ActualPickUpSupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:ActualReceiptSupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:AdditionalReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:ConsumptionReportReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:DeliveryNoteReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:DespatchAdviceReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:PackingListReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:PreviousDeliverySupplyChainEvent' is marked as not used in the given context. - - - - - - Element 'ram:ReceivingAdviceReferencedDocument' is marked as not used in the given context. - - - - - - Element 'ram:RelatedSupplyChainConsignment' is marked as not used in the given context. - - - - - - Element 'ram:ShipFromTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:ShipToTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:UltimateShipToTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:InvoiceCurrencyCode' must occur exactly 1 times. - - Element 'ram:SpecifiedTradeSettlementHeaderMonetarySummation' must occur exactly 1 times. - - - - - - Element 'ram:ApplicableTradeTax' is marked as not used in the given context. - - - - - - Element 'ram:BillingSpecifiedPeriod' is marked as not used in the given context. - - - - - - Element 'ram:CreditReason' is marked as not used in the given context. - - - - - - Element 'ram:CreditReasonCode' is marked as not used in the given context. - - - - - - Element 'ram:CreditorReferenceID' is marked as not used in the given context. - - - - - - Element 'ram:CreditorReferenceIssuerID' is marked as not used in the given context. + + + [BR-CO-26]-In order for the buyer to automatically identify a supplier, the Seller identifier (BT-29), the Seller legal registration identifier (BT-30) and/or the Seller VAT identifier (BT-31) shall be present. - - - Element 'ram:CreditorReferenceType' is marked as not used in the given context. + + + [BR-CO-09]-The Seller VAT identifier (BT-31), the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) shall have a prefix in accordance with ISO code ISO 3166-1 alpha-2 by which the country of issue may be identified. Nevertheless, Greece may use the prefix ‘EL’. - - - Element 'ram:CreditorReferenceTypeCode' is marked as not used in the given context. + + + [BR-13]-An Invoice shall have the Invoice total amount without VAT (BT-109). + + [BR-14]-An Invoice shall have the Invoice total amount with VAT (BT-112). + + [BR-15]-An Invoice shall have the Amount due for payment (BT-115). + + [BR-DEC-12]-The allowed maximum number of decimals for the Invoice total amount without VAT (BT-109) is 2. + + [BR-DEC-13]-The allowed maximum number of decimals for the Invoice total VAT amount (BT-110) is 2. + + [BR-DEC-14]-The allowed maximum number of decimals for the Invoice total amount with VAT (BT-112) is 2. + + [BR-DEC-18]-The allowed maximum number of decimals for the Amount due for payment (BT-115) is 2. - - - Element 'ram:DuePayableAmount' is marked as not used in the given context. + + + [BR-01]-An Invoice shall have a Specification identifier (BT-24). + + [BR-02]-An Invoice shall have an Invoice number (BT-1). + + [BR-03]-An Invoice shall have an Invoice issue date (BT-2). + + [BR-04]-An Invoice shall have an Invoice type code (BT-3). + + [BR-05]-An Invoice shall have an Invoice currency code (BT-5). + + [BR-06]-An Invoice shall contain the Seller name (BT-27). + + [BR-07]-An Invoice shall contain the Buyer name (BT-44). + + [BR-08]-An Invoice shall contain the Seller postal address (BG-5). + + [BR-09]-The Seller postal address (BG-5) shall contain a Seller country code (BT-40). - - - Element 'ram:FactoringAgreementReferencedDocument' is marked as not used in the given context. + + + Element 'ram:ID' must occur exactly 1 times. + + Element 'ram:TypeCode' must occur exactly 1 times. - + - Element 'ram:FactoringListReferencedDocument' is marked as not used in the given context. + Attribute @schemeID' marked as not used in the given context. - - - Element 'ram:InvoiceApplicableTradeCurrencyExchange' is marked as not used in the given context. + + + Attribute '@format' is required in this context. - - - Attribute @listAgencyID' marked as not used in the given context. + + + + Value of '@format' is not allowed. - - - Attribute @listID' marked as not used in the given context. + + + + Value of 'ram:TypeCode' is not allowed. - - - Attribute @listURI' marked as not used in the given context. + + + Element 'ram:BusinessProcessSpecifiedDocumentContextParameter' may occur at maximum 1 times. + + Element 'ram:GuidelineSpecifiedDocumentContextParameter' must occur exactly 1 times. - - - Attribute @listVersionID' marked as not used in the given context. + + + Element 'ram:ID' must occur exactly 1 times. - + - Element 'ram:InvoiceDateTime' is marked as not used in the given context. + Attribute @schemeID' marked as not used in the given context. - - - Element 'ram:InvoiceIssuerReference' is marked as not used in the given context. + + + Element 'ram:ID' must occur exactly 1 times. - - - Each Preceding Invoice reference (BG-3) shall contain a Preceding Invoice reference (BT-25). - - Element 'ram:InvoiceReferencedDocument' is marked as not used in the given context. + + + + Value of 'ram:ID' is not allowed. - + - Element 'ram:InvoiceeTradeParty' is marked as not used in the given context. + Attribute @schemeID' marked as not used in the given context. - - - Element 'ram:InvoicerTradeParty' is marked as not used in the given context. + + + Element 'ram:SellerTradeParty' must occur exactly 1 times. + + Element 'ram:BuyerTradeParty' must occur exactly 1 times. - - - Element 'ram:LetterOfCreditReferencedDocument' is marked as not used in the given context. + + + Element 'ram:IssuerAssignedID' must occur exactly 1 times. - + - Element 'ram:NextInvoiceDateTime' is marked as not used in the given context. + Attribute @schemeID' marked as not used in the given context. - - - Element 'ram:PayableSpecifiedTradeAccountingAccount' is marked as not used in the given context. + + + Element 'ram:Name' must occur exactly 1 times. - + - Element 'ram:PayeeTradeParty' is marked as not used in the given context. + Element 'ram:PostalTradeAddress' is marked as not used in the given context. - - - Element 'ram:PayerTradeParty' is marked as not used in the given context. + + + Element 'ram:ID' must occur exactly 1 times. - - - Element 'ram:PaymentApplicableTradeCurrencyExchange' is marked as not used in the given context. + + + + Value of '@schemeID' is not allowed. - + - Element 'ram:PaymentCurrencyCode' is marked as not used in the given context. + Element 'ram:SpecifiedTaxRegistration' is marked as not used in the given context. - - - Element 'ram:PaymentReference' is marked as not used in the given context. + + + Element 'ram:Name' must occur exactly 1 times. + + Element 'ram:PostalTradeAddress' must occur exactly 1 times. + + Element variant 'ram:SpecifiedTaxRegistration[ram:ID/@schemeID="VA"]' may occur at maximum 1 times. + + Element variant 'ram:SpecifiedTaxRegistration[ram:ID/@schemeID="FC"]' may occur at maximum 1 times. - - - Element 'ram:ProFormaInvoiceReferencedDocument' is marked as not used in the given context. + + + Element 'ram:CountryID' must occur exactly 1 times. - - - Element 'ram:PurchaseSpecifiedTradeAccountingAccount' is marked as not used in the given context. + + + + Value of 'ram:CountryID' is not allowed. - - - Element 'ram:ReceivableSpecifiedTradeAccountingAccount' is marked as not used in the given context. + + + + Value of '@schemeID' is not allowed. - + - Element 'ram:SalesSpecifiedTradeAccountingAccount' is marked as not used in the given context. + Element variant 'ram:SpecifiedTaxRegistration[ not(ram:ID/@schemeID="VA") and not(ram:ID/@schemeID="FC")]' is marked as not used in the given context. - - - Element 'ram:SpecifiedAdvancePayment' is marked as not used in the given context. + + + Element 'ram:ID' must occur exactly 1 times. - - - Element 'ram:SpecifiedFinancialAdjustment' is marked as not used in the given context. + + + Attribute '@schemeID' is required in this context. - - - Element 'ram:SpecifiedLogisticsServiceCharge' is marked as not used in the given context. + + + Element 'ram:ID' must occur exactly 1 times. - - - Element 'ram:SpecifiedTradeAllowanceCharge' is marked as not used in the given context. + + + Attribute '@schemeID' is required in this context. - - - Element 'ram:SpecifiedTradePaymentTerms' is marked as not used in the given context. + + + Element 'ram:InvoiceCurrencyCode' must occur exactly 1 times. + + Element 'ram:SpecifiedTradeSettlementHeaderMonetarySummation' must occur exactly 1 times. - - - Element 'ram:SpecifiedTradeSettlementFinancialCard' is marked as not used in the given context. + + + + Value of 'ram:InvoiceCurrencyCode' is not allowed. Element 'ram:TaxBasisTotalAmount' must occur exactly 1 times. - - Element 'ram:TaxTotalAmount' may occur at maximum 1 times. + + Element variant 'ram:TaxTotalAmount[@currencyID=../../ram:InvoiceCurrencyCode]' may occur at maximum 1 times. Element 'ram:GrandTotalAmount' must occur exactly 1 times. Element 'ram:DuePayableAmount' must occur exactly 1 times. - - - - Element 'ram:AllowanceTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:ChargeTotalAmount' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - Attribute @currencyID' marked as not used in the given context. - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - Attribute @currencyID' marked as not used in the given context. - - - - Element 'ram:GrossLineTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:InformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:LineTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:NetIncludingTaxesLineTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:NetLineTotalAmount' is marked as not used in the given context. - - - - - - Element 'ram:ProductValueExcludingTobaccoTaxInformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:RetailValueExcludingTaxInformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:RoundingAmount' is marked as not used in the given context. - - - - - - Attribute @currencyCodeListVersionID' marked as not used in the given context. - - @@ -2499,88 +291,22 @@ - + - Attribute @currencyCodeListVersionID' marked as not used in the given context. + Element variant 'ram:TaxTotalAmount[ not(@currencyID=../../ram:InvoiceCurrencyCode) and not(@currencyID=../../ram:TaxCurrencyCode)]' is marked as not used in the given context. - - - + + + Value of '@currencyID' is not allowed. - - - Element 'ram:TotalAllowanceChargeAmount' is marked as not used in the given context. - - - - - - Element 'ram:TotalDepositFeeInformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:TotalDiscountAmount' is marked as not used in the given context. - - - - - - Element 'ram:TotalPrepaidAmount' is marked as not used in the given context. - - - - - - Element 'ram:TotalRetailValueInformationAmount' is marked as not used in the given context. - - - - - - Element 'ram:SpecifiedTradeSettlementPaymentMeans' is marked as not used in the given context. - - - - - - Element 'ram:SubtotalCalculatedTradeTax' is marked as not used in the given context. - - - - - - Element 'ram:TaxApplicableTradeCurrencyExchange' is marked as not used in the given context. - - - - - - Element 'ram:TaxCurrencyCode' is marked as not used in the given context. - - - - - - Element 'ram:UltimatePayeeTradeParty' is marked as not used in the given context. - - - - - - Element 'ram:IncludedSupplyChainTradeLineItem' is marked as not used in the given context. - - - - - - Element 'rsm:ValuationBreakdownStatement' is marked as not used in the given context. + + + Attribute '@currencyID' is required in this context. diff --git a/src/schema/schematron/FACTUR-X_MINIMUM_codedb.xml b/src/schema/schematron/FACTUR-X_MINIMUM_codedb.xml index 2274802f..74a7b49c 100644 --- a/src/schema/schematron/FACTUR-X_MINIMUM_codedb.xml +++ b/src/schema/schematron/FACTUR-X_MINIMUM_codedb.xml @@ -1,16 +1,23 @@ + + + + + + + @@ -18,8 +25,10 @@ + + @@ -37,17 +46,24 @@ + + + + + + + - + - + @@ -247,211 +263,285 @@ - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -583,7 +673,188 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/validation/extended/ram/AdvancePaymentType.yml b/src/validation/extended/ram/AdvancePaymentType.yml index 1fa639dd..9f3504fa 100644 --- a/src/validation/extended/ram/AdvancePaymentType.yml +++ b/src/validation/extended/ram/AdvancePaymentType.yml @@ -15,3 +15,6 @@ horstoeko\zugferd\entities\extended\ram\AdvancePaymentType: - xsd_rules - Valid: null + invoiceSpecifiedReferencedDocument: + - + Valid: null diff --git a/src/validation/extended/ram/LineTradeAgreementType.yml b/src/validation/extended/ram/LineTradeAgreementType.yml index 66b272fe..6a0abc65 100644 --- a/src/validation/extended/ram/LineTradeAgreementType.yml +++ b/src/validation/extended/ram/LineTradeAgreementType.yml @@ -1,5 +1,8 @@ horstoeko\zugferd\entities\extended\ram\LineTradeAgreementType: properties: + sellerOrderReferencedDocument: + - + Valid: null buyerOrderReferencedDocument: - Valid: null diff --git a/src/validation/extended/ram/LogisticsServiceChargeType.yml b/src/validation/extended/ram/LogisticsServiceChargeType.yml index 850edca2..5d1f74e2 100644 --- a/src/validation/extended/ram/LogisticsServiceChargeType.yml +++ b/src/validation/extended/ram/LogisticsServiceChargeType.yml @@ -11,5 +11,9 @@ horstoeko\zugferd\entities\extended\ram\LogisticsServiceChargeType: groups: - xsd_rules appliedTradeTax: + - + NotNull: + groups: + - xsd_rules - Valid: null diff --git a/src/validation/extended/ram/TradeTaxType.yml b/src/validation/extended/ram/TradeTaxType.yml index d3a204ce..1895e408 100644 --- a/src/validation/extended/ram/TradeTaxType.yml +++ b/src/validation/extended/ram/TradeTaxType.yml @@ -1,5 +1,10 @@ horstoeko\zugferd\entities\extended\ram\TradeTaxType: properties: + typeCode: + - + NotNull: + groups: + - xsd_rules categoryCode: - NotNull: diff --git a/src/yaml/basic/ram/HeaderTradeSettlementType.yml b/src/yaml/basic/ram/HeaderTradeSettlementType.yml index ab47659f..866279fe 100644 --- a/src/yaml/basic/ram/HeaderTradeSettlementType.yml +++ b/src/yaml/basic/ram/HeaderTradeSettlementType.yml @@ -65,7 +65,11 @@ horstoeko\zugferd\entities\basic\ram\HeaderTradeSettlementType: accessor: getter: getSpecifiedTradeSettlementPaymentMeans setter: setSpecifiedTradeSettlementPaymentMeans - type: horstoeko\zugferd\entities\basic\ram\TradeSettlementPaymentMeansType + xml_list: + inline: true + entry_name: SpecifiedTradeSettlementPaymentMeans + namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100' + type: array applicableTradeTax: expose: true access_type: public_method @@ -139,7 +143,11 @@ horstoeko\zugferd\entities\basic\ram\HeaderTradeSettlementType: accessor: getter: getInvoiceReferencedDocument setter: setInvoiceReferencedDocument - type: horstoeko\zugferd\entities\basic\ram\ReferencedDocumentType + xml_list: + inline: true + entry_name: InvoiceReferencedDocument + namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100' + type: array receivableSpecifiedTradeAccountingAccount: expose: true access_type: public_method diff --git a/src/yaml/basicwl/ram/HeaderTradeSettlementType.yml b/src/yaml/basicwl/ram/HeaderTradeSettlementType.yml index bd52f061..858b5dcb 100644 --- a/src/yaml/basicwl/ram/HeaderTradeSettlementType.yml +++ b/src/yaml/basicwl/ram/HeaderTradeSettlementType.yml @@ -65,7 +65,11 @@ horstoeko\zugferd\entities\basicwl\ram\HeaderTradeSettlementType: accessor: getter: getSpecifiedTradeSettlementPaymentMeans setter: setSpecifiedTradeSettlementPaymentMeans - type: horstoeko\zugferd\entities\basicwl\ram\TradeSettlementPaymentMeansType + xml_list: + inline: true + entry_name: SpecifiedTradeSettlementPaymentMeans + namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100' + type: array applicableTradeTax: expose: true access_type: public_method @@ -139,7 +143,11 @@ horstoeko\zugferd\entities\basicwl\ram\HeaderTradeSettlementType: accessor: getter: getInvoiceReferencedDocument setter: setInvoiceReferencedDocument - type: horstoeko\zugferd\entities\basicwl\ram\ReferencedDocumentType + xml_list: + inline: true + entry_name: InvoiceReferencedDocument + namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100' + type: array receivableSpecifiedTradeAccountingAccount: expose: true access_type: public_method diff --git a/src/yaml/en16931/ram/HeaderTradeSettlementType.yml b/src/yaml/en16931/ram/HeaderTradeSettlementType.yml index 89c205cc..6d0b2bda 100644 --- a/src/yaml/en16931/ram/HeaderTradeSettlementType.yml +++ b/src/yaml/en16931/ram/HeaderTradeSettlementType.yml @@ -65,7 +65,11 @@ horstoeko\zugferd\entities\en16931\ram\HeaderTradeSettlementType: accessor: getter: getSpecifiedTradeSettlementPaymentMeans setter: setSpecifiedTradeSettlementPaymentMeans - type: horstoeko\zugferd\entities\en16931\ram\TradeSettlementPaymentMeansType + xml_list: + inline: true + entry_name: SpecifiedTradeSettlementPaymentMeans + namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100' + type: array applicableTradeTax: expose: true access_type: public_method @@ -139,7 +143,11 @@ horstoeko\zugferd\entities\en16931\ram\HeaderTradeSettlementType: accessor: getter: getInvoiceReferencedDocument setter: setInvoiceReferencedDocument - type: horstoeko\zugferd\entities\en16931\ram\ReferencedDocumentType + xml_list: + inline: true + entry_name: InvoiceReferencedDocument + namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100' + type: array receivableSpecifiedTradeAccountingAccount: expose: true access_type: public_method diff --git a/src/yaml/extended/ram/AdvancePaymentType.yml b/src/yaml/extended/ram/AdvancePaymentType.yml index b5ce046c..6bc42d96 100644 --- a/src/yaml/extended/ram/AdvancePaymentType.yml +++ b/src/yaml/extended/ram/AdvancePaymentType.yml @@ -37,3 +37,14 @@ horstoeko\zugferd\entities\extended\ram\AdvancePaymentType: entry_name: IncludedTradeTax namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100' type: array + invoiceSpecifiedReferencedDocument: + expose: true + access_type: public_method + serialized_name: InvoiceSpecifiedReferencedDocument + xml_element: + cdata: false + namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100' + accessor: + getter: getInvoiceSpecifiedReferencedDocument + setter: setInvoiceSpecifiedReferencedDocument + type: horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType diff --git a/src/yaml/extended/ram/ExchangedDocumentType.yml b/src/yaml/extended/ram/ExchangedDocumentType.yml index 1c82c676..ee2e788b 100644 --- a/src/yaml/extended/ram/ExchangedDocumentType.yml +++ b/src/yaml/extended/ram/ExchangedDocumentType.yml @@ -65,11 +65,7 @@ horstoeko\zugferd\entities\extended\ram\ExchangedDocumentType: accessor: getter: getLanguageID setter: setLanguageID - xml_list: - inline: true - entry_name: LanguageID - namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100' - type: array + type: horstoeko\zugferd\entities\extended\udt\IDType includedNote: expose: true access_type: public_method diff --git a/src/yaml/extended/ram/HeaderTradeSettlementType.yml b/src/yaml/extended/ram/HeaderTradeSettlementType.yml index e395ebbb..cdefe3f2 100644 --- a/src/yaml/extended/ram/HeaderTradeSettlementType.yml +++ b/src/yaml/extended/ram/HeaderTradeSettlementType.yml @@ -217,7 +217,11 @@ horstoeko\zugferd\entities\extended\ram\HeaderTradeSettlementType: accessor: getter: getInvoiceReferencedDocument setter: setInvoiceReferencedDocument - type: horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType + xml_list: + inline: true + entry_name: InvoiceReferencedDocument + namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100' + type: array receivableSpecifiedTradeAccountingAccount: expose: true access_type: public_method diff --git a/src/yaml/extended/ram/LineTradeAgreementType.yml b/src/yaml/extended/ram/LineTradeAgreementType.yml index 577ecbff..63ae50b2 100644 --- a/src/yaml/extended/ram/LineTradeAgreementType.yml +++ b/src/yaml/extended/ram/LineTradeAgreementType.yml @@ -1,5 +1,16 @@ horstoeko\zugferd\entities\extended\ram\LineTradeAgreementType: properties: + sellerOrderReferencedDocument: + expose: true + access_type: public_method + serialized_name: SellerOrderReferencedDocument + xml_element: + cdata: false + namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100' + accessor: + getter: getSellerOrderReferencedDocument + setter: setSellerOrderReferencedDocument + type: horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType buyerOrderReferencedDocument: expose: true access_type: public_method diff --git a/src/yaml/extended/ram/ReferencedDocumentType.yml b/src/yaml/extended/ram/ReferencedDocumentType.yml index 043363e2..e86852d9 100644 --- a/src/yaml/extended/ram/ReferencedDocumentType.yml +++ b/src/yaml/extended/ram/ReferencedDocumentType.yml @@ -54,11 +54,7 @@ horstoeko\zugferd\entities\extended\ram\ReferencedDocumentType: accessor: getter: getName setter: setName - xml_list: - inline: true - entry_name: Name - namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100' - type: array + type: string attachmentBinaryObject: expose: true access_type: public_method diff --git a/src/yaml/extended/ram/TradeAddressType.yml b/src/yaml/extended/ram/TradeAddressType.yml index 2c54e09b..42e3a02b 100644 --- a/src/yaml/extended/ram/TradeAddressType.yml +++ b/src/yaml/extended/ram/TradeAddressType.yml @@ -76,8 +76,4 @@ horstoeko\zugferd\entities\extended\ram\TradeAddressType: accessor: getter: getCountrySubDivisionName setter: setCountrySubDivisionName - xml_list: - inline: true - entry_name: CountrySubDivisionName - namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100' - type: array + type: horstoeko\zugferd\entities\extended\udt\TextType diff --git a/src/yaml/extended/ram/TradeProductType.yml b/src/yaml/extended/ram/TradeProductType.yml index 4b3b9e37..1d8067fc 100644 --- a/src/yaml/extended/ram/TradeProductType.yml +++ b/src/yaml/extended/ram/TradeProductType.yml @@ -44,6 +44,28 @@ horstoeko\zugferd\entities\extended\ram\TradeProductType: getter: getBuyerAssignedID setter: setBuyerAssignedID type: horstoeko\zugferd\entities\extended\udt\IDType + industryAssignedID: + expose: true + access_type: public_method + serialized_name: IndustryAssignedID + xml_element: + cdata: false + namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100' + accessor: + getter: getIndustryAssignedID + setter: setIndustryAssignedID + type: horstoeko\zugferd\entities\extended\udt\IDType + modelID: + expose: true + access_type: public_method + serialized_name: ModelID + xml_element: + cdata: false + namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100' + accessor: + getter: getModelID + setter: setModelID + type: horstoeko\zugferd\entities\extended\udt\IDType name: expose: true access_type: public_method @@ -66,6 +88,43 @@ horstoeko\zugferd\entities\extended\ram\TradeProductType: getter: getDescription setter: setDescription type: horstoeko\zugferd\entities\extended\udt\TextType + batchID: + expose: true + access_type: public_method + serialized_name: BatchID + xml_element: + cdata: false + namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100' + accessor: + getter: getBatchID + setter: setBatchID + xml_list: + inline: true + entry_name: BatchID + namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100' + type: array + brandName: + expose: true + access_type: public_method + serialized_name: BrandName + xml_element: + cdata: false + namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100' + accessor: + getter: getBrandName + setter: setBrandName + type: horstoeko\zugferd\entities\extended\udt\TextType + modelName: + expose: true + access_type: public_method + serialized_name: ModelName + xml_element: + cdata: false + namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100' + accessor: + getter: getModelName + setter: setModelName + type: horstoeko\zugferd\entities\extended\udt\TextType applicableProductCharacteristic: expose: true access_type: public_method diff --git a/src/yaml/extended/ram/TradeSettlementHeaderMonetarySummationType.yml b/src/yaml/extended/ram/TradeSettlementHeaderMonetarySummationType.yml index 68b5b1dd..4cfa06dc 100644 --- a/src/yaml/extended/ram/TradeSettlementHeaderMonetarySummationType.yml +++ b/src/yaml/extended/ram/TradeSettlementHeaderMonetarySummationType.yml @@ -43,11 +43,7 @@ horstoeko\zugferd\entities\extended\ram\TradeSettlementHeaderMonetarySummationTy accessor: getter: getTaxBasisTotalAmount setter: setTaxBasisTotalAmount - xml_list: - inline: true - entry_name: TaxBasisTotalAmount - namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100' - type: array + type: horstoeko\zugferd\entities\extended\udt\AmountType taxTotalAmount: expose: true access_type: public_method @@ -84,11 +80,7 @@ horstoeko\zugferd\entities\extended\ram\TradeSettlementHeaderMonetarySummationTy accessor: getter: getGrandTotalAmount setter: setGrandTotalAmount - xml_list: - inline: true - entry_name: GrandTotalAmount - namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100' - type: array + type: horstoeko\zugferd\entities\extended\udt\AmountType totalPrepaidAmount: expose: true access_type: public_method diff --git a/src/yaml/minimum/ram/TradeSettlementHeaderMonetarySummationType.yml b/src/yaml/minimum/ram/TradeSettlementHeaderMonetarySummationType.yml index cef79e2b..218a3690 100644 --- a/src/yaml/minimum/ram/TradeSettlementHeaderMonetarySummationType.yml +++ b/src/yaml/minimum/ram/TradeSettlementHeaderMonetarySummationType.yml @@ -21,7 +21,11 @@ horstoeko\zugferd\entities\minimum\ram\TradeSettlementHeaderMonetarySummationTyp accessor: getter: getTaxTotalAmount setter: setTaxTotalAmount - type: horstoeko\zugferd\entities\minimum\udt\AmountType + xml_list: + inline: true + entry_name: TaxTotalAmount + namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100' + type: array grandTotalAmount: expose: true access_type: public_method diff --git a/tests/assets/extended_invoice.xml b/tests/assets/extended_invoice.xml index 84681b41..95a7f866 100644 --- a/tests/assets/extended_invoice.xml +++ b/tests/assets/extended_invoice.xml @@ -49,7 +49,12 @@ 4123456000014 WA997 + IndustryId + ModelId Wirkarbeit HT + BatchId + BrandeName + ModelName Zählpunkt DE0001346484600000000000000100038 diff --git a/tests/testcases/BuilderEn16931Test.php b/tests/testcases/BuilderEn16931Test.php index 8af23d7d..a0bc1fe2 100644 --- a/tests/testcases/BuilderEn16931Test.php +++ b/tests/testcases/BuilderEn16931Test.php @@ -25,12 +25,6 @@ public function testDocumentProfile(): void $this->assertNotEquals(ZugferdProfiles::PROFILE_EXTENDED, self::$document->getProfileId()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::getInvoiceObject - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::getSerializer - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::getObjectHelper - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::getProfileDefinitionParameter - */ public function testDocumentGetters(): void { $this->assertNotNull(self::$document->getInvoiceObject()); @@ -59,9 +53,6 @@ public function testXmlGenerals(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:ExchangedDocumentContext/ram:GuidelineSpecifiedDocumentContextParameter/ram:ID', (self::$document)->getProfileDefinitionParameter("contextparameter")); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentInformation - */ public function testSetDocumentInformation(): void { (self::$document)->setDocumentInformation("471102", "380", DateTime::createFromFormat("Ymd", "20180305"), "EUR"); @@ -73,9 +64,6 @@ public function testSetDocumentInformation(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceCurrencyCode', "EUR"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentBusinessProcess - */ public function testSetDocumentBusinessProcess(): void { $this->disableRenderXmlContent(); @@ -90,9 +78,6 @@ public function testSetDocumentBusinessProcess(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:ExchangedDocumentContext/ram:BusinessProcessSpecifiedDocumentContextParameter/ram:ID', "GENERAL INVOICE"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentGeneralPaymentInformation - */ public function testSetDocumentGeneralPaymentInformation(): void { (self::$document)->setDocumentGeneralPaymentInformation("1111111111", "2222222222"); @@ -102,10 +87,6 @@ public function testSetDocumentGeneralPaymentInformation(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PaymentReference', "2222222222"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setIsDocumentCopy - * @covers \horstoeko\zugferd\jms\ZugferdTypesHandler::serializeIndicatorType - */ public function testSetIsDocumentCopy(): void { (self::$document)->setIsDocumentCopy(); @@ -114,10 +95,6 @@ public function testSetIsDocumentCopy(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:ExchangedDocument/ram:CopyIndicator'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setIsTestDocument - * @covers \horstoeko\zugferd\jms\ZugferdTypesHandler::serializeIndicatorType - */ public function testSetIsTestDocument(): void { (self::$document)->setIsTestDocument(); @@ -126,9 +103,6 @@ public function testSetIsTestDocument(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:ExchangedDocumentContext/ram:TestIndicator/udt:Indicator'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentNote - */ public function testAddDocumentNote(): void { (self::$document)->addDocumentNote('Rechnung gemäß Bestellung vom 01.03.2018.'); @@ -140,9 +114,6 @@ public function testAddDocumentNote(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:ExchangedDocument/ram:IncludedNote/ram:SubjectCode', 0, "REG"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSupplyChainEvent - */ public function testSetDocumentSupplyChainEvent(): void { (self::$document)->setDocumentSupplyChainEvent(DateTime::createFromFormat('Ymd', '20180305')); @@ -151,9 +122,6 @@ public function testSetDocumentSupplyChainEvent(): void $this->assertXPathValueWithAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ActualDeliverySupplyChainEvent/ram:OccurrenceDateTime/udt:DateTimeString', "20180305", "format", "102"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentBuyerReference - */ public function testSetDocumentBuyerReference(): void { (self::$document)->setDocumentBuyerReference("buyerref"); @@ -162,9 +130,6 @@ public function testSetDocumentBuyerReference(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerReference', "buyerref"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSeller - */ public function testSetDocumentSeller(): void { (self::$document)->setDocumentSeller("Lieferant GmbH", "549910"); @@ -186,9 +151,6 @@ public function testSetDocumentSeller(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:Name'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentSellerId - */ public function testAddDocumentSellerId(): void { $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:ID', 0, "5499103"); @@ -201,9 +163,6 @@ public function testAddDocumentSellerId(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:ID', 1, "5499104"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentSellerGlobalId - */ public function testAddDocumentSellerGlobalId(): void { (self::$document)->addDocumentSellerGlobalId("4000001123452", "0088"); @@ -212,9 +171,6 @@ public function testAddDocumentSellerGlobalId(): void $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:GlobalID', 0, "4000001123452", "schemeID", "0088"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentSellerTaxRegistration - */ public function testAddDocumentSellerTaxRegistration(): void { (self::$document)->addDocumentSellerTaxRegistration("FC", "201/113/40209"); @@ -225,26 +181,20 @@ public function testAddDocumentSellerTaxRegistration(): void $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:SpecifiedTaxRegistration/ram:ID', 1, "DE123456789", "schemeID", "VA"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSellerAddress - */ public function testSetDocumentSellerAddress(): void { - (self::$document)->setDocumentSellerAddress("Lieferantenstraße 20", "", "", "80333", "München", "DE"); + (self::$document)->setDocumentSellerAddress("Lieferantenstraße 20", "Haus A", "Aufgang B", "80333", "München", "DE"); $this->disableRenderXmlContent(); $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:PostalTradeAddress/ram:PostcodeCode', "80333"); $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:PostalTradeAddress/ram:LineOne', "Lieferantenstraße 20"); - $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:PostalTradeAddress/ram:LineTwo'); - $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:PostalTradeAddress/ram:LineThree'); + $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:PostalTradeAddress/ram:LineTwo', "Haus A"); + $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:PostalTradeAddress/ram:LineThree', "Aufgang B"); $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:PostalTradeAddress/ram:CityName', "München"); $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:PostalTradeAddress/ram:CountryID', "DE"); $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:PostalTradeAddress/ram:CountrySubDivisionName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSellerLegalOrganisation - */ public function testSetDocumentSellerLegalOrganisation(): void { (self::$document)->setDocumentSellerLegalOrganisation("DE12345", "FC", "Lieferant AG"); @@ -254,9 +204,6 @@ public function testSetDocumentSellerLegalOrganisation(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName', "Lieferant AG"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSellerContact - */ public function testSetDocumentSellerContact(): void { (self::$document)->setDocumentSellerContact("Hans Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@lieferant.de"); @@ -294,9 +241,6 @@ public function testSetDocumentSellerContact(): void (self::$document)->setDocumentSellerContact("Hans Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@lieferant.de"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentSellerContact - */ public function testAddDocumentSellerContact(): void { (self::$document)->addDocumentSellerContact("Hans Meier", "Bank", "+49-111-4444444", "+49-111-5555555", "info@meinseller.de"); @@ -325,9 +269,6 @@ public function testAddDocumentSellerContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSellerCommunication - */ public function testSetDocumentSellerCommunication(): void { (self::$document)->setDocumentSellerCommunication("EM", "seller@email.de"); @@ -337,9 +278,6 @@ public function testSetDocumentSellerCommunication(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:URIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentBuyer - */ public function testSetDocumentBuyer(): void { (self::$document)->setDocumentBuyer("Kunden AG Mitte", "549910"); @@ -349,9 +287,6 @@ public function testSetDocumentBuyer(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:Name', "Kunden AG Mitte"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentBuyerId - */ public function testAddDocumentBuyerId(): void { $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:ID', 0, "549910"); @@ -364,9 +299,6 @@ public function testAddDocumentBuyerId(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:ID', 1, "549911"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentBuyerGlobalId - */ public function testAddDocumentBuyerGlobalId(): void { (self::$document)->addDocumentBuyerGlobalId("4000001123452", "0088"); @@ -375,9 +307,6 @@ public function testAddDocumentBuyerGlobalId(): void $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:GlobalID', 0, "4000001123452", "schemeID", "0088"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentBuyerTaxRegistration - */ public function testAddDocumentBuyerTaxRegistration(): void { (self::$document)->addDocumentBuyerTaxRegistration("FC", "201/113/40209"); @@ -388,9 +317,6 @@ public function testAddDocumentBuyerTaxRegistration(): void $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:SpecifiedTaxRegistration/ram:ID', 1, "DE123456789", "schemeID", "VA"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentBuyerAddress - */ public function testSetDocumentBuyerAddress(): void { (self::$document)->setDocumentBuyerAddress("Kundenstrasse 15", "", "", "69876", "Frankfurt", "DE"); @@ -405,9 +331,6 @@ public function testSetDocumentBuyerAddress(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:PostalTradeAddress/ram:CountrySubDivisionName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentBuyerLegalOrganisation - */ public function testSetDocumentBuyerLegalOrganisation(): void { (self::$document)->setDocumentBuyerLegalOrganisation("DE12345", "FC", "Kunden Holding"); @@ -417,9 +340,6 @@ public function testSetDocumentBuyerLegalOrganisation(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName', "Kunden Holding"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentBuyerContact - */ public function testSetDocumentBuyerContact(): void { (self::$document)->setDocumentBuyerContact("Otto Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@kunde.de"); @@ -439,9 +359,6 @@ public function testSetDocumentBuyerContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentBuyerContact - */ public function testAddDocumentBuyerContact(): void { $this->disableRenderXmlContent(); @@ -468,9 +385,6 @@ public function testAddDocumentBuyerContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentBuyerCommunication - */ public function testSetDocumentBuyerCommunication(): void { (self::$document)->setDocumentBuyerCommunication("EM", "buyer@email.de"); @@ -480,9 +394,6 @@ public function testSetDocumentBuyerCommunication(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:URIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSellerTaxRepresentativeTradeParty - */ public function testSetDocumentSellerTaxRepresentativeTradeParty(): void { (self::$document)->setDocumentSellerTaxRepresentativeTradeParty("Lieferant GmbH", "549910"); @@ -492,9 +403,6 @@ public function testSetDocumentSellerTaxRepresentativeTradeParty(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:Name', "Lieferant GmbH"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentSellerTaxRepresentativeGlobalId - */ public function testAddDocumentSellerTaxRepresentativeGlobalId(): void { (self::$document)->addDocumentSellerTaxRepresentativeGlobalId("4000001123452", "0088"); @@ -503,9 +411,6 @@ public function testAddDocumentSellerTaxRepresentativeGlobalId(): void $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:GlobalID', 0, "4000001123452", "schemeID", "0088"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentSellerTaxRepresentativeTaxRegistration - */ public function testAddDocumentSellerTaxRepresentativeTaxRegistration(): void { (self::$document)->addDocumentSellerTaxRepresentativeTaxRegistration("FC", "201/113/40209"); @@ -516,9 +421,6 @@ public function testAddDocumentSellerTaxRepresentativeTaxRegistration(): void $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:SpecifiedTaxRegistration/ram:ID', 1, "DE123456789", "schemeID", "VA"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSellerTaxRepresentativeAddress - */ public function testSetDocumentSellerTaxRepresentativeAddress(): void { (self::$document)->setDocumentSellerTaxRepresentativeAddress("Lieferantenstraße 20", "", "", "80333", "München", "DE"); @@ -533,9 +435,6 @@ public function testSetDocumentSellerTaxRepresentativeAddress(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:PostalTradeAddress/ram:CountrySubDivisionName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSellerTaxRepresentativeLegalOrganisation - */ public function testSetDocumentSellerTaxRepresentativeLegalOrganisation(): void { (self::$document)->setDocumentSellerTaxRepresentativeLegalOrganisation("DE12345", "FC", "Lieferant AG"); @@ -545,9 +444,6 @@ public function testSetDocumentSellerTaxRepresentativeLegalOrganisation(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName', "Lieferant AG"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSellerTaxRepresentativeContact - */ public function testSetDocumentSellerTaxRepresentativeContact(): void { (self::$document)->setDocumentSellerTaxRepresentativeContact("Hans Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@lieferant.de"); @@ -567,9 +463,6 @@ public function testSetDocumentSellerTaxRepresentativeContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentSellerTaxRepresentativeContact - */ public function testAddDocumentSellerTaxRepresentativeContact(): void { $this->disableRenderXmlContent(); @@ -596,9 +489,6 @@ public function testAddDocumentSellerTaxRepresentativeContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentProductEndUser - */ public function testSetDocumentProductEndUser(): void { (self::$document)->setDocumentProductEndUser("Kunden AG Mitte", "549910"); @@ -608,9 +498,6 @@ public function testSetDocumentProductEndUser(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:Name'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentProductEndUserGlobalId - */ public function testAddDocumentProductEndUserGlobalId(): void { (self::$document)->addDocumentProductEndUserGlobalId("4000001123452", "0088"); @@ -619,9 +506,6 @@ public function testAddDocumentProductEndUserGlobalId(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:GlobalID'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentProductEndUserTaxRegistration - */ public function testAddDocumentProductEndUserTaxRegistration(): void { (self::$document)->addDocumentProductEndUserTaxRegistration("FC", "201/113/40209"); @@ -632,9 +516,6 @@ public function testAddDocumentProductEndUserTaxRegistration(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:SpecifiedTaxRegistration/ram:ID'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentProductEndUserAddress - */ public function testSetDocumentProductEndUserAddress(): void { (self::$document)->setDocumentProductEndUserAddress("Kundenstrasse 15", "", "", "69876", "Frankfurt", "DE"); @@ -649,9 +530,6 @@ public function testSetDocumentProductEndUserAddress(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:PostalTradeAddress/ram:CountrySubDivisionName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentProductEndUserLegalOrganisation - */ public function testSetDocumentProductEndUserLegalOrganisation(): void { (self::$document)->setDocumentProductEndUserLegalOrganisation("DE12345", "FC", "Kunden Holding"); @@ -661,9 +539,6 @@ public function testSetDocumentProductEndUserLegalOrganisation(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentProductEndUserContact - */ public function testSetDocumentProductEndUserContact(): void { (self::$document)->setDocumentProductEndUserContact("Otto Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@kunde.de"); @@ -683,9 +558,6 @@ public function testSetDocumentProductEndUserContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentProductEndUserContact - */ public function testAddDocumentProductEndUserContact(): void { $this->disableRenderXmlContent(); @@ -712,9 +584,6 @@ public function testAddDocumentProductEndUserContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipTo - */ public function testSetDocumentShipTo(): void { (self::$document)->setDocumentShipTo("Kunden AG Mitte", "549910"); @@ -724,9 +593,6 @@ public function testSetDocumentShipTo(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:Name', "Kunden AG Mitte"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentShipTolId - */ public function testAddDocumentShipTolId(): void { $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:ID', 0, "549910"); @@ -739,9 +605,6 @@ public function testAddDocumentShipTolId(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:ID', 1, "549911"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentShipToGlobalId - */ public function testAddDocumentShipToGlobalId(): void { (self::$document)->addDocumentShipToGlobalId("4000001123452", "0088"); @@ -750,9 +613,6 @@ public function testAddDocumentShipToGlobalId(): void $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:GlobalID', 0, "4000001123452", "schemeID", "0088"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentShipToTaxRegistration - */ public function testAddDocumentShipToTaxRegistration(): void { (self::$document)->addDocumentShipToTaxRegistration("FC", "201/113/40209"); @@ -763,9 +623,6 @@ public function testAddDocumentShipToTaxRegistration(): void $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:SpecifiedTaxRegistration/ram:ID', 1, "DE123456789", "schemeID", "VA"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipToAddress - */ public function testSetDocumentShipToAddress(): void { (self::$document)->setDocumentShipToAddress("Kundenstrasse 15", "", "", "69876", "Frankfurt", "DE"); @@ -780,9 +637,6 @@ public function testSetDocumentShipToAddress(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:PostalTradeAddress/ram:CountrySubDivisionName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipToLegalOrganisation - */ public function testSetDocumentShipToLegalOrganisation(): void { (self::$document)->setDocumentShipToLegalOrganisation("DE12345", "FC", "Kunden Holding"); @@ -792,9 +646,6 @@ public function testSetDocumentShipToLegalOrganisation(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName', "Kunden Holding"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipToContact - */ public function testSetDocumentShipToContact(): void { (self::$document)->setDocumentShipToContact("Otto Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@kunde.de"); @@ -814,9 +665,6 @@ public function testSetDocumentShipToContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentShipToContact - */ public function testAddDocumentShipToContact(): void { $this->disableRenderXmlContent(); @@ -843,9 +691,6 @@ public function testAddDocumentShipToContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentUltimateShipTo - */ public function testSetDocumentUltimateShipTo(): void { (self::$document)->setDocumentUltimateShipTo("Kunden AG Mitte", "549910"); @@ -855,9 +700,6 @@ public function testSetDocumentUltimateShipTo(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:Name'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentUltimateShipToId - */ public function testAddDocumentUltimateShipToId(): void { $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:ID', 0); @@ -870,9 +712,6 @@ public function testAddDocumentUltimateShipToId(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:ID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentUltimateShipToGlobalId - */ public function testAddDocumentUltimateShipToGlobalId(): void { (self::$document)->addDocumentUltimateShipToGlobalId("4000001123452", "0088"); @@ -881,9 +720,6 @@ public function testAddDocumentUltimateShipToGlobalId(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:GlobalID'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentUltimateShipToTaxRegistration - */ public function testAddDocumentUltimateShipToTaxRegistration(): void { (self::$document)->addDocumentUltimateShipToTaxRegistration("FC", "201/113/40209"); @@ -894,9 +730,6 @@ public function testAddDocumentUltimateShipToTaxRegistration(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:SpecifiedTaxRegistration/ram:ID'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentUltimateShipToAddress - */ public function testSetDocumentUltimateShipToAddress(): void { (self::$document)->setDocumentUltimateShipToAddress("Kundenstrasse 15", "", "", "69876", "Frankfurt", "DE"); @@ -911,9 +744,6 @@ public function testSetDocumentUltimateShipToAddress(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:PostalTradeAddress/ram:CountrySubDivisionName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentUltimateShipToLegalOrganisation - */ public function testSetDocumentUltimateShipToLegalOrganisation(): void { (self::$document)->setDocumentUltimateShipToLegalOrganisation("DE12345", "FC", "Kunden Holding"); @@ -923,9 +753,6 @@ public function testSetDocumentUltimateShipToLegalOrganisation(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentUltimateShipToContact - */ public function testSetDocumentUltimateShipToContact(): void { (self::$document)->setDocumentUltimateShipToContact("Otto Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@kunde.de"); @@ -945,9 +772,6 @@ public function testSetDocumentUltimateShipToContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentUltimateShipToContact - */ public function testAddDocumentUltimateShipToContact(): void { $this->disableRenderXmlContent(); @@ -974,9 +798,6 @@ public function testAddDocumentUltimateShipToContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipFrom - */ public function testSetDocumentShipFrom(): void { (self::$document)->setDocumentShipFrom("Lieferant GmbH", "549910"); @@ -986,9 +807,6 @@ public function testSetDocumentShipFrom(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:Name'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentShipFromId - */ public function testAddDocumentShipFromId(): void { $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:ID', 0); @@ -1001,9 +819,6 @@ public function testAddDocumentShipFromId(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:ID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentShipFromGlobalId - */ public function testAddDocumentShipFromGlobalId(): void { (self::$document)->addDocumentShipFromGlobalId("4000001123452", "0088"); @@ -1012,9 +827,6 @@ public function testAddDocumentShipFromGlobalId(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:GlobalID'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentShipFromTaxRegistration - */ public function testAddDocumentShipFromTaxRegistration(): void { (self::$document)->addDocumentShipFromTaxRegistration("FC", "201/113/40209"); @@ -1025,9 +837,6 @@ public function testAddDocumentShipFromTaxRegistration(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:SpecifiedTaxRegistration/ram:ID'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipFromAddress - */ public function testSetDocumentShipFromAddress(): void { (self::$document)->setDocumentShipFromAddress("Lieferantenstraße 20", "", "", "80333", "München", "DE"); @@ -1042,9 +851,6 @@ public function testSetDocumentShipFromAddress(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:PostalTradeAddress/ram:CountrySubDivisionName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipFromLegalOrganisation - */ public function testSetDocumentShipFromLegalOrganisation(): void { (self::$document)->setDocumentShipFromLegalOrganisation("DE12345", "FC", "Lieferant AG"); @@ -1054,9 +860,6 @@ public function testSetDocumentShipFromLegalOrganisation(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipFromContact - */ public function testSetDocumentShipFromContact(): void { (self::$document)->setDocumentShipFromContact("Hans Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@lieferant.de"); @@ -1076,9 +879,6 @@ public function testSetDocumentShipFromContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentShipFromContact - */ public function testAddDocumentShipFromContact(): void { $this->disableRenderXmlContent(); @@ -1105,9 +905,6 @@ public function testAddDocumentShipFromContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentInvoicer - */ public function testSetDocumentInvoicer(): void { (self::$document)->setDocumentInvoicer("Lieferant GmbH", "549910"); @@ -1117,9 +914,6 @@ public function testSetDocumentInvoicer(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:Name'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentInvoicerId - */ public function testAddDocumentInvoicerId(): void { $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:ID', 0); @@ -1132,9 +926,6 @@ public function testAddDocumentInvoicerId(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:ID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentInvoicerGlobalId - */ public function testAddDocumentInvoicerGlobalId(): void { (self::$document)->addDocumentInvoicerGlobalId("4000001123452", "0088"); @@ -1143,9 +934,6 @@ public function testAddDocumentInvoicerGlobalId(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:GlobalID'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentInvoicerTaxRegistration - */ public function testAddDocumentInvoicerTaxRegistration(): void { (self::$document)->addDocumentInvoicerTaxRegistration("FC", "201/113/40209"); @@ -1156,9 +944,6 @@ public function testAddDocumentInvoicerTaxRegistration(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:SpecifiedTaxRegistration/ram:ID'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentInvoicerAddress - */ public function testSetDocumentInvoicerAddress(): void { (self::$document)->setDocumentInvoicerAddress("Lieferantenstraße 20", "", "", "80333", "München", "DE"); @@ -1173,9 +958,6 @@ public function testSetDocumentInvoicerAddress(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:PostalTradeAddress/ram:CountrySubDivisionName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentInvoicerLegalOrganisation - */ public function testSetDocumentInvoicerLegalOrganisation(): void { (self::$document)->setDocumentInvoicerLegalOrganisation("DE12345", "FC", "Lieferant AG"); @@ -1185,9 +967,6 @@ public function testSetDocumentInvoicerLegalOrganisation(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentInvoicerContact - */ public function testSetDocumentInvoicerContact(): void { (self::$document)->setDocumentInvoicerContact("Hans Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@lieferant.de"); @@ -1207,9 +986,6 @@ public function testSetDocumentInvoicerContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentInvoicerContact - */ public function testAddDocumentInvoicerContact(): void { $this->disableRenderXmlContent(); @@ -1243,9 +1019,6 @@ public function testAddDocumentInvoicerContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 2); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentInvoicee - */ public function testSetDocumentInvoicee(): void { (self::$document)->setDocumentInvoicee("Lieferant GmbH", "549910"); @@ -1255,9 +1028,6 @@ public function testSetDocumentInvoicee(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:Name'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentInvoiceeId - */ public function testAddDocumentInvoiceeId(): void { $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:ID', 0); @@ -1270,9 +1040,6 @@ public function testAddDocumentInvoiceeId(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:ID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentInvoiceeGlobalId - */ public function testAddDocumentInvoiceeGlobalId(): void { (self::$document)->addDocumentInvoiceeGlobalId("4000001123452", "0088"); @@ -1281,9 +1048,6 @@ public function testAddDocumentInvoiceeGlobalId(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:GlobalID'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentInvoiceeTaxRegistration - */ public function testAddDocumentInvoiceeTaxRegistration(): void { (self::$document)->addDocumentInvoiceeTaxRegistration("FC", "201/113/40209"); @@ -1294,9 +1058,6 @@ public function testAddDocumentInvoiceeTaxRegistration(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:SpecifiedTaxRegistration/ram:ID'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentInvoiceeAddress - */ public function testSetDocumentInvoiceeAddress(): void { (self::$document)->setDocumentInvoiceeAddress("Lieferantenstraße 20", "", "", "80333", "München", "DE"); @@ -1311,9 +1072,6 @@ public function testSetDocumentInvoiceeAddress(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:PostalTradeAddress/ram:CountrySubDivisionName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentInvoiceeLegalOrganisation - */ public function testSetDocumentInvoiceeLegalOrganisation(): void { (self::$document)->setDocumentInvoiceeLegalOrganisation("DE12345", "FC", "Lieferant AG"); @@ -1323,9 +1081,6 @@ public function testSetDocumentInvoiceeLegalOrganisation(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentInvoiceeContact - */ public function testSetDocumentInvoiceeContact(): void { (self::$document)->setDocumentInvoiceeContact("Hans Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@lieferant.de"); @@ -1345,9 +1100,6 @@ public function testSetDocumentInvoiceeContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentInvoiceeContact - */ public function testAddDocumentInvoiceeContact(): void { $this->disableRenderXmlContent(); @@ -1374,9 +1126,6 @@ public function testAddDocumentInvoiceeContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPayee - */ public function testSetDocumentPayee(): void { (self::$document)->setDocumentPayee("Lieferant GmbH", "549910"); @@ -1386,9 +1135,6 @@ public function testSetDocumentPayee(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:Name', "Lieferant GmbH"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPayeeId - */ public function testAddDocumentPayeeId(): void { $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:ID', 0, "549910"); @@ -1401,9 +1147,6 @@ public function testAddDocumentPayeeId(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:ID', 1, "549911"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPayeeGlobalId - */ public function testAddDocumentPayeeGlobalId(): void { (self::$document)->addDocumentPayeeGlobalId("4000001123452", "0088"); @@ -1412,9 +1155,6 @@ public function testAddDocumentPayeeGlobalId(): void $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:GlobalID', 0, "4000001123452", "schemeID", "0088"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPayeeTaxRegistration - */ public function testAddDocumentPayeeTaxRegistration(): void { (self::$document)->addDocumentPayeeTaxRegistration("FC", "201/113/40209"); @@ -1425,9 +1165,6 @@ public function testAddDocumentPayeeTaxRegistration(): void $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:SpecifiedTaxRegistration/ram:ID', 1, "DE123456789", "schemeID", "VA"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPayeeAddress - */ public function testSetDocumentPayeeAddress(): void { (self::$document)->setDocumentPayeeAddress("Lieferantenstraße 20", "", "", "80333", "München", "DE"); @@ -1442,9 +1179,6 @@ public function testSetDocumentPayeeAddress(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:PostalTradeAddress/ram:CountrySubDivisionName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPayeeLegalOrganisation - */ public function testSetDocumentPayeeLegalOrganisation(): void { (self::$document)->setDocumentPayeeLegalOrganisation("DE12345", "FC", "Lieferant AG"); @@ -1454,9 +1188,6 @@ public function testSetDocumentPayeeLegalOrganisation(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName', "Lieferant AG"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPayeeContact - */ public function testSetDocumentPayeeContact(): void { (self::$document)->setDocumentPayeeContact("Hans Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@lieferant.de"); @@ -1476,9 +1207,6 @@ public function testSetDocumentPayeeContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPayeeContact - */ public function testAddDocumentPayeeContact(): void { $this->disableRenderXmlContent(); @@ -1505,9 +1233,6 @@ public function testAddDocumentPayeeContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentDeliveryTerms - */ public function testSetDocumentDeliveryTerms(): void { (self::$document)->setDocumentDeliveryTerms("term"); @@ -1516,9 +1241,6 @@ public function testSetDocumentDeliveryTerms(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ApplicableTradeDeliveryTerms/ram:DeliveryTypeCode'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSellerOrderReferencedDocument - */ public function testSetDocumentSellerOrderReferencedDocument(): void { (self::$document)->setDocumentSellerOrderReferencedDocument('B-1010', new DateTime()); @@ -1528,9 +1250,6 @@ public function testSetDocumentSellerOrderReferencedDocument(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerOrderReferencedDocument/ram:FormattedIssueDateTime/ram:DateTimeString'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentBuyerOrderReferencedDocument - */ public function testSetDocumentBuyerOrderReferencedDocument(): void { (self::$document)->setDocumentBuyerOrderReferencedDocument('O-2020', new DateTime()); @@ -1540,9 +1259,6 @@ public function testSetDocumentBuyerOrderReferencedDocument(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerOrderReferencedDocument/ram:FormattedIssueDateTime/ram:DateTimeString'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentContractReferencedDocument - */ public function testSetDocumentContractReferencedDocument(): void { (self::$document)->setDocumentContractReferencedDocument("CON-4711", new DateTime()); @@ -1552,9 +1268,6 @@ public function testSetDocumentContractReferencedDocument(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ContractReferencedDocument/ram:FormattedIssueDateTime/ram:DateTimeString'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentAdditionalReferencedDocument - */ public function testAddDocumentAdditionalReferencedDocument(): void { (self::$document)->addDocumentAdditionalReferencedDocument("A-1011", "type", "http://lieferant.de/docs/a1011.pdf", "Leistungsnachweis", "reftype", new DateTime()); @@ -1575,9 +1288,6 @@ public function testAddDocumentAdditionalReferencedDocument(): void $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument/ram:FormattedIssueDateTime/a:DateTimeString', 1, (new DateTime())->format("Ymd"), "format", "102"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentAdditionalReferencedDocument - */ public function testAddDocumentAdditionalReferencedDocumentWithAttachment(): void { (self::$document)->addDocumentAdditionalReferencedDocument("A-1011", "type", "http://lieferant.de/docs/a1011.pdf", "Leistungsnachweis", "reftype", new DateTime(), dirname(__FILE__) . "/../assets/InvalidPDF.pdf"); @@ -1594,9 +1304,6 @@ public function testAddDocumentAdditionalReferencedDocumentWithAttachment(): voi $this->assertXPathValueStartsWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument/ram:AttachmentBinaryObject', 0, "JVBERi0xLjQKJcOkw7zDtsOfC", "filename", "InvalidPDF.pdf"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentInvoiceReferencedDocument - */ public function testSetDocumentInvoiceReferencedDocument(): void { (self::$document)->setDocumentInvoiceReferencedDocument("INV-1", new DateTime()); @@ -1606,9 +1313,6 @@ public function testSetDocumentInvoiceReferencedDocument(): void $this->assertXPathValueWithAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:FormattedIssueDateTime/a:DateTimeString', (new DateTime())->format("Ymd"), "format", "102"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentProcuringProject - */ public function testSetDocumentProcuringProject(): void { (self::$document)->setDocumentProcuringProject("HB-8378732", "Hausbau"); @@ -1618,9 +1322,6 @@ public function testSetDocumentProcuringProject(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SpecifiedProcuringProject/ram:Name', "Hausbau"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentUltimateCustomerOrderReferencedDocument - */ public function testAddDocumentUltimateCustomerOrderReferencedDocument(): void { (self::$document)->addDocumentUltimateCustomerOrderReferencedDocument("DOC-11", new DateTime()); @@ -1631,9 +1332,6 @@ public function testAddDocumentUltimateCustomerOrderReferencedDocument(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:UltimateCustomerOrderReferencedDocument/ram:FormattedIssueDateTime/a:DateTimeString'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentDespatchAdviceReferencedDocument - */ public function testSetDocumentDespatchAdviceReferencedDocument(): void { (self::$document)->setDocumentDespatchAdviceReferencedDocument("DADV-001", new DateTime()); @@ -1643,9 +1341,6 @@ public function testSetDocumentDespatchAdviceReferencedDocument(): void $this->assertXPathValueWithAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:DespatchAdviceReferencedDocument/ram:FormattedIssueDateTime/a:DateTimeString', (new DateTime())->format("Ymd"), "format", "102"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentReceivingAdviceReferencedDocument - */ public function testSetDocumentReceivingAdviceReferencedDocument(): void { (self::$document)->setDocumentReceivingAdviceReferencedDocument("RADV-002", new DateTime()); @@ -1655,9 +1350,6 @@ public function testSetDocumentReceivingAdviceReferencedDocument(): void $this->assertXPathValueWithAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ReceivingAdviceReferencedDocument/ram:FormattedIssueDateTime/a:DateTimeString', (new DateTime())->format("Ymd"), "format", "102"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentDeliveryNoteReferencedDocument - */ public function testSetDocumentDeliveryNoteReferencedDocument(): void { (self::$document)->setDocumentDeliveryNoteReferencedDocument("DNOTE-003", new DateTime()); @@ -1667,12 +1359,10 @@ public function testSetDocumentDeliveryNoteReferencedDocument(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:DeliveryNoteReferencedDocument/ram:FormattedIssueDateTime/a:DateTimeString'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPaymentMean - */ public function testAddDocumentPaymentMean(): void { (self::$document)->addDocumentPaymentMean("42", "Paying information", "cardtype", "cardid", "cardholder", "DE00000000000", "DE11111111111", "Bank", "44444444", "NOLADEQLB21"); + (self::$document)->addDocumentPaymentMean("49", "Paying information 2", "cardtype2", "cardid2", "cardholder2", "DE22222222222", "DE33333333333", "Bank 2", "22222222", "BIC"); $this->disableRenderXmlContent(); @@ -1686,131 +1376,71 @@ public function testAddDocumentPaymentMean(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:ProprietaryID', 0, "44444444"); $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeeSpecifiedCreditorFinancialInstitution/ram:BICID', 0, "NOLADEQLB21"); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:TypeCode', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:Information', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:ApplicableTradeSettlementFinancialCard/ram:ID', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:ApplicableTradeSettlementFinancialCard/ram:CardholderName', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayerPartyDebtorFinancialAccount/ram:IBANID', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:IBANID', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:AccountName', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:ProprietaryID', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeeSpecifiedCreditorFinancialInstitution/ram:BICID', 1); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:TypeCode', 1, "49"); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:Information', 1, "Paying information 2"); + $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:ApplicableTradeSettlementFinancialCard/ram:ID', 1, "did2", "schemeID", "cardtype2"); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:ApplicableTradeSettlementFinancialCard/ram:CardholderName', 1, "cardholder2"); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayerPartyDebtorFinancialAccount/ram:IBANID', 1, "DE22222222222"); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:IBANID', 1, "DE33333333333"); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:AccountName', 1, "Bank 2"); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:ProprietaryID', 1, "22222222"); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeeSpecifiedCreditorFinancialInstitution/ram:BICID', 1, "BIC"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPaymentMeanToCreditTransfer - */ public function testAddDocumentPaymentMeanToCreditTransfer(): void { (self::$document)->addDocumentPaymentMeanToCreditTransfer("DE77777777777", "Bank", "55555555", "NOLADEQLB22"); $this->disableRenderXmlContent(); - $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:TypeCode', 0, "58"); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:Information', 0); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:ApplicableTradeSettlementFinancialCard/ram:ID', 0); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:ApplicableTradeSettlementFinancialCard/ram:CardholderName', 0); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayerPartyDebtorFinancialAccount/ram:IBANID', 0); - $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:IBANID', 0, "DE77777777777"); - $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:AccountName', 0, "Bank"); - $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:ProprietaryID', 0, "55555555"); - $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeeSpecifiedCreditorFinancialInstitution/ram:BICID', 0, "NOLADEQLB22"); - - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:TypeCode', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:Information', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:ApplicableTradeSettlementFinancialCard/ram:ID', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:ApplicableTradeSettlementFinancialCard/ram:CardholderName', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayerPartyDebtorFinancialAccount/ram:IBANID', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:IBANID', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:AccountName', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:ProprietaryID', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeeSpecifiedCreditorFinancialInstitution/ram:BICID', 1); - } - - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPaymentMeanToDirectDebit - */ - public function testAddDocumentPaymentMeanToDirectDebit(): void - { - (self::$document)->addDocumentPaymentMeanToDirectDebit("DE8888888888"); - - $this->disableRenderXmlContent(); - - $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:TypeCode', 0, "59"); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:Information', 0); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:ApplicableTradeSettlementFinancialCard/ram:ID', 0); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:ApplicableTradeSettlementFinancialCard/ram:CardholderName', 0); - $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayerPartyDebtorFinancialAccount/ram:IBANID', 0, "DE8888888888"); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:IBANID', 0); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:AccountName', 0); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:ProprietaryID', 0); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeeSpecifiedCreditorFinancialInstitution/ram:BICID', 0); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:TypeCode', 2, "58"); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:Information', 2); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:ApplicableTradeSettlementFinancialCard/ram:ID', 2); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:ApplicableTradeSettlementFinancialCard/ram:CardholderName', 2); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayerPartyDebtorFinancialAccount/ram:IBANID', 2); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:IBANID', 2, "DE77777777777"); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:AccountName', 2, "Bank"); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:ProprietaryID', 2, "55555555"); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeeSpecifiedCreditorFinancialInstitution/ram:BICID', 2, "NOLADEQLB22"); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:TypeCode', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:Information', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:ApplicableTradeSettlementFinancialCard/ram:ID', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:ApplicableTradeSettlementFinancialCard/ram:CardholderName', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayerPartyDebtorFinancialAccount/ram:IBANID', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:IBANID', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:AccountName', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:ProprietaryID', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeeSpecifiedCreditorFinancialInstitution/ram:BICID', 1); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:TypeCode', 3); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:Information', 3); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:ApplicableTradeSettlementFinancialCard/ram:ID', 3); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:ApplicableTradeSettlementFinancialCard/ram:CardholderName', 3); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayerPartyDebtorFinancialAccount/ram:IBANID', 3); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:IBANID', 3); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:AccountName', 3); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:ProprietaryID', 3); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeeSpecifiedCreditorFinancialInstitution/ram:BICID', 3); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPaymentMeanToPaymentCard - */ - public function testAddDocumentPaymentMeanToPaymentCard(): void + public function testAddDocumentPaymentMeanToDirectDebit(): void { - (self::$document)->addDocumentPaymentMeanToPaymentCard("cardtype", "cardid", "cardholder"); + (self::$document)->addDocumentPaymentMeanToDirectDebit("DE8888888888"); $this->disableRenderXmlContent(); - $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:TypeCode', 0, "48"); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:Information', 0); - $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:ApplicableTradeSettlementFinancialCard/ram:ID', 0, "cardid", "schemeID", "cardtype"); - $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:ApplicableTradeSettlementFinancialCard/ram:CardholderName', 0, "cardholder"); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayerPartyDebtorFinancialAccount/ram:IBANID', 0); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:IBANID', 0); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:AccountName', 0); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:ProprietaryID', 0); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeeSpecifiedCreditorFinancialInstitution/ram:BICID', 0); - - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:TypeCode', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:Information', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:ApplicableTradeSettlementFinancialCard/ram:ID', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:ApplicableTradeSettlementFinancialCard/ram:CardholderName', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayerPartyDebtorFinancialAccount/ram:IBANID', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:IBANID', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:AccountName', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:ProprietaryID', 1); - $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeeSpecifiedCreditorFinancialInstitution/ram:BICID', 1); - } - - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPaymentMean - */ - public function testAddDocumentPaymentMeanLastMustBeSet(): void - { - (self::$document)->addDocumentPaymentMean("42", "Paying information", "cardtype", "cardid", "cardholder", "DE00000000000", "DE11111111111", "Bank", "44444444", "NOLADEQLB21"); - (self::$document)->addDocumentPaymentMean("49", "Paying information 2", "cardtype2", "cardid2", "cardholder2", "DE22222222222", "DE33333333333", "Bank 2", "22222222", "BIC"); - - $this->disableRenderXmlContent(); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:TypeCode', 3, "59"); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:Information', 3); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:ApplicableTradeSettlementFinancialCard/ram:ID', 3); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:ApplicableTradeSettlementFinancialCard/ram:CardholderName', 3); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayerPartyDebtorFinancialAccount/ram:IBANID', 2, "DE8888888888"); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:IBANID', 3); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:AccountName', 3); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:ProprietaryID', 3); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeeSpecifiedCreditorFinancialInstitution/ram:BICID', 3); - $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:TypeCode', 0, "49"); - $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:Information', 0, "Paying information 2"); - $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:ApplicableTradeSettlementFinancialCard/ram:ID', 0, "did2", "schemeID", "cardtype2"); - $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:ApplicableTradeSettlementFinancialCard/ram:CardholderName', 0, "cardholder2"); - $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayerPartyDebtorFinancialAccount/ram:IBANID', 0, "DE22222222222"); - $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:IBANID', 0, "DE33333333333"); - $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:AccountName', 0, "Bank 2"); - $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:ProprietaryID', 0, "22222222"); - $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeeSpecifiedCreditorFinancialInstitution/ram:BICID', 0, "BIC"); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:TypeCode', 4); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:Information', 4); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:ApplicableTradeSettlementFinancialCard/ram:ID', 4); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:ApplicableTradeSettlementFinancialCard/ram:CardholderName', 4); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayerPartyDebtorFinancialAccount/ram:IBANID', 3); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:IBANID', 4); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:AccountName', 4); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeePartyCreditorFinancialAccount/ram:ProprietaryID', 4); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeeSpecifiedCreditorFinancialInstitution/ram:BICID', 4); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentTax - */ public function testAddDocumentTax(): void { (self::$document)->addDocumentTax("S", "VAT", 100.0, 19.0, 19, "exreason", "exreasoncode", 100.0, 1.0, new DateTime(), "duetypecode"); @@ -1839,9 +1469,6 @@ public function testAddDocumentTax(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax/ram:RateApplicablePercent', 1, "7.0"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentTaxSimple - */ public function testAddDocumentTaxSimple(): void { (self::$document)->addDocumentTaxSimple("S", "VAT", 100.0, 19.0, 19.0); @@ -1858,9 +1485,6 @@ public function testAddDocumentTaxSimple(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax/ram:RateApplicablePercent', 2, "19.0"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentBillingPeriod - */ public function testSetDocumentBillingPeriod(): void { (self::$document)->setDocumentBillingPeriod(new DateTime(), new DateTime(), "Project"); @@ -1870,9 +1494,6 @@ public function testSetDocumentBillingPeriod(): void $this->assertXPathValueWithAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:BillingSpecifiedPeriod/ram:EndDateTime/udt:DateTimeString', (new DateTime())->format("Ymd"), "format", "102"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentAllowanceCharge - */ public function testAddDocumentAllowanceCharge(): void { (self::$document)->addDocumentAllowanceCharge(10.0, false, "S", "VAT", 19.0, 1, 10.0, 100.0, 1, "C62", "reasoncode", "reason"); @@ -1899,9 +1520,6 @@ public function testAddDocumentAllowanceCharge(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeAllowanceCharge/ram:CategoryTradeTax/ram:RateApplicablePercent', 1, "19.0"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentLogisticsServiceCharge - */ public function testAddDocumentLogisticsServiceCharge(): void { (self::$document)->addDocumentLogisticsServiceCharge("Service", 10.0, ["S"], ["VAT"], [19.0]); @@ -1914,10 +1532,6 @@ public function testAddDocumentLogisticsServiceCharge(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedLogisticsServiceCharge/ram:AppliedTradeTax/ram:RateApplicablePercent', 0); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPaymentTerm - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDiscountTermsToPaymentTerms - */ public function testAddDocumentPaymentTermAndDiscount(): void { (self::$document)->addDocumentPaymentTerm("Payment", new DateTime(), "mandate"); @@ -1936,9 +1550,6 @@ public function testAddDocumentPaymentTermAndDiscount(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradePaymentTerms/ram:ApplicableTradePaymentDiscountTerms/ram:ActualDiscountAmount', 0); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentReceivableSpecifiedTradeAccountingAccount - */ public function testAddDocumentReceivableSpecifiedTradeAccountingAccount(): void { (self::$document)->addDocumentReceivableSpecifiedTradeAccountingAccount("accountid", "typecode"); @@ -1953,9 +1564,6 @@ public function testAddDocumentReceivableSpecifiedTradeAccountingAccount(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradePaymentTerms/ram:ReceivableSpecifiedTradeAccountingAccount/ram:TypeCode', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::InitDocumentSummation - */ public function testInitDocumentSummation(): void { (self::$document)->initDocumentSummation(); @@ -1972,9 +1580,6 @@ public function testInitDocumentSummation(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:DuePayableAmount', 0, "0.0"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::SetDocumentSummation - */ public function testSetDocumentSummation(): void { (self::$document)->setDocumentSummation(100.0, 0.0, 100.0, 5.0, 4.0, 99.0, 10.0, 0.0, 0.0); @@ -1991,46 +1596,6 @@ public function testSetDocumentSummation(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:DuePayableAmount', 0, "0.0"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addNewPosition - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionShipTo - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionShipToGlobalId - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionShipToTaxRegistration - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionShipToAddress - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionShipToLegalOrganisation - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionUltimateShipTo - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionUltimateShipToGlobalId - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionUltimateShipToTaxRegistration - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionUltimateShipToAddress - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionUltimateShipToLegalOrganisation - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionUltimateShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionUltimateShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionSupplyChainEvent - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionReceivableSpecifiedTradeAccountingAccount - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionAdditionalReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionUltimateCustomerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionProductCharacteristic - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionProductClassification - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionProductOriginTradeCountry - */ public function testPositionMethods(): void { (self::$document)->addNewPosition("1", "linestatuscode", "linestatusreasoncode"); @@ -2340,9 +1905,6 @@ public function testPositionMethods(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:SpecifiedTradeSettlementLineMonetarySummation/ram:TotalAllowanceChargeAmount', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::InitNewDocument - */ public function testInitNewDocument(): void { (self::$document)->InitNewDocument(); @@ -2358,10 +1920,6 @@ public function testInitNewDocument(): void $this->assertXPathExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipTo - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipToContact - */ public function testSetDocumentShipToMultipleContacts(): void { (self::$document)->setDocumentShipTo("Kunden AG Mitte", "549910"); @@ -2389,10 +1947,6 @@ public function testSetDocumentShipToMultipleContacts(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 0, "info@kunde2.de"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipTo - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipToContact - */ public function testSetDocumentShipToMultipleContactsAdd(): void { (self::$document)->setDocumentShipTo("Kunden AG Mitte", "549910"); @@ -2420,9 +1974,6 @@ public function testSetDocumentShipToMultipleContactsAdd(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::writeFile - */ public function testWriteFile(): void { (self::$document)->writeFile(getcwd() . "/myfile.xml"); @@ -2430,9 +1981,6 @@ public function testWriteFile(): void @unlink(getcwd() . "/myfile.xml"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::__toString - */ public function testToString(): void { $xmlContent = (string)self::$document; @@ -2440,18 +1988,12 @@ public function testToString(): void $this->assertStringStartsWith("\ngetContentAsDomDocument(); $this->assertInstanceOf(\DOMDocument::class, $domDocument); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::getContentAsDomXPath - */ public function testGetContentAsDomXPath(): void { $domXPath = self::$document->getContentAsDomXPath(); diff --git a/tests/testcases/BuilderExtendedTest.php b/tests/testcases/BuilderExtendedTest.php index 90f1f48f..f259ac3e 100644 --- a/tests/testcases/BuilderExtendedTest.php +++ b/tests/testcases/BuilderExtendedTest.php @@ -24,12 +24,6 @@ public function testDocumentProfile(): void $this->assertEquals(ZugferdProfiles::PROFILE_EXTENDED, self::$document->getProfileId()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::getInvoiceObject - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::getSerializer - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::getObjectHelper - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::getProfileDefinitionParameter - */ public function testDocumentGetters(): void { $this->assertNotNull(self::$document->getInvoiceObject()); @@ -58,9 +52,6 @@ public function testXmlGenerals(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:ExchangedDocumentContext/ram:GuidelineSpecifiedDocumentContextParameter/ram:ID', (self::$document)->getProfileDefinitionParameter("contextparameter")); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentInformation - */ public function testSetDocumentInformation(): void { (self::$document)->setDocumentInformation("471102", "380", \DateTime::createFromFormat("Ymd", "20180305"), "EUR"); @@ -72,9 +63,6 @@ public function testSetDocumentInformation(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceCurrencyCode', "EUR"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentBusinessProcess - */ public function testSetDocumentBusinessProcess(): void { $this->disableRenderXmlContent(); @@ -89,9 +77,6 @@ public function testSetDocumentBusinessProcess(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:ExchangedDocumentContext/ram:BusinessProcessSpecifiedDocumentContextParameter/ram:ID', "GENERAL INVOICE"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentGeneralPaymentInformation - */ public function testSetDocumentGeneralPaymentInformation(): void { (self::$document)->setDocumentGeneralPaymentInformation("1111111111", "2222222222"); @@ -101,10 +86,6 @@ public function testSetDocumentGeneralPaymentInformation(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PaymentReference', "2222222222"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setIsDocumentCopy - * @covers \horstoeko\zugferd\jms\ZugferdTypesHandler::serializeIndicatorType - */ public function testSetIsDocumentCopy(): void { (self::$document)->setIsDocumentCopy(); @@ -114,10 +95,6 @@ public function testSetIsDocumentCopy(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:ExchangedDocument/ram:CopyIndicator/udt:Indicator', 'true'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setIsTestDocument - * @covers \horstoeko\zugferd\jms\ZugferdTypesHandler::serializeIndicatorType - */ public function testSetIsTestDocument(): void { (self::$document)->SetIsTestDocument(); @@ -127,9 +104,6 @@ public function testSetIsTestDocument(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:ExchangedDocumentContext/ram:TestIndicator/udt:Indicator', 'true'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentNote - */ public function testAddDocumentNote(): void { (self::$document)->addDocumentNote('Rechnung gemäß Bestellung vom 01.03.2018.'); @@ -141,9 +115,6 @@ public function testAddDocumentNote(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:ExchangedDocument/ram:IncludedNote/ram:SubjectCode', 0, "REG"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSupplyChainEvent - */ public function testSetDocumentSupplyChainEvent(): void { (self::$document)->setDocumentSupplyChainEvent(\DateTime::createFromFormat('Ymd', '20180305')); @@ -152,9 +123,6 @@ public function testSetDocumentSupplyChainEvent(): void $this->assertXPathValueWithAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ActualDeliverySupplyChainEvent/ram:OccurrenceDateTime/udt:DateTimeString', "20180305", "format", "102"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentBuyerReference - */ public function testSetDocumentBuyerReference(): void { (self::$document)->setDocumentBuyerReference("buyerref"); @@ -163,9 +131,6 @@ public function testSetDocumentBuyerReference(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerReference', "buyerref"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSeller - */ public function testSetDocumentSeller(): void { (self::$document)->setDocumentSeller("Lieferant GmbH", "549910"); @@ -175,9 +140,6 @@ public function testSetDocumentSeller(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:Name', "Lieferant GmbH"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentSellerId - */ public function testAddDocumentSellerId(): void { $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:ID', 0, "549910"); @@ -190,9 +152,6 @@ public function testAddDocumentSellerId(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:ID', 1, "549911"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentSellerGlobalId - */ public function testAddDocumentSellerGlobalId(): void { (self::$document)->addDocumentSellerGlobalId("4000001123452", "0088"); @@ -201,9 +160,6 @@ public function testAddDocumentSellerGlobalId(): void $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:GlobalID', 0, "4000001123452", "schemeID", "0088"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentSellerTaxRegistration - */ public function testAddDocumentSellerTaxRegistration(): void { (self::$document)->addDocumentSellerTaxRegistration("FC", "201/113/40209"); @@ -214,26 +170,20 @@ public function testAddDocumentSellerTaxRegistration(): void $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:SpecifiedTaxRegistration/ram:ID', 1, "DE123456789", "schemeID", "VA"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSellerAddress - */ public function testSetDocumentSellerAddress(): void { - (self::$document)->setDocumentSellerAddress("Lieferantenstraße 20", "", "", "80333", "München", "DE"); + (self::$document)->setDocumentSellerAddress("Lieferantenstraße 20", "Haus A", "Aufgang B", "80333", "München", "DE"); $this->disableRenderXmlContent(); $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:PostalTradeAddress/ram:PostcodeCode', "80333"); $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:PostalTradeAddress/ram:LineOne', "Lieferantenstraße 20"); - $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:PostalTradeAddress/ram:LineTwo'); - $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:PostalTradeAddress/ram:LineThree'); + $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:PostalTradeAddress/ram:LineTwo', "Haus A"); + $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:PostalTradeAddress/ram:LineThree', "Aufgang B"); $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:PostalTradeAddress/ram:CityName', "München"); $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:PostalTradeAddress/ram:CountryID', "DE"); $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:PostalTradeAddress/ram:CountrySubDivisionName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSellerLegalOrganisation - */ public function testSetDocumentSellerLegalOrganisation(): void { (self::$document)->setDocumentSellerLegalOrganisation("DE12345", "FC", "Lieferant AG"); @@ -243,9 +193,6 @@ public function testSetDocumentSellerLegalOrganisation(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName', "Lieferant AG"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSellerContact - */ public function testSetDocumentSellerContact(): void { (self::$document)->setDocumentSellerContact("Hans Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@lieferant.de"); @@ -283,9 +230,6 @@ public function testSetDocumentSellerContact(): void (self::$document)->setDocumentSellerContact("Hans Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@lieferant.de"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentSellerContact - */ public function testAddDocumentSellerContact(): void { $this->disableRenderXmlContent(); @@ -319,9 +263,6 @@ public function testAddDocumentSellerContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 2); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSellerCommunication - */ public function testSetDocumentSellerCommunication(): void { (self::$document)->setDocumentSellerCommunication("EM", "seller@email.de"); @@ -331,9 +272,6 @@ public function testSetDocumentSellerCommunication(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:URIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentBuyer - */ public function testSetDocumentBuyer(): void { (self::$document)->setDocumentBuyer("Kunden AG Mitte", "549910"); @@ -343,9 +281,6 @@ public function testSetDocumentBuyer(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:Name', "Kunden AG Mitte"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentBuyerId - */ public function testAddDocumentBuyerId(): void { $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:ID', 0, "549910"); @@ -358,9 +293,6 @@ public function testAddDocumentBuyerId(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:ID', 1, "549911"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentBuyerGlobalId - */ public function testAddDocumentBuyerGlobalId(): void { (self::$document)->addDocumentBuyerGlobalId("4000001123452", "0088"); @@ -369,9 +301,6 @@ public function testAddDocumentBuyerGlobalId(): void $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:GlobalID', 0, "4000001123452", "schemeID", "0088"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentBuyerTaxRegistration - */ public function testAddDocumentBuyerTaxRegistration(): void { (self::$document)->addDocumentBuyerTaxRegistration("FC", "201/113/40209"); @@ -382,9 +311,6 @@ public function testAddDocumentBuyerTaxRegistration(): void $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:SpecifiedTaxRegistration/ram:ID', 1, "DE123456789", "schemeID", "VA"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentBuyerAddress - */ public function testSetDocumentBuyerAddress(): void { (self::$document)->setDocumentBuyerAddress("Kundenstrasse 15", "", "", "69876", "Frankfurt", "DE"); @@ -399,9 +325,6 @@ public function testSetDocumentBuyerAddress(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:PostalTradeAddress/ram:CountrySubDivisionName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentBuyerLegalOrganisation - */ public function testSetDocumentBuyerLegalOrganisation(): void { (self::$document)->setDocumentBuyerLegalOrganisation("DE12345", "FC", "Kunden Holding"); @@ -411,9 +334,6 @@ public function testSetDocumentBuyerLegalOrganisation(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName', "Kunden Holding"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentBuyerContact - */ public function testSetDocumentBuyerContact(): void { (self::$document)->setDocumentBuyerContact("Otto Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@kunde.de"); @@ -433,9 +353,6 @@ public function testSetDocumentBuyerContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentBuyerContact - */ public function testAddDocumentBuyerContact(): void { $this->disableRenderXmlContent(); @@ -462,9 +379,6 @@ public function testAddDocumentBuyerContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 2); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentBuyerCommunication - */ public function testSetDocumentBuyerCommunication(): void { (self::$document)->setDocumentBuyerCommunication("EM", "buyer@email.de"); @@ -474,9 +388,6 @@ public function testSetDocumentBuyerCommunication(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:URIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSellerTaxRepresentativeTradeParty - */ public function testSetDocumentSellerTaxRepresentativeTradeParty(): void { (self::$document)->setDocumentSellerTaxRepresentativeTradeParty("Lieferant GmbH", "549910"); @@ -486,9 +397,6 @@ public function testSetDocumentSellerTaxRepresentativeTradeParty(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:Name', "Lieferant GmbH"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentSellerTaxRepresentativeGlobalId - */ public function testAddDocumentSellerTaxRepresentativeGlobalId(): void { (self::$document)->addDocumentSellerTaxRepresentativeGlobalId("4000001123452", "0088"); @@ -497,9 +405,6 @@ public function testAddDocumentSellerTaxRepresentativeGlobalId(): void $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:GlobalID', 0, "4000001123452", "schemeID", "0088"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentSellerTaxRepresentativeTaxRegistration - */ public function testAddDocumentSellerTaxRepresentativeTaxRegistration(): void { (self::$document)->addDocumentSellerTaxRepresentativeTaxRegistration("FC", "201/113/40209"); @@ -510,9 +415,6 @@ public function testAddDocumentSellerTaxRepresentativeTaxRegistration(): void $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:SpecifiedTaxRegistration/ram:ID', 1, "DE123456789", "schemeID", "VA"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSellerTaxRepresentativeAddress - */ public function testSetDocumentSellerTaxRepresentativeAddress(): void { (self::$document)->setDocumentSellerTaxRepresentativeAddress("Lieferantenstraße 20", "", "", "80333", "München", "DE"); @@ -527,9 +429,6 @@ public function testSetDocumentSellerTaxRepresentativeAddress(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:PostalTradeAddress/ram:CountrySubDivisionName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSellerTaxRepresentativeLegalOrganisation - */ public function testSetDocumentSellerTaxRepresentativeLegalOrganisation(): void { (self::$document)->setDocumentSellerTaxRepresentativeLegalOrganisation("DE12345", "FC", "Lieferant AG"); @@ -539,9 +438,6 @@ public function testSetDocumentSellerTaxRepresentativeLegalOrganisation(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName', "Lieferant AG"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSellerTaxRepresentativeContact - */ public function testSetDocumentSellerTaxRepresentativeContact(): void { (self::$document)->setDocumentSellerTaxRepresentativeContact("Hans Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@lieferant.de"); @@ -561,9 +457,6 @@ public function testSetDocumentSellerTaxRepresentativeContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentSellerTaxRepresentativeContact - */ public function testAddDocumentSellerTaxRepresentativeContact(): void { $this->disableRenderXmlContent(); @@ -597,9 +490,6 @@ public function testAddDocumentSellerTaxRepresentativeContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 2); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentProductEndUser - */ public function testSetDocumentProductEndUser(): void { (self::$document)->setDocumentProductEndUser("Kunden AG Mitte", "549910"); @@ -609,9 +499,6 @@ public function testSetDocumentProductEndUser(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:Name', "Kunden AG Mitte"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentProductEndUserGlobalId - */ public function testAddDocumentProductEndUserGlobalId(): void { (self::$document)->addDocumentProductEndUserGlobalId("4000001123452", "0088"); @@ -620,9 +507,6 @@ public function testAddDocumentProductEndUserGlobalId(): void $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:GlobalID', 0, "4000001123452", "schemeID", "0088"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentProductEndUserTaxRegistration - */ public function testAddDocumentProductEndUserTaxRegistration(): void { (self::$document)->addDocumentProductEndUserTaxRegistration("FC", "201/113/40209"); @@ -633,9 +517,6 @@ public function testAddDocumentProductEndUserTaxRegistration(): void $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:SpecifiedTaxRegistration/ram:ID', 1, "DE123456789", "schemeID", "VA"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentProductEndUserAddress - */ public function testSetDocumentProductEndUserAddress(): void { (self::$document)->setDocumentProductEndUserAddress("Kundenstrasse 15", "", "", "69876", "Frankfurt", "DE"); @@ -650,9 +531,6 @@ public function testSetDocumentProductEndUserAddress(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:PostalTradeAddress/ram:CountrySubDivisionName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentProductEndUserLegalOrganisation - */ public function testSetDocumentProductEndUserLegalOrganisation(): void { (self::$document)->setDocumentProductEndUserLegalOrganisation("DE12345", "FC", "Kunden Holding"); @@ -662,9 +540,6 @@ public function testSetDocumentProductEndUserLegalOrganisation(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName', "Kunden Holding"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentProductEndUserContact - */ public function testSetDocumentProductEndUserContact(): void { (self::$document)->setDocumentProductEndUserContact("Otto Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@kunde.de"); @@ -684,9 +559,6 @@ public function testSetDocumentProductEndUserContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentProductEndUserContact - */ public function testAddDocumentProductEndUserContact(): void { $this->disableRenderXmlContent(); @@ -720,9 +592,6 @@ public function testAddDocumentProductEndUserContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 2); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipTo - */ public function testSetDocumentShipTo(): void { (self::$document)->setDocumentShipTo("Kunden AG Mitte", "549910"); @@ -732,9 +601,6 @@ public function testSetDocumentShipTo(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:Name', "Kunden AG Mitte"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentShipTolId - */ public function testAddDocumentShipTolId(): void { $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:ID', 0, "549910"); @@ -747,9 +613,6 @@ public function testAddDocumentShipTolId(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:ID', 1, "549911"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentShipToGlobalId - */ public function testAddDocumentShipToGlobalId(): void { (self::$document)->addDocumentShipToGlobalId("4000001123452", "0088"); @@ -758,9 +621,6 @@ public function testAddDocumentShipToGlobalId(): void $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:GlobalID', 0, "4000001123452", "schemeID", "0088"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentShipToTaxRegistration - */ public function testAddDocumentShipToTaxRegistration(): void { (self::$document)->addDocumentShipToTaxRegistration("FC", "201/113/40209"); @@ -771,9 +631,6 @@ public function testAddDocumentShipToTaxRegistration(): void $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:SpecifiedTaxRegistration/ram:ID', 1, "DE123456789", "schemeID", "VA"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipToAddress - */ public function testSetDocumentShipToAddress(): void { (self::$document)->setDocumentShipToAddress("Kundenstrasse 15", "", "", "69876", "Frankfurt", "DE"); @@ -788,9 +645,6 @@ public function testSetDocumentShipToAddress(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:PostalTradeAddress/ram:CountrySubDivisionName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipToLegalOrganisation - */ public function testSetDocumentShipToLegalOrganisation(): void { (self::$document)->setDocumentShipToLegalOrganisation("DE12345", "FC", "Kunden Holding"); @@ -800,9 +654,6 @@ public function testSetDocumentShipToLegalOrganisation(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName', "Kunden Holding"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipToContact - */ public function testSetDocumentShipToContact(): void { (self::$document)->setDocumentShipToContact("Otto Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@kunde.de"); @@ -822,9 +673,6 @@ public function testSetDocumentShipToContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentShipToContact - */ public function testAddDocumentShipToContact(): void { $this->disableRenderXmlContent(); @@ -858,9 +706,6 @@ public function testAddDocumentShipToContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 2); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentUltimateShipTo - */ public function testSetDocumentUltimateShipTo(): void { (self::$document)->setDocumentUltimateShipTo("Kunden AG Mitte", "549910"); @@ -870,9 +715,6 @@ public function testSetDocumentUltimateShipTo(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:Name', "Kunden AG Mitte"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentUltimateShipToId - */ public function testAddDocumentUltimateShipToId(): void { $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:ID', 0, "549910"); @@ -885,9 +727,6 @@ public function testAddDocumentUltimateShipToId(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:ID', 1, "549911"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentUltimateShipToGlobalId - */ public function testAddDocumentUltimateShipToGlobalId(): void { (self::$document)->addDocumentUltimateShipToGlobalId("4000001123452", "0088"); @@ -896,9 +735,6 @@ public function testAddDocumentUltimateShipToGlobalId(): void $this->assertXPathValueWithAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:GlobalID', "4000001123452", "schemeID", "0088"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentUltimateShipToTaxRegistration - */ public function testAddDocumentUltimateShipToTaxRegistration(): void { (self::$document)->addDocumentUltimateShipToTaxRegistration("FC", "201/113/40209"); @@ -909,9 +745,6 @@ public function testAddDocumentUltimateShipToTaxRegistration(): void $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:SpecifiedTaxRegistration/ram:ID', 1, "DE123456789", "schemeID", "VA"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentUltimateShipToAddress - */ public function testSetDocumentUltimateShipToAddress(): void { (self::$document)->setDocumentUltimateShipToAddress("Kundenstrasse 15", "", "", "69876", "Frankfurt", "DE"); @@ -926,9 +759,6 @@ public function testSetDocumentUltimateShipToAddress(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:PostalTradeAddress/ram:CountrySubDivisionName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentUltimateShipToLegalOrganisation - */ public function testSetDocumentUltimateShipToLegalOrganisation(): void { (self::$document)->setDocumentUltimateShipToLegalOrganisation("DE12345", "FC", "Kunden Holding"); @@ -938,9 +768,6 @@ public function testSetDocumentUltimateShipToLegalOrganisation(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName', "Kunden Holding"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentUltimateShipToContact - */ public function testSetDocumentUltimateShipToContact(): void { (self::$document)->setDocumentUltimateShipToContact("Otto Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@kunde.de"); @@ -960,9 +787,6 @@ public function testSetDocumentUltimateShipToContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentUltimateShipToContact - */ public function testAddDocumentUltimateShipToContact(): void { $this->disableRenderXmlContent(); @@ -996,9 +820,6 @@ public function testAddDocumentUltimateShipToContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 2); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipFrom - */ public function testSetDocumentShipFrom(): void { (self::$document)->setDocumentShipFrom("Lieferant GmbH", "549910"); @@ -1008,9 +829,6 @@ public function testSetDocumentShipFrom(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:Name', "Lieferant GmbH"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentShipFromId - */ public function testAddDocumentShipFromId(): void { $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:ID', 0, "549910"); @@ -1023,9 +841,6 @@ public function testAddDocumentShipFromId(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:ID', 1, "549911"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentShipFromGlobalId - */ public function testAddDocumentShipFromGlobalId(): void { (self::$document)->addDocumentShipFromGlobalId("4000001123452", "0088"); @@ -1034,9 +849,6 @@ public function testAddDocumentShipFromGlobalId(): void $this->assertXPathValueWithAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:GlobalID', "4000001123452", "schemeID", "0088"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentShipFromTaxRegistration - */ public function testAddDocumentShipFromTaxRegistration(): void { (self::$document)->addDocumentShipFromTaxRegistration("FC", "201/113/40209"); @@ -1047,9 +859,6 @@ public function testAddDocumentShipFromTaxRegistration(): void $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:SpecifiedTaxRegistration/ram:ID', 1, "DE123456789", "schemeID", "VA"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipFromAddress - */ public function testSetDocumentShipFromAddress(): void { (self::$document)->setDocumentShipFromAddress("Lieferantenstraße 20", "", "", "80333", "München", "DE"); @@ -1064,9 +873,6 @@ public function testSetDocumentShipFromAddress(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:PostalTradeAddress/ram:CountrySubDivisionName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipFromLegalOrganisation - */ public function testSetDocumentShipFromLegalOrganisation(): void { (self::$document)->setDocumentShipFromLegalOrganisation("DE12345", "FC", "Lieferant AG"); @@ -1076,9 +882,6 @@ public function testSetDocumentShipFromLegalOrganisation(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName', "Lieferant AG"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipFromContact - */ public function testSetDocumentShipFromContact(): void { (self::$document)->setDocumentShipFromContact("Hans Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@lieferant.de"); @@ -1098,9 +901,6 @@ public function testSetDocumentShipFromContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentShipFromContact - */ public function testAddDocumentShipFromContact(): void { $this->disableRenderXmlContent(); @@ -1134,9 +934,6 @@ public function testAddDocumentShipFromContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 2); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentInvoicer - */ public function testSetDocumentInvoicer(): void { (self::$document)->setDocumentInvoicer("Lieferant GmbH", "549910"); @@ -1146,9 +943,6 @@ public function testSetDocumentInvoicer(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:Name', "Lieferant GmbH"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentInvoicerId - */ public function testAddDocumentInvoicerId(): void { $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:ID', 0, "549910"); @@ -1161,9 +955,6 @@ public function testAddDocumentInvoicerId(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:ID', 1, "549911"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentInvoicerGlobalId - */ public function testAddDocumentInvoicerGlobalId(): void { (self::$document)->addDocumentInvoicerGlobalId("4000001123452", "0088"); @@ -1172,9 +963,6 @@ public function testAddDocumentInvoicerGlobalId(): void $this->assertXPathValueWithAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:GlobalID', "4000001123452", "schemeID", "0088"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentInvoicerTaxRegistration - */ public function testAddDocumentInvoicerTaxRegistration(): void { (self::$document)->addDocumentInvoicerTaxRegistration("FC", "201/113/40209"); @@ -1185,9 +973,6 @@ public function testAddDocumentInvoicerTaxRegistration(): void $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:SpecifiedTaxRegistration/ram:ID', 1, "DE123456789", "schemeID", "VA"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentInvoicerAddress - */ public function testSetDocumentInvoicerAddress(): void { (self::$document)->setDocumentInvoicerAddress("Lieferantenstraße 20", "", "", "80333", "München", "DE"); @@ -1202,9 +987,6 @@ public function testSetDocumentInvoicerAddress(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:PostalTradeAddress/ram:CountrySubDivisionName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentInvoicerLegalOrganisation - */ public function testSetDocumentInvoicerLegalOrganisation(): void { (self::$document)->setDocumentInvoicerLegalOrganisation("DE12345", "FC", "Lieferant AG"); @@ -1214,9 +996,6 @@ public function testSetDocumentInvoicerLegalOrganisation(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName', "Lieferant AG"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentInvoicerContact - */ public function testSetDocumentInvoicerContact(): void { (self::$document)->setDocumentInvoicerContact("Hans Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@lieferant.de"); @@ -1236,9 +1015,6 @@ public function testSetDocumentInvoicerContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentInvoicerContact - */ public function testAddDocumentInvoicerContact(): void { $this->disableRenderXmlContent(); @@ -1272,9 +1048,6 @@ public function testAddDocumentInvoicerContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 2); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentInvoicee - */ public function testSetDocumentInvoicee(): void { (self::$document)->setDocumentInvoicee("Lieferant GmbH", "549910"); @@ -1284,9 +1057,6 @@ public function testSetDocumentInvoicee(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:Name', "Lieferant GmbH"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentInvoiceeId - */ public function testAddDocumentInvoiceeId(): void { $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:ID', 0, "549910"); @@ -1300,9 +1070,6 @@ public function testAddDocumentInvoiceeId(): void } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentInvoiceeGlobalId - */ public function testAddDocumentInvoiceeGlobalId(): void { (self::$document)->addDocumentInvoiceeGlobalId("4000001123452", "0088"); @@ -1312,9 +1079,6 @@ public function testAddDocumentInvoiceeGlobalId(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:GlobalID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentInvoiceeTaxRegistration - */ public function testAddDocumentInvoiceeTaxRegistration(): void { (self::$document)->addDocumentInvoiceeTaxRegistration("FC", "201/113/40209"); @@ -1325,9 +1089,6 @@ public function testAddDocumentInvoiceeTaxRegistration(): void $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:SpecifiedTaxRegistration/ram:ID', 1, "DE123456789", "schemeID", "VA"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentInvoiceeAddress - */ public function testSetDocumentInvoiceeAddress(): void { (self::$document)->setDocumentInvoiceeAddress("Lieferantenstraße 20", "", "", "80333", "München", "DE"); @@ -1342,9 +1103,6 @@ public function testSetDocumentInvoiceeAddress(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:PostalTradeAddress/ram:CountrySubDivisionName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentInvoiceeLegalOrganisation - */ public function testSetDocumentInvoiceeLegalOrganisation(): void { (self::$document)->setDocumentInvoiceeLegalOrganisation("DE12345", "FC", "Lieferant AG"); @@ -1354,9 +1112,6 @@ public function testSetDocumentInvoiceeLegalOrganisation(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName', "Lieferant AG"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentInvoiceeContact - */ public function testSetDocumentInvoiceeContact(): void { (self::$document)->setDocumentInvoiceeContact("Hans Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@lieferant.de"); @@ -1376,9 +1131,6 @@ public function testSetDocumentInvoiceeContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentInvoiceeContact - */ public function testAddDocumentInvoiceeContact(): void { $this->disableRenderXmlContent(); @@ -1412,9 +1164,6 @@ public function testAddDocumentInvoiceeContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 2); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPayee - */ public function testSetDocumentPayee(): void { (self::$document)->setDocumentPayee("Lieferant GmbH", "549910"); @@ -1424,9 +1173,6 @@ public function testSetDocumentPayee(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:Name', "Lieferant GmbH"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPayeeId - */ public function testAddDocumentPayeeId(): void { $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:ID', 0, "549910"); @@ -1439,9 +1185,6 @@ public function testAddDocumentPayeeId(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:ID', 1, "549911"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPayeeGlobalId - */ public function testAddDocumentPayeeGlobalId(): void { (self::$document)->addDocumentPayeeGlobalId("4000001123452", "0088"); @@ -1450,9 +1193,6 @@ public function testAddDocumentPayeeGlobalId(): void $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:GlobalID', 0, "4000001123452", "schemeID", "0088"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPayeeTaxRegistration - */ public function testAddDocumentPayeeTaxRegistration(): void { (self::$document)->addDocumentPayeeTaxRegistration("FC", "201/113/40209"); @@ -1463,9 +1203,6 @@ public function testAddDocumentPayeeTaxRegistration(): void $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:SpecifiedTaxRegistration/ram:ID', 1, "DE123456789", "schemeID", "VA"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPayeeAddress - */ public function testSetDocumentPayeeAddress(): void { (self::$document)->setDocumentPayeeAddress("Lieferantenstraße 20", "", "", "80333", "München", "DE"); @@ -1480,9 +1217,6 @@ public function testSetDocumentPayeeAddress(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:PostalTradeAddress/ram:CountrySubDivisionName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPayeeLegalOrganisation - */ public function testSetDocumentPayeeLegalOrganisation(): void { (self::$document)->setDocumentPayeeLegalOrganisation("DE12345", "FC", "Lieferant AG"); @@ -1492,9 +1226,6 @@ public function testSetDocumentPayeeLegalOrganisation(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName', "Lieferant AG"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPayeeContact - */ public function testSetDocumentPayeeContact(): void { (self::$document)->setDocumentPayeeContact("Hans Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@lieferant.de"); @@ -1514,9 +1245,6 @@ public function testSetDocumentPayeeContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPayeeContact - */ public function testAddDocumentPayeeContact(): void { $this->disableRenderXmlContent(); @@ -1550,9 +1278,6 @@ public function testAddDocumentPayeeContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 2); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentDeliveryTerms - */ public function testSetDocumentDeliveryTerms(): void { (self::$document)->setDocumentDeliveryTerms("term"); @@ -1561,9 +1286,6 @@ public function testSetDocumentDeliveryTerms(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ApplicableTradeDeliveryTerms/ram:DeliveryTypeCode', "term"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSellerOrderReferencedDocument - */ public function testSetDocumentSellerOrderReferencedDocument(): void { (self::$document)->setDocumentSellerOrderReferencedDocument('B-1010', new \DateTime()); @@ -1573,9 +1295,6 @@ public function testSetDocumentSellerOrderReferencedDocument(): void $this->assertXPathValueWithAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerOrderReferencedDocument/ram:FormattedIssueDateTime/a:DateTimeString', (new \DateTime())->format("Ymd"), "format", "102"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentBuyerOrderReferencedDocument - */ public function testSetDocumentBuyerOrderReferencedDocument(): void { (self::$document)->setDocumentBuyerOrderReferencedDocument('O-2020', new \DateTime()); @@ -1585,9 +1304,6 @@ public function testSetDocumentBuyerOrderReferencedDocument(): void $this->assertXPathValueWithAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerOrderReferencedDocument/ram:FormattedIssueDateTime/a:DateTimeString', (new \DateTime())->format("Ymd"), "format", "102"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentContractReferencedDocument - */ public function testSetDocumentContractReferencedDocument(): void { (self::$document)->setDocumentContractReferencedDocument("CON-4711", new \DateTime()); @@ -1597,9 +1313,6 @@ public function testSetDocumentContractReferencedDocument(): void $this->assertXPathValueWithAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ContractReferencedDocument/ram:FormattedIssueDateTime/a:DateTimeString', (new \DateTime())->format("Ymd"), "format", "102"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentAdditionalReferencedDocument - */ public function testAddDocumentAdditionalReferencedDocument(): void { (self::$document)->addDocumentAdditionalReferencedDocument("A-1011", "type", "http://lieferant.de/docs/a1011.pdf", "Leistungsnachweis", "reftype", new \DateTime()); @@ -1620,9 +1333,6 @@ public function testAddDocumentAdditionalReferencedDocument(): void $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument/ram:FormattedIssueDateTime/a:DateTimeString', 1, (new \DateTime())->format("Ymd"), "format", "102"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentAdditionalReferencedDocument - */ public function testAddDocumentAdditionalReferencedDocumentWithAttachment(): void { (self::$document)->addDocumentAdditionalReferencedDocument("A-1011", "type", "http://lieferant.de/docs/a1011.pdf", "Leistungsnachweis", "reftype", new \DateTime(), dirname(__FILE__) . "/../assets/InvalidPDF.pdf"); @@ -1639,9 +1349,6 @@ public function testAddDocumentAdditionalReferencedDocumentWithAttachment(): voi $this->assertXPathValueStartsWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument/ram:AttachmentBinaryObject', 0, "JVBERi0xLjQKJcOkw7zDtsOfC", "filename", "InvalidPDF.pdf"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentInvoiceReferencedDocument - */ public function testSetDocumentInvoiceReferencedDocument(): void { (self::$document)->setDocumentInvoiceReferencedDocument("INV-1", new \DateTime()); @@ -1651,9 +1358,6 @@ public function testSetDocumentInvoiceReferencedDocument(): void $this->assertXPathValueWithAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:FormattedIssueDateTime/a:DateTimeString', (new \DateTime())->format("Ymd"), "format", "102"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentProcuringProject - */ public function testSetDocumentProcuringProject(): void { (self::$document)->setDocumentProcuringProject("HB-8378732", "Hausbau"); @@ -1663,9 +1367,6 @@ public function testSetDocumentProcuringProject(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SpecifiedProcuringProject/ram:Name', "Hausbau"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentUltimateCustomerOrderReferencedDocument - */ public function testAddDocumentUltimateCustomerOrderReferencedDocument(): void { (self::$document)->addDocumentUltimateCustomerOrderReferencedDocument("DOC-11", new \DateTime()); @@ -1678,9 +1379,6 @@ public function testAddDocumentUltimateCustomerOrderReferencedDocument(): void $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:UltimateCustomerOrderReferencedDocument/ram:FormattedIssueDateTime/a:DateTimeString', 1, (new \DateTime())->format("Ymd"), "format", "102"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentDespatchAdviceReferencedDocument - */ public function testSetDocumentDespatchAdviceReferencedDocument(): void { (self::$document)->setDocumentDespatchAdviceReferencedDocument("DADV-001", new \DateTime()); @@ -1690,9 +1388,6 @@ public function testSetDocumentDespatchAdviceReferencedDocument(): void $this->assertXPathValueWithAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:DespatchAdviceReferencedDocument/ram:FormattedIssueDateTime/a:DateTimeString', (new \DateTime())->format("Ymd"), "format", "102"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentReceivingAdviceReferencedDocument - */ public function testSetDocumentReceivingAdviceReferencedDocument(): void { (self::$document)->setDocumentReceivingAdviceReferencedDocument("RADV-002", new \DateTime()); @@ -1702,9 +1397,6 @@ public function testSetDocumentReceivingAdviceReferencedDocument(): void $this->assertXPathValueWithAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ReceivingAdviceReferencedDocument/ram:FormattedIssueDateTime/a:DateTimeString', (new \DateTime())->format("Ymd"), "format", "102"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentDeliveryNoteReferencedDocument - */ public function testSetDocumentDeliveryNoteReferencedDocument(): void { (self::$document)->setDocumentDeliveryNoteReferencedDocument("DNOTE-003", new \DateTime()); @@ -1714,9 +1406,6 @@ public function testSetDocumentDeliveryNoteReferencedDocument(): void $this->assertXPathValueWithAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:DeliveryNoteReferencedDocument/ram:FormattedIssueDateTime/a:DateTimeString', (new \DateTime())->format("Ymd"), "format", "102"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPaymentMean - */ public function testAddDocumentPaymentMean(): void { (self::$document)->addDocumentPaymentMean("42", "Paying information", "cardtype", "cardid", "cardholder", "DE00000000000", "DE11111111111", "Bank", "44444444", "NOLADEQLB21"); @@ -1745,9 +1434,6 @@ public function testAddDocumentPaymentMean(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeeSpecifiedCreditorFinancialInstitution/ram:BICID', 1, "BIC"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPaymentMeanToCreditTransfer - */ public function testAddDocumentPaymentMeanToCreditTransfer(): void { (self::$document)->addDocumentPaymentMeanToCreditTransfer("DE77777777777", "Bank", "55555555", "NOLADEQLB22"); @@ -1775,9 +1461,6 @@ public function testAddDocumentPaymentMeanToCreditTransfer(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeeSpecifiedCreditorFinancialInstitution/ram:BICID', 3); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPaymentMeanToDirectDebit - */ public function testAddDocumentPaymentMeanToDirectDebit(): void { (self::$document)->addDocumentPaymentMeanToDirectDebit("DE8888888888"); @@ -1805,9 +1488,6 @@ public function testAddDocumentPaymentMeanToDirectDebit(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeeSpecifiedCreditorFinancialInstitution/ram:BICID', 4); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentTax - */ public function testAddDocumentTax(): void { (self::$document)->addDocumentTax("S", "VAT", 100.0, 19.0, 19, "exreason", "exreasoncode", 100.0, 1.0, new \DateTime(), "duetypecode"); @@ -1836,9 +1516,6 @@ public function testAddDocumentTax(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax/ram:RateApplicablePercent', 1, "7.0"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentTaxSimple - */ public function testAddDocumentTaxSimple(): void { (self::$document)->addDocumentTaxSimple("S", "VAT", 100.0, 19.0, 19.0); @@ -1855,9 +1532,6 @@ public function testAddDocumentTaxSimple(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax/ram:RateApplicablePercent', 2, "19.0"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentBillingPeriod - */ public function testSetDocumentBillingPeriod(): void { (self::$document)->setDocumentBillingPeriod(new \DateTime(), new \DateTime(), "Project"); @@ -1867,9 +1541,6 @@ public function testSetDocumentBillingPeriod(): void $this->assertXPathValueWithAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:BillingSpecifiedPeriod/ram:EndDateTime/udt:DateTimeString', (new \DateTime())->format("Ymd"), "format", "102"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentAllowanceCharge - */ public function testAddDocumentAllowanceCharge(): void { (self::$document)->addDocumentAllowanceCharge(10.0, false, "S", "VAT", 19.0, 1, 10.0, 100.0, 1, "C62", "reasoncode", "reason"); @@ -1896,9 +1567,6 @@ public function testAddDocumentAllowanceCharge(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeAllowanceCharge/ram:CategoryTradeTax/ram:RateApplicablePercent', 1, "19.0"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentLogisticsServiceCharge - */ public function testAddDocumentLogisticsServiceCharge(): void { (self::$document)->addDocumentLogisticsServiceCharge("Service", 10.0, ["S"], ["VAT"], [19.0]); @@ -1912,10 +1580,6 @@ public function testAddDocumentLogisticsServiceCharge(): void //TODO $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedLogisticsServiceCharge/ram:AppliedTradeTax/ram:RateApplicablePercent', 0); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPaymentTerm - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDiscountTermsToPaymentTerms - */ public function testAddDocumentPaymentTermAndDiscount(): void { (self::$document)->addDocumentPaymentTerm("Payment", new \DateTime(), "mandate"); @@ -1934,9 +1598,6 @@ public function testAddDocumentPaymentTermAndDiscount(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradePaymentTerms/ram:ApplicableTradePaymentDiscountTerms/ram:ActualDiscountAmount', 0, "2.0"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentReceivableSpecifiedTradeAccountingAccount - */ public function testAddDocumentReceivableSpecifiedTradeAccountingAccount(): void { (self::$document)->addDocumentReceivableSpecifiedTradeAccountingAccount("accountid", "typecode"); @@ -1951,9 +1612,6 @@ public function testAddDocumentReceivableSpecifiedTradeAccountingAccount(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradePaymentTerms/ram:ReceivableSpecifiedTradeAccountingAccount/ram:TypeCode', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::InitDocumentSummation - */ public function testInitDocumentSummation(): void { (self::$document)->initDocumentSummation(); @@ -1970,9 +1628,6 @@ public function testInitDocumentSummation(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:DuePayableAmount', 0, "0.0"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::SetDocumentSummation - */ public function testSetDocumentSummation(): void { (self::$document)->setDocumentSummation(100.0, 0.0, 100.0, 5.0, 4.0, 99.0, 10.0, 0.0, 0.0); @@ -1989,52 +1644,11 @@ public function testSetDocumentSummation(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:DuePayableAmount', 0, "0.0"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addNewPosition - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionShipTo - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionShipToGlobalId - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionShipToTaxRegistration - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionShipToAddress - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionShipToLegalOrganisation - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionUltimateShipTo - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionUltimateShipToGlobalId - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionUltimateShipToTaxRegistration - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionUltimateShipToAddress - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionUltimateShipToLegalOrganisation - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionUltimateShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionUltimateShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionSupplyChainEvent - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionReceivableSpecifiedTradeAccountingAccount - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionAdditionalReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionUltimateCustomerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionProductCharacteristic - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionProductClassification - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionProductOriginTradeCountry - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionReferencedProduct - */ public function testPositionMethods(): void { (self::$document)->addNewPosition("1", "linestatuscode", "linestatusreasoncode"); (self::$document)->setDocumentPositionNote("content", "contentcode", "subjectcode"); - (self::$document)->setDocumentPositionProductDetails("Product Name", "Product Description", "SellerID", "BuyerID", "0088", "11111222222"); + (self::$document)->setDocumentPositionProductDetails("Product Name", "Product Description", "SellerID", "BuyerID", "0088", "11111222222", 'IndustryId', 'ModelId', 'BatchId', 'BrandeName', 'ModelName'); (self::$document)->addDocumentPositionProductCharacteristic("attr", "attrvalue", "typecode", 10.2, "C62"); (self::$document)->addDocumentPositionProductClassification("classcode", "classname", "listid", "listversionid"); (self::$document)->setDocumentPositionProductOriginTradeCountry("DE"); @@ -2084,6 +1698,11 @@ public function testPositionMethods(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:BuyerAssignedID', 0, "BuyerID"); //$this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:Name', 0, "Product Mame"); $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:Description', 0, "Product Description"); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:IndustryAssignedID', 0, "IndustryId"); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ModelID', 0, "ModelId"); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:BatchID', 0, "BatchId"); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:BrandName', 0, "BrandeName"); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ModelName', 0, "ModelName"); $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ApplicableProductCharacteristic/ram:Description', 0, "attr"); $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ApplicableProductCharacteristic/ram:Value', 0, "attrvalue"); $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ApplicableProductCharacteristic/ram:TypeCode', 0, "typecode"); @@ -2195,11 +1814,13 @@ public function testPositionMethods(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:SpecifiedTradeSettlementLineMonetarySummation/ram:TotalAllowanceChargeAmount', 0, "10.0"); $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:ReceivableSpecifiedTradeAccountingAccount/ram:ID', 0, "accid"); $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:ReceivableSpecifiedTradeAccountingAccount/ram:TypeCode', 0, "acctypecode"); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:IndustryAssignedID', 0, "IndustryId"); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ModelID', 0, "ModelId"); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:BatchID', 0, "BatchId"); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:BrandName', 0, "BrandeName"); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedTradeProduct/ram:ModelName', 0, "ModelName"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::InitNewDocument - */ public function testInitNewDocument(): void { (self::$document)->InitNewDocument(); @@ -2214,10 +1835,6 @@ public function testInitNewDocument(): void $this->assertXPathExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipTo - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipToContact - */ public function testSetDocumentShipToMultipleContacts(): void { (self::$document)->setDocumentShipTo("Kunden AG Mitte", "549910"); @@ -2245,10 +1862,6 @@ public function testSetDocumentShipToMultipleContacts(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 0, "info@kunde2.de"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipTo - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipToContact - */ public function testSetDocumentShipToMultipleContactsAdd(): void { (self::$document)->setDocumentShipTo("Kunden AG Mitte", "549910"); @@ -2276,9 +1889,6 @@ public function testSetDocumentShipToMultipleContactsAdd(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1, "info@kunde2.de"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::writeFile - */ public function testWriteFile(): void { (self::$document)->writeFile(getcwd() . "/myfile.xml"); @@ -2286,9 +1896,6 @@ public function testWriteFile(): void @unlink(getcwd() . "/myfile.xml"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::__toString - */ public function testToString(): void { $xmlContent = (string)self::$document; @@ -2296,18 +1903,12 @@ public function testToString(): void $this->assertStringStartsWith("\ngetContentAsDomDocument(); $this->assertInstanceOf(\DOMDocument::class, $domDocument); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::getContentAsDomXPath - */ public function testGetContentAsDomXPath(): void { $domXPath = self::$document->getContentAsDomXPath(); diff --git a/tests/testcases/BuilderMinimumTest.php b/tests/testcases/BuilderMinimumTest.php index 35907a80..ca1655a5 100644 --- a/tests/testcases/BuilderMinimumTest.php +++ b/tests/testcases/BuilderMinimumTest.php @@ -26,12 +26,6 @@ public function testDocumentProfile(): void $this->assertNotEquals(ZugferdProfiles::PROFILE_EN16931, self::$document->getProfileId()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::getInvoiceObject - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::getSerializer - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::getObjectHelper - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::getProfileDefinitionParameter - */ public function testDocumentGetters(): void { $this->assertNotNull(self::$document->getInvoiceObject()); @@ -60,24 +54,18 @@ public function testXmlGenerals(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:ExchangedDocumentContext/ram:GuidelineSpecifiedDocumentContextParameter/ram:ID', (self::$document)->getProfileDefinitionParameter("contextparameter")); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentInformation - */ public function testSetDocumentInformation(): void { (self::$document)->setDocumentInformation("471102", "380", DateTime::createFromFormat("Ymd", "20180305"), "EUR"); $this->disableRenderXmlContent(); - $this->debugWriteFile(); + $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:ExchangedDocument/ram:ID', "471102"); $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:ExchangedDocument/ram:TypeCode', "380"); $this->assertXPathValueWithAttribute('/rsm:CrossIndustryInvoice/rsm:ExchangedDocument/ram:IssueDateTime/udt:DateTimeString', "20180305", "format", "102"); $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceCurrencyCode', "EUR"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentBusinessProcess - */ public function testSetDocumentBusinessProcess(): void { $this->disableRenderXmlContent(); @@ -92,9 +80,6 @@ public function testSetDocumentBusinessProcess(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:ExchangedDocumentContext/ram:BusinessProcessSpecifiedDocumentContextParameter/ram:ID', "GENERAL INVOICE"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentGeneralPaymentInformation - */ public function testSetDocumentGeneralPaymentInformation(): void { (self::$document)->setDocumentGeneralPaymentInformation("1111111111", "2222222222"); @@ -104,10 +89,6 @@ public function testSetDocumentGeneralPaymentInformation(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PaymentReference'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setIsDocumentCopy - * @covers \horstoeko\zugferd\jms\ZugferdTypesHandler::serializeIndicatorType - */ public function testSetIsDocumentCopy(): void { (self::$document)->setIsDocumentCopy(); @@ -116,10 +97,6 @@ public function testSetIsDocumentCopy(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:ExchangedDocument/ram:CopyIndicator'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setIsTestDocument - * @covers \horstoeko\zugferd\jms\ZugferdTypesHandler::serializeIndicatorType - */ public function testSetIsTestDocument(): void { (self::$document)->setIsTestDocument(); @@ -128,9 +105,6 @@ public function testSetIsTestDocument(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:ExchangedDocumentContext/ram:TestIndicator/udt:Indicator'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentNote - */ public function testAddDocumentNote(): void { (self::$document)->addDocumentNote('Rechnung gemäß Bestellung vom 01.03.2018.'); @@ -143,9 +117,6 @@ public function testAddDocumentNote(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:ExchangedDocument/ram:IncludedNote/ram:SubjectCode', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSupplyChainEvent - */ public function testSetDocumentSupplyChainEvent(): void { (self::$document)->setDocumentSupplyChainEvent(DateTime::createFromFormat('Ymd', '20180305')); @@ -154,9 +125,6 @@ public function testSetDocumentSupplyChainEvent(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ActualDeliverySupplyChainEvent/ram:OccurrenceDateTime/udt:DateTimeString'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentBuyerReference - */ public function testSetDocumentBuyerReference(): void { (self::$document)->setDocumentBuyerReference("buyerref"); @@ -165,9 +133,6 @@ public function testSetDocumentBuyerReference(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerReference', "buyerref"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSeller - */ public function testSetDocumentSeller(): void { (self::$document)->setDocumentSeller("Lieferant GmbH", "549910"); @@ -189,9 +154,6 @@ public function testSetDocumentSeller(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:Name'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentSellerId - */ public function testAddDocumentSellerId(): void { $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:ID', 0); @@ -204,9 +166,6 @@ public function testAddDocumentSellerId(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:ID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentSellerGlobalId - */ public function testAddDocumentSellerGlobalId(): void { (self::$document)->addDocumentSellerGlobalId("4000001123452", "0088"); @@ -215,9 +174,6 @@ public function testAddDocumentSellerGlobalId(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:GlobalID', 0); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentSellerTaxRegistration - */ public function testAddDocumentSellerTaxRegistration(): void { (self::$document)->addDocumentSellerTaxRegistration("FC", "201/113/40209"); @@ -228,12 +184,9 @@ public function testAddDocumentSellerTaxRegistration(): void $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:SpecifiedTaxRegistration/ram:ID', 1, "DE123456789", "schemeID", "VA"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSellerAddress - */ public function testSetDocumentSellerAddress(): void { - (self::$document)->setDocumentSellerAddress("Lieferantenstraße 20", "", "", "80333", "München", "DE"); + (self::$document)->setDocumentSellerAddress("Lieferantenstraße 20", "Haus A", "Aufgang B", "80333", "München", "DE"); $this->disableRenderXmlContent(); $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:PostalTradeAddress/ram:PostcodeCode'); @@ -245,9 +198,6 @@ public function testSetDocumentSellerAddress(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:PostalTradeAddress/ram:CountrySubDivisionName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSellerLegalOrganisation - */ public function testSetDocumentSellerLegalOrganisation(): void { (self::$document)->setDocumentSellerLegalOrganisation("DE12345", "FC", "Lieferant AG"); @@ -257,9 +207,6 @@ public function testSetDocumentSellerLegalOrganisation(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSellerContact - */ public function testSetDocumentSellerContact(): void { (self::$document)->setDocumentSellerContact("Hans Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@lieferant.de"); @@ -297,9 +244,6 @@ public function testSetDocumentSellerContact(): void (self::$document)->setDocumentSellerContact("Hans Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@lieferant.de"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentSellerContact - */ public function testAddDocumentSellerContact(): void { (self::$document)->addDocumentSellerContact("Hans Meier", "Bank", "+49-111-4444444", "+49-111-5555555", "info@meinseller.de"); @@ -328,9 +272,6 @@ public function testAddDocumentSellerContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSellerCommunication - */ public function testSetDocumentSellerCommunication(): void { (self::$document)->setDocumentSellerCommunication("EM", "seller@email.de"); @@ -340,9 +281,6 @@ public function testSetDocumentSellerCommunication(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:URIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentBuyer - */ public function testSetDocumentBuyer(): void { (self::$document)->setDocumentBuyer("Kunden AG Mitte", "549910"); @@ -352,9 +290,6 @@ public function testSetDocumentBuyer(): void $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:Name', "Kunden AG Mitte"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentBuyerId - */ public function testAddDocumentBuyerId(): void { $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:ID', 0); @@ -367,9 +302,6 @@ public function testAddDocumentBuyerId(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:ID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentBuyerGlobalId - */ public function testAddDocumentBuyerGlobalId(): void { (self::$document)->addDocumentBuyerGlobalId("4000001123452", "0088"); @@ -378,9 +310,6 @@ public function testAddDocumentBuyerGlobalId(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:GlobalID', 0); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentBuyerTaxRegistration - */ public function testAddDocumentBuyerTaxRegistration(): void { (self::$document)->addDocumentBuyerTaxRegistration("FC", "201/113/40209"); @@ -391,9 +320,6 @@ public function testAddDocumentBuyerTaxRegistration(): void $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:SpecifiedTaxRegistration/ram:ID', 1, "DE123456789", "schemeID", "VA"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentBuyerAddress - */ public function testSetDocumentBuyerAddress(): void { (self::$document)->setDocumentBuyerAddress("Kundenstrasse 15", "", "", "69876", "Frankfurt", "DE"); @@ -408,9 +334,6 @@ public function testSetDocumentBuyerAddress(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:PostalTradeAddress/ram:CountrySubDivisionName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentBuyerLegalOrganisation - */ public function testSetDocumentBuyerLegalOrganisation(): void { (self::$document)->setDocumentBuyerLegalOrganisation("DE12345", "FC", "Kunden Holding"); @@ -420,9 +343,6 @@ public function testSetDocumentBuyerLegalOrganisation(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentBuyerContact - */ public function testSetDocumentBuyerContact(): void { (self::$document)->setDocumentBuyerContact("Otto Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@kunde.de"); @@ -442,9 +362,6 @@ public function testSetDocumentBuyerContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentBuyerContact - */ public function testAddDocumentBuyerContact(): void { $this->disableRenderXmlContent(); @@ -471,9 +388,6 @@ public function testAddDocumentBuyerContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentBuyerCommunication - */ public function testSetDocumentBuyerCommunication(): void { (self::$document)->setDocumentBuyerCommunication("EM", "buyer@email.de"); @@ -483,9 +397,6 @@ public function testSetDocumentBuyerCommunication(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:URIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSellerTaxRepresentativeTradeParty - */ public function testSetDocumentSellerTaxRepresentativeTradeParty(): void { (self::$document)->setDocumentSellerTaxRepresentativeTradeParty("Lieferant GmbH", "549910"); @@ -495,9 +406,6 @@ public function testSetDocumentSellerTaxRepresentativeTradeParty(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:Name'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentSellerTaxRepresentativeGlobalId - */ public function testAddDocumentSellerTaxRepresentativeGlobalId(): void { (self::$document)->addDocumentSellerTaxRepresentativeGlobalId("4000001123452", "0088"); @@ -506,9 +414,6 @@ public function testAddDocumentSellerTaxRepresentativeGlobalId(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:GlobalID', 0); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentSellerTaxRepresentativeTaxRegistration - */ public function testAddDocumentSellerTaxRepresentativeTaxRegistration(): void { (self::$document)->addDocumentSellerTaxRepresentativeTaxRegistration("FC", "201/113/40209"); @@ -519,9 +424,6 @@ public function testAddDocumentSellerTaxRepresentativeTaxRegistration(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:SpecifiedTaxRegistration/ram:ID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSellerTaxRepresentativeAddress - */ public function testSetDocumentSellerTaxRepresentativeAddress(): void { (self::$document)->setDocumentSellerTaxRepresentativeAddress("Lieferantenstraße 20", "", "", "80333", "München", "DE"); @@ -536,9 +438,6 @@ public function testSetDocumentSellerTaxRepresentativeAddress(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:PostalTradeAddress/ram:CountrySubDivisionName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSellerTaxRepresentativeLegalOrganisation - */ public function testSetDocumentSellerTaxRepresentativeLegalOrganisation(): void { (self::$document)->setDocumentSellerTaxRepresentativeLegalOrganisation("DE12345", "FC", "Lieferant AG"); @@ -547,9 +446,6 @@ public function testSetDocumentSellerTaxRepresentativeLegalOrganisation(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:SpecifiedLegalOrganization/ram:ID', 0); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSellerTaxRepresentativeContact - */ public function testSetDocumentSellerTaxRepresentativeContact(): void { (self::$document)->setDocumentSellerTaxRepresentativeContact("Hans Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@lieferant.de"); @@ -569,9 +465,6 @@ public function testSetDocumentSellerTaxRepresentativeContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentSellerTaxRepresentativeContact - */ public function testAddDocumentSellerTaxRepresentativeContact(): void { $this->disableRenderXmlContent(); @@ -598,9 +491,6 @@ public function testAddDocumentSellerTaxRepresentativeContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentProductEndUser - */ public function testSetDocumentProductEndUser(): void { (self::$document)->setDocumentProductEndUser("Kunden AG Mitte", "549910"); @@ -610,9 +500,6 @@ public function testSetDocumentProductEndUser(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:Name'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentProductEndUserGlobalId - */ public function testAddDocumentProductEndUserGlobalId(): void { (self::$document)->addDocumentProductEndUserGlobalId("4000001123452", "0088"); @@ -621,9 +508,6 @@ public function testAddDocumentProductEndUserGlobalId(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:GlobalID'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentProductEndUserTaxRegistration - */ public function testAddDocumentProductEndUserTaxRegistration(): void { (self::$document)->addDocumentProductEndUserTaxRegistration("FC", "201/113/40209"); @@ -634,9 +518,6 @@ public function testAddDocumentProductEndUserTaxRegistration(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:SpecifiedTaxRegistration/ram:ID'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentProductEndUserAddress - */ public function testSetDocumentProductEndUserAddress(): void { (self::$document)->setDocumentProductEndUserAddress("Kundenstrasse 15", "", "", "69876", "Frankfurt", "DE"); @@ -651,9 +532,6 @@ public function testSetDocumentProductEndUserAddress(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:PostalTradeAddress/ram:CountrySubDivisionName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentProductEndUserLegalOrganisation - */ public function testSetDocumentProductEndUserLegalOrganisation(): void { (self::$document)->setDocumentProductEndUserLegalOrganisation("DE12345", "FC", "Kunden Holding"); @@ -663,9 +541,6 @@ public function testSetDocumentProductEndUserLegalOrganisation(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentProductEndUserContact - */ public function testSetDocumentProductEndUserContact(): void { (self::$document)->setDocumentProductEndUserContact("Otto Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@kunde.de"); @@ -685,9 +560,6 @@ public function testSetDocumentProductEndUserContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentProductEndUserContact - */ public function testAddDocumentProductEndUserContact(): void { $this->disableRenderXmlContent(); @@ -714,9 +586,6 @@ public function testAddDocumentProductEndUserContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ProductEndUserTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipTo - */ public function testSetDocumentShipTo(): void { (self::$document)->setDocumentShipTo("Kunden AG Mitte", "549910"); @@ -726,9 +595,6 @@ public function testSetDocumentShipTo(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:Name'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentShipToGlobalId - */ public function testAddDocumentShipToGlobalId(): void { (self::$document)->addDocumentShipToGlobalId("4000001123452", "0088"); @@ -737,9 +603,6 @@ public function testAddDocumentShipToGlobalId(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:GlobalID', 0); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentShipTolId - */ public function testAddDocumentShipTolId(): void { $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:ID', 0); @@ -752,9 +615,6 @@ public function testAddDocumentShipTolId(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:ID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentShipToTaxRegistration - */ public function testAddDocumentShipToTaxRegistration(): void { (self::$document)->addDocumentShipToTaxRegistration("FC", "201/113/40209"); @@ -765,9 +625,6 @@ public function testAddDocumentShipToTaxRegistration(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:SpecifiedTaxRegistration/ram:ID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipToAddress - */ public function testSetDocumentShipToAddress(): void { (self::$document)->setDocumentShipToAddress("Kundenstrasse 15", "", "", "69876", "Frankfurt", "DE"); @@ -782,9 +639,6 @@ public function testSetDocumentShipToAddress(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:PostalTradeAddress/ram:CountrySubDivisionName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipToLegalOrganisation - */ public function testSetDocumentShipToLegalOrganisation(): void { (self::$document)->setDocumentShipToLegalOrganisation("DE12345", "FC", "Kunden Holding"); @@ -793,9 +647,6 @@ public function testSetDocumentShipToLegalOrganisation(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:SpecifiedLegalOrganization/ram:ID', 0); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipToContact - */ public function testSetDocumentShipToContact(): void { (self::$document)->setDocumentShipToContact("Otto Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@kunde.de"); @@ -815,9 +666,6 @@ public function testSetDocumentShipToContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentShipToContact - */ public function testAddDocumentShipToContact(): void { $this->disableRenderXmlContent(); @@ -844,9 +692,6 @@ public function testAddDocumentShipToContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentUltimateShipTo - */ public function testSetDocumentUltimateShipTo(): void { (self::$document)->setDocumentUltimateShipTo("Kunden AG Mitte", "549910"); @@ -856,9 +701,6 @@ public function testSetDocumentUltimateShipTo(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:Name'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentUltimateShipToId - */ public function testAddDocumentUltimateShipToId(): void { $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:ID', 0); @@ -871,9 +713,6 @@ public function testAddDocumentUltimateShipToId(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:ID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentUltimateShipToGlobalId - */ public function testAddDocumentUltimateShipToGlobalId(): void { (self::$document)->addDocumentUltimateShipToGlobalId("4000001123452", "0088"); @@ -882,9 +721,6 @@ public function testAddDocumentUltimateShipToGlobalId(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:GlobalID'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentUltimateShipToTaxRegistration - */ public function testAddDocumentUltimateShipToTaxRegistration(): void { (self::$document)->addDocumentUltimateShipToTaxRegistration("FC", "201/113/40209"); @@ -895,9 +731,6 @@ public function testAddDocumentUltimateShipToTaxRegistration(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:SpecifiedTaxRegistration/ram:ID'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentUltimateShipToAddress - */ public function testSetDocumentUltimateShipToAddress(): void { (self::$document)->setDocumentUltimateShipToAddress("Kundenstrasse 15", "", "", "69876", "Frankfurt", "DE"); @@ -912,9 +745,6 @@ public function testSetDocumentUltimateShipToAddress(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:PostalTradeAddress/ram:CountrySubDivisionName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentUltimateShipToLegalOrganisation - */ public function testSetDocumentUltimateShipToLegalOrganisation(): void { (self::$document)->setDocumentUltimateShipToLegalOrganisation("DE12345", "FC", "Kunden Holding"); @@ -924,9 +754,6 @@ public function testSetDocumentUltimateShipToLegalOrganisation(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentUltimateShipToContact - */ public function testSetDocumentUltimateShipToContact(): void { (self::$document)->setDocumentUltimateShipToContact("Otto Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@kunde.de"); @@ -946,9 +773,6 @@ public function testSetDocumentUltimateShipToContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentUltimateShipToContact - */ public function testAddDocumentUltimateShipToContact(): void { $this->disableRenderXmlContent(); @@ -975,9 +799,6 @@ public function testAddDocumentUltimateShipToContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:UltimateShipToTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipFrom - */ public function testSetDocumentShipFrom(): void { (self::$document)->setDocumentShipFrom("Lieferant GmbH", "549910"); @@ -987,9 +808,6 @@ public function testSetDocumentShipFrom(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:Name'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentShipFromId - */ public function testAddDocumentShipFromId(): void { $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:ID', 0); @@ -1002,9 +820,6 @@ public function testAddDocumentShipFromId(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:ID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentShipFromGlobalId - */ public function testAddDocumentShipFromGlobalId(): void { (self::$document)->addDocumentShipFromGlobalId("4000001123452", "0088"); @@ -1013,9 +828,6 @@ public function testAddDocumentShipFromGlobalId(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:GlobalID'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentShipFromTaxRegistration - */ public function testAddDocumentShipFromTaxRegistration(): void { (self::$document)->addDocumentShipFromTaxRegistration("FC", "201/113/40209"); @@ -1026,9 +838,6 @@ public function testAddDocumentShipFromTaxRegistration(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:SpecifiedTaxRegistration/ram:ID'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipFromAddress - */ public function testSetDocumentShipFromAddress(): void { (self::$document)->setDocumentShipFromAddress("Lieferantenstraße 20", "", "", "80333", "München", "DE"); @@ -1043,9 +852,6 @@ public function testSetDocumentShipFromAddress(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:PostalTradeAddress/ram:CountrySubDivisionName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipFromLegalOrganisation - */ public function testSetDocumentShipFromLegalOrganisation(): void { (self::$document)->setDocumentShipFromLegalOrganisation("DE12345", "FC", "Lieferant AG"); @@ -1055,9 +861,6 @@ public function testSetDocumentShipFromLegalOrganisation(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipFromContact - */ public function testSetDocumentShipFromContact(): void { (self::$document)->setDocumentShipFromContact("Hans Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@lieferant.de"); @@ -1077,9 +880,6 @@ public function testSetDocumentShipFromContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentShipFromContact - */ public function testAddDocumentShipFromContact(): void { $this->disableRenderXmlContent(); @@ -1106,9 +906,6 @@ public function testAddDocumentShipFromContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipFromTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentInvoicer - */ public function testSetDocumentInvoicer(): void { (self::$document)->setDocumentInvoicer("Lieferant GmbH", "549910"); @@ -1118,9 +915,6 @@ public function testSetDocumentInvoicer(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:Name'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentInvoicerId - */ public function testAddDocumentInvoicerId(): void { $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:ID', 0); @@ -1133,9 +927,6 @@ public function testAddDocumentInvoicerId(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:ID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentInvoicerGlobalId - */ public function testAddDocumentInvoicerGlobalId(): void { (self::$document)->addDocumentInvoicerGlobalId("4000001123452", "0088"); @@ -1144,9 +935,6 @@ public function testAddDocumentInvoicerGlobalId(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:GlobalID'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentInvoicerTaxRegistration - */ public function testAddDocumentInvoicerTaxRegistration(): void { (self::$document)->addDocumentInvoicerTaxRegistration("FC", "201/113/40209"); @@ -1157,9 +945,6 @@ public function testAddDocumentInvoicerTaxRegistration(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:SpecifiedTaxRegistration/ram:ID'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentInvoicerAddress - */ public function testSetDocumentInvoicerAddress(): void { (self::$document)->setDocumentInvoicerAddress("Lieferantenstraße 20", "", "", "80333", "München", "DE"); @@ -1174,9 +959,6 @@ public function testSetDocumentInvoicerAddress(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:PostalTradeAddress/ram:CountrySubDivisionName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentInvoicerLegalOrganisation - */ public function testSetDocumentInvoicerLegalOrganisation(): void { (self::$document)->setDocumentInvoicerLegalOrganisation("DE12345", "FC", "Lieferant AG"); @@ -1186,9 +968,6 @@ public function testSetDocumentInvoicerLegalOrganisation(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentInvoicerContact - */ public function testSetDocumentInvoicerContact(): void { (self::$document)->setDocumentInvoicerContact("Hans Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@lieferant.de"); @@ -1208,9 +987,6 @@ public function testSetDocumentInvoicerContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentInvoicerContact - */ public function testAddDocumentInvoicerContact(): void { $this->disableRenderXmlContent(); @@ -1244,9 +1020,6 @@ public function testAddDocumentInvoicerContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoicerTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 2); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentInvoicee - */ public function testSetDocumentInvoicee(): void { (self::$document)->setDocumentInvoicee("Lieferant GmbH", "549910"); @@ -1256,9 +1029,6 @@ public function testSetDocumentInvoicee(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:Name'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentInvoiceeGlobalId - */ public function testAddDocumentInvoiceeGlobalId(): void { (self::$document)->addDocumentInvoiceeGlobalId("4000001123452", "0088"); @@ -1267,9 +1037,6 @@ public function testAddDocumentInvoiceeGlobalId(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:GlobalID'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentInvoiceeId - */ public function testAddDocumentInvoiceeId(): void { $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:ID', 0); @@ -1282,9 +1049,6 @@ public function testAddDocumentInvoiceeId(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:ID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentInvoiceeTaxRegistration - */ public function testAddDocumentInvoiceeTaxRegistration(): void { (self::$document)->addDocumentInvoiceeTaxRegistration("FC", "201/113/40209"); @@ -1295,9 +1059,6 @@ public function testAddDocumentInvoiceeTaxRegistration(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:SpecifiedTaxRegistration/ram:ID'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentInvoiceeAddress - */ public function testSetDocumentInvoiceeAddress(): void { (self::$document)->setDocumentInvoiceeAddress("Lieferantenstraße 20", "", "", "80333", "München", "DE"); @@ -1312,9 +1073,6 @@ public function testSetDocumentInvoiceeAddress(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:PostalTradeAddress/ram:CountrySubDivisionName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentInvoiceeLegalOrganisation - */ public function testSetDocumentInvoiceeLegalOrganisation(): void { (self::$document)->setDocumentInvoiceeLegalOrganisation("DE12345", "FC", "Lieferant AG"); @@ -1324,9 +1082,6 @@ public function testSetDocumentInvoiceeLegalOrganisation(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:SpecifiedLegalOrganization/ram:TradingBusinessName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentInvoiceeContact - */ public function testSetDocumentInvoiceeContact(): void { (self::$document)->setDocumentInvoiceeContact("Hans Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@lieferant.de"); @@ -1346,9 +1101,6 @@ public function testSetDocumentInvoiceeContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentInvoiceeContact - */ public function testAddDocumentInvoiceeContact(): void { $this->disableRenderXmlContent(); @@ -1375,9 +1127,6 @@ public function testAddDocumentInvoiceeContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceeTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPayee - */ public function testSetDocumentPayee(): void { (self::$document)->setDocumentPayee("Lieferant GmbH", "549910"); @@ -1387,9 +1136,6 @@ public function testSetDocumentPayee(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:Name'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPayeeId - */ public function testAddDocumentPayeeId(): void { $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:ID', 0); @@ -1402,9 +1148,6 @@ public function testAddDocumentPayeeId(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:ID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPayeeGlobalId - */ public function testAddDocumentPayeeGlobalId(): void { (self::$document)->addDocumentPayeeGlobalId("4000001123452", "0088"); @@ -1413,9 +1156,6 @@ public function testAddDocumentPayeeGlobalId(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:GlobalID', 0); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPayeeTaxRegistration - */ public function testAddDocumentPayeeTaxRegistration(): void { (self::$document)->addDocumentPayeeTaxRegistration("FC", "201/113/40209"); @@ -1426,9 +1166,6 @@ public function testAddDocumentPayeeTaxRegistration(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:SpecifiedTaxRegistration/ram:ID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPayeeAddress - */ public function testSetDocumentPayeeAddress(): void { (self::$document)->setDocumentPayeeAddress("Lieferantenstraße 20", "", "", "80333", "München", "DE"); @@ -1443,9 +1180,6 @@ public function testSetDocumentPayeeAddress(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:PostalTradeAddress/ram:CountrySubDivisionName'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPayeeLegalOrganisation - */ public function testSetDocumentPayeeLegalOrganisation(): void { (self::$document)->setDocumentPayeeLegalOrganisation("DE12345", "FC", "Lieferant AG"); @@ -1454,9 +1188,6 @@ public function testSetDocumentPayeeLegalOrganisation(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:SpecifiedLegalOrganization/ram:ID', 0); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPayeeContact - */ public function testSetDocumentPayeeContact(): void { (self::$document)->setDocumentPayeeContact("Hans Müller", "Financials", "+49-111-2222222", "+49-111-3333333", "info@lieferant.de"); @@ -1476,9 +1207,6 @@ public function testSetDocumentPayeeContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPayeeContact - */ public function testAddDocumentPayeeContact(): void { $this->disableRenderXmlContent(); @@ -1505,9 +1233,6 @@ public function testAddDocumentPayeeContact(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:PayeeTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentDeliveryTerms - */ public function testSetDocumentDeliveryTerms(): void { (self::$document)->setDocumentDeliveryTerms("term"); @@ -1516,9 +1241,6 @@ public function testSetDocumentDeliveryTerms(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ApplicableTradeDeliveryTerms/ram:DeliveryTypeCode'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentSellerOrderReferencedDocument - */ public function testSetDocumentSellerOrderReferencedDocument(): void { (self::$document)->setDocumentSellerOrderReferencedDocument('B-1010', new DateTime()); @@ -1528,9 +1250,6 @@ public function testSetDocumentSellerOrderReferencedDocument(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerOrderReferencedDocument/ram:FormattedIssueDateTime/ram:DateTimeString'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentBuyerOrderReferencedDocument - */ public function testSetDocumentBuyerOrderReferencedDocument(): void { (self::$document)->setDocumentBuyerOrderReferencedDocument('O-2020', new DateTime()); @@ -1540,9 +1259,6 @@ public function testSetDocumentBuyerOrderReferencedDocument(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerOrderReferencedDocument/ram:FormattedIssueDateTime/ram:DateTimeString'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentContractReferencedDocument - */ public function testSetDocumentContractReferencedDocument(): void { (self::$document)->setDocumentContractReferencedDocument("CON-4711", new DateTime()); @@ -1552,9 +1268,6 @@ public function testSetDocumentContractReferencedDocument(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ContractReferencedDocument/ram:FormattedIssueDateTime/ram:DateTimeString'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentAdditionalReferencedDocument - */ public function testAddDocumentAdditionalReferencedDocument(): void { (self::$document)->addDocumentAdditionalReferencedDocument("A-1011", "type", "http://lieferant.de/docs/a1011.pdf", "Leistungsnachweis", "reftype", new DateTime()); @@ -1575,9 +1288,6 @@ public function testAddDocumentAdditionalReferencedDocument(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument/ram:FormattedIssueDateTime/a:DateTimeString', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentAdditionalReferencedDocument - */ public function testAddDocumentAdditionalReferencedDocumentWithAttachment(): void { (self::$document)->addDocumentAdditionalReferencedDocument("A-1011", "type", "http://lieferant.de/docs/a1011.pdf", "Leistungsnachweis", "reftype", new DateTime(), dirname(__FILE__) . "/../assets/InvalidPDF.pdf"); @@ -1592,9 +1302,6 @@ public function testAddDocumentAdditionalReferencedDocumentWithAttachment(): voi $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument/ram:AttachmentBinaryObject', 0); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentInvoiceReferencedDocument - */ public function testSetDocumentInvoiceReferencedDocument(): void { (self::$document)->setDocumentInvoiceReferencedDocument("INV-1", new DateTime()); @@ -1604,9 +1311,6 @@ public function testSetDocumentInvoiceReferencedDocument(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:FormattedIssueDateTime/a:DateTimeString'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentProcuringProject - */ public function testSetDocumentProcuringProject(): void { (self::$document)->setDocumentProcuringProject("HB-8378732", "Hausbau"); @@ -1616,9 +1320,6 @@ public function testSetDocumentProcuringProject(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SpecifiedProcuringProject/ram:Name'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentUltimateCustomerOrderReferencedDocument - */ public function testAddDocumentUltimateCustomerOrderReferencedDocument(): void { (self::$document)->addDocumentUltimateCustomerOrderReferencedDocument("DOC-11", new DateTime()); @@ -1629,9 +1330,6 @@ public function testAddDocumentUltimateCustomerOrderReferencedDocument(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:UltimateCustomerOrderReferencedDocument/ram:FormattedIssueDateTime/a:DateTimeString'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentDespatchAdviceReferencedDocument - */ public function testSetDocumentDespatchAdviceReferencedDocument(): void { (self::$document)->setDocumentDespatchAdviceReferencedDocument("DADV-001", new DateTime()); @@ -1640,9 +1338,6 @@ public function testSetDocumentDespatchAdviceReferencedDocument(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:DespatchAdviceReferencedDocument/ram:IssuerAssignedID'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentReceivingAdviceReferencedDocument - */ public function testSetDocumentReceivingAdviceReferencedDocument(): void { (self::$document)->setDocumentReceivingAdviceReferencedDocument("RADV-002", new DateTime()); @@ -1651,9 +1346,6 @@ public function testSetDocumentReceivingAdviceReferencedDocument(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ReceivingAdviceReferencedDocument/ram:IssuerAssignedID'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentDeliveryNoteReferencedDocument - */ public function testSetDocumentDeliveryNoteReferencedDocument(): void { (self::$document)->setDocumentDeliveryNoteReferencedDocument("DNOTE-003", new DateTime()); @@ -1663,9 +1355,6 @@ public function testSetDocumentDeliveryNoteReferencedDocument(): void $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:DeliveryNoteReferencedDocument/ram:FormattedIssueDateTime/a:DateTimeString'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPaymentMean - */ public function testAddDocumentPaymentMean(): void { (self::$document)->addDocumentPaymentMean("42", "Paying information", "cardtype", "cardid", "cardholder", "DE00000000000", "DE11111111111", "Bank", "44444444", "NOLADEQLB21"); @@ -1693,9 +1382,6 @@ public function testAddDocumentPaymentMean(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeeSpecifiedCreditorFinancialInstitution/ram:BICID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPaymentMeanToCreditTransfer - */ public function testAddDocumentPaymentMeanToCreditTransfer(): void { (self::$document)->addDocumentPaymentMeanToCreditTransfer("DE77777777777", "Bank", "55555555", "NOLADEQLB22"); @@ -1723,9 +1409,6 @@ public function testAddDocumentPaymentMeanToCreditTransfer(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeeSpecifiedCreditorFinancialInstitution/ram:BICID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPaymentMeanToDirectDebit - */ public function testAddDocumentPaymentMeanToDirectDebit(): void { (self::$document)->addDocumentPaymentMeanToDirectDebit("DE8888888888"); @@ -1753,9 +1436,6 @@ public function testAddDocumentPaymentMeanToDirectDebit(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeeSpecifiedCreditorFinancialInstitution/ram:BICID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPaymentMeanToPaymentCard - */ public function testAddDocumentPaymentMeanToPaymentCard(): void { (self::$document)->addDocumentPaymentMeanToPaymentCard("cardtype", "cardid", "cardholder"); @@ -1783,9 +1463,6 @@ public function testAddDocumentPaymentMeanToPaymentCard(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeeSpecifiedCreditorFinancialInstitution/ram:BICID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPaymentMean - */ public function testAddDocumentPaymentMeanLastMustBeSet(): void { (self::$document)->addDocumentPaymentMean("42", "Paying information", "cardtype", "cardid", "cardholder", "DE00000000000", "DE11111111111", "Bank", "44444444", "NOLADEQLB21"); @@ -1804,9 +1481,6 @@ public function testAddDocumentPaymentMeanLastMustBeSet(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans/ram:PayeeSpecifiedCreditorFinancialInstitution/ram:BICID', 0); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentTax - */ public function testAddDocumentTax(): void { (self::$document)->addDocumentTax("S", "VAT", 100.0, 19.0, 19, "exreason", "exreasoncode", 100.0, 1.0, new DateTime(), "duetypecode"); @@ -1835,9 +1509,6 @@ public function testAddDocumentTax(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax/ram:RateApplicablePercent', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentTaxSimple - */ public function testAddDocumentTaxSimple(): void { (self::$document)->addDocumentTaxSimple("S", "VAT", 100.0, 19.0, 19.0); @@ -1854,9 +1525,6 @@ public function testAddDocumentTaxSimple(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax/ram:RateApplicablePercent', 2); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentBillingPeriod - */ public function testSetDocumentBillingPeriod(): void { (self::$document)->setDocumentBillingPeriod(new DateTime(), new DateTime(), "Project"); @@ -1866,9 +1534,6 @@ public function testSetDocumentBillingPeriod(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:BillingSpecifiedPeriod/ram:EndDateTime/udt:DateTimeString', 0); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentAllowanceCharge - */ public function testAddDocumentAllowanceCharge(): void { (self::$document)->addDocumentAllowanceCharge(10.0, false, "S", "VAT", 19.0, 1, 10.0, 100.0, 1, "C62", "reasoncode", "reason"); @@ -1895,9 +1560,6 @@ public function testAddDocumentAllowanceCharge(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeAllowanceCharge/ram:CategoryTradeTax/ram:RateApplicablePercent', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentLogisticsServiceCharge - */ public function testAddDocumentLogisticsServiceCharge(): void { (self::$document)->addDocumentLogisticsServiceCharge("Service", 10.0, ["S"], ["VAT"], [19.0]); @@ -1910,10 +1572,6 @@ public function testAddDocumentLogisticsServiceCharge(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedLogisticsServiceCharge/ram:AppliedTradeTax/ram:RateApplicablePercent', 0); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPaymentTerm - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDiscountTermsToPaymentTerms - */ public function testAddDocumentPaymentTermAndDiscount(): void { (self::$document)->addDocumentPaymentTerm("Payment", new DateTime(), "mandate"); @@ -1932,9 +1590,6 @@ public function testAddDocumentPaymentTermAndDiscount(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradePaymentTerms/ram:ApplicableTradePaymentDiscountTerms/ram:ActualDiscountAmount', 0); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentReceivableSpecifiedTradeAccountingAccount - */ public function testAddDocumentReceivableSpecifiedTradeAccountingAccount(): void { (self::$document)->addDocumentReceivableSpecifiedTradeAccountingAccount("accountid", "typecode"); @@ -1949,9 +1604,6 @@ public function testAddDocumentReceivableSpecifiedTradeAccountingAccount(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradePaymentTerms/ram:ReceivableSpecifiedTradeAccountingAccount/ram:TypeCode', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::InitDocumentSummation - */ public function testInitDocumentSummation(): void { (self::$document)->initDocumentSummation(); @@ -1968,9 +1620,6 @@ public function testInitDocumentSummation(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:DuePayableAmount', 0, "0.0"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::SetDocumentSummation - */ public function testSetDocumentSummation(): void { (self::$document)->setDocumentSummation(100.0, 0.0, 100.0, 5.0, 4.0, 99.0, 10.0, 0.0, 0.0); @@ -1987,46 +1636,6 @@ public function testSetDocumentSummation(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:DuePayableAmount', 0, "0.0"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addNewPosition - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionShipTo - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionShipToGlobalId - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionShipToTaxRegistration - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionShipToAddress - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionShipToLegalOrganisation - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionUltimateShipTo - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionUltimateShipToGlobalId - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionUltimateShipToTaxRegistration - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionUltimateShipToAddress - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionUltimateShipToLegalOrganisation - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionUltimateShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionUltimateShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionSupplyChainEvent - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionReceivableSpecifiedTradeAccountingAccount - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionAdditionalReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionUltimateCustomerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionProductCharacteristic - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::addDocumentPositionProductClassification - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentPositionProductOriginTradeCountry - */ public function testPositionMethods(): void { (self::$document)->addNewPosition("1", "linestatuscode", "linestatusreasoncode"); @@ -2194,9 +1803,6 @@ public function testPositionMethods(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:ReceivableSpecifiedTradeAccountingAccount/ram:TypeCode', 0); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::InitNewDocument - */ public function testInitNewDocument(): void { (self::$document)->InitNewDocument(); @@ -2212,10 +1818,6 @@ public function testInitNewDocument(): void $this->assertXPathExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement'); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipTo - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipToContact - */ public function testSetDocumentShipToMultipleContacts(): void { (self::$document)->setDocumentShipTo("Kunden AG Mitte", "549910"); @@ -2243,10 +1845,6 @@ public function testSetDocumentShipToMultipleContacts(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 0); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipTo - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::setDocumentShipToContact - */ public function testSetDocumentShipToMultipleContactsAdd(): void { (self::$document)->setDocumentShipTo("Kunden AG Mitte", "549910"); @@ -2274,9 +1872,6 @@ public function testSetDocumentShipToMultipleContactsAdd(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ram:ShipToTradeParty/ram:DefinedTradeContact/ram:EmailURIUniversalCommunication/ram:URIID', 1); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::writeFile - */ public function testWriteFile(): void { (self::$document)->writeFile(getcwd() . "/myfile.xml"); @@ -2284,9 +1879,6 @@ public function testWriteFile(): void @unlink(getcwd() . "/myfile.xml"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::__toString - */ public function testToString(): void { $xmlContent = (string)self::$document; @@ -2294,18 +1886,12 @@ public function testToString(): void $this->assertStringStartsWith("\ngetContentAsDomDocument(); $this->assertInstanceOf(\DOMDocument::class, $domDocument); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::getContentAsDomXPath - */ public function testGetContentAsDomXPath(): void { $domXPath = self::$document->getContentAsDomXPath(); diff --git a/tests/testcases/DocumentTest.php b/tests/testcases/DocumentTest.php index 8ab8d1d3..c37a9914 100644 --- a/tests/testcases/DocumentTest.php +++ b/tests/testcases/DocumentTest.php @@ -10,9 +10,6 @@ class DocumentTest extends TestCase { - /** - * @covers \horstoeko\zugferd\ZugferdDocument::__construct - */ public function testDocumentCreationMinimum(): void { $doc = ZugferdDocumentBuilder::createNew(ZugferdProfiles::PROFILE_MINIMUM); @@ -24,9 +21,6 @@ public function testDocumentCreationMinimum(): void $this->assertEquals("minimum", $doc->getProfileDefinitionParameter("name")); } - /** - * @covers \horstoeko\zugferd\ZugferdDocument::__construct - */ public function testDocumentCreationBasic(): void { $doc = ZugferdDocumentBuilder::createNew(ZugferdProfiles::PROFILE_BASIC); @@ -38,9 +32,6 @@ public function testDocumentCreationBasic(): void $this->assertEquals("basic", $doc->getProfileDefinitionParameter("name")); } - /** - * @covers \horstoeko\zugferd\ZugferdDocument::__construct - */ public function testDocumentCreationBasicWl(): void { $doc = ZugferdDocumentBuilder::createNew(ZugferdProfiles::PROFILE_BASICWL); @@ -52,9 +43,6 @@ public function testDocumentCreationBasicWl(): void $this->assertEquals("basicwl", $doc->getProfileDefinitionParameter("name")); } - /** - * @covers \horstoeko\zugferd\ZugferdDocument::__construct - */ public function testDocumentCreationEn16931(): void { $doc = ZugferdDocumentBuilder::createNew(ZugferdProfiles::PROFILE_EN16931); @@ -66,9 +54,6 @@ public function testDocumentCreationEn16931(): void $this->assertEquals("en16931", $doc->getProfileDefinitionParameter("name")); } - /** - * @covers \horstoeko\zugferd\ZugferdDocument::__construct - */ public function testDocumentCreationExtended(): void { $doc = ZugferdDocumentBuilder::createNew(ZugferdProfiles::PROFILE_EXTENDED); @@ -80,10 +65,6 @@ public function testDocumentCreationExtended(): void $this->assertEquals("extended", $doc->getProfileDefinitionParameter("name")); } - /** - * @covers \horstoeko\zugferd\ZugferdDocument::__construct - * @covers \horstoeko\zugferd\ZugferdDocument::initSerialzer() - */ public function testDocumentInternals(): void { $doc = ZugferdDocumentBuilder::createNew(ZugferdProfiles::PROFILE_EXTENDED); @@ -97,11 +78,6 @@ public function testDocumentInternals(): void $this->assertNotNull($property->getValue($doc)); } - /** - * @covers \horstoeko\zugferd\ZugferdDocument::getInvoiceObject - * @covers \horstoeko\zugferd\ZugferdDocument::getSerializer - * @covers \horstoeko\zugferd\ZugferdDocument::getObjectHelper - */ public function testDocumentGetters(): void { $doc = ZugferdDocumentBuilder::createNew(ZugferdProfiles::PROFILE_EXTENDED); diff --git a/tests/testcases/JsonExporterTest.php b/tests/testcases/JsonExporterTest.php index dd5d5a52..f05a10b6 100644 --- a/tests/testcases/JsonExporterTest.php +++ b/tests/testcases/JsonExporterTest.php @@ -18,9 +18,6 @@ public static function setUpBeforeClass(): void self::$document = ZugferdDocumentReader::readAndGuessFromFile(dirname(__FILE__) . "/../assets/xrechnung_simple_2.xml"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentJsonExporter::toJsonString - */ public function testToJsonString(): void { $exporter = new ZugferdDocumentJsonExporter(static::$document); @@ -30,9 +27,6 @@ public function testToJsonString(): void $this->assertStringContainsString('{"GuidelineSpecifiedDocumentContextParameter"', $jsonString); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentJsonExporter::toPrettyJsonString - */ public function testToPrettyJsonString(): void { $exporter = new ZugferdDocumentJsonExporter(static::$document); @@ -41,9 +35,6 @@ public function testToPrettyJsonString(): void $this->assertStringStartsWith("{\n \"ExchangedDocumentContext\": {\n \"GuidelineSpecifiedDocumentContextParameter\": {", $jsonString); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentJsonExporter::toJsonObject - */ public function testToJsonObject(): void { $exporter = new ZugferdDocumentJsonExporter(static::$document); diff --git a/tests/testcases/ObjectHelperEn16931Test.php b/tests/testcases/ObjectHelperEn16931Test.php index 6599b9c0..8a48a8cd 100644 --- a/tests/testcases/ObjectHelperEn16931Test.php +++ b/tests/testcases/ObjectHelperEn16931Test.php @@ -20,18 +20,12 @@ public static function setUpBeforeClass(): void self::$objectHelper = new ZugferdObjectHelper(ZugferdProfiles::PROFILE_EN16931); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getDocumentCodeType - */ public function testGetDocumentCodeTypeEmpty(): void { $codeType = self::$objectHelper->getDocumentCodeType(); $this->assertNull($codeType); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getDocumentCodeType - */ public function testGetDocumentCodeTypeNotEmpty(): void { /** @@ -42,9 +36,6 @@ public function testGetDocumentCodeTypeNotEmpty(): void $this->assertEquals("380", $codeType->value()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getIdType - */ public function testGetIdTypeWithValue(): void { /** @@ -55,9 +46,6 @@ public function testGetIdTypeWithValue(): void $this->assertEquals("", $idtype->getSchemeID()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getIdType - */ public function testGetIdTypeWithValueAndScheme(): void { /** @@ -68,9 +56,6 @@ public function testGetIdTypeWithValueAndScheme(): void $this->assertEquals("0088", $idtype->getSchemeID()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getIdType - */ public function testGetIdTypeAllEmpty(): void { /** @@ -80,9 +65,6 @@ public function testGetIdTypeAllEmpty(): void $this->assertNull($idtype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getIdType - */ public function testGetIdTypeAllNull(): void { /** @@ -92,9 +74,6 @@ public function testGetIdTypeAllNull(): void $this->assertNull($idtype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getIdType - */ public function testGetIdTypeEmptyValue(): void { /** @@ -104,9 +83,6 @@ public function testGetIdTypeEmptyValue(): void $this->assertNull($idtype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getIdType - */ public function testGetIdTypeNullValue(): void { /** @@ -116,9 +92,6 @@ public function testGetIdTypeNullValue(): void $this->assertNull($idtype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getIdType - */ public function testGetIdTypeEmptyValueWithScheme(): void { /** @@ -128,9 +101,6 @@ public function testGetIdTypeEmptyValueWithScheme(): void $this->assertNull($idtype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTextType - */ public function testGetTextTypeWithValue(): void { /** @@ -140,9 +110,6 @@ public function testGetTextTypeWithValue(): void $this->assertEquals("test", $texttype->value()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTextType - */ public function testGetTextTypeAllEmpty(): void { /** @@ -152,9 +119,6 @@ public function testGetTextTypeAllEmpty(): void $this->assertNull($texttype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTextType - */ public function testGetTextTypeNullValue(): void { /** @@ -164,9 +128,6 @@ public function testGetTextTypeNullValue(): void $this->assertNull($texttype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getCodeType - */ public function testGetCodeTypeWithValue(): void { /** @@ -176,9 +137,6 @@ public function testGetCodeTypeWithValue(): void $this->assertEquals("test", $texttype->value()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getCodeType2 - */ public function testGetCodeType2WithValue(): void { /** @@ -212,9 +170,6 @@ public function testGetCodeType2WithValue(): void $this->assertNull($texttype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getCodeType - */ public function testGetCodeTypeAllEmpty(): void { /** @@ -224,9 +179,6 @@ public function testGetCodeTypeAllEmpty(): void $this->assertNull($texttype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getCodeType - */ public function testGetCodeTypeNullValue(): void { /** @@ -236,9 +188,6 @@ public function testGetCodeTypeNullValue(): void $this->assertNull($texttype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getIndicatorType - */ public function testGetIndicatorTypeWithTrueValue(): void { /** @@ -248,9 +197,6 @@ public function testGetIndicatorTypeWithTrueValue(): void $this->assertTrue($indicatortype->getIndicator()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getIndicatorType - */ public function testGetIndicatorTypeWithFalseValue(): void { /** @@ -265,9 +211,6 @@ public function testGetIndicatorTypeWithFalseValue(): void $this->assertEquals(true, $indicatortype->getIndicator()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getIndicatorType - */ public function testGetIndicatorTypeNullValue(): void { /** @@ -277,9 +220,6 @@ public function testGetIndicatorTypeNullValue(): void $this->assertNull($indicatortype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getNoteType - */ public function testGetNoteTypeAllValues(): void { /** @@ -291,9 +231,6 @@ public function testGetNoteTypeAllValues(): void $this->assertFalse(self::$objectHelper->methodExists($notetype, "getContentCode")); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getNoteType - */ public function testGetNoteTypeAllNullValue(): void { /** @@ -303,9 +240,6 @@ public function testGetNoteTypeAllNullValue(): void $this->assertNull($notetype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getNoteType - */ public function testGetNoteTypeWithEmptyContent(): void { /** @@ -315,9 +249,6 @@ public function testGetNoteTypeWithEmptyContent(): void $this->assertNull($notetype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getNoteType - */ public function testGetNoteTypeWithEmptyContentButWithSubjectCode(): void { /** @@ -327,9 +258,6 @@ public function testGetNoteTypeWithEmptyContentButWithSubjectCode(): void $this->assertNull($notetype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getFormattedDateTimeType - */ public function testGetFormattedDateTimeType(): void { /** @@ -340,9 +268,6 @@ public function testGetFormattedDateTimeType(): void $this->assertEquals("102", $datetimetype->getDateTimeString()->getFormat()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getFormattedDateTimeType - */ public function testGetFormattedDateTimeTypeWithNullValue(): void { /** @@ -352,9 +277,6 @@ public function testGetFormattedDateTimeTypeWithNullValue(): void $this->assertNull($datetimetype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getDateTimeType - */ public function testGetDateTimeType(): void { /** @@ -365,9 +287,6 @@ public function testGetDateTimeType(): void $this->assertEquals("102", $datetimetype->getDateTimeString()->getFormat()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getDateTimeType - */ public function testGetDateTimeTypeWithNullValue(): void { /** @@ -377,9 +296,6 @@ public function testGetDateTimeTypeWithNullValue(): void $this->assertNull($datetimetype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getDateType - */ public function testGetDateType(): void { /** @@ -390,9 +306,6 @@ public function testGetDateType(): void $this->assertEquals("102", $datetimetype->getDateString()->getFormat()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getDateType - */ public function testGetDateTypeWithNullValue(): void { /** @@ -402,9 +315,6 @@ public function testGetDateTypeWithNullValue(): void $this->assertNull($datetimetype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getAmountType - */ public function testGetAmountTypeWithValue(): void { /** @@ -415,9 +325,6 @@ public function testGetAmountTypeWithValue(): void $this->assertEquals("", $amounttype->getCurrencyID()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getAmountType - */ public function testGetAmountTypeWithValueAndCurrency(): void { /** @@ -428,9 +335,6 @@ public function testGetAmountTypeWithValueAndCurrency(): void $this->assertEquals("EUR", $amounttype->getCurrencyID()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getAmountType - */ public function testGetAmountTypeAllNull(): void { /** @@ -440,9 +344,6 @@ public function testGetAmountTypeAllNull(): void $this->assertNull($amounttype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getAmountType - */ public function testGetAmountTypeWithValueAndEmptyCurrency(): void { /** @@ -453,9 +354,6 @@ public function testGetAmountTypeWithValueAndEmptyCurrency(): void $this->assertEquals("", $amounttype->getCurrencyID()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getAmountType - */ public function testGetAmountTypeWithNullValueAndCurrency(): void { /** @@ -465,9 +363,6 @@ public function testGetAmountTypeWithNullValueAndCurrency(): void $this->assertNull($amounttype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getPercentType - */ public function testGetPercentTypeWithValue(): void { /** @@ -477,9 +372,6 @@ public function testGetPercentTypeWithValue(): void $this->assertEquals(100.0, $percenttype->value()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getPercentType - */ public function testGetPercentTypeAllNull(): void { /** @@ -489,9 +381,6 @@ public function testGetPercentTypeAllNull(): void $this->assertNull($percenttype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getQuantityType - */ public function testGetQuantityTypeWithValue(): void { /** @@ -501,9 +390,6 @@ public function testGetQuantityTypeWithValue(): void $this->assertEquals(100.0, $quantitytype->value()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getQuantityType - */ public function testGetQuantityTypeWithValueAndUnitCode(): void { /** @@ -514,9 +400,6 @@ public function testGetQuantityTypeWithValueAndUnitCode(): void $this->assertEquals("C62", $quantitytype->getUnitCode()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getQuantityType - */ public function testGetQuantityTypeAllNull(): void { /** @@ -526,9 +409,6 @@ public function testGetQuantityTypeAllNull(): void $this->assertNull($quantitytype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getQuantityType - */ public function testGetQuantityTypeWithNullValueAndUnitCode(): void { /** @@ -538,9 +418,6 @@ public function testGetQuantityTypeWithNullValueAndUnitCode(): void $this->assertNull($quantitytype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getMeasureType - */ public function testGetMeasureTypeWithValue(): void { /** @@ -550,9 +427,6 @@ public function testGetMeasureTypeWithValue(): void $this->assertNull($measuretype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getMeasureType - */ public function testGetMeasureTypeWithValueAndUnitCode(): void { /** @@ -562,9 +436,6 @@ public function testGetMeasureTypeWithValueAndUnitCode(): void $this->assertNull($measuretype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getMeasureType - */ public function testGetMeasureTypeAllNull(): void { /** @@ -574,9 +445,6 @@ public function testGetMeasureTypeAllNull(): void $this->assertNull($measuretype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getMeasureType - */ public function testGetMeasureTypeWithNullValueAndUnitCode(): void { /** @@ -586,9 +454,6 @@ public function testGetMeasureTypeWithNullValueAndUnitCode(): void $this->assertNull($measuretype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getNumericType - */ public function testGetNumericTypeWithValue(): void { /** @@ -598,9 +463,6 @@ public function testGetNumericTypeWithValue(): void $this->assertNull($numerictype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getNumericType - */ public function testGetNumericTypeAllNull(): void { /** @@ -610,9 +472,6 @@ public function testGetNumericTypeAllNull(): void $this->assertNull($numerictype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTaxCategoryCodeType - */ public function testGetTaxCategoryCodeTypeWithValue(): void { /** @@ -622,9 +481,6 @@ public function testGetTaxCategoryCodeTypeWithValue(): void $this->assertEquals("VAT", $taxcategorycodetype->value()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTaxCategoryCodeType - */ public function testGetTaxCategoryCodeTypeAllNull(): void { /** @@ -634,9 +490,6 @@ public function testGetTaxCategoryCodeTypeAllNull(): void $this->assertNull($taxcategorycodetype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTaxTypeCodeType - */ public function testGetTaxTypeCodeTypeWithValue(): void { /** @@ -646,9 +499,6 @@ public function testGetTaxTypeCodeTypeWithValue(): void $this->assertEquals("S", $taxtypecodetype->value()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTaxTypeCodeType - */ public function testGetTaxTypeCodeTypeAllNull(): void { /** @@ -658,9 +508,6 @@ public function testGetTaxTypeCodeTypeAllNull(): void $this->assertNull($taxtypecodetype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTimeReferenceCodeType - */ public function testGetTimeReferenceCodeTypeWithValue(): void { /** @@ -670,9 +517,6 @@ public function testGetTimeReferenceCodeTypeWithValue(): void $this->assertEquals("REF", $timereferencecodetype->value()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTimeReferenceCodeType - */ public function testGetTimeReferenceCodeTypeAllNull(): void { /** @@ -682,9 +526,6 @@ public function testGetTimeReferenceCodeTypeAllNull(): void $this->assertNull($timereferencecodetype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getSpecifiedPeriodType - */ public function testGetSpecifiedPeriodTypeAllValues(): void { /** @@ -699,9 +540,6 @@ public function testGetSpecifiedPeriodTypeAllValues(): void $this->assertEquals("102", $periodtype->getEndDateTime()->getDateTimeString()->getFormat()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getSpecifiedPeriodType - */ public function testGetSpecifiedPeriodTypeAllNull(): void { /** @@ -711,9 +549,6 @@ public function testGetSpecifiedPeriodTypeAllNull(): void $this->assertNull($periodtype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getBinaryObjectType - */ public function testGetBinaryObjectTypeAllValues(): void { /** @@ -725,9 +560,6 @@ public function testGetBinaryObjectTypeAllValues(): void $this->assertEquals("mypdf.pdf", $binaryobject->getFilename()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getBinaryObjectType - */ public function testGetBinaryObjectTypeAllNull(): void { /** @@ -737,9 +569,6 @@ public function testGetBinaryObjectTypeAllNull(): void $this->assertNull($binaryobject); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getBinaryObjectType - */ public function testGetBinaryObjectTypeDataNull(): void { /** @@ -749,9 +578,6 @@ public function testGetBinaryObjectTypeDataNull(): void $this->assertNull($binaryobject); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getBinaryObjectType - */ public function testGetBinaryObjectTypeMimeTypeNull(): void { /** @@ -761,9 +587,6 @@ public function testGetBinaryObjectTypeMimeTypeNull(): void $this->assertNull($binaryobject); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getBinaryObjectType - */ public function testGetBinaryObjectTypeFilenameNull(): void { /** @@ -773,9 +596,6 @@ public function testGetBinaryObjectTypeFilenameNull(): void $this->assertNull($binaryobject); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getReferencedDocumentType - */ public function testGetReferencedDocumentTypeAllValues(): void { /** @@ -792,9 +612,6 @@ public function testGetReferencedDocumentTypeAllValues(): void $this->assertEquals("102", $refdoctype->getFormattedIssueDateTime()->getDateTimeString()->getFormat()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getReferencedDocumentType - */ public function testGetReferencedDocumentTypeAllNull(): void { /** @@ -804,9 +621,6 @@ public function testGetReferencedDocumentTypeAllNull(): void $this->assertNull($refdoctype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getCrossIndustryInvoice - */ public function testCrossIndustryInvoice(): void { /** @@ -816,9 +630,6 @@ public function testCrossIndustryInvoice(): void $this->assertNotNull($crossindusty); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeParty - */ public function testGetTradePartyAllValues(): void { /** @@ -832,9 +643,6 @@ public function testGetTradePartyAllValues(): void $this->assertEquals("description", $tradeparty->getDescription()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeParty - */ public function testGetTradePartyNullValues(): void { /** @@ -844,9 +652,6 @@ public function testGetTradePartyNullValues(): void $this->assertNull($tradeparty); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeAddress - */ public function testGetTradeAddressAllValues(): void { /** @@ -862,9 +667,6 @@ public function testGetTradeAddressAllValues(): void $this->assertEquals("county", $tradeaddress->getCountrySubDivisionName()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeAddress - */ public function testGetTradeAddressAllNull(): void { /** @@ -874,9 +676,6 @@ public function testGetTradeAddressAllNull(): void $this->assertNull($tradeaddress); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getLegalOrganization - */ public function testGetLegalOrganizationAllValues(): void { /** @@ -888,9 +687,6 @@ public function testGetLegalOrganizationAllValues(): void $this->assertEquals("orgname", $legalorg->getTradingBusinessName()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getLegalOrganization - */ public function testGetLegalOrganizationAllNull(): void { /** @@ -900,9 +696,6 @@ public function testGetLegalOrganizationAllNull(): void $this->assertNull($legalorg); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeContact - */ public function testGetTradeContactAllValues(): void { /** @@ -916,9 +709,6 @@ public function testGetTradeContactAllValues(): void $this->assertEquals("mail", $tradecontact->getEmailURIUniversalCommunication()->getURIID()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeContact - */ public function testGetTradeContactAllNull(): void { /** @@ -928,9 +718,6 @@ public function testGetTradeContactAllNull(): void $this->assertNull($tradecontact); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getUniversalCommunicationType - */ public function testGetUniversalCommunicationTypeAllValues(): void { /** @@ -942,9 +729,6 @@ public function testGetUniversalCommunicationTypeAllValues(): void $this->assertEquals("smtp", $commtype->getURIID()->getSchemeID()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getUniversalCommunicationType - */ public function testGetUniversalCommunicationTypeAllNull(): void { /** @@ -954,9 +738,6 @@ public function testGetUniversalCommunicationTypeAllNull(): void $this->assertNull($commtype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTaxRegistrationType - */ public function testGetTaxRegistrationTypeAllValues(): void { /** @@ -967,9 +748,6 @@ public function testGetTaxRegistrationTypeAllValues(): void $this->assertEquals("taxid", $taxregtype->getID()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTaxRegistrationType - */ public function testGetTaxRegistrationTypeAllNull(): void { /** @@ -979,9 +757,6 @@ public function testGetTaxRegistrationTypeAllNull(): void $this->assertNull($taxregtype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTaxRegistrationType - */ public function testGetTaxRegistrationTypeIdNull(): void { /** @@ -991,9 +766,6 @@ public function testGetTaxRegistrationTypeIdNull(): void $this->assertNull($taxregtype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTaxRegistrationType - */ public function testGetTaxRegistrationTypeTypeNull(): void { /** @@ -1003,9 +775,6 @@ public function testGetTaxRegistrationTypeTypeNull(): void $this->assertNull($taxregtype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeDeliveryTermsType - */ public function testGetTradeDeliveryTermsTypeAllValues(): void { /** @@ -1015,9 +784,6 @@ public function testGetTradeDeliveryTermsTypeAllValues(): void $this->assertNull($devterms); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeDeliveryTermsType - */ public function testGetTradeDeliveryTermsTypeAllNull(): void { /** @@ -1027,9 +793,6 @@ public function testGetTradeDeliveryTermsTypeAllNull(): void $this->assertNull($devterms); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getProcuringProjectType - */ public function testGetProcuringProjectTypeAllValues(): void { /** @@ -1040,9 +803,6 @@ public function testGetProcuringProjectTypeAllValues(): void $this->assertEquals("projectname", $project->getName()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getProcuringProjectType - */ public function testGetProcuringProjectTypeIdNull(): void { /** @@ -1052,9 +812,6 @@ public function testGetProcuringProjectTypeIdNull(): void $this->assertNull($project); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getProcuringProjectType - */ public function testGetProcuringProjectTypeNameNull(): void { /** @@ -1064,9 +821,6 @@ public function testGetProcuringProjectTypeNameNull(): void $this->assertNull($project); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getProcuringProjectType - */ public function testGetProcuringProjectTypeAllNull(): void { /** @@ -1076,9 +830,6 @@ public function testGetProcuringProjectTypeAllNull(): void $this->assertNull($project); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getSupplyChainEventType - */ public function testGetSupplyChainEventTypeAllValues(): void { /** @@ -1089,9 +840,6 @@ public function testGetSupplyChainEventTypeAllValues(): void $this->assertEquals("102", $supplychainevent->getOccurrenceDateTime()->getDateTimeString()->getFormat()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getSupplyChainEventType - */ public function testGetSupplyChainEventTypeAllNull(): void { /** @@ -1101,9 +849,6 @@ public function testGetSupplyChainEventTypeAllNull(): void $this->assertNull($supplychainevent); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeSettlementFinancialCardType - */ public function testGetTradeSettlementFinancialCardTypeAllValues(): void { /** @@ -1115,9 +860,6 @@ public function testGetTradeSettlementFinancialCardTypeAllValues(): void $this->assertEquals("name", $fincard->getCardholderName()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeSettlementFinancialCardType - */ public function testGetTradeSettlementFinancialCardTypeAllNull(): void { /** @@ -1127,9 +869,6 @@ public function testGetTradeSettlementFinancialCardTypeAllNull(): void $this->assertNull($fincard); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getDebtorFinancialAccountType - */ public function testGetDebtorFinancialAccountTypeAllValues(): void { /** @@ -1139,9 +878,6 @@ public function testGetDebtorFinancialAccountTypeAllValues(): void $this->assertEquals("iban", $finacc->getIBANID()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getDebtorFinancialAccountType - */ public function testGetDebtorFinancialAccountTypeAllNull(): void { /** @@ -1151,9 +887,6 @@ public function testGetDebtorFinancialAccountTypeAllNull(): void $this->assertNull($finacc); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getCreditorFinancialAccountType - */ public function testGetCreditorFinancialAccountTypeAllValues(): void { /** @@ -1165,9 +898,6 @@ public function testGetCreditorFinancialAccountTypeAllValues(): void $this->assertEquals("propid", $finacc->getProprietaryID()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getCreditorFinancialAccountType - */ public function testGetCreditorFinancialAccountTypeAllNull(): void { /** @@ -1177,9 +907,6 @@ public function testGetCreditorFinancialAccountTypeAllNull(): void $this->assertNull($finacc); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getCreditorFinancialInstitutionType - */ public function testGetCreditorFinancialInstitutionTypeAllValues(): void { /** @@ -1189,9 +916,6 @@ public function testGetCreditorFinancialInstitutionTypeAllValues(): void $this->assertEquals("bic", $fininst->getBICID()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getCreditorFinancialInstitutionType - */ public function testGetCreditorFinancialInstitutionTypeAllNull(): void { /** @@ -1201,9 +925,6 @@ public function testGetCreditorFinancialInstitutionTypeAllNull(): void $this->assertNull($fininst); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeSettlementPaymentMeansType - */ public function testGetTradeSettlementPaymentMeansTypeAllValues(): void { /** @@ -1213,9 +934,6 @@ public function testGetTradeSettlementPaymentMeansTypeAllValues(): void $this->assertEquals("code", $paymentmeans->getTypeCode()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeSettlementPaymentMeansType - */ public function testGetTradeSettlementPaymentMeansTypeAllNull(): void { /** @@ -1225,9 +943,6 @@ public function testGetTradeSettlementPaymentMeansTypeAllNull(): void $this->assertNull($paymentmeans); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradePaymentTermsType - */ public function testGetTradePaymentTermsTypeAllValues(): void { /** @@ -1238,9 +953,6 @@ public function testGetTradePaymentTermsTypeAllValues(): void $this->assertEquals("102", $paymentterms->getDueDateDateTime()->getDateTimeString()->getFormat()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradePaymentTermsType - */ public function testGetTradePaymentTermsTypeAllNull(): void { /** @@ -1250,9 +962,6 @@ public function testGetTradePaymentTermsTypeAllNull(): void $this->assertNull($paymentmeans); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradePaymentDiscountTermsType - */ public function testGetTradePaymentDiscountTermsTypeAllValues(): void { /** @@ -1262,9 +971,6 @@ public function testGetTradePaymentDiscountTermsTypeAllValues(): void $this->assertNull($discountterms); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradePaymentDiscountTermsType - */ public function testGetTradePaymentDiscountTermsTypeAllNull(): void { /** @@ -1274,9 +980,6 @@ public function testGetTradePaymentDiscountTermsTypeAllNull(): void $this->assertNull($discountterms); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeTaxType - */ public function testGetTradeTaxTypeAllValues(): void { /** @@ -1294,9 +997,6 @@ public function testGetTradeTaxTypeAllValues(): void $this->assertFalse(self::$objectHelper->methodExists($tax, "getAllowanceChargeBasisAmount")); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeTaxType - */ public function testGetTradeTaxTypeAllNull(): void { /** @@ -1306,9 +1006,6 @@ public function testGetTradeTaxTypeAllNull(): void $this->assertNull($tax); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeAllowanceChargeType - */ public function testGetTradeAllowanceChargeTypeAllValues(): void { /** @@ -1339,9 +1036,6 @@ public function testGetTradeAllowanceChargeTypeAllValues(): void $this->assertEquals("reasoncode", $allowancecharge->getReasonCode()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeAllowanceChargeType - */ public function testGetTradeAllowanceChargeTypeAllNull(): void { /** @@ -1351,9 +1045,6 @@ public function testGetTradeAllowanceChargeTypeAllNull(): void $this->assertNull($allowancecharge); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getLogisticsServiceChargeType - */ public function testGetLogisticsServiceChargeTypeAllValues(): void { /** @@ -1365,9 +1056,6 @@ public function testGetLogisticsServiceChargeTypeAllValues(): void $this->assertFalse(self::$objectHelper->methodExists($logcharge, "getAppliedTradeTax")); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getLogisticsServiceChargeType - */ public function testGetLogisticsServiceChargeTypeAllNull(): void { /** @@ -1377,10 +1065,6 @@ public function testGetLogisticsServiceChargeTypeAllNull(): void $this->assertNull($logcharge); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeSettlementHeaderMonetarySummationType - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeSettlementHeaderMonetarySummationTypeOnly - */ public function testGetTradeSettlementHeaderMonetarySummationTypeAllValues(): void { /** @@ -1400,10 +1084,6 @@ public function testGetTradeSettlementHeaderMonetarySummationTypeAllValues(): vo $this->assertEquals(10.0, $summation->getTotalPrepaidAmount()->value()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeSettlementHeaderMonetarySummationType - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeSettlementHeaderMonetarySummationTypeOnly - */ public function testGetTradeSettlementHeaderMonetarySummationTypeAllNull(): void { /** @@ -1413,18 +1093,12 @@ public function testGetTradeSettlementHeaderMonetarySummationTypeAllNull(): void $this->assertNull($summation); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeSettlementHeaderMonetarySummationTypeOnly - */ public function testGetTradeSettlementHeaderMonetarySummationTypeOnly(): void { $summation = self::$objectHelper->getTradeSettlementHeaderMonetarySummationTypeOnly(); $this->assertNotNull($summation); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeAccountingAccountType - */ public function testGetTradeAccountingAccountTypeAllValues(): void { /** @@ -1435,9 +1109,6 @@ public function testGetTradeAccountingAccountTypeAllValues(): void $this->assertFalse(self::$objectHelper->methodExists($accaccount, "getTypeCode")); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeAccountingAccountType - */ public function testGetTradeAccountingAccountTypeAllNull(): void { /** @@ -1447,9 +1118,6 @@ public function testGetTradeAccountingAccountTypeAllNull(): void $this->assertNull($accaccount); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getDocumentLineDocumentType - */ public function testGetDocumentLineDocumentTypeAllValues(): void { /** @@ -1459,9 +1127,6 @@ public function testGetDocumentLineDocumentTypeAllValues(): void $this->assertEquals("lineid", $doclinedoctype->getLineID()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getDocumentLineDocumentType - */ public function testGetDocumentLineDocumentTypeAllNull(): void { /** @@ -1471,9 +1136,6 @@ public function testGetDocumentLineDocumentTypeAllNull(): void $this->assertNull($doclinedoctype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getSupplyChainTradeLineItemType - */ public function testGetSupplyChainTradeLineItemTypeAllValues(): void { /** @@ -1484,9 +1146,6 @@ public function testGetSupplyChainTradeLineItemTypeAllValues(): void $this->assertEquals("lineid", $line->getAssociatedDocumentLineDocument()->getLineID()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getSupplyChainTradeLineItemType - */ public function testGetSupplyChainTradeLineItemTypeAllNull(): void { /** @@ -1496,9 +1155,6 @@ public function testGetSupplyChainTradeLineItemTypeAllNull(): void $this->assertNull($line); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeProductType - */ public function testGetTradeProductTypeAllValues(): void { /** @@ -1513,9 +1169,6 @@ public function testGetTradeProductTypeAllValues(): void $this->assertEquals("globalid", $product->getGlobalID()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getProductCharacteristicType - */ public function testGetProductCharacteristicType(): void { /** @@ -1532,9 +1185,6 @@ public function testGetProductCharacteristicType(): void $this->assertNull($productCharacteristic); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getProductClassificationType - */ public function testGetProductClassificationType(): void { /** @@ -1552,9 +1202,6 @@ public function testGetProductClassificationType(): void $this->assertNull($productClassification); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getReferencedProductType - */ public function testGetReferencedProductType(): void { /** @@ -1570,9 +1217,6 @@ public function testGetReferencedProductType(): void $this->assertNull($referencedProduct); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getCountryIDType - */ public function testGetCountryIDType(): void { /** @@ -1588,9 +1232,6 @@ public function testGetCountryIDType(): void $this->assertNull($countryId); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeCountryType - */ public function testGetTradeCountryType(): void { /** @@ -1606,9 +1247,6 @@ public function testGetTradeCountryType(): void $this->assertNull($tradeCountry); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeProductType - */ public function testGetTradeProductTypeAllNull(): void { /** @@ -1618,9 +1256,6 @@ public function testGetTradeProductTypeAllNull(): void $this->assertNull($product); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradePriceType - */ public function testGetTradePriceTypeAllValues(): void { /** @@ -1632,9 +1267,6 @@ public function testGetTradePriceTypeAllValues(): void $this->assertEquals("C62", $price->getBasisQuantity()->getUnitCode()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradePriceType - */ public function testGetTradePriceTypeAllNull(): void { /** @@ -1644,9 +1276,6 @@ public function testGetTradePriceTypeAllNull(): void $this->assertNull($price); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeSettlementLineMonetarySummationType - */ public function testGetTradeSettlementLineMonetarySummationTypeAllValues(): void { /** @@ -1657,9 +1286,6 @@ public function testGetTradeSettlementLineMonetarySummationTypeAllValues(): void $this->assertFalse(self::$objectHelper->methodExists($summation, "getTotalAllowanceChargeAmount")); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeSettlementLineMonetarySummationType - */ public function testGetTradeSettlementLineMonetarySummationTypeAllNull(): void { /** @@ -1669,9 +1295,6 @@ public function testGetTradeSettlementLineMonetarySummationTypeAllNull(): void $this->assertNull($summation); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::toDateTime - */ public function testToDateTimeGeneral(): void { $this->assertEquals("20200202", self::$objectHelper->toDateTime("20200202", "102")->format("Ymd")); @@ -1689,49 +1312,31 @@ public function testToDateTimeGeneral(): void $this->assertNull(self::$objectHelper->toDateTime("20200202", "999")); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::toDateTime - */ public function testToDateTime101(): void { $this->assertEquals("20200202", self::$objectHelper->toDateTime("200202", "101")->format("Ymd")); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::toDateTime - */ public function testToDateTime201(): void { $this->assertEquals("2002021031", self::$objectHelper->toDateTime("2002021031", "201")->format("ymdHi")); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::toDateTime - */ public function testToDateTime202(): void { $this->assertEquals("200202103145", self::$objectHelper->toDateTime("200202103145", "202")->format("ymdHis")); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::toDateTime - */ public function testToDateTime203(): void { $this->assertEquals("202002021031", self::$objectHelper->toDateTime("202002021031", "203")->format("YmdHi")); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::toDateTime - */ public function testToDateTime204(): void { $this->assertEquals("20200202103145", self::$objectHelper->toDateTime("20200202103145", "204")->format("YmdHis")); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getRateType - */ public function testGetRateType(): void { /** @@ -1741,9 +1346,6 @@ public function testGetRateType(): void $this->assertNull($rateType); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTaxApplicableTradeCurrencyExchangeType - */ public function testGetTaxApplicableTradeCurrencyExchangeType(): void { /** @@ -1759,9 +1361,6 @@ public function testGetTaxApplicableTradeCurrencyExchangeType(): void $this->assertNull($currencyExchangeType); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::createClassInstance - */ public function testCreateClassInstance(): void { $instance = self::$objectHelper->createClassInstance('ram\TradeProductType'); diff --git a/tests/testcases/ObjectHelperExtendedTest.php b/tests/testcases/ObjectHelperExtendedTest.php index 9d7a6eec..c407d90a 100644 --- a/tests/testcases/ObjectHelperExtendedTest.php +++ b/tests/testcases/ObjectHelperExtendedTest.php @@ -20,18 +20,12 @@ public static function setUpBeforeClass(): void self::$objectHelper = new ZugferdObjectHelper(ZugferdProfiles::PROFILE_EXTENDED); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getDocumentCodeType - */ public function testGetDocumentCodeTypeEmpty(): void { $codeType = self::$objectHelper->getDocumentCodeType(); $this->assertNull($codeType); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getDocumentCodeType - */ public function testGetDocumentCodeTypeNotEmpty(): void { /** @@ -42,9 +36,6 @@ public function testGetDocumentCodeTypeNotEmpty(): void $this->assertEquals("380", $codeType->value()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getIdType - */ public function testGetIdTypeWithValue(): void { /** @@ -55,9 +46,6 @@ public function testGetIdTypeWithValue(): void $this->assertEquals("", $idtype->getSchemeID()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getIdType - */ public function testGetIdTypeWithValueAndScheme(): void { /** @@ -68,9 +56,6 @@ public function testGetIdTypeWithValueAndScheme(): void $this->assertEquals("0088", $idtype->getSchemeID()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getIdType - */ public function testGetIdTypeAllEmpty(): void { /** @@ -80,9 +65,6 @@ public function testGetIdTypeAllEmpty(): void $this->assertNull($idtype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getIdType - */ public function testGetIdTypeAllNull(): void { /** @@ -92,9 +74,6 @@ public function testGetIdTypeAllNull(): void $this->assertNull($idtype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getIdType - */ public function testGetIdTypeEmptyValue(): void { /** @@ -104,9 +83,6 @@ public function testGetIdTypeEmptyValue(): void $this->assertNull($idtype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getIdType - */ public function testGetIdTypeNullValue(): void { /** @@ -116,9 +92,6 @@ public function testGetIdTypeNullValue(): void $this->assertNull($idtype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getIdType - */ public function testGetIdTypeEmptyValueWithScheme(): void { /** @@ -128,9 +101,6 @@ public function testGetIdTypeEmptyValueWithScheme(): void $this->assertNull($idtype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTextType - */ public function testGetTextTypeWithValue(): void { /** @@ -140,9 +110,6 @@ public function testGetTextTypeWithValue(): void $this->assertEquals("test", $texttype->value()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTextType - */ public function testGetTextTypeAllEmpty(): void { /** @@ -152,9 +119,6 @@ public function testGetTextTypeAllEmpty(): void $this->assertNull($texttype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTextType - */ public function testGetTextTypeNullValue(): void { /** @@ -164,9 +128,6 @@ public function testGetTextTypeNullValue(): void $this->assertNull($texttype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getCodeType - */ public function testGetCodeTypeWithValue(): void { /** @@ -176,9 +137,6 @@ public function testGetCodeTypeWithValue(): void $this->assertEquals("test", $texttype->value()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getCodeType2 - */ public function testGetCodeType2WithValue(): void { /** @@ -212,9 +170,6 @@ public function testGetCodeType2WithValue(): void $this->assertNull($texttype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getCodeType - */ public function testGetCodeTypeAllEmpty(): void { /** @@ -224,9 +179,6 @@ public function testGetCodeTypeAllEmpty(): void $this->assertNull($texttype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getCodeType - */ public function testGetCodeTypeNullValue(): void { /** @@ -236,9 +188,6 @@ public function testGetCodeTypeNullValue(): void $this->assertNull($texttype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getIndicatorType - */ public function testGetIndicatorTypeWithTrueValue(): void { /** @@ -248,9 +197,6 @@ public function testGetIndicatorTypeWithTrueValue(): void $this->assertTrue($indicatortype->getIndicator()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getIndicatorType - */ public function testGetIndicatorTypeWithFalseValue(): void { /** @@ -265,9 +211,6 @@ public function testGetIndicatorTypeWithFalseValue(): void $this->assertEquals(true, $indicatortype->getIndicator()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getIndicatorType - */ public function testGetIndicatorTypeNullValue(): void { /** @@ -277,9 +220,6 @@ public function testGetIndicatorTypeNullValue(): void $this->assertNull($indicatortype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getNoteType - */ public function testGetNoteTypeAllValues(): void { /** @@ -291,9 +231,6 @@ public function testGetNoteTypeAllValues(): void $this->assertEquals("contentcode", $notetype->getContentCode()->value()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getNoteType - */ public function testGetNoteTypeAllNullValue(): void { /** @@ -303,9 +240,6 @@ public function testGetNoteTypeAllNullValue(): void $this->assertNull($notetype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getNoteType - */ public function testGetNoteTypeWithEmptyContent(): void { /** @@ -315,9 +249,6 @@ public function testGetNoteTypeWithEmptyContent(): void $this->assertNull($notetype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getNoteType - */ public function testGetNoteTypeWithEmptyContentButWithSubjectCode(): void { /** @@ -327,9 +258,6 @@ public function testGetNoteTypeWithEmptyContentButWithSubjectCode(): void $this->assertNull($notetype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getFormattedDateTimeType - */ public function testGetFormattedDateTimeType(): void { /** @@ -340,9 +268,6 @@ public function testGetFormattedDateTimeType(): void $this->assertEquals("102", $datetimetype->getDateTimeString()->getFormat()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getFormattedDateTimeType - */ public function testGetFormattedDateTimeTypeWithNullValue(): void { /** @@ -352,9 +277,6 @@ public function testGetFormattedDateTimeTypeWithNullValue(): void $this->assertNull($datetimetype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getDateTimeType - */ public function testGetDateTimeType(): void { /** @@ -365,9 +287,6 @@ public function testGetDateTimeType(): void $this->assertEquals("102", $datetimetype->getDateTimeString()->getFormat()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getDateTimeType - */ public function testGetDateTimeTypeWithNullValue(): void { /** @@ -377,9 +296,6 @@ public function testGetDateTimeTypeWithNullValue(): void $this->assertNull($datetimetype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getDateType - */ public function testGetDateType(): void { /** @@ -390,9 +306,6 @@ public function testGetDateType(): void $this->assertEquals("102", $datetimetype->getDateString()->getFormat()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getDateType - */ public function testGetDateTypeWithNullValue(): void { /** @@ -402,9 +315,6 @@ public function testGetDateTypeWithNullValue(): void $this->assertNull($datetimetype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getAmountType - */ public function testGetAmountTypeWithValue(): void { /** @@ -415,9 +325,6 @@ public function testGetAmountTypeWithValue(): void $this->assertEquals("", $amounttype->getCurrencyID()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getAmountType - */ public function testGetAmountTypeWithValueAndCurrency(): void { /** @@ -428,9 +335,6 @@ public function testGetAmountTypeWithValueAndCurrency(): void $this->assertEquals("EUR", $amounttype->getCurrencyID()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getAmountType - */ public function testGetAmountTypeAllNull(): void { /** @@ -440,9 +344,6 @@ public function testGetAmountTypeAllNull(): void $this->assertNull($amounttype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getAmountType - */ public function testGetAmountTypeWithValueAndEmptyCurrency(): void { /** @@ -453,9 +354,6 @@ public function testGetAmountTypeWithValueAndEmptyCurrency(): void $this->assertEquals("", $amounttype->getCurrencyID()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getAmountType - */ public function testGetAmountTypeWithNullValueAndCurrency(): void { /** @@ -465,9 +363,6 @@ public function testGetAmountTypeWithNullValueAndCurrency(): void $this->assertNull($amounttype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getPercentType - */ public function testGetPercentTypeWithValue(): void { /** @@ -477,9 +372,6 @@ public function testGetPercentTypeWithValue(): void $this->assertEquals(100.0, $percenttype->value()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getPercentType - */ public function testGetPercentTypeAllNull(): void { /** @@ -489,9 +381,6 @@ public function testGetPercentTypeAllNull(): void $this->assertNull($percenttype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getQuantityType - */ public function testGetQuantityTypeWithValue(): void { /** @@ -501,9 +390,6 @@ public function testGetQuantityTypeWithValue(): void $this->assertEquals(100.0, $quantitytype->value()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getQuantityType - */ public function testGetQuantityTypeWithValueAndUnitCode(): void { /** @@ -514,9 +400,6 @@ public function testGetQuantityTypeWithValueAndUnitCode(): void $this->assertEquals("C62", $quantitytype->getUnitCode()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getQuantityType - */ public function testGetQuantityTypeAllNull(): void { /** @@ -526,9 +409,6 @@ public function testGetQuantityTypeAllNull(): void $this->assertNull($quantitytype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getQuantityType - */ public function testGetQuantityTypeWithNullValueAndUnitCode(): void { /** @@ -538,9 +418,6 @@ public function testGetQuantityTypeWithNullValueAndUnitCode(): void $this->assertNull($quantitytype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getMeasureType - */ public function testGetMeasureTypeWithValue(): void { /** @@ -550,9 +427,6 @@ public function testGetMeasureTypeWithValue(): void $this->assertEquals(100.0, $measuretype->value()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getMeasureType - */ public function testGetMeasureTypeWithValueAndUnitCode(): void { /** @@ -563,9 +437,6 @@ public function testGetMeasureTypeWithValueAndUnitCode(): void $this->assertEquals("DAY", $measuretype->getUnitCode()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getMeasureType - */ public function testGetMeasureTypeAllNull(): void { /** @@ -575,9 +446,6 @@ public function testGetMeasureTypeAllNull(): void $this->assertNull($measuretype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getMeasureType - */ public function testGetMeasureTypeWithNullValueAndUnitCode(): void { /** @@ -587,9 +455,6 @@ public function testGetMeasureTypeWithNullValueAndUnitCode(): void $this->assertNull($measuretype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getNumericType - */ public function testGetNumericTypeWithValue(): void { /** @@ -599,9 +464,6 @@ public function testGetNumericTypeWithValue(): void $this->assertEquals(100, $numerictype->value()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getNumericType - */ public function testGetNumericTypeAllNull(): void { /** @@ -611,9 +473,6 @@ public function testGetNumericTypeAllNull(): void $this->assertNull($numerictype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTaxCategoryCodeType - */ public function testGetTaxCategoryCodeTypeWithValue(): void { /** @@ -623,9 +482,6 @@ public function testGetTaxCategoryCodeTypeWithValue(): void $this->assertEquals("VAT", $taxcategorycodetype->value()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTaxCategoryCodeType - */ public function testGetTaxCategoryCodeTypeAllNull(): void { /** @@ -635,9 +491,6 @@ public function testGetTaxCategoryCodeTypeAllNull(): void $this->assertNull($taxcategorycodetype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTaxTypeCodeType - */ public function testGetTaxTypeCodeTypeWithValue(): void { /** @@ -647,9 +500,6 @@ public function testGetTaxTypeCodeTypeWithValue(): void $this->assertEquals("S", $taxtypecodetype->value()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTaxTypeCodeType - */ public function testGetTaxTypeCodeTypeAllNull(): void { /** @@ -659,9 +509,6 @@ public function testGetTaxTypeCodeTypeAllNull(): void $this->assertNull($taxtypecodetype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTimeReferenceCodeType - */ public function testGetTimeReferenceCodeTypeWithValue(): void { /** @@ -671,9 +518,6 @@ public function testGetTimeReferenceCodeTypeWithValue(): void $this->assertEquals("REF", $timereferencecodetype->value()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTimeReferenceCodeType - */ public function testGetTimeReferenceCodeTypeAllNull(): void { /** @@ -683,9 +527,6 @@ public function testGetTimeReferenceCodeTypeAllNull(): void $this->assertNull($timereferencecodetype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getSpecifiedPeriodType - */ public function testGetSpecifiedPeriodTypeAllValues(): void { /** @@ -701,9 +542,6 @@ public function testGetSpecifiedPeriodTypeAllValues(): void $this->assertEquals("102", $periodtype->getEndDateTime()->getDateTimeString()->getFormat()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getSpecifiedPeriodType - */ public function testGetSpecifiedPeriodTypeAllNull(): void { /** @@ -713,9 +551,6 @@ public function testGetSpecifiedPeriodTypeAllNull(): void $this->assertNull($periodtype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getBinaryObjectType - */ public function testGetBinaryObjectTypeAllValues(): void { /** @@ -727,9 +562,6 @@ public function testGetBinaryObjectTypeAllValues(): void $this->assertEquals("mypdf.pdf", $binaryobject->getFilename()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getBinaryObjectType - */ public function testGetBinaryObjectTypeAllNull(): void { /** @@ -739,9 +571,6 @@ public function testGetBinaryObjectTypeAllNull(): void $this->assertNull($binaryobject); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getBinaryObjectType - */ public function testGetBinaryObjectTypeDataNull(): void { /** @@ -751,9 +580,6 @@ public function testGetBinaryObjectTypeDataNull(): void $this->assertNull($binaryobject); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getBinaryObjectType - */ public function testGetBinaryObjectTypeMimeTypeNull(): void { /** @@ -763,9 +589,6 @@ public function testGetBinaryObjectTypeMimeTypeNull(): void $this->assertNull($binaryobject); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getBinaryObjectType - */ public function testGetBinaryObjectTypeFilenameNull(): void { /** @@ -775,9 +598,6 @@ public function testGetBinaryObjectTypeFilenameNull(): void $this->assertNull($binaryobject); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getReferencedDocumentType - */ public function testGetReferencedDocumentTypeAllValues(): void { /** @@ -788,17 +608,12 @@ public function testGetReferencedDocumentTypeAllValues(): void $this->assertEquals("uriid", $refdoctype->getURIID()->value()); $this->assertEquals("lineid", $refdoctype->getLineID()->value()); $this->assertEquals("typecode", $refdoctype->getTypeCode()); - $this->assertIsArray($refdoctype->getName()); - $this->assertArrayHasKey(0, $refdoctype->getName()); - $this->assertEquals("name", $refdoctype->getName()[0]); + $this->assertEquals("name", $refdoctype->getName()); $this->assertEquals("reftypcode", $refdoctype->getReferenceTypeCode()); $this->assertEquals((new \DateTime())->format("Ymd"), $refdoctype->getFormattedIssueDateTime()->getDateTimeString()); $this->assertEquals("102", $refdoctype->getFormattedIssueDateTime()->getDateTimeString()->getFormat()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getReferencedDocumentType - */ public function testGetReferencedDocumentTypeAllNull(): void { /** @@ -808,9 +623,6 @@ public function testGetReferencedDocumentTypeAllNull(): void $this->assertNull($refdoctype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getCrossIndustryInvoice - */ public function testCrossIndustryInvoice(): void { /** @@ -820,9 +632,6 @@ public function testCrossIndustryInvoice(): void $this->assertNotNull($crossindusty); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeParty - */ public function testGetTradePartyAllValues(): void { /** @@ -836,9 +645,6 @@ public function testGetTradePartyAllValues(): void $this->assertEquals("description", $tradeparty->getDescription()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeParty - */ public function testGetTradePartyNullValues(): void { /** @@ -848,9 +654,6 @@ public function testGetTradePartyNullValues(): void $this->assertNull($tradeparty); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeAddress - */ public function testGetTradeAddressAllValues(): void { /** @@ -863,14 +666,9 @@ public function testGetTradeAddressAllValues(): void $this->assertEquals("00000", $tradeaddress->getPostcodeCode()); $this->assertEquals("city", $tradeaddress->getCityName()); $this->assertEquals("country", $tradeaddress->getCountryID()); - $this->assertIsArray($tradeaddress->getCountrySubDivisionName()); - $this->assertArrayHasKey(0, $tradeaddress->getCountrySubDivisionName()); - $this->assertEquals("county", $tradeaddress->getCountrySubDivisionName()[0]); + $this->assertEquals("county", $tradeaddress->getCountrySubDivisionName()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeAddress - */ public function testGetTradeAddressAllNull(): void { /** @@ -880,9 +678,6 @@ public function testGetTradeAddressAllNull(): void $this->assertNull($tradeaddress); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getLegalOrganization - */ public function testGetLegalOrganizationAllValues(): void { /** @@ -894,9 +689,6 @@ public function testGetLegalOrganizationAllValues(): void $this->assertEquals("orgname", $legalorg->getTradingBusinessName()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getLegalOrganization - */ public function testGetLegalOrganizationAllNull(): void { /** @@ -906,9 +698,6 @@ public function testGetLegalOrganizationAllNull(): void $this->assertNull($legalorg); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeContact - */ public function testGetTradeContactAllValues(): void { /** @@ -922,9 +711,6 @@ public function testGetTradeContactAllValues(): void $this->assertEquals("mail", $tradecontact->getEmailURIUniversalCommunication()->getURIID()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeContact - */ public function testGetTradeContactAllNull(): void { /** @@ -934,9 +720,6 @@ public function testGetTradeContactAllNull(): void $this->assertNull($tradecontact); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getUniversalCommunicationType - */ public function testGetUniversalCommunicationTypeAllValues(): void { /** @@ -948,9 +731,6 @@ public function testGetUniversalCommunicationTypeAllValues(): void $this->assertEquals("smtp", $commtype->getURIID()->getSchemeID()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getUniversalCommunicationType - */ public function testGetUniversalCommunicationTypeAllNull(): void { /** @@ -960,9 +740,6 @@ public function testGetUniversalCommunicationTypeAllNull(): void $this->assertNull($commtype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTaxRegistrationType - */ public function testGetTaxRegistrationTypeAllValues(): void { /** @@ -973,9 +750,6 @@ public function testGetTaxRegistrationTypeAllValues(): void $this->assertEquals("taxid", $taxregtype->getID()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTaxRegistrationType - */ public function testGetTaxRegistrationTypeAllNull(): void { /** @@ -985,9 +759,6 @@ public function testGetTaxRegistrationTypeAllNull(): void $this->assertNull($taxregtype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTaxRegistrationType - */ public function testGetTaxRegistrationTypeIdNull(): void { /** @@ -997,9 +768,6 @@ public function testGetTaxRegistrationTypeIdNull(): void $this->assertNull($taxregtype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTaxRegistrationType - */ public function testGetTaxRegistrationTypeTypeNull(): void { /** @@ -1009,9 +777,6 @@ public function testGetTaxRegistrationTypeTypeNull(): void $this->assertNull($taxregtype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeDeliveryTermsType - */ public function testGetTradeDeliveryTermsTypeAllValues(): void { /** @@ -1021,9 +786,6 @@ public function testGetTradeDeliveryTermsTypeAllValues(): void $this->assertEquals("code", $devterms->getDeliveryTypeCode()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeDeliveryTermsType - */ public function testGetTradeDeliveryTermsTypeAllNull(): void { /** @@ -1033,9 +795,6 @@ public function testGetTradeDeliveryTermsTypeAllNull(): void $this->assertNull($devterms); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getProcuringProjectType - */ public function testGetProcuringProjectTypeAllValues(): void { /** @@ -1046,9 +805,6 @@ public function testGetProcuringProjectTypeAllValues(): void $this->assertEquals("projectname", $project->getName()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getProcuringProjectType - */ public function testGetProcuringProjectTypeIdNull(): void { /** @@ -1058,9 +814,6 @@ public function testGetProcuringProjectTypeIdNull(): void $this->assertNull($project); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getProcuringProjectType - */ public function testGetProcuringProjectTypeNameNull(): void { /** @@ -1070,9 +823,6 @@ public function testGetProcuringProjectTypeNameNull(): void $this->assertNull($project); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getProcuringProjectType - */ public function testGetProcuringProjectTypeAllNull(): void { /** @@ -1082,9 +832,6 @@ public function testGetProcuringProjectTypeAllNull(): void $this->assertNull($project); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getSupplyChainEventType - */ public function testGetSupplyChainEventTypeAllValues(): void { /** @@ -1095,9 +842,6 @@ public function testGetSupplyChainEventTypeAllValues(): void $this->assertEquals("102", $supplychainevent->getOccurrenceDateTime()->getDateTimeString()->getFormat()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getSupplyChainEventType - */ public function testGetSupplyChainEventTypeAllNull(): void { /** @@ -1107,9 +851,6 @@ public function testGetSupplyChainEventTypeAllNull(): void $this->assertNull($supplychainevent); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeSettlementFinancialCardType - */ public function testGetTradeSettlementFinancialCardTypeAllValues(): void { /** @@ -1121,9 +862,6 @@ public function testGetTradeSettlementFinancialCardTypeAllValues(): void $this->assertEquals("name", $fincard->getCardholderName()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeSettlementFinancialCardType - */ public function testGetTradeSettlementFinancialCardTypeAllNull(): void { /** @@ -1133,9 +871,6 @@ public function testGetTradeSettlementFinancialCardTypeAllNull(): void $this->assertNull($fincard); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getDebtorFinancialAccountType - */ public function testGetDebtorFinancialAccountTypeAllValues(): void { /** @@ -1145,9 +880,6 @@ public function testGetDebtorFinancialAccountTypeAllValues(): void $this->assertEquals("iban", $finacc->getIBANID()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getDebtorFinancialAccountType - */ public function testGetDebtorFinancialAccountTypeAllNull(): void { /** @@ -1157,9 +889,6 @@ public function testGetDebtorFinancialAccountTypeAllNull(): void $this->assertNull($finacc); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getCreditorFinancialAccountType - */ public function testGetCreditorFinancialAccountTypeAllValues(): void { /** @@ -1171,9 +900,6 @@ public function testGetCreditorFinancialAccountTypeAllValues(): void $this->assertEquals("propid", $finacc->getProprietaryID()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getCreditorFinancialAccountType - */ public function testGetCreditorFinancialAccountTypeAllNull(): void { /** @@ -1183,9 +909,6 @@ public function testGetCreditorFinancialAccountTypeAllNull(): void $this->assertNull($finacc); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getCreditorFinancialInstitutionType - */ public function testGetCreditorFinancialInstitutionTypeAllValues(): void { /** @@ -1195,9 +918,6 @@ public function testGetCreditorFinancialInstitutionTypeAllValues(): void $this->assertEquals("bic", $fininst->getBICID()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getCreditorFinancialInstitutionType - */ public function testGetCreditorFinancialInstitutionTypeAllNull(): void { /** @@ -1207,9 +927,6 @@ public function testGetCreditorFinancialInstitutionTypeAllNull(): void $this->assertNull($fininst); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeSettlementPaymentMeansType - */ public function testGetTradeSettlementPaymentMeansTypeAllValues(): void { /** @@ -1219,9 +936,6 @@ public function testGetTradeSettlementPaymentMeansTypeAllValues(): void $this->assertEquals("code", $paymentmeans->getTypeCode()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeSettlementPaymentMeansType - */ public function testGetTradeSettlementPaymentMeansTypeAllNull(): void { /** @@ -1231,9 +945,6 @@ public function testGetTradeSettlementPaymentMeansTypeAllNull(): void $this->assertNull($paymentmeans); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradePaymentTermsType - */ public function testGetTradePaymentTermsTypeAllValues(): void { /** @@ -1244,9 +955,6 @@ public function testGetTradePaymentTermsTypeAllValues(): void $this->assertEquals("102", $paymentterms->getDueDateDateTime()->getDateTimeString()->getFormat()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradePaymentTermsType - */ public function testGetTradePaymentTermsTypeAllNull(): void { /** @@ -1256,9 +964,6 @@ public function testGetTradePaymentTermsTypeAllNull(): void $this->assertNull($paymentmeans); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradePaymentDiscountTermsType - */ public function testGetTradePaymentDiscountTermsTypeAllValues(): void { /** @@ -1280,9 +985,6 @@ public function testGetTradePaymentDiscountTermsTypeAllValues(): void $this->assertEquals(1, $discountterms->getActualDiscountAmount()->value()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradePaymentDiscountTermsType - */ public function testGetTradePaymentDiscountTermsTypeAllNull(): void { /** @@ -1292,9 +994,6 @@ public function testGetTradePaymentDiscountTermsTypeAllNull(): void $this->assertNull($discountterms); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeTaxType - */ public function testGetTradeTaxTypeAllValues(): void { /** @@ -1318,9 +1017,6 @@ public function testGetTradeTaxTypeAllValues(): void $this->assertEquals(10, $tax->getAllowanceChargeBasisAmount()->value()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeTaxType - */ public function testGetTradeTaxTypeAllNull(): void { /** @@ -1330,9 +1026,6 @@ public function testGetTradeTaxTypeAllNull(): void $this->assertNull($tax); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeAllowanceChargeType - */ public function testGetTradeAllowanceChargeTypeAllValues(): void { /** @@ -1368,9 +1061,6 @@ public function testGetTradeAllowanceChargeTypeAllValues(): void $this->assertEquals("reasoncode", $allowancecharge->getReasonCode()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeAllowanceChargeType - */ public function testGetTradeAllowanceChargeTypeAllNull(): void { /** @@ -1380,9 +1070,6 @@ public function testGetTradeAllowanceChargeTypeAllNull(): void $this->assertNull($allowancecharge); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getLogisticsServiceChargeType - */ public function testGetLogisticsServiceChargeTypeAllValues(): void { /** @@ -1393,9 +1080,6 @@ public function testGetLogisticsServiceChargeTypeAllValues(): void $this->assertEquals(10.0, $logcharge->getAppliedAmount()->value()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getLogisticsServiceChargeType - */ public function testGetLogisticsServiceChargeTypeAllNull(): void { /** @@ -1405,26 +1089,18 @@ public function testGetLogisticsServiceChargeTypeAllNull(): void $this->assertNull($logcharge); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeSettlementHeaderMonetarySummationType - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeSettlementHeaderMonetarySummationTypeOnly - */ public function testGetTradeSettlementHeaderMonetarySummationTypeAllValues(): void { /** * @var \horstoeko\zugferd\entities\extended\ram\TradeSettlementHeaderMonetarySummationType */ $summation = self::$objectHelper->getTradeSettlementHeaderMonetarySummationType(119, 100, 100, 1, 2, 99, 99 * 0.19, 0.0, 10); - $this->assertIsArray($summation->getGrandTotalAmount()); - $this->assertArrayHasKey(0, $summation->getGrandTotalAmount()); - $this->assertEquals(119.0, $summation->getGrandTotalAmount()[0]->value()); + $this->assertEquals(119.0, $summation->getGrandTotalAmount()->value()); $this->assertEquals(100.0, $summation->getDuePayableAmount()->value()); $this->assertEquals(100.0, $summation->getLineTotalAmount()->value()); $this->assertEquals(1.0, $summation->getChargeTotalAmount()->value()); $this->assertEquals(2.0, $summation->getAllowanceTotalAmount()->value()); - $this->assertIsArray($summation->getTaxBasisTotalAmount()); - $this->assertArrayHasKey(0, $summation->getTaxBasisTotalAmount()); - $this->assertEquals(99.0, $summation->getTaxBasisTotalAmount()[0]->value()); + $this->assertEquals(99.0, $summation->getTaxBasisTotalAmount()->value()); $this->assertIsArray($summation->getTaxTotalAmount()); $this->assertArrayHasKey(0, $summation->getTaxTotalAmount()); $this->assertEquals(99.0 * 0.19, $summation->getTaxTotalAmount()[0]->value()); @@ -1432,10 +1108,6 @@ public function testGetTradeSettlementHeaderMonetarySummationTypeAllValues(): vo $this->assertEquals(10.0, $summation->getTotalPrepaidAmount()->value()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeSettlementHeaderMonetarySummationType - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeSettlementHeaderMonetarySummationTypeOnly - */ public function testGetTradeSettlementHeaderMonetarySummationTypeAllNull(): void { /** @@ -1445,18 +1117,12 @@ public function testGetTradeSettlementHeaderMonetarySummationTypeAllNull(): void $this->assertNull($summation); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeSettlementHeaderMonetarySummationTypeOnly - */ public function testGetTradeSettlementHeaderMonetarySummationTypeOnly(): void { $summation = self::$objectHelper->getTradeSettlementHeaderMonetarySummationTypeOnly(); $this->assertNotNull($summation); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeAccountingAccountType - */ public function testGetTradeAccountingAccountTypeAllValues(): void { /** @@ -1467,9 +1133,6 @@ public function testGetTradeAccountingAccountTypeAllValues(): void $this->assertEquals("acctype", $accaccount->getTypeCode()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeAccountingAccountType - */ public function testGetTradeAccountingAccountTypeAllNull(): void { /** @@ -1479,9 +1142,6 @@ public function testGetTradeAccountingAccountTypeAllNull(): void $this->assertNull($accaccount); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getDocumentLineDocumentType - */ public function testGetDocumentLineDocumentTypeAllValues(): void { /** @@ -1491,9 +1151,6 @@ public function testGetDocumentLineDocumentTypeAllValues(): void $this->assertEquals("lineid", $doclinedoctype->getLineID()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getDocumentLineDocumentType - */ public function testGetDocumentLineDocumentTypeAllNull(): void { /** @@ -1503,9 +1160,6 @@ public function testGetDocumentLineDocumentTypeAllNull(): void $this->assertNull($doclinedoctype); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getSupplyChainTradeLineItemType - */ public function testGetSupplyChainTradeLineItemTypeAllValues(): void { /** @@ -1516,9 +1170,6 @@ public function testGetSupplyChainTradeLineItemTypeAllValues(): void $this->assertEquals("lineid", $line->getAssociatedDocumentLineDocument()->getLineID()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getSupplyChainTradeLineItemType - */ public function testGetSupplyChainTradeLineItemTypeAllNull(): void { /** @@ -1528,9 +1179,6 @@ public function testGetSupplyChainTradeLineItemTypeAllNull(): void $this->assertNull($line); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeProductType - */ public function testGetTradeProductTypeAllValues(): void { /** @@ -1545,9 +1193,6 @@ public function testGetTradeProductTypeAllValues(): void $this->assertEquals("globalid", $product->getGlobalID()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeProductType - */ public function testGetTradeProductTypeAllNull(): void { /** @@ -1557,9 +1202,6 @@ public function testGetTradeProductTypeAllNull(): void $this->assertNull($product); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getProductCharacteristicType - */ public function testGetProductCharacteristicType(): void { /** @@ -1573,9 +1215,6 @@ public function testGetProductCharacteristicType(): void $this->assertEquals("typecode", $productCharacteristic->getTypeCode()->value()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getProductClassificationType - */ public function testGetProductClassificationType(): void { /** @@ -1594,9 +1233,6 @@ public function testGetProductClassificationType(): void $this->assertNull($productCharacteristic); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getReferencedProductType - */ public function testGetReferencedProductType(): void { /** @@ -1619,9 +1255,6 @@ public function testGetReferencedProductType(): void $this->assertNull($referencedProduct); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradePriceType - */ public function testGetTradePriceTypeAllValues(): void { /** @@ -1633,9 +1266,6 @@ public function testGetTradePriceTypeAllValues(): void $this->assertEquals("C62", $price->getBasisQuantity()->getUnitCode()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradePriceType - */ public function testGetTradePriceTypeAllNull(): void { /** @@ -1645,9 +1275,6 @@ public function testGetTradePriceTypeAllNull(): void $this->assertNull($price); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeSettlementLineMonetarySummationType - */ public function testGetTradeSettlementLineMonetarySummationTypeAllValues(): void { /** @@ -1658,9 +1285,6 @@ public function testGetTradeSettlementLineMonetarySummationTypeAllValues(): void $this->assertEquals(2.0, $summation->getTotalAllowanceChargeAmount()->value()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTradeSettlementLineMonetarySummationType - */ public function testGetTradeSettlementLineMonetarySummationTypeAllNull(): void { /** @@ -1670,9 +1294,6 @@ public function testGetTradeSettlementLineMonetarySummationTypeAllNull(): void $this->assertNull($summation); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::toDateTime - */ public function testToDateTimeGeneral(): void { $this->assertEquals("20200202", self::$objectHelper->toDateTime("20200202", "102")->format("Ymd")); @@ -1690,49 +1311,31 @@ public function testToDateTimeGeneral(): void $this->assertNull(self::$objectHelper->toDateTime("20200202", "999")); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::toDateTime - */ public function testToDateTime101(): void { $this->assertEquals("20200202", self::$objectHelper->toDateTime("200202", "101")->format("Ymd")); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::toDateTime - */ public function testToDateTime201(): void { $this->assertEquals("2002021031", self::$objectHelper->toDateTime("2002021031", "201")->format("ymdHi")); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::toDateTime - */ public function testToDateTime202(): void { $this->assertEquals("200202103145", self::$objectHelper->toDateTime("200202103145", "202")->format("ymdHis")); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::toDateTime - */ public function testToDateTime203(): void { $this->assertEquals("202002021031", self::$objectHelper->toDateTime("202002021031", "203")->format("YmdHi")); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::toDateTime - */ public function testToDateTime204(): void { $this->assertEquals("20200202103145", self::$objectHelper->toDateTime("20200202103145", "204")->format("YmdHis")); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getRateType - */ public function testGetRateType(): void { /** @@ -1742,9 +1345,6 @@ public function testGetRateType(): void $this->assertEquals(10, $rateType->value()); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::getTaxApplicableTradeCurrencyExchangeType - */ public function testGetTaxApplicableTradeCurrencyExchangeType(): void { /** @@ -1763,9 +1363,6 @@ public function testGetTaxApplicableTradeCurrencyExchangeType(): void $this->assertNull($currencyExchangeType); } - /** - * @covers \horstoeko\zugferd\ZugferdObjectHelper::createClassInstance - */ public function testCreateClassInstance(): void { $instance = self::$objectHelper->createClassInstance('ram\TradeProductType'); diff --git a/tests/testcases/PackageVersionTest.php b/tests/testcases/PackageVersionTest.php index 5657b2b4..3c61ddf3 100644 --- a/tests/testcases/PackageVersionTest.php +++ b/tests/testcases/PackageVersionTest.php @@ -7,9 +7,6 @@ class PackageVersionTest extends TestCase { - /** - * @covers \horstoeko\zugferd\ZugferdPackageVersion - */ public function testVersion(): void { $this->assertNotEmpty(ZugferdPackageVersion::getInstalledVersion()); diff --git a/tests/testcases/PdfBuilderEn16931Test.php b/tests/testcases/PdfBuilderEn16931Test.php index 575df9c5..b0d96e74 100644 --- a/tests/testcases/PdfBuilderEn16931Test.php +++ b/tests/testcases/PdfBuilderEn16931Test.php @@ -125,13 +125,6 @@ public function testReadPdf(): void $this->assertNotEquals(ZugferdProfiles::PROFILE_XRECHNUNG, $document->getProfileId()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentPdfBuilderAbstract::getXmlContent - * @covers \horstoeko\zugferd\ZugferdDocumentPdfBuilder::getXmlContent - * @covers \horstoeko\zugferd\ZugferdDocumentPdfMerger::getXmlContent - * - * @return void - */ public function testGetXmlContent(): void { $mockedObject = $this->getMockBuilder(ZugferdDocumentPdfBuilder::class) @@ -154,13 +147,6 @@ public function testGetXmlContent(): void $this->assertInstanceOf(ZugferdDocumentPdfBuilder::class, $result); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentPdfBuilderAbstract::getXmlAttachmentFilename - * @covers \horstoeko\zugferd\ZugferdDocumentPdfBuilder::getXmlAttachmentFilename - * @covers \horstoeko\zugferd\ZugferdDocumentPdfMerger::getXmlAttachmentFilename - * - * @return void - */ public function testGetXmlAttachmentFilename(): void { $mockedObject = $this->getMockBuilder(ZugferdDocumentPdfBuilder::class) @@ -183,13 +169,6 @@ public function testGetXmlAttachmentFilename(): void $this->assertInstanceOf(ZugferdDocumentPdfBuilder::class, $result); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentPdfBuilderAbstract::getXmlAttachmentXmpName - * @covers \horstoeko\zugferd\ZugferdDocumentPdfBuilder::getXmlAttachmentXmpName - * @covers \horstoeko\zugferd\ZugferdDocumentPdfMerger::getXmlAttachmentXmpName - * - * @return void - */ public function testGetXmlAttachmentXmpName(): void { $mockedObject = $this->getMockBuilder(ZugferdDocumentPdfBuilder::class) diff --git a/tests/testcases/PdfReaderEn16931AllowanceChargeTest.php b/tests/testcases/PdfReaderEn16931AllowanceChargeTest.php index 0452366e..4d5c5984 100644 --- a/tests/testcases/PdfReaderEn16931AllowanceChargeTest.php +++ b/tests/testcases/PdfReaderEn16931AllowanceChargeTest.php @@ -15,9 +15,6 @@ class PdfReaderEn16931AllowanceChargeTest extends TestCase */ protected static $document; - /** - * @covers \horstoeko\zugferd\ZugferdDocumentPdfReader::readAndGuessFromFile - */ public function testCanReadPdf(): void { self::$document = ZugferdDocumentPdfReader::readAndGuessFromFile(dirname(__FILE__) . "/../assets/zugferd_2p1_EN16931_Rabatte.pdf"); @@ -33,9 +30,6 @@ public function testDocumentProfile(): void $this->assertNotEquals(ZugferdProfiles::PROFILE_XRECHNUNG, self::$document->getProfileId()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInformation - */ public function testDocumentGenerals(): void { self::$document->getDocumentInformation($documentno, $documenttypecode, $documentdate, $invoiceCurrency, $taxCurrency, $documentname, $documentlanguage, $effectiveSpecifiedPeriod); @@ -51,9 +45,6 @@ public function testDocumentGenerals(): void $this->assertNotNull(self::$document->getInvoiceObject()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentNotes - */ public function testDocumentNotes(): void { self::$document->getDocumentNotes($notes); @@ -94,9 +85,6 @@ public function testDocumentNotes(): void $this->assertStringContainsString("Handelsregisternummer: H A 123", $notes[2]["content"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentGeneralPaymentInformation - */ public function testDocumentGeneralPaymentInformation(): void { self::$document->getDocumentGeneralPaymentInformation($creditorReferenceID, $paymentReference); @@ -104,27 +92,18 @@ public function testDocumentGeneralPaymentInformation(): void $this->assertEquals("", $paymentReference); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getIsDocumentCopy - */ public function testDocumentIsCopy(): void { self::$document->getIsDocumentCopy($iscopy); $this->assertFalse($iscopy); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getIsTestDocument - */ public function testDocumentIsTestDocument(): void { self::$document->getIsTestDocument($istest); $this->assertFalse($istest); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSummation - */ public function testDocumentSummation(): void { self::$document->getDocumentSummation($grandTotalAmount, $duePayableAmount, $lineTotalAmount, $chargeTotalAmount, $allowanceTotalAmount, $taxBasisTotalAmount, $taxTotalAmount, $roundingAmount, $totalPrepaidAmount); @@ -139,18 +118,12 @@ public function testDocumentSummation(): void $this->assertEquals(50.00, $totalPrepaidAmount); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerReference - */ public function testGetDocumentBuyerReference(): void { self::$document->getDocumentBuyerReference($buyerReference); $this->assertEquals("", $buyerReference); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSeller - */ public function testDocumentSellerGeneral(): void { self::$document->getDocumentSeller($sellername, $sellerids, $sellerdescription); @@ -161,9 +134,6 @@ public function testDocumentSellerGeneral(): void $this->assertEquals("", $sellerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerGlobalId - */ public function testDocumentSellerGlobalId(): void { self::$document->getDocumentSellerGlobalId($sellerglobalids); @@ -172,9 +142,6 @@ public function testDocumentSellerGlobalId(): void $this->assertEquals("4000001123452", $sellerglobalids["0088"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRegistration - */ public function testDocumentSellerTaxRegistration(): void { self::$document->getDocumentSellerTaxRegistration($sellertaxreg); @@ -188,9 +155,6 @@ public function testDocumentSellerTaxRegistration(): void $this->assertEquals("DE123456789", $sellertaxreg["VA"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerAddress - */ public function testDocumentSellerAddress(): void { self::$document->getDocumentSellerAddress($sellerlineone, $sellerlinetwo, $sellerlinethree, $sellerpostcode, $sellercity, $sellercountry, $sellersubdivision); @@ -204,9 +168,6 @@ public function testDocumentSellerAddress(): void $this->assertEmpty($sellersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerLegalOrganisation - */ public function testDocumentSellerLegalOrganization(): void { self::$document->getDocumentSellerLegalOrganisation($sellerlegalorgid, $sellerlegalorgtype, $sellerlegalorgname); @@ -215,11 +176,6 @@ public function testDocumentSellerLegalOrganization(): void $this->assertEquals("", $sellerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentSellerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentSellerContact - */ public function testDocumentSellerContact(): void { $this->assertFalse(self::$document->firstDocumentSellerContact()); @@ -231,9 +187,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyer - */ public function testDocumentBuyerGeneral(): void { self::$document->getDocumentBuyer($buyername, $buyerids, $buyerdescription); @@ -245,9 +198,6 @@ public function testDocumentBuyerGeneral(): void $this->assertEquals("", $buyerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerGlobalId - */ public function testDocumentBuyerGlobalId(): void { self::$document->getDocumentBuyerGlobalId($buyerglobalids); @@ -255,9 +205,6 @@ public function testDocumentBuyerGlobalId(): void $this->assertEmpty($buyerglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerTaxRegistration - */ public function testDocumentBuyerTaxRegistration(): void { self::$document->getDocumentBuyerTaxRegistration($buyertaxreg); @@ -265,9 +212,6 @@ public function testDocumentBuyerTaxRegistration(): void $this->assertEmpty($buyertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerAddress - */ public function testDocumentBuyerAddress(): void { self::$document->getDocumentBuyerAddress($buyerlineone, $buyerlinetwo, $buyerlinethree, $buyerpostcode, $buyercity, $buyercountry, $buyersubdivision); @@ -281,9 +225,6 @@ public function testDocumentBuyerAddress(): void $this->assertEmpty($buyersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerLegalOrganisation - */ public function testDocumentBuyerLegalOrganization(): void { self::$document->getDocumentBuyerLegalOrganisation($buyerlegalorgid, $buyerlegalorgtype, $buyerlegalorgname); @@ -292,11 +233,6 @@ public function testDocumentBuyerLegalOrganization(): void $this->assertEquals("", $buyerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentBuyerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentBuyerContact - */ public function testDocumentBuyerContact(): void { $this->assertFalse(self::$document->firstDocumentBuyerContact()); @@ -308,9 +244,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentative - */ public function testDocumentSellerTaxRepresentativeGeneral(): void { self::$document->getDocumentSellerTaxRepresentative($sellertaxreprname, $sellertaxreprids, $sellertaxreprdescription); @@ -320,9 +253,6 @@ public function testDocumentSellerTaxRepresentativeGeneral(): void $this->assertEquals("", $sellertaxreprdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeGlobalId - */ public function testDocumentSellerTaxRepresentativeGlobalId(): void { self::$document->getDocumentSellerTaxRepresentativeGlobalId($sellertaxreprglobalids); @@ -330,9 +260,6 @@ public function testDocumentSellerTaxRepresentativeGlobalId(): void $this->assertEmpty($sellertaxreprglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeTaxRegistration - */ public function testDocumentSellerTaxRepresentativeTaxRegistration(): void { self::$document->getDocumentSellerTaxRepresentativeTaxRegistration($sellertaxreprtaxreg); @@ -340,9 +267,6 @@ public function testDocumentSellerTaxRepresentativeTaxRegistration(): void $this->assertEmpty($sellertaxreprtaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeAddress - */ public function testDocumentSellerTaxRepresentativeAddress(): void { self::$document->getDocumentSellerTaxRepresentativeAddress($sellertaxreprlineone, $sellertaxreprlinetwo, $sellertaxreprlinethree, $sellertaxreprpostcode, $sellertaxreprcity, $sellertaxreprcountry, $sellertaxreprsubdivision); @@ -356,9 +280,6 @@ public function testDocumentSellerTaxRepresentativeAddress(): void $this->assertEmpty($sellertaxreprsubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeLegalOrganisation - */ public function testDocumentSellerTaxRepresentativeLegalOrganization(): void { self::$document->getDocumentSellerTaxRepresentativeLegalOrganisation($sellertaxreprlegalorgid, $sellertaxreprlegalorgtype, $sellertaxreprlegalorgname); @@ -367,11 +288,6 @@ public function testDocumentSellerTaxRepresentativeLegalOrganization(): void $this->assertEquals("", $sellertaxreprlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentSellerTaxRepresentativeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentSellerTaxRepresentativeContact - */ public function testDocumentSellerTaxRepresentativeContact(): void { $this->assertFalse(self::$document->firstDocumentSellerTaxRepresentativeContact()); @@ -383,9 +299,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipTo - */ public function testDocumentShipToGeneral(): void { self::$document->getDocumentShipTo($shiptoname, $shiptoids, $shiptodescription); @@ -395,9 +308,6 @@ public function testDocumentShipToGeneral(): void $this->assertEquals("", $shiptodescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToGlobalId - */ public function testDocumentShipToGlobalId(): void { self::$document->getDocumentShipToGlobalId($shiptoglobalids); @@ -405,9 +315,6 @@ public function testDocumentShipToGlobalId(): void $this->assertEmpty($shiptoglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToTaxRegistration - */ public function testDocumentShipToTaxRegistration(): void { self::$document->getDocumentShipToTaxRegistration($shiptotaxreg); @@ -415,9 +322,6 @@ public function testDocumentShipToTaxRegistration(): void $this->assertEmpty($shiptotaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToAddress - */ public function testDocumentShipToAddress(): void { self::$document->getDocumentShipToAddress($shiptolineone, $shiptolinetwo, $shiptolinethree, $shiptopostcode, $shiptocity, $shiptocountry, $shiptosubdivision); @@ -431,9 +335,6 @@ public function testDocumentShipToAddress(): void $this->assertEmpty($shiptosubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToLegalOrganisation - */ public function testDocumentShipToLegalOrganization(): void { self::$document->getDocumentShipToLegalOrganisation($shiptolegalorgid, $shiptolegalorgtype, $shiptolegalorgname); @@ -442,11 +343,6 @@ public function testDocumentShipToLegalOrganization(): void $this->assertEquals("", $shiptolegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentShipToContact - */ public function testDocumentShipToContact(): void { $this->assertFalse(self::$document->firstDocumentShipToContact()); @@ -458,9 +354,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipTo - */ public function testDocumentUltimateShipToGeneral(): void { self::$document->getDocumentUltimateShipTo($ultimateshiptoname, $ultimateshiptoids, $ultimateshiptodescription); @@ -470,9 +363,6 @@ public function testDocumentUltimateShipToGeneral(): void $this->assertEquals("", $ultimateshiptodescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToGlobalId - */ public function testDocumentUltimateShipToGlobalId(): void { self::$document->getDocumentUltimateShipToGlobalId($ultimateshiptoglobalids); @@ -480,9 +370,6 @@ public function testDocumentUltimateShipToGlobalId(): void $this->assertEmpty($ultimateshiptoglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToTaxRegistration - */ public function testDocumentUltimateShipToTaxRegistration(): void { self::$document->getDocumentUltimateShipToTaxRegistration($ultimateshiptotaxreg); @@ -490,9 +377,6 @@ public function testDocumentUltimateShipToTaxRegistration(): void $this->assertEmpty($ultimateshiptotaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToAddress - */ public function testDocumentUltimateShipToAddress(): void { self::$document->getDocumentUltimateShipToAddress($ultimateshiptolineone, $ultimateshiptolinetwo, $ultimateshiptolinethree, $ultimateshiptopostcode, $ultimateshiptocity, $ultimateshiptocountry, $ultimateshiptosubdivision); @@ -506,9 +390,6 @@ public function testDocumentUltimateShipToAddress(): void $this->assertEmpty($ultimateshiptosubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToLegalOrganisation - */ public function testDocumentUltimateShipToLegalOrganization(): void { self::$document->getDocumentUltimateShipToLegalOrganisation($ultimateshiptolegalorgid, $ultimateshiptolegalorgtype, $ultimateshiptolegalorgname); @@ -517,11 +398,6 @@ public function testDocumentUltimateShipToLegalOrganization(): void $this->assertEquals("", $ultimateshiptolegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentUltimateShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentUltimateShipToContact - */ public function testDocumentUltimateShipToContact(): void { $this->assertFalse(self::$document->firstDocumentUltimateShipToContact()); @@ -538,9 +414,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFrom - */ public function testDocumentShipFromGeneral(): void { self::$document->getDocumentShipFrom($shipfromname, $shipfromids, $shipfromdescription); @@ -550,9 +423,6 @@ public function testDocumentShipFromGeneral(): void $this->assertEquals("", $shipfromdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromGlobalId - */ public function testDocumentShipFromGlobalId(): void { self::$document->getDocumentShipFromGlobalId($shipfromglobalids); @@ -560,9 +430,6 @@ public function testDocumentShipFromGlobalId(): void $this->assertEmpty($shipfromglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromTaxRegistration - */ public function testDocumentShipFromTaxRegistration(): void { self::$document->getDocumentShipFromTaxRegistration($shipfromtaxreg); @@ -570,9 +437,6 @@ public function testDocumentShipFromTaxRegistration(): void $this->assertEmpty($shipfromtaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromAddress - */ public function testDocumentShipFromAddress(): void { self::$document->getDocumentShipFromAddress($shipfromlineone, $shipfromlinetwo, $shipfromlinethree, $shipfrompostcode, $shipfromcity, $shipfromcountry, $shipfromsubdivision); @@ -586,9 +450,6 @@ public function testDocumentShipFromAddress(): void $this->assertEmpty($shipfromsubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromLegalOrganisation - */ public function testDocumentShipFromLegalOrganization(): void { self::$document->getDocumentShipFromLegalOrganisation($shipfromlegalorgid, $shipfromlegalorgtype, $shipfromlegalorgname); @@ -597,11 +458,6 @@ public function testDocumentShipFromLegalOrganization(): void $this->assertEquals("", $shipfromlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentShipFromContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentShipFromContact - */ public function testDocumentShipFromContact(): void { $this->assertFalse(self::$document->firstDocumentShipFromContact()); @@ -618,9 +474,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicer - */ public function testDocumentInvoicerGeneral(): void { self::$document->getDocumentInvoicer($invoicername, $invoicerids, $invoicerdescription); @@ -630,9 +483,6 @@ public function testDocumentInvoicerGeneral(): void $this->assertEquals("", $invoicerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerGlobalId - */ public function testDocumentInvoicerGlobalId(): void { self::$document->getDocumentInvoicerGlobalId($invoicerglobalids); @@ -640,9 +490,6 @@ public function testDocumentInvoicerGlobalId(): void $this->assertEmpty($invoicerglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerTaxRegistration - */ public function testDocumentInvoicerTaxRegistration(): void { self::$document->getDocumentInvoicerTaxRegistration($invoicertaxreg); @@ -650,9 +497,6 @@ public function testDocumentInvoicerTaxRegistration(): void $this->assertEmpty($invoicertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerAddress - */ public function testDocumentInvoicerAddress(): void { self::$document->getDocumentInvoicerAddress($invoicerlineone, $invoicerlinetwo, $invoicerlinethree, $invoicerpostcode, $invoicercity, $invoicercountry, $invoicersubdivision); @@ -666,9 +510,6 @@ public function testDocumentInvoicerAddress(): void $this->assertEmpty($invoicersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerLegalOrganisation - */ public function testDocumentInvoicerLegalOrganization(): void { self::$document->getDocumentInvoicerLegalOrganisation($invoicerlegalorgid, $invoicerlegalorgtype, $invoicerlegalorgname); @@ -677,11 +518,6 @@ public function testDocumentInvoicerLegalOrganization(): void $this->assertEquals("", $invoicerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentInvoicerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentInvoicerContact - */ public function testDocumentInvoicerContact(): void { $this->assertFalse(self::$document->firstDocumentInvoicerContact()); @@ -698,9 +534,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicee - */ public function testDocumentInvoiceeGeneral(): void { self::$document->getDocumentInvoicee($invoiceename, $invoiceeids, $invoiceedescription); @@ -710,9 +543,6 @@ public function testDocumentInvoiceeGeneral(): void $this->assertEquals("", $invoiceedescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeGlobalId - */ public function testDocumentInvoiceeGlobalId(): void { self::$document->getDocumentInvoiceeGlobalId($invoiceeglobalids); @@ -720,9 +550,6 @@ public function testDocumentInvoiceeGlobalId(): void $this->assertEmpty($invoiceeglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeTaxRegistration - */ public function testDocumentInvoiceeTaxRegistration(): void { self::$document->getDocumentInvoiceeTaxRegistration($invoiceetaxreg); @@ -730,9 +557,6 @@ public function testDocumentInvoiceeTaxRegistration(): void $this->assertEmpty($invoiceetaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeAddress - */ public function testDocumentInvoiceeAddress(): void { self::$document->getDocumentInvoiceeAddress($invoiceelineone, $invoiceelinetwo, $invoiceelinethree, $invoiceepostcode, $invoiceecity, $invoiceecountry, $invoiceesubdivision); @@ -746,9 +570,6 @@ public function testDocumentInvoiceeAddress(): void $this->assertEmpty($invoiceesubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeLegalOrganisation - */ public function testDocumentInvoiceeLegalOrganization(): void { self::$document->getDocumentInvoiceeLegalOrganisation($invoiceelegalorgid, $invoiceelegalorgtype, $invoiceelegalorgname); @@ -757,11 +578,6 @@ public function testDocumentInvoiceeLegalOrganization(): void $this->assertEquals("", $invoiceelegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentInvoiceeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentInvoiceeContact - */ public function testDocumentInvoiceeContact(): void { $this->assertFalse(self::$document->firstDocumentInvoiceeContact()); @@ -778,9 +594,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayee - */ public function testDocumentPayeeGeneral(): void { self::$document->getDocumentPayee($payeename, $payeeids, $payeedescription); @@ -790,9 +603,6 @@ public function testDocumentPayeeGeneral(): void $this->assertEquals("", $payeedescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeGlobalId - */ public function testDocumentPayeeGlobalId(): void { self::$document->getDocumentPayeeGlobalId($payeeglobalids); @@ -800,9 +610,6 @@ public function testDocumentPayeeGlobalId(): void $this->assertEmpty($payeeglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeTaxRegistration - */ public function testDocumentPayeeTaxRegistration(): void { self::$document->getDocumentPayeeTaxRegistration($payeetaxreg); @@ -810,9 +617,6 @@ public function testDocumentPayeeTaxRegistration(): void $this->assertEmpty($payeetaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeAddress - */ public function testDocumentPayeeAddress(): void { self::$document->getDocumentPayeeAddress($payeelineone, $payeelinetwo, $payeelinethree, $payeepostcode, $payeecity, $payeecountry, $payeesubdivision); @@ -826,9 +630,6 @@ public function testDocumentPayeeAddress(): void $this->assertEmpty($payeesubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeLegalOrganisation - */ public function testDocumentPayeeLegalOrganization(): void { self::$document->getDocumentPayeeLegalOrganisation($payeelegalorgid, $payeelegalorgtype, $payeelegalorgname); @@ -837,11 +638,6 @@ public function testDocumentPayeeLegalOrganization(): void $this->assertEquals("", $payeelegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPayeeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPayeeContact - */ public function testDocumentPayeeContact(): void { $this->assertFalse(self::$document->firstDocumentPayeeContact()); @@ -858,9 +654,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUser - */ public function testDocumentProductEndUserGeneral(): void { self::$document->getDocumentProductEndUser($producendusername, $producenduserids, $producenduserdescription); @@ -871,9 +664,6 @@ public function testDocumentProductEndUserGeneral(): void $this->assertEquals("", $producenduserdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserGlobalId - */ public function testDocumentProductEndUserGlobalId(): void { self::$document->getDocumentProductEndUserGlobalId($producenduserglobalids); @@ -881,9 +671,6 @@ public function testDocumentProductEndUserGlobalId(): void $this->assertArrayNotHasKey("0088", $producenduserglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserTaxRegistration - */ public function testDocumentProductEndUserTaxRegistration(): void { self::$document->getDocumentProductEndUserTaxRegistration($producendusertaxreg); @@ -895,9 +682,6 @@ public function testDocumentProductEndUserTaxRegistration(): void $this->assertArrayNotHasKey("ZZ", $producendusertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserAddress - */ public function testDocumentProductEndUserAddress(): void { self::$document->getDocumentProductEndUserAddress($producenduserlineone, $producenduserlinetwo, $producenduserlinethree, $producenduserpostcode, $producendusercity, $producendusercountry, $producendusersubdivision); @@ -911,9 +695,6 @@ public function testDocumentProductEndUserAddress(): void $this->assertEmpty($producendusersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserLegalOrganisation - */ public function testDocumentProductEndUserLegalOrganization(): void { self::$document->getDocumentProductEndUserLegalOrganisation($producenduserlegalorgid, $producenduserlegalorgtype, $producenduserlegalorgname); @@ -922,11 +703,6 @@ public function testDocumentProductEndUserLegalOrganization(): void $this->assertEquals("", $producenduserlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentProductEndUserContactContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentProductEndUserContactContact - */ public function testDocumentProductEndUserContact(): void { $this->assertFalse(self::$document->firstDocumentProductEndUserContactContact()); @@ -938,9 +714,6 @@ function () { $this->assertFalse(self::$document->nextDocumentProductEndUserContactContact()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerOrderReferencedDocument - */ public function testDocumentSellerOrderReferencedDocument(): void { self::$document->getDocumentSellerOrderReferencedDocument($sellerorderrefdocid, $sellerorderrefdocdate); @@ -948,9 +721,6 @@ public function testDocumentSellerOrderReferencedDocument(): void $this->assertNull($sellerorderrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerOrderReferencedDocument - */ public function testDocumentBuyerOrderReferencedDocument(): void { self::$document->getDocumentBuyerOrderReferencedDocument($buyerorderrefdocid, $buyerorderrefdocdate); @@ -958,9 +728,6 @@ public function testDocumentBuyerOrderReferencedDocument(): void $this->assertNull($buyerorderrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentContractReferencedDocument - */ public function testDocumentContractReferencedDocument(): void { self::$document->getDocumentContractReferencedDocument($contractrefdocid, $contractrefdocdate); @@ -968,9 +735,6 @@ public function testDocumentContractReferencedDocument(): void $this->assertNull($contractrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAdditionalReferencedDocuments - */ public function testDocumentAdditionalReferencedDocuments(): void { self::$document->getDocumentAdditionalReferencedDocuments($additionalrefdocs); @@ -978,9 +742,6 @@ public function testDocumentAdditionalReferencedDocuments(): void $this->assertEmpty($additionalrefdocs); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProcuringProject - */ public function testDocumentProcuringProject(): void { self::$document->getDocumentProcuringProject($projectid, $projectname); @@ -988,9 +749,6 @@ public function testDocumentProcuringProject(): void $this->assertEquals("", $projectname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSupplyChainEvent - */ public function testDocumentSupplyChainEvent(): void { self::$document->getDocumentSupplyChainEvent($supplychainevent); @@ -999,9 +757,6 @@ public function testDocumentSupplyChainEvent(): void $this->assertEquals((\DateTime::createFromFormat('Ymd', '20180603'))->format('Ymd'), $supplychainevent->format('Ymd')); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDespatchAdviceReferencedDocument - */ public function testDocumentDespatchAdviceReferencedDocument(): void { self::$document->getDocumentDespatchAdviceReferencedDocument($despatchdocid, $despatchdocdate); @@ -1010,9 +765,6 @@ public function testDocumentDespatchAdviceReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $despatchdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentReceivingAdviceReferencedDocument - */ public function testDocumentReceivingAdviceReferencedDocument(): void { self::$document->getDocumentReceivingAdviceReferencedDocument($recadvid, $recadvdate); @@ -1021,9 +773,6 @@ public function testDocumentReceivingAdviceReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $recadvdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDeliveryNoteReferencedDocument - */ public function testDocumentDeliveryNoteReferencedDocument(): void { self::$document->getDocumentDeliveryNoteReferencedDocument($deliverynoterefdocid, $deliverynoterefdocdate); @@ -1032,9 +781,6 @@ public function testDocumentDeliveryNoteReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $deliverynoterefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBillingPeriod - */ public function testDocumentBillingPeriod(): void { self::$document->getDocumentBillingPeriod($docbillingperiodstart, $docbillingperiodend); @@ -1044,9 +790,6 @@ public function testDocumentBillingPeriod(): void $this->assertNotInstanceOf("DateTime", $docbillingperiodend); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAllowanceCharges - */ public function testDocumentAllowanceCharges(): void { self::$document->getDocumentAllowanceCharges($docallowancecharge); @@ -1054,9 +797,6 @@ public function testDocumentAllowanceCharges(): void $this->assertNotEmpty($docallowancecharge); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentTerms - */ public function testDocumentPaymentTerms(): void { self::$document->getDocumentPaymentTerms($docpaymentterms); @@ -1075,60 +815,36 @@ public function testDocumentPaymentTerms(): void $this->assertEquals(0.0, $docpaymentterms[0]["partialpaymentamount"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDeliveryTerms - */ public function testDocumentDeliveryTerms(): void { self::$document->getDocumentDeliveryTerms($devtermcode); $this->assertEquals("", $devtermcode); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAdditionalReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentAdditionalReferencedDocument - */ public function testDocumentAdditionalReferencedDocumentLoop(): void { $this->assertFalse(self::$document->firstDocumentAdditionalReferencedDocument()); $this->assertFalse(self::$document->nextDocumentAdditionalReferencedDocument()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentUltimateCustomerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentUltimateCustomerOrderReferencedDocument - */ public function testDocumentUltimateCustomerOrderReferencedDocumentLoop(): void { $this->assertFalse(self::$document->firstDocumentUltimateCustomerOrderReferencedDocument()); $this->assertFalse(self::$document->nextDocumentUltimateCustomerOrderReferencedDocument()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstGetDocumentPaymentMeans - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextGetDocumentPaymentMeans - */ public function testDocumentDocumentPaymentMeansLoop(): void { $this->assertFalse(self::$document->firstGetDocumentPaymentMeans()); $this->assertFalse(self::$document->nextGetDocumentPaymentMeans()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentTax - */ public function testDocumentTaxLoop(): void { $this->assertTrue(self::$document->firstDocumentTax()); $this->assertTrue(self::$document->nextDocumentTax()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentTax - */ public function testDocumentTax(): void { $this->assertTrue(self::$document->firstDocumentTax()); @@ -1148,10 +864,6 @@ public function testDocumentTax(): void $this->assertEquals(19.0, $rateApplicablePercent); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentAllowanceCharge - */ public function testtDocumentAllowanceChargeLoop(): void { $this->assertTrue(self::$document->firstDocumentAllowanceCharge()); @@ -1160,11 +872,6 @@ public function testtDocumentAllowanceChargeLoop(): void $this->assertFalse(self::$document->nextDocumentAllowanceCharge()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAllowanceCharge - */ public function testtDocumentAllowanceCharge(): void { $this->assertTrue(self::$document->firstDocumentAllowanceCharge()); @@ -1213,32 +920,18 @@ public function testtDocumentAllowanceCharge(): void $this->assertEquals("Versandkosten", $reason); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentLogisticsServiceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentLogisticsServiceCharge - */ public function testtDocumentLogisticsServiceChargeLoop(): void { $this->assertFalse(self::$document->firstDocumentLogisticsServiceCharge()); $this->assertFalse(self::$document->nextDocumentLogisticsServiceCharge()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPaymentTerms - */ public function testtDocumentPaymentTermsLoop(): void { $this->assertTrue(self::$document->firstDocumentPaymentTerms()); $this->assertFalse(self::$document->nextDocumentPaymentTerms()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentTerm - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDiscountTermsFromPaymentTerm - */ public function testtDocumentPaymentTerms(): void { $this->assertTrue(self::$document->firstDocumentPaymentTerms()); @@ -1258,10 +951,6 @@ public function testtDocumentPaymentTerms(): void $this->assertFalse(self::$document->nextDocumentPaymentTerms()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - */ public function testDocumentPositionLoop(): void { $this->assertTrue(self::$document->firstDocumentPosition()); @@ -1271,36 +960,6 @@ public function testDocumentPositionLoop(): void $this->assertFalse(self::$document->nextDocumentPosition()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionFirst(): void { $this->assertTrue(self::$document->firstDocumentPosition()); @@ -1438,35 +1097,6 @@ public function testDocumentPositionFirst(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionSecond(): void { $this->assertTrue(self::$document->nextDocumentPosition()); @@ -1571,35 +1201,6 @@ public function testDocumentPositionSecond(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionThird(): void { $this->assertTrue(self::$document->nextDocumentPosition()); @@ -1704,35 +1305,6 @@ public function testDocumentPositionThird(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionFourth(): void { $this->assertTrue(self::$document->nextDocumentPosition()); @@ -1837,10 +1409,6 @@ public function testDocumentPositionFourth(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionAdditionalReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionAdditionalReferencedDocument - */ public function testDocumentPositionAdditionalReferencedDocument(): void { $this->assertFalse(self::$document->firstDocumentPositionAdditionalReferencedDocument()); diff --git a/tests/testcases/PdfReaderEn16931SimpleTest.php b/tests/testcases/PdfReaderEn16931SimpleTest.php index 33dd11ea..e4fd3e58 100644 --- a/tests/testcases/PdfReaderEn16931SimpleTest.php +++ b/tests/testcases/PdfReaderEn16931SimpleTest.php @@ -15,9 +15,6 @@ class PdfReaderEn16931SimpleTest extends TestCase */ protected static $document; - /** - * @covers \horstoeko\zugferd\ZugferdDocumentPdfReader::readAndGuessFromFile - */ public function testCanReadPdf(): void { self::$document = ZugferdDocumentPdfReader::readAndGuessFromFile(dirname(__FILE__) . "/../assets/zugferd_2p1_EN16931_Einfach.pdf"); @@ -33,9 +30,6 @@ public function testDocumentProfile(): void $this->assertNotEquals(ZugferdProfiles::PROFILE_XRECHNUNG, self::$document->getProfileId()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInformation - */ public function testDocumentGenerals(): void { self::$document->getDocumentInformation($documentno, $documenttypecode, $documentdate, $invoiceCurrency, $taxCurrency, $documentname, $documentlanguage, $effectiveSpecifiedPeriod); @@ -51,9 +45,6 @@ public function testDocumentGenerals(): void $this->assertNotNull(self::$document->getInvoiceObject()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentNotes - */ public function testDocumentNotes(): void { self::$document->getDocumentNotes($notes); @@ -85,9 +76,6 @@ public function testDocumentNotes(): void $this->assertStringContainsString("Handelsregisternummer: H A 123", $notes[1]["content"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentGeneralPaymentInformation - */ public function testDocumentGeneralPaymentInformation(): void { self::$document->getDocumentGeneralPaymentInformation($creditorReferenceID, $paymentReference); @@ -95,27 +83,18 @@ public function testDocumentGeneralPaymentInformation(): void $this->assertEquals("", $paymentReference); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getIsDocumentCopy - */ public function testDocumentIsCopy(): void { self::$document->getIsDocumentCopy($iscopy); $this->assertFalse($iscopy); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getIsTestDocument - */ public function testDocumentIsTestDocument(): void { self::$document->getIsTestDocument($istest); $this->assertFalse($istest); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSummation - */ public function testDocumentSummation(): void { self::$document->getDocumentSummation($grandTotalAmount, $duePayableAmount, $lineTotalAmount, $chargeTotalAmount, $allowanceTotalAmount, $taxBasisTotalAmount, $taxTotalAmount, $roundingAmount, $totalPrepaidAmount); @@ -130,18 +109,12 @@ public function testDocumentSummation(): void $this->assertEquals(0.00, $totalPrepaidAmount); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerReference - */ public function testGetDocumentBuyerReference(): void { self::$document->getDocumentBuyerReference($buyerReference); $this->assertEquals("", $buyerReference); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSeller - */ public function testDocumentSellerGeneral(): void { self::$document->getDocumentSeller($sellername, $sellerids, $sellerdescription); @@ -153,9 +126,6 @@ public function testDocumentSellerGeneral(): void $this->assertEquals("", $sellerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerGlobalId - */ public function testDocumentSellerGlobalId(): void { self::$document->getDocumentSellerGlobalId($sellerglobalids); @@ -164,9 +134,6 @@ public function testDocumentSellerGlobalId(): void $this->assertEquals("4000001123452", $sellerglobalids["0088"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRegistration - */ public function testDocumentSellerTaxRegistration(): void { self::$document->getDocumentSellerTaxRegistration($sellertaxreg); @@ -180,9 +147,6 @@ public function testDocumentSellerTaxRegistration(): void $this->assertEquals("DE123456789", $sellertaxreg["VA"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerAddress - */ public function testDocumentSellerAddress(): void { self::$document->getDocumentSellerAddress($sellerlineone, $sellerlinetwo, $sellerlinethree, $sellerpostcode, $sellercity, $sellercountry, $sellersubdivision); @@ -196,9 +160,6 @@ public function testDocumentSellerAddress(): void $this->assertEmpty($sellersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerLegalOrganisation - */ public function testDocumentSellerLegalOrganization(): void { self::$document->getDocumentSellerLegalOrganisation($sellerlegalorgid, $sellerlegalorgtype, $sellerlegalorgname); @@ -207,11 +168,6 @@ public function testDocumentSellerLegalOrganization(): void $this->assertEquals("", $sellerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentSellerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentSellerContact - */ public function testDocumentSellerContact(): void { $this->assertFalse(self::$document->firstDocumentSellerContact()); @@ -223,9 +179,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyer - */ public function testDocumentBuyerGeneral(): void { self::$document->getDocumentBuyer($buyername, $buyerids, $buyerdescription); @@ -237,9 +190,6 @@ public function testDocumentBuyerGeneral(): void $this->assertEquals("", $buyerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerGlobalId - */ public function testDocumentBuyerGlobalId(): void { self::$document->getDocumentBuyerGlobalId($buyerglobalids); @@ -247,9 +197,6 @@ public function testDocumentBuyerGlobalId(): void $this->assertEmpty($buyerglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerTaxRegistration - */ public function testDocumentBuyerTaxRegistration(): void { self::$document->getDocumentBuyerTaxRegistration($buyertaxreg); @@ -257,9 +204,6 @@ public function testDocumentBuyerTaxRegistration(): void $this->assertEmpty($buyertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerAddress - */ public function testDocumentBuyerAddress(): void { self::$document->getDocumentBuyerAddress($buyerlineone, $buyerlinetwo, $buyerlinethree, $buyerpostcode, $buyercity, $buyercountry, $buyersubdivision); @@ -273,9 +217,6 @@ public function testDocumentBuyerAddress(): void $this->assertEmpty($buyersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerLegalOrganisation - */ public function testDocumentBuyerLegalOrganization(): void { self::$document->getDocumentBuyerLegalOrganisation($buyerlegalorgid, $buyerlegalorgtype, $buyerlegalorgname); @@ -284,11 +225,6 @@ public function testDocumentBuyerLegalOrganization(): void $this->assertEquals("", $buyerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentBuyerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentBuyerContact - */ public function testDocumentBuyerContact(): void { $this->assertFalse(self::$document->firstDocumentBuyerContact()); @@ -300,9 +236,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentative - */ public function testDocumentSellerTaxRepresentativeGeneral(): void { self::$document->getDocumentSellerTaxRepresentative($sellertaxreprname, $sellertaxreprids, $sellertaxreprdescription); @@ -312,9 +245,6 @@ public function testDocumentSellerTaxRepresentativeGeneral(): void $this->assertEquals("", $sellertaxreprdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeGlobalId - */ public function testDocumentSellerTaxRepresentativeGlobalId(): void { self::$document->getDocumentSellerTaxRepresentativeGlobalId($sellertaxreprglobalids); @@ -322,9 +252,6 @@ public function testDocumentSellerTaxRepresentativeGlobalId(): void $this->assertEmpty($sellertaxreprglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeTaxRegistration - */ public function testDocumentSellerTaxRepresentativeTaxRegistration(): void { self::$document->getDocumentSellerTaxRepresentativeTaxRegistration($sellertaxreprtaxreg); @@ -332,9 +259,6 @@ public function testDocumentSellerTaxRepresentativeTaxRegistration(): void $this->assertEmpty($sellertaxreprtaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeAddress - */ public function testDocumentSellerTaxRepresentativeAddress(): void { self::$document->getDocumentSellerTaxRepresentativeAddress($sellertaxreprlineone, $sellertaxreprlinetwo, $sellertaxreprlinethree, $sellertaxreprpostcode, $sellertaxreprcity, $sellertaxreprcountry, $sellertaxreprsubdivision); @@ -348,9 +272,6 @@ public function testDocumentSellerTaxRepresentativeAddress(): void $this->assertEmpty($sellertaxreprsubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeLegalOrganisation - */ public function testDocumentSellerTaxRepresentativeLegalOrganization(): void { self::$document->getDocumentSellerTaxRepresentativeLegalOrganisation($sellertaxreprlegalorgid, $sellertaxreprlegalorgtype, $sellertaxreprlegalorgname); @@ -359,11 +280,6 @@ public function testDocumentSellerTaxRepresentativeLegalOrganization(): void $this->assertEquals("", $sellertaxreprlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentSellerTaxRepresentativeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentSellerTaxRepresentativeContact - */ public function testDocumentSellerTaxRepresentativeContact(): void { $this->assertFalse(self::$document->firstDocumentSellerTaxRepresentativeContact()); @@ -375,9 +291,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipTo - */ public function testDocumentShipToGeneral(): void { self::$document->getDocumentShipTo($shiptoname, $shiptoids, $shiptodescription); @@ -387,9 +300,6 @@ public function testDocumentShipToGeneral(): void $this->assertEquals("", $shiptodescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToGlobalId - */ public function testDocumentShipToGlobalId(): void { self::$document->getDocumentShipToGlobalId($shiptoglobalids); @@ -397,9 +307,6 @@ public function testDocumentShipToGlobalId(): void $this->assertEmpty($shiptoglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToTaxRegistration - */ public function testDocumentShipToTaxRegistration(): void { self::$document->getDocumentShipToTaxRegistration($shiptotaxreg); @@ -407,9 +314,6 @@ public function testDocumentShipToTaxRegistration(): void $this->assertEmpty($shiptotaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToAddress - */ public function testDocumentShipToAddress(): void { self::$document->getDocumentShipToAddress($shiptolineone, $shiptolinetwo, $shiptolinethree, $shiptopostcode, $shiptocity, $shiptocountry, $shiptosubdivision); @@ -423,9 +327,6 @@ public function testDocumentShipToAddress(): void $this->assertEmpty($shiptosubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToLegalOrganisation - */ public function testDocumentShipToLegalOrganization(): void { self::$document->getDocumentShipToLegalOrganisation($shiptolegalorgid, $shiptolegalorgtype, $shiptolegalorgname); @@ -434,11 +335,6 @@ public function testDocumentShipToLegalOrganization(): void $this->assertEquals("", $shiptolegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentShipToContact - */ public function testDocumentShipToContact(): void { $this->assertFalse(self::$document->firstDocumentShipToContact()); @@ -450,9 +346,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipTo - */ public function testDocumentUltimateShipToGeneral(): void { self::$document->getDocumentUltimateShipTo($ultimateshiptoname, $ultimateshiptoids, $ultimateshiptodescription); @@ -462,9 +355,6 @@ public function testDocumentUltimateShipToGeneral(): void $this->assertEquals("", $ultimateshiptodescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToGlobalId - */ public function testDocumentUltimateShipToGlobalId(): void { self::$document->getDocumentUltimateShipToGlobalId($ultimateshiptoglobalids); @@ -472,9 +362,6 @@ public function testDocumentUltimateShipToGlobalId(): void $this->assertEmpty($ultimateshiptoglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToTaxRegistration - */ public function testDocumentUltimateShipToTaxRegistration(): void { self::$document->getDocumentUltimateShipToTaxRegistration($ultimateshiptotaxreg); @@ -482,9 +369,6 @@ public function testDocumentUltimateShipToTaxRegistration(): void $this->assertEmpty($ultimateshiptotaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToAddress - */ public function testDocumentUltimateShipToAddress(): void { self::$document->getDocumentUltimateShipToAddress($ultimateshiptolineone, $ultimateshiptolinetwo, $ultimateshiptolinethree, $ultimateshiptopostcode, $ultimateshiptocity, $ultimateshiptocountry, $ultimateshiptosubdivision); @@ -498,9 +382,6 @@ public function testDocumentUltimateShipToAddress(): void $this->assertEmpty($ultimateshiptosubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToLegalOrganisation - */ public function testDocumentUltimateShipToLegalOrganization(): void { self::$document->getDocumentUltimateShipToLegalOrganisation($ultimateshiptolegalorgid, $ultimateshiptolegalorgtype, $ultimateshiptolegalorgname); @@ -509,11 +390,6 @@ public function testDocumentUltimateShipToLegalOrganization(): void $this->assertEquals("", $ultimateshiptolegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentUltimateShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentUltimateShipToContact - */ public function testDocumentUltimateShipToContact(): void { $this->assertFalse(self::$document->firstDocumentUltimateShipToContact()); @@ -530,9 +406,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFrom - */ public function testDocumentShipFromGeneral(): void { self::$document->getDocumentShipFrom($shipfromname, $shipfromids, $shipfromdescription); @@ -542,9 +415,6 @@ public function testDocumentShipFromGeneral(): void $this->assertEquals("", $shipfromdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromGlobalId - */ public function testDocumentShipFromGlobalId(): void { self::$document->getDocumentShipFromGlobalId($shipfromglobalids); @@ -552,9 +422,6 @@ public function testDocumentShipFromGlobalId(): void $this->assertEmpty($shipfromglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromTaxRegistration - */ public function testDocumentShipFromTaxRegistration(): void { self::$document->getDocumentShipFromTaxRegistration($shipfromtaxreg); @@ -562,9 +429,6 @@ public function testDocumentShipFromTaxRegistration(): void $this->assertEmpty($shipfromtaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromAddress - */ public function testDocumentShipFromAddress(): void { self::$document->getDocumentShipFromAddress($shipfromlineone, $shipfromlinetwo, $shipfromlinethree, $shipfrompostcode, $shipfromcity, $shipfromcountry, $shipfromsubdivision); @@ -578,9 +442,6 @@ public function testDocumentShipFromAddress(): void $this->assertEmpty($shipfromsubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromLegalOrganisation - */ public function testDocumentShipFromLegalOrganization(): void { self::$document->getDocumentShipFromLegalOrganisation($shipfromlegalorgid, $shipfromlegalorgtype, $shipfromlegalorgname); @@ -589,11 +450,6 @@ public function testDocumentShipFromLegalOrganization(): void $this->assertEquals("", $shipfromlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentShipFromContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentShipFromContact - */ public function testDocumentShipFromContact(): void { $this->assertFalse(self::$document->firstDocumentShipFromContact()); @@ -610,9 +466,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicer - */ public function testDocumentInvoicerGeneral(): void { self::$document->getDocumentInvoicer($invoicername, $invoicerids, $invoicerdescription); @@ -622,9 +475,6 @@ public function testDocumentInvoicerGeneral(): void $this->assertEquals("", $invoicerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerGlobalId - */ public function testDocumentInvoicerGlobalId(): void { self::$document->getDocumentInvoicerGlobalId($invoicerglobalids); @@ -632,9 +482,6 @@ public function testDocumentInvoicerGlobalId(): void $this->assertEmpty($invoicerglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerTaxRegistration - */ public function testDocumentInvoicerTaxRegistration(): void { self::$document->getDocumentInvoicerTaxRegistration($invoicertaxreg); @@ -642,9 +489,6 @@ public function testDocumentInvoicerTaxRegistration(): void $this->assertEmpty($invoicertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerAddress - */ public function testDocumentInvoicerAddress(): void { self::$document->getDocumentInvoicerAddress($invoicerlineone, $invoicerlinetwo, $invoicerlinethree, $invoicerpostcode, $invoicercity, $invoicercountry, $invoicersubdivision); @@ -658,9 +502,6 @@ public function testDocumentInvoicerAddress(): void $this->assertEmpty($invoicersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerLegalOrganisation - */ public function testDocumentInvoicerLegalOrganization(): void { self::$document->getDocumentInvoicerLegalOrganisation($invoicerlegalorgid, $invoicerlegalorgtype, $invoicerlegalorgname); @@ -669,11 +510,6 @@ public function testDocumentInvoicerLegalOrganization(): void $this->assertEquals("", $invoicerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentInvoicerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentInvoicerContact - */ public function testDocumentInvoicerContact(): void { $this->assertFalse(self::$document->firstDocumentInvoicerContact()); @@ -690,9 +526,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicee - */ public function testDocumentInvoiceeGeneral(): void { self::$document->getDocumentInvoicee($invoiceename, $invoiceeids, $invoiceedescription); @@ -702,9 +535,6 @@ public function testDocumentInvoiceeGeneral(): void $this->assertEquals("", $invoiceedescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeGlobalId - */ public function testDocumentInvoiceeGlobalId(): void { self::$document->getDocumentInvoiceeGlobalId($invoiceeglobalids); @@ -712,9 +542,6 @@ public function testDocumentInvoiceeGlobalId(): void $this->assertEmpty($invoiceeglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeTaxRegistration - */ public function testDocumentInvoiceeTaxRegistration(): void { self::$document->getDocumentInvoiceeTaxRegistration($invoiceetaxreg); @@ -722,9 +549,6 @@ public function testDocumentInvoiceeTaxRegistration(): void $this->assertEmpty($invoiceetaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeAddress - */ public function testDocumentInvoiceeAddress(): void { self::$document->getDocumentInvoiceeAddress($invoiceelineone, $invoiceelinetwo, $invoiceelinethree, $invoiceepostcode, $invoiceecity, $invoiceecountry, $invoiceesubdivision); @@ -738,9 +562,6 @@ public function testDocumentInvoiceeAddress(): void $this->assertEmpty($invoiceesubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeLegalOrganisation - */ public function testDocumentInvoiceeLegalOrganization(): void { self::$document->getDocumentInvoiceeLegalOrganisation($invoiceelegalorgid, $invoiceelegalorgtype, $invoiceelegalorgname); @@ -749,11 +570,6 @@ public function testDocumentInvoiceeLegalOrganization(): void $this->assertEquals("", $invoiceelegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentInvoiceeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentInvoiceeContact - */ public function testDocumentInvoiceeContact(): void { $this->assertFalse(self::$document->firstDocumentInvoiceeContact()); @@ -770,9 +586,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayee - */ public function testDocumentPayeeGeneral(): void { self::$document->getDocumentPayee($payeename, $payeeids, $payeedescription); @@ -782,9 +595,6 @@ public function testDocumentPayeeGeneral(): void $this->assertEquals("", $payeedescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeGlobalId - */ public function testDocumentPayeeGlobalId(): void { self::$document->getDocumentPayeeGlobalId($payeeglobalids); @@ -792,9 +602,6 @@ public function testDocumentPayeeGlobalId(): void $this->assertEmpty($payeeglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeTaxRegistration - */ public function testDocumentPayeeTaxRegistration(): void { self::$document->getDocumentPayeeTaxRegistration($payeetaxreg); @@ -802,9 +609,6 @@ public function testDocumentPayeeTaxRegistration(): void $this->assertEmpty($payeetaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeAddress - */ public function testDocumentPayeeAddress(): void { self::$document->getDocumentPayeeAddress($payeelineone, $payeelinetwo, $payeelinethree, $payeepostcode, $payeecity, $payeecountry, $payeesubdivision); @@ -818,9 +622,6 @@ public function testDocumentPayeeAddress(): void $this->assertEmpty($payeesubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeLegalOrganisation - */ public function testDocumentPayeeLegalOrganization(): void { self::$document->getDocumentPayeeLegalOrganisation($payeelegalorgid, $payeelegalorgtype, $payeelegalorgname); @@ -829,11 +630,6 @@ public function testDocumentPayeeLegalOrganization(): void $this->assertEquals("", $payeelegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPayeeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPayeeContact - */ public function testDocumentPayeeContact(): void { $this->assertFalse(self::$document->firstDocumentPayeeContact()); @@ -850,9 +646,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUser - */ public function testDocumentProductEndUserGeneral(): void { self::$document->getDocumentProductEndUser($producendusername, $producenduserids, $producenduserdescription); @@ -863,9 +656,6 @@ public function testDocumentProductEndUserGeneral(): void $this->assertEquals("", $producenduserdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserGlobalId - */ public function testDocumentProductEndUserGlobalId(): void { self::$document->getDocumentProductEndUserGlobalId($producenduserglobalids); @@ -873,9 +663,6 @@ public function testDocumentProductEndUserGlobalId(): void $this->assertArrayNotHasKey("0088", $producenduserglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserTaxRegistration - */ public function testDocumentProductEndUserTaxRegistration(): void { self::$document->getDocumentProductEndUserTaxRegistration($producendusertaxreg); @@ -887,9 +674,6 @@ public function testDocumentProductEndUserTaxRegistration(): void $this->assertArrayNotHasKey("ZZ", $producendusertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserAddress - */ public function testDocumentProductEndUserAddress(): void { self::$document->getDocumentProductEndUserAddress($producenduserlineone, $producenduserlinetwo, $producenduserlinethree, $producenduserpostcode, $producendusercity, $producendusercountry, $producendusersubdivision); @@ -903,9 +687,6 @@ public function testDocumentProductEndUserAddress(): void $this->assertEmpty($producendusersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserLegalOrganisation - */ public function testDocumentProductEndUserLegalOrganization(): void { self::$document->getDocumentProductEndUserLegalOrganisation($producenduserlegalorgid, $producenduserlegalorgtype, $producenduserlegalorgname); @@ -914,11 +695,6 @@ public function testDocumentProductEndUserLegalOrganization(): void $this->assertEquals("", $producenduserlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentProductEndUserContactContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentProductEndUserContactContact - */ public function testDocumentProductEndUserContact(): void { $this->assertFalse(self::$document->firstDocumentProductEndUserContactContact()); @@ -930,9 +706,6 @@ function () { $this->assertFalse(self::$document->nextDocumentProductEndUserContactContact()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerOrderReferencedDocument - */ public function testDocumentSellerOrderReferencedDocument(): void { self::$document->getDocumentSellerOrderReferencedDocument($sellerorderrefdocid, $sellerorderrefdocdate); @@ -940,9 +713,6 @@ public function testDocumentSellerOrderReferencedDocument(): void $this->assertNull($sellerorderrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerOrderReferencedDocument - */ public function testDocumentBuyerOrderReferencedDocument(): void { self::$document->getDocumentBuyerOrderReferencedDocument($buyerorderrefdocid, $buyerorderrefdocdate); @@ -950,9 +720,6 @@ public function testDocumentBuyerOrderReferencedDocument(): void $this->assertNull($buyerorderrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentContractReferencedDocument - */ public function testDocumentContractReferencedDocument(): void { self::$document->getDocumentContractReferencedDocument($contractrefdocid, $contractrefdocdate); @@ -960,9 +727,6 @@ public function testDocumentContractReferencedDocument(): void $this->assertNull($contractrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAdditionalReferencedDocuments - */ public function testDocumentAdditionalReferencedDocuments(): void { self::$document->getDocumentAdditionalReferencedDocuments($additionalrefdocs); @@ -970,9 +734,6 @@ public function testDocumentAdditionalReferencedDocuments(): void $this->assertEmpty($additionalrefdocs); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProcuringProject - */ public function testDocumentProcuringProject(): void { self::$document->getDocumentProcuringProject($projectid, $projectname); @@ -980,9 +741,6 @@ public function testDocumentProcuringProject(): void $this->assertEquals("", $projectname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSupplyChainEvent - */ public function testDocumentSupplyChainEvent(): void { self::$document->getDocumentSupplyChainEvent($supplychainevent); @@ -991,9 +749,6 @@ public function testDocumentSupplyChainEvent(): void $this->assertEquals((\DateTime::createFromFormat('Ymd', '20180305'))->format('Ymd'), $supplychainevent->format('Ymd')); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDespatchAdviceReferencedDocument - */ public function testDocumentDespatchAdviceReferencedDocument(): void { self::$document->getDocumentDespatchAdviceReferencedDocument($despatchdocid, $despatchdocdate); @@ -1002,9 +757,6 @@ public function testDocumentDespatchAdviceReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $despatchdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentReceivingAdviceReferencedDocument - */ public function testDocumentReceivingAdviceReferencedDocument(): void { self::$document->getDocumentReceivingAdviceReferencedDocument($recadvid, $recadvdate); @@ -1013,9 +765,6 @@ public function testDocumentReceivingAdviceReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $recadvdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDeliveryNoteReferencedDocument - */ public function testDocumentDeliveryNoteReferencedDocument(): void { self::$document->getDocumentDeliveryNoteReferencedDocument($deliverynoterefdocid, $deliverynoterefdocdate); @@ -1024,9 +773,6 @@ public function testDocumentDeliveryNoteReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $deliverynoterefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBillingPeriod - */ public function testDocumentBillingPeriod(): void { self::$document->getDocumentBillingPeriod($docbillingperiodstart, $docbillingperiodend); @@ -1036,9 +782,6 @@ public function testDocumentBillingPeriod(): void $this->assertNotInstanceOf("DateTime", $docbillingperiodend); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAllowanceCharges - */ public function testDocumentAllowanceCharges(): void { self::$document->getDocumentAllowanceCharges($docallowancecharge); @@ -1046,9 +789,6 @@ public function testDocumentAllowanceCharges(): void $this->assertEmpty($docallowancecharge); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentTerms - */ public function testDocumentPaymentTerms(): void { self::$document->getDocumentPaymentTerms($docpaymentterms); @@ -1067,60 +807,36 @@ public function testDocumentPaymentTerms(): void $this->assertEquals(0.0, $docpaymentterms[0]["partialpaymentamount"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDeliveryTerms - */ public function testDocumentDeliveryTerms(): void { self::$document->getDocumentDeliveryTerms($devtermcode); $this->assertEquals("", $devtermcode); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAdditionalReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentAdditionalReferencedDocument - */ public function testDocumentAdditionalReferencedDocumentLoop(): void { $this->assertFalse(self::$document->firstDocumentAdditionalReferencedDocument()); $this->assertFalse(self::$document->nextDocumentAdditionalReferencedDocument()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentUltimateCustomerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentUltimateCustomerOrderReferencedDocument - */ public function testDocumentUltimateCustomerOrderReferencedDocumentLoop(): void { $this->assertFalse(self::$document->firstDocumentUltimateCustomerOrderReferencedDocument()); $this->assertFalse(self::$document->nextDocumentUltimateCustomerOrderReferencedDocument()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstGetDocumentPaymentMeans - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextGetDocumentPaymentMeans - */ public function testDocumentPaymentMeansLoop(): void { $this->assertFalse(self::$document->firstGetDocumentPaymentMeans()); $this->assertFalse(self::$document->nextGetDocumentPaymentMeans()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentTax - */ public function testDocumentTaxLoop(): void { $this->assertTrue(self::$document->firstDocumentTax()); $this->assertTrue(self::$document->nextDocumentTax()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentTax - */ public function testDocumentTax(): void { $this->assertTrue(self::$document->firstDocumentTax()); @@ -1140,42 +856,24 @@ public function testDocumentTax(): void $this->assertEquals(19.0, $rateApplicablePercent); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentAllowanceCharge - */ public function testtDocumentAllowanceChargeLoop(): void { $this->assertFalse(self::$document->firstDocumentAllowanceCharge()); $this->assertFalse(self::$document->nextDocumentAllowanceCharge()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentLogisticsServiceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentLogisticsServiceCharge - */ public function testtDocumentLogisticsServiceChargeLoop(): void { $this->assertFalse(self::$document->firstDocumentLogisticsServiceCharge()); $this->assertFalse(self::$document->nextDocumentLogisticsServiceCharge()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPaymentTerms - */ public function testtDocumentPaymentTermsLoop(): void { $this->assertTrue(self::$document->firstDocumentPaymentTerms()); $this->assertFalse(self::$document->nextDocumentPaymentTerms()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentTerm - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDiscountTermsFromPaymentTerm - */ public function testtDocumentPaymentTerms(): void { $this->assertTrue(self::$document->firstDocumentPaymentTerms()); @@ -1195,10 +893,6 @@ public function testtDocumentPaymentTerms(): void $this->assertFalse(self::$document->nextDocumentPaymentTerms()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - */ public function testDocumentPositionLoop(): void { $this->assertTrue(self::$document->firstDocumentPosition(), "has a first position"); @@ -1206,30 +900,6 @@ public function testDocumentPositionLoop(): void $this->assertFalse(self::$document->nextDocumentPosition(), "has no third position"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionFirst(): void { $this->assertTrue(self::$document->firstDocumentPosition()); @@ -1328,30 +998,6 @@ public function testDocumentPositionFirst(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionSecond(): void { $this->assertTrue(self::$document->nextDocumentPosition()); @@ -1450,10 +1096,6 @@ public function testDocumentPositionSecond(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionAdditionalReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionAdditionalReferencedDocument - */ public function testDocumentPositionAdditionalReferencedDocument(): void { $this->assertFalse(self::$document->firstDocumentPositionAdditionalReferencedDocument()); diff --git a/tests/testcases/PdfReaderExtended2Test.php b/tests/testcases/PdfReaderExtended2Test.php index 3e4a2479..4364787f 100644 --- a/tests/testcases/PdfReaderExtended2Test.php +++ b/tests/testcases/PdfReaderExtended2Test.php @@ -15,9 +15,6 @@ class PdfReaderExtended2Test extends TestCase */ protected static $document; - /** - * @covers \horstoeko\zugferd\ZugferdDocumentPdfReader::readAndGuessFromFile - */ public function testCanReadPdf(): void { self::$document = ZugferdDocumentPdfReader::readAndGuessFromFile(dirname(__FILE__) . "/../assets/Facture_F20200027_EXTENDED.pdf"); @@ -32,9 +29,6 @@ public function testDocumentProfile(): void $this->assertEquals(ZugferdProfiles::PROFILE_EXTENDED, self::$document->getProfileId()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInformation - */ public function testDocumentGenerals(): void { self::$document->getDocumentInformation($documentno, $documenttypecode, $documentdate, $invoiceCurrency, $taxCurrency, $documentname, $documentlanguage, $effectiveSpecifiedPeriod); @@ -50,9 +44,6 @@ public function testDocumentGenerals(): void $this->assertNotNull(self::$document->getInvoiceObject()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentNotes - */ public function testDocumentNotes(): void { self::$document->getDocumentNotes($notes); @@ -79,9 +70,6 @@ public function testDocumentNotes(): void $this->assertEquals("RCS MAVILLE 123 456 789", $notes[1]["content"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentGeneralPaymentInformation - */ public function testDocumentGeneralPaymentInformation(): void { self::$document->getDocumentGeneralPaymentInformation($creditorReferenceID, $paymentReference); @@ -89,27 +77,18 @@ public function testDocumentGeneralPaymentInformation(): void $this->assertEquals("F20180023BUYER", $paymentReference); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getIsDocumentCopy - */ public function testDocumentIsCopy(): void { self::$document->getIsDocumentCopy($iscopy); $this->assertFalse($iscopy); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getIsTestDocument - */ public function testDocumentIsTestDocument(): void { self::$document->getIsTestDocument($istest); $this->assertFalse($istest); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSummation - */ public function testDocumentSummation(): void { self::$document->getDocumentSummation($grandTotalAmount, $duePayableAmount, $lineTotalAmount, $chargeTotalAmount, $allowanceTotalAmount, $taxBasisTotalAmount, $taxTotalAmount, $roundingAmount, $totalPrepaidAmount); @@ -124,18 +103,12 @@ public function testDocumentSummation(): void $this->assertEquals(10.00, $totalPrepaidAmount); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerReference - */ public function testGetDocumentBuyerReference(): void { self::$document->getDocumentBuyerReference($buyerReference); $this->assertEquals("SERVEXEC", $buyerReference); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSeller - */ public function testDocumentSellerGeneral(): void { self::$document->getDocumentSeller($sellername, $sellerids, $sellerdescription); @@ -146,9 +119,6 @@ public function testDocumentSellerGeneral(): void $this->assertEquals("", $sellerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerGlobalId - */ public function testDocumentSellerGlobalId(): void { self::$document->getDocumentSellerGlobalId($sellerglobalids); @@ -157,9 +127,6 @@ public function testDocumentSellerGlobalId(): void $this->assertEquals("587451236587", $sellerglobalids["0088"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRegistration - */ public function testDocumentSellerTaxRegistration(): void { self::$document->getDocumentSellerTaxRegistration($sellertaxreg); @@ -172,9 +139,6 @@ public function testDocumentSellerTaxRegistration(): void $this->assertEquals("FR32123456789", $sellertaxreg["VA"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerAddress - */ public function testDocumentSellerAddress(): void { self::$document->getDocumentSellerAddress($sellerlineone, $sellerlinetwo, $sellerlinethree, $sellerpostcode, $sellercity, $sellercountry, $sellersubdivision); @@ -188,9 +152,6 @@ public function testDocumentSellerAddress(): void $this->assertEmpty($sellersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerLegalOrganisation - */ public function testDocumentSellerLegalOrganization(): void { self::$document->getDocumentSellerLegalOrganisation($sellerlegalorgid, $sellerlegalorgtype, $sellerlegalorgname); @@ -199,11 +160,6 @@ public function testDocumentSellerLegalOrganization(): void $this->assertEquals("SELLER TRADE NAME", $sellerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentSellerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentSellerContact - */ public function testDocumentSellerContact(): void { $this->assertFalse(self::$document->firstDocumentSellerContact()); @@ -215,9 +171,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyer - */ public function testDocumentBuyerGeneral(): void { self::$document->getDocumentBuyer($buyername, $buyerids, $buyerdescription); @@ -228,9 +181,6 @@ public function testDocumentBuyerGeneral(): void $this->assertEquals("", $buyerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerGlobalId - */ public function testDocumentBuyerGlobalId(): void { self::$document->getDocumentBuyerGlobalId($buyerglobalids); @@ -239,9 +189,6 @@ public function testDocumentBuyerGlobalId(): void $this->assertEquals("3654789851", $buyerglobalids["0088"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerTaxRegistration - */ public function testDocumentBuyerTaxRegistration(): void { self::$document->getDocumentBuyerTaxRegistration($buyertaxreg); @@ -254,9 +201,6 @@ public function testDocumentBuyerTaxRegistration(): void $this->assertEquals("FR 05 987 654 321", $buyertaxreg["VA"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerAddress - */ public function testDocumentBuyerAddress(): void { self::$document->getDocumentBuyerAddress($buyerlineone, $buyerlinetwo, $buyerlinethree, $buyerpostcode, $buyercity, $buyercountry, $buyersubdivision); @@ -270,9 +214,6 @@ public function testDocumentBuyerAddress(): void $this->assertEmpty($buyersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerLegalOrganisation - */ public function testDocumentBuyerLegalOrganization(): void { self::$document->getDocumentBuyerLegalOrganisation($buyerlegalorgid, $buyerlegalorgtype, $buyerlegalorgname); @@ -281,11 +222,6 @@ public function testDocumentBuyerLegalOrganization(): void $this->assertEquals("", $buyerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentBuyerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentBuyerContact - */ public function testDocumentBuyerContact(): void { $this->assertFalse(self::$document->firstDocumentBuyerContact()); @@ -297,9 +233,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentative - */ public function testDocumentSellerTaxRepresentativeGeneral(): void { self::$document->getDocumentSellerTaxRepresentative($sellertaxreprname, $sellertaxreprids, $sellertaxreprdescription); @@ -309,9 +242,6 @@ public function testDocumentSellerTaxRepresentativeGeneral(): void $this->assertEquals("", $sellertaxreprdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeGlobalId - */ public function testDocumentSellerTaxRepresentativeGlobalId(): void { self::$document->getDocumentSellerTaxRepresentativeGlobalId($sellertaxreprglobalids); @@ -319,9 +249,6 @@ public function testDocumentSellerTaxRepresentativeGlobalId(): void $this->assertEmpty($sellertaxreprglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeTaxRegistration - */ public function testDocumentSellerTaxRepresentativeTaxRegistration(): void { self::$document->getDocumentSellerTaxRepresentativeTaxRegistration($sellertaxreprtaxreg); @@ -329,9 +256,6 @@ public function testDocumentSellerTaxRepresentativeTaxRegistration(): void $this->assertEmpty($sellertaxreprtaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeAddress - */ public function testDocumentSellerTaxRepresentativeAddress(): void { self::$document->getDocumentSellerTaxRepresentativeAddress($sellertaxreprlineone, $sellertaxreprlinetwo, $sellertaxreprlinethree, $sellertaxreprpostcode, $sellertaxreprcity, $sellertaxreprcountry, $sellertaxreprsubdivision); @@ -345,9 +269,6 @@ public function testDocumentSellerTaxRepresentativeAddress(): void $this->assertEmpty($sellertaxreprsubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeLegalOrganisation - */ public function testDocumentSellerTaxRepresentativeLegalOrganization(): void { self::$document->getDocumentSellerTaxRepresentativeLegalOrganisation($sellertaxreprlegalorgid, $sellertaxreprlegalorgtype, $sellertaxreprlegalorgname); @@ -356,11 +277,6 @@ public function testDocumentSellerTaxRepresentativeLegalOrganization(): void $this->assertEquals("", $sellertaxreprlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentSellerTaxRepresentativeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentSellerTaxRepresentativeContact - */ public function testDocumentSellerTaxRepresentativeContact(): void { $this->assertFalse(self::$document->firstDocumentSellerTaxRepresentativeContact()); @@ -372,9 +288,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipTo - */ public function testDocumentShipToGeneral(): void { self::$document->getDocumentShipTo($shiptoname, $shiptoids, $shiptodescription); @@ -384,9 +297,6 @@ public function testDocumentShipToGeneral(): void $this->assertEquals("", $shiptodescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToGlobalId - */ public function testDocumentShipToGlobalId(): void { self::$document->getDocumentShipToGlobalId($shiptoglobalids); @@ -395,9 +305,6 @@ public function testDocumentShipToGlobalId(): void $this->assertEquals("3654789851", $shiptoglobalids["0088"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToTaxRegistration - */ public function testDocumentShipToTaxRegistration(): void { self::$document->getDocumentShipToTaxRegistration($shiptotaxreg); @@ -405,9 +312,6 @@ public function testDocumentShipToTaxRegistration(): void $this->assertEmpty($shiptotaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToAddress - */ public function testDocumentShipToAddress(): void { self::$document->getDocumentShipToAddress($shiptolineone, $shiptolinetwo, $shiptolinethree, $shiptopostcode, $shiptocity, $shiptocountry, $shiptosubdivision); @@ -421,9 +325,6 @@ public function testDocumentShipToAddress(): void $this->assertEmpty($shiptosubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToLegalOrganisation - */ public function testDocumentShipToLegalOrganization(): void { self::$document->getDocumentShipToLegalOrganisation($shiptolegalorgid, $shiptolegalorgtype, $shiptolegalorgname); @@ -432,11 +333,6 @@ public function testDocumentShipToLegalOrganization(): void $this->assertEquals("", $shiptolegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentShipToContact - */ public function testDocumentShipToContact(): void { $this->assertFalse(self::$document->firstDocumentShipToContact()); @@ -448,9 +344,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipTo - */ public function testDocumentUltimateShipToGeneral(): void { self::$document->getDocumentUltimateShipTo($ultimateshiptoname, $ultimateshiptoids, $ultimateshiptodescription); @@ -460,9 +353,6 @@ public function testDocumentUltimateShipToGeneral(): void $this->assertEquals("", $ultimateshiptodescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToGlobalId - */ public function testDocumentUltimateShipToGlobalId(): void { self::$document->getDocumentUltimateShipToGlobalId($ultimateshiptoglobalids); @@ -470,9 +360,6 @@ public function testDocumentUltimateShipToGlobalId(): void $this->assertEmpty($ultimateshiptoglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToTaxRegistration - */ public function testDocumentUltimateShipToTaxRegistration(): void { self::$document->getDocumentUltimateShipToTaxRegistration($ultimateshiptotaxreg); @@ -480,9 +367,6 @@ public function testDocumentUltimateShipToTaxRegistration(): void $this->assertEmpty($ultimateshiptotaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToAddress - */ public function testDocumentUltimateShipToAddress(): void { self::$document->getDocumentUltimateShipToAddress($ultimateshiptolineone, $ultimateshiptolinetwo, $ultimateshiptolinethree, $ultimateshiptopostcode, $ultimateshiptocity, $ultimateshiptocountry, $ultimateshiptosubdivision); @@ -496,9 +380,6 @@ public function testDocumentUltimateShipToAddress(): void $this->assertEmpty($ultimateshiptosubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToLegalOrganisation - */ public function testDocumentUltimateShipToLegalOrganization(): void { self::$document->getDocumentUltimateShipToLegalOrganisation($ultimateshiptolegalorgid, $ultimateshiptolegalorgtype, $ultimateshiptolegalorgname); @@ -507,11 +388,6 @@ public function testDocumentUltimateShipToLegalOrganization(): void $this->assertEquals("", $ultimateshiptolegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentUltimateShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentUltimateShipToContact - */ public function testDocumentUltimateShipToContact(): void { $this->assertFalse(self::$document->firstDocumentUltimateShipToContact()); @@ -528,9 +404,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFrom - */ public function testDocumentShipFromGeneral(): void { self::$document->getDocumentShipFrom($shipfromname, $shipfromids, $shipfromdescription); @@ -540,9 +413,6 @@ public function testDocumentShipFromGeneral(): void $this->assertEquals("", $shipfromdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromGlobalId - */ public function testDocumentShipFromGlobalId(): void { self::$document->getDocumentShipFromGlobalId($shipfromglobalids); @@ -550,9 +420,6 @@ public function testDocumentShipFromGlobalId(): void $this->assertEmpty($shipfromglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromTaxRegistration - */ public function testDocumentShipFromTaxRegistration(): void { self::$document->getDocumentShipFromTaxRegistration($shipfromtaxreg); @@ -560,9 +427,6 @@ public function testDocumentShipFromTaxRegistration(): void $this->assertEmpty($shipfromtaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromAddress - */ public function testDocumentShipFromAddress(): void { self::$document->getDocumentShipFromAddress($shipfromlineone, $shipfromlinetwo, $shipfromlinethree, $shipfrompostcode, $shipfromcity, $shipfromcountry, $shipfromsubdivision); @@ -576,9 +440,6 @@ public function testDocumentShipFromAddress(): void $this->assertEmpty($shipfromsubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromLegalOrganisation - */ public function testDocumentShipFromLegalOrganization(): void { self::$document->getDocumentShipFromLegalOrganisation($shipfromlegalorgid, $shipfromlegalorgtype, $shipfromlegalorgname); @@ -587,11 +448,6 @@ public function testDocumentShipFromLegalOrganization(): void $this->assertEquals("", $shipfromlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentShipFromContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentShipFromContact - */ public function testDocumentShipFromContact(): void { $this->assertFalse(self::$document->firstDocumentShipFromContact()); @@ -608,9 +464,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicer - */ public function testDocumentInvoicerGeneral(): void { self::$document->getDocumentInvoicer($invoicername, $invoicerids, $invoicerdescription); @@ -620,9 +473,6 @@ public function testDocumentInvoicerGeneral(): void $this->assertEquals("", $invoicerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerGlobalId - */ public function testDocumentInvoicerGlobalId(): void { self::$document->getDocumentInvoicerGlobalId($invoicerglobalids); @@ -630,9 +480,6 @@ public function testDocumentInvoicerGlobalId(): void $this->assertEmpty($invoicerglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerTaxRegistration - */ public function testDocumentInvoicerTaxRegistration(): void { self::$document->getDocumentInvoicerTaxRegistration($invoicertaxreg); @@ -640,9 +487,6 @@ public function testDocumentInvoicerTaxRegistration(): void $this->assertEmpty($invoicertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerAddress - */ public function testDocumentInvoicerAddress(): void { self::$document->getDocumentInvoicerAddress($invoicerlineone, $invoicerlinetwo, $invoicerlinethree, $invoicerpostcode, $invoicercity, $invoicercountry, $invoicersubdivision); @@ -656,9 +500,6 @@ public function testDocumentInvoicerAddress(): void $this->assertEmpty($invoicersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerLegalOrganisation - */ public function testDocumentInvoicerLegalOrganization(): void { self::$document->getDocumentInvoicerLegalOrganisation($invoicerlegalorgid, $invoicerlegalorgtype, $invoicerlegalorgname); @@ -667,11 +508,6 @@ public function testDocumentInvoicerLegalOrganization(): void $this->assertEquals("", $invoicerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentInvoicerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentInvoicerContact - */ public function testDocumentInvoicerContact(): void { $this->assertFalse(self::$document->firstDocumentInvoicerContact()); @@ -688,9 +524,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicee - */ public function testDocumentInvoiceeGeneral(): void { self::$document->getDocumentInvoicee($invoiceename, $invoiceeids, $invoiceedescription); @@ -700,9 +533,6 @@ public function testDocumentInvoiceeGeneral(): void $this->assertEquals("", $invoiceedescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeGlobalId - */ public function testDocumentInvoiceeGlobalId(): void { self::$document->getDocumentInvoiceeGlobalId($invoiceeglobalids); @@ -710,9 +540,6 @@ public function testDocumentInvoiceeGlobalId(): void $this->assertEmpty($invoiceeglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeTaxRegistration - */ public function testDocumentInvoiceeTaxRegistration(): void { self::$document->getDocumentInvoiceeTaxRegistration($invoiceetaxreg); @@ -720,9 +547,6 @@ public function testDocumentInvoiceeTaxRegistration(): void $this->assertEmpty($invoiceetaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeAddress - */ public function testDocumentInvoiceeAddress(): void { self::$document->getDocumentInvoiceeAddress($invoiceelineone, $invoiceelinetwo, $invoiceelinethree, $invoiceepostcode, $invoiceecity, $invoiceecountry, $invoiceesubdivision); @@ -736,9 +560,6 @@ public function testDocumentInvoiceeAddress(): void $this->assertEmpty($invoiceesubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeLegalOrganisation - */ public function testDocumentInvoiceeLegalOrganization(): void { self::$document->getDocumentInvoiceeLegalOrganisation($invoiceelegalorgid, $invoiceelegalorgtype, $invoiceelegalorgname); @@ -747,11 +568,6 @@ public function testDocumentInvoiceeLegalOrganization(): void $this->assertEquals("", $invoiceelegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentInvoiceeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentInvoiceeContact - */ public function testDocumentInvoiceeContact(): void { $this->assertFalse(self::$document->firstDocumentInvoiceeContact()); @@ -768,9 +584,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayee - */ public function testDocumentPayeeGeneral(): void { self::$document->getDocumentPayee($payeename, $payeeids, $payeedescription); @@ -780,9 +593,6 @@ public function testDocumentPayeeGeneral(): void $this->assertEquals("", $payeedescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeGlobalId - */ public function testDocumentPayeeGlobalId(): void { self::$document->getDocumentPayeeGlobalId($payeeglobalids); @@ -790,9 +600,6 @@ public function testDocumentPayeeGlobalId(): void $this->assertEmpty($payeeglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeTaxRegistration - */ public function testDocumentPayeeTaxRegistration(): void { self::$document->getDocumentPayeeTaxRegistration($payeetaxreg); @@ -800,9 +607,6 @@ public function testDocumentPayeeTaxRegistration(): void $this->assertEmpty($payeetaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeAddress - */ public function testDocumentPayeeAddress(): void { self::$document->getDocumentPayeeAddress($payeelineone, $payeelinetwo, $payeelinethree, $payeepostcode, $payeecity, $payeecountry, $payeesubdivision); @@ -816,9 +620,6 @@ public function testDocumentPayeeAddress(): void $this->assertEmpty($payeesubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeLegalOrganisation - */ public function testDocumentPayeeLegalOrganization(): void { self::$document->getDocumentPayeeLegalOrganisation($payeelegalorgid, $payeelegalorgtype, $payeelegalorgname); @@ -827,11 +628,6 @@ public function testDocumentPayeeLegalOrganization(): void $this->assertEquals("", $payeelegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPayeeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPayeeContact - */ public function testDocumentPayeeContact(): void { $this->assertFalse(self::$document->firstDocumentPayeeContact()); @@ -848,9 +644,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUser - */ public function testDocumentProductEndUserGeneral(): void { self::$document->getDocumentProductEndUser($producendusername, $producenduserids, $producenduserdescription); @@ -861,9 +654,6 @@ public function testDocumentProductEndUserGeneral(): void $this->assertEquals("", $producenduserdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserGlobalId - */ public function testDocumentProductEndUserGlobalId(): void { self::$document->getDocumentProductEndUserGlobalId($producenduserglobalids); @@ -871,9 +661,6 @@ public function testDocumentProductEndUserGlobalId(): void $this->assertArrayNotHasKey("0088", $producenduserglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserTaxRegistration - */ public function testDocumentProductEndUserTaxRegistration(): void { self::$document->getDocumentProductEndUserTaxRegistration($producendusertaxreg); @@ -885,9 +672,6 @@ public function testDocumentProductEndUserTaxRegistration(): void $this->assertArrayNotHasKey("ZZ", $producendusertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserAddress - */ public function testDocumentProductEndUserAddress(): void { self::$document->getDocumentProductEndUserAddress($producenduserlineone, $producenduserlinetwo, $producenduserlinethree, $producenduserpostcode, $producendusercity, $producendusercountry, $producendusersubdivision); @@ -901,9 +685,6 @@ public function testDocumentProductEndUserAddress(): void $this->assertEmpty($producendusersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserLegalOrganisation - */ public function testDocumentProductEndUserLegalOrganization(): void { self::$document->getDocumentProductEndUserLegalOrganisation($producenduserlegalorgid, $producenduserlegalorgtype, $producenduserlegalorgname); @@ -912,11 +693,6 @@ public function testDocumentProductEndUserLegalOrganization(): void $this->assertEquals("", $producenduserlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentProductEndUserContactContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentProductEndUserContactContact - */ public function testDocumentProductEndUserContact(): void { $this->assertFalse(self::$document->firstDocumentProductEndUserContactContact()); @@ -928,9 +704,6 @@ function () { $this->assertFalse(self::$document->nextDocumentProductEndUserContactContact()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerOrderReferencedDocument - */ public function testDocumentSellerOrderReferencedDocument(): void { self::$document->getDocumentSellerOrderReferencedDocument($sellerorderrefdocid, $sellerorderrefdocdate); @@ -938,9 +711,6 @@ public function testDocumentSellerOrderReferencedDocument(): void $this->assertNull($sellerorderrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerOrderReferencedDocument - */ public function testDocumentBuyerOrderReferencedDocument(): void { self::$document->getDocumentBuyerOrderReferencedDocument($buyerorderrefdocid, $buyerorderrefdocdate); @@ -948,9 +718,6 @@ public function testDocumentBuyerOrderReferencedDocument(): void $this->assertNull($buyerorderrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentContractReferencedDocument - */ public function testDocumentContractReferencedDocument(): void { self::$document->getDocumentContractReferencedDocument($contractrefdocid, $contractrefdocdate); @@ -958,9 +725,6 @@ public function testDocumentContractReferencedDocument(): void $this->assertNull($contractrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAdditionalReferencedDocuments - */ public function testDocumentAdditionalReferencedDocuments(): void { self::$document->getDocumentAdditionalReferencedDocuments($additionalrefdocs); @@ -974,9 +738,6 @@ public function testDocumentAdditionalReferencedDocuments(): void $this->assertEquals("916", $additionalrefdocs[0]["TypeCode"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProcuringProject - */ public function testDocumentProcuringProject(): void { self::$document->getDocumentProcuringProject($projectid, $projectname); @@ -984,9 +745,6 @@ public function testDocumentProcuringProject(): void $this->assertEquals("Project reference", $projectname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSupplyChainEvent - */ public function testDocumentSupplyChainEvent(): void { self::$document->getDocumentSupplyChainEvent($supplychainevent); @@ -995,9 +753,6 @@ public function testDocumentSupplyChainEvent(): void $this->assertEquals((\DateTime::createFromFormat('Ymd', '20200115'))->format('Ymd'), $supplychainevent->format('Ymd')); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDespatchAdviceReferencedDocument - */ public function testDocumentDespatchAdviceReferencedDocument(): void { self::$document->getDocumentDespatchAdviceReferencedDocument($despatchdocid, $despatchdocdate); @@ -1006,9 +761,6 @@ public function testDocumentDespatchAdviceReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $despatchdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentReceivingAdviceReferencedDocument - */ public function testDocumentReceivingAdviceReferencedDocument(): void { self::$document->getDocumentReceivingAdviceReferencedDocument($recadvid, $recadvdate); @@ -1017,9 +769,6 @@ public function testDocumentReceivingAdviceReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $recadvdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDeliveryNoteReferencedDocument - */ public function testDocumentDeliveryNoteReferencedDocument(): void { self::$document->getDocumentDeliveryNoteReferencedDocument($deliverynoterefdocid, $deliverynoterefdocdate); @@ -1028,9 +777,6 @@ public function testDocumentDeliveryNoteReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $deliverynoterefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBillingPeriod - */ public function testDocumentBillingPeriod(): void { self::$document->getDocumentBillingPeriod($docbillingperiodstart, $docbillingperiodend); @@ -1040,9 +786,6 @@ public function testDocumentBillingPeriod(): void $this->assertEquals((\DateTime::createFromFormat('Ymd', '20191231'))->format('Ymd'), $docbillingperiodend->format('Ymd')); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAllowanceCharges - */ public function testDocumentAllowanceCharges(): void { self::$document->getDocumentAllowanceCharges($docallowancecharge); @@ -1051,9 +794,6 @@ public function testDocumentAllowanceCharges(): void $this->assertEquals(2, count($docallowancecharge)); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentTerms - */ public function testDocumentPaymentTerms(): void { self::$document->getDocumentPaymentTerms($docpaymentterms); @@ -1072,19 +812,12 @@ public function testDocumentPaymentTerms(): void $this->assertEquals(0.0, $docpaymentterms[0]["partialpaymentamount"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDeliveryTerms - */ public function testDocumentDeliveryTerms(): void { self::$document->getDocumentDeliveryTerms($devtermcode); $this->assertEquals("", $devtermcode); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAdditionalReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentAdditionalReferencedDocument - */ public function testDocumentAdditionalReferencedDocumentLoop(): void { $this->assertTrue(self::$document->firstDocumentAdditionalReferencedDocument()); @@ -1093,10 +826,6 @@ public function testDocumentAdditionalReferencedDocumentLoop(): void $this->assertFalse(self::$document->nextDocumentAdditionalReferencedDocument()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAdditionalReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAdditionalReferencedDocument - */ public function testGetDocumentAdditionalReferencedDocument(): void { $this->assertTrue(self::$document->firstDocumentAdditionalReferencedDocument()); @@ -1112,30 +841,18 @@ public function testGetDocumentAdditionalReferencedDocument(): void $this->assertEquals("", $binarydatafilename); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentUltimateCustomerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentUltimateCustomerOrderReferencedDocument - */ public function testDocumentUltimateCustomerOrderReferencedDocumentLoop(): void { $this->assertFalse(self::$document->firstDocumentUltimateCustomerOrderReferencedDocument()); $this->assertFalse(self::$document->nextDocumentUltimateCustomerOrderReferencedDocument()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstGetDocumentPaymentMeans - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextGetDocumentPaymentMeans - */ public function testDocumentPaymentMeansLoop(): void { $this->assertTrue(self::$document->firstGetDocumentPaymentMeans()); $this->assertFalse(self::$document->nextGetDocumentPaymentMeans()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstGetDocumentPaymentMeans - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentMeans - */ public function testGetDocumentPaymentMeans(): void { $this->assertTrue(self::$document->firstGetDocumentPaymentMeans()); @@ -1152,21 +869,12 @@ public function testGetDocumentPaymentMeans(): void $this->assertEquals("", $payeeBic); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentTax - */ public function testDocumentTaxLoop(): void { $this->assertTrue(self::$document->firstDocumentTax()); $this->assertFalse(self::$document->nextDocumentTax()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentTax - */ public function testDocumentTax(): void { $this->assertTrue(self::$document->firstDocumentTax()); @@ -1179,10 +887,6 @@ public function testDocumentTax(): void $this->assertEquals(0.0, $allowanceChargeBasisAmount); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentAllowanceCharge - */ public function testtDocumentAllowanceChargeLoop(): void { $this->assertTrue(self::$document->firstDocumentAllowanceCharge()); @@ -1191,10 +895,6 @@ public function testtDocumentAllowanceChargeLoop(): void } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAllowanceCharge - */ public function testtDocumentAllowanceCharge(): void { $this->assertTrue(self::$document->firstDocumentAllowanceCharge()); @@ -1228,32 +928,18 @@ public function testtDocumentAllowanceCharge(): void $this->assertEquals("FRAIS DEPLACEMENT", $reason); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentLogisticsServiceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentLogisticsServiceCharge - */ public function testtDocumentLogisticsServiceChargeLoop(): void { $this->assertFalse(self::$document->firstDocumentLogisticsServiceCharge()); $this->assertFalse(self::$document->nextDocumentLogisticsServiceCharge()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPaymentTerms - */ public function testtDocumentPaymentTermsLoop(): void { $this->assertTrue(self::$document->firstDocumentPaymentTerms()); $this->assertFalse(self::$document->nextDocumentPaymentTerms()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentTerm - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDiscountTermsFromPaymentTerm - */ public function testtDocumentPaymentTerms(): void { $this->assertTrue(self::$document->firstDocumentPaymentTerms()); @@ -1274,10 +960,6 @@ public function testtDocumentPaymentTerms(): void $this->assertFalse(self::$document->nextDocumentPaymentTerms()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - */ public function testDocumentPositionLoop(): void { $this->assertTrue(self::$document->firstDocumentPosition()); @@ -1286,30 +968,6 @@ public function testDocumentPositionLoop(): void $this->assertFalse(self::$document->nextDocumentPosition()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionFirst(): void { $this->assertTrue(self::$document->firstDocumentPosition()); @@ -1410,30 +1068,6 @@ public function testDocumentPositionFirst(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionSecond(): void { $this->assertTrue(self::$document->nextDocumentPosition()); @@ -1533,31 +1167,6 @@ public function testDocumentPositionSecond(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionThird(): void { $this->assertTrue(self::$document->nextDocumentPosition()); @@ -1657,10 +1266,6 @@ public function testDocumentPositionThird(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionAdditionalReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionAdditionalReferencedDocument - */ public function testDocumentPositionAdditionalReferencedDocument(): void { $this->assertFalse(self::$document->firstDocumentPositionAdditionalReferencedDocument()); diff --git a/tests/testcases/PdfReaderExtendedTest.php b/tests/testcases/PdfReaderExtendedTest.php index 5d81ca81..0bf9efaa 100644 --- a/tests/testcases/PdfReaderExtendedTest.php +++ b/tests/testcases/PdfReaderExtendedTest.php @@ -15,9 +15,6 @@ class PdfReaderExtendedTest extends TestCase */ protected static $document; - /** - * @covers \horstoeko\zugferd\ZugferdDocumentPdfReader::readAndGuessFromFile - */ public function testCanReadPdf(): void { self::$document = ZugferdDocumentPdfReader::readAndGuessFromFile(dirname(__FILE__) . "/../assets/zugferd_2p1_EXTENDED_Kostenrechnung.pdf"); @@ -33,9 +30,6 @@ public function testDocumentProfile(): void $this->assertNotEquals(ZugferdProfiles::PROFILE_XRECHNUNG, self::$document->getProfileId()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInformation - */ public function testDocumentGenerals(): void { self::$document->getDocumentInformation($documentno, $documenttypecode, $documentdate, $invoiceCurrency, $taxCurrency, $documentname, $documentlanguage, $effectiveSpecifiedPeriod); @@ -51,9 +45,6 @@ public function testDocumentGenerals(): void $this->assertNotNull(self::$document->getInvoiceObject()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentNotes - */ public function testDocumentNotes(): void { self::$document->getDocumentNotes($notes); @@ -99,9 +90,6 @@ public function testDocumentNotes(): void $this->assertStringContainsString("GLN 4304171000002", $notes[2]["content"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentGeneralPaymentInformation - */ public function testDocumentGeneralPaymentInformation(): void { self::$document->getDocumentGeneralPaymentInformation($creditorReferenceID, $paymentReference); @@ -109,27 +97,18 @@ public function testDocumentGeneralPaymentInformation(): void $this->assertEquals("", $paymentReference); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getIsDocumentCopy - */ public function testDocumentIsCopy(): void { self::$document->getIsDocumentCopy($iscopy); $this->assertFalse($iscopy); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getIsTestDocument - */ public function testDocumentIsTestDocument(): void { self::$document->getIsTestDocument($istest); $this->assertTrue($istest); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSummation - */ public function testDocumentSummation(): void { self::$document->getDocumentSummation($grandTotalAmount, $duePayableAmount, $lineTotalAmount, $chargeTotalAmount, $allowanceTotalAmount, $taxBasisTotalAmount, $taxTotalAmount, $roundingAmount, $totalPrepaidAmount); @@ -144,9 +123,6 @@ public function testDocumentSummation(): void $this->assertEquals(0.00, $totalPrepaidAmount); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSeller - */ public function testDocumentSellerGeneral(): void { self::$document->getDocumentSeller($sellername, $sellerids, $sellerdescription); @@ -158,9 +134,6 @@ public function testDocumentSellerGeneral(): void $this->assertEquals("", $sellerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerGlobalId - */ public function testDocumentSellerGlobalId(): void { self::$document->getDocumentSellerGlobalId($sellerglobalids); @@ -169,9 +142,6 @@ public function testDocumentSellerGlobalId(): void $this->assertEquals("4333741000005", $sellerglobalids["0088"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRegistration - */ public function testDocumentSellerTaxRegistration(): void { self::$document->getDocumentSellerTaxRegistration($sellertaxreg); @@ -184,9 +154,6 @@ public function testDocumentSellerTaxRegistration(): void $this->assertEquals("201/113/40209", $sellertaxreg["FC"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerAddress - */ public function testDocumentSellerAddress(): void { self::$document->getDocumentSellerAddress($sellerlineone, $sellerlinetwo, $sellerlinethree, $sellerpostcode, $sellercity, $sellercountry, $sellersubdivision); @@ -200,9 +167,6 @@ public function testDocumentSellerAddress(): void $this->assertEmpty($sellersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerLegalOrganisation - */ public function testDocumentSellerLegalOrganization(): void { self::$document->getDocumentSellerLegalOrganisation($sellerlegalorgid, $sellerlegalorgtype, $sellerlegalorgname); @@ -211,11 +175,6 @@ public function testDocumentSellerLegalOrganization(): void $this->assertEquals("", $sellerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentSellerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentSellerContact - */ public function testDocumentSellerContact(): void { $this->assertTrue(self::$document->firstDocumentSellerContact()); @@ -228,9 +187,6 @@ public function testDocumentSellerContact(): void $this->assertFalse(self::$document->nextDocumentSellerContact()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyer - */ public function testDocumentBuyerGeneral(): void { self::$document->getDocumentBuyer($buyername, $buyerids, $buyerdescription); @@ -242,9 +198,6 @@ public function testDocumentBuyerGeneral(): void $this->assertEquals("", $buyerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerGlobalId - */ public function testDocumentBuyerGlobalId(): void { self::$document->getDocumentBuyerGlobalId($buyerglobalids); @@ -253,9 +206,6 @@ public function testDocumentBuyerGlobalId(): void $this->assertEquals("4304171000002", $buyerglobalids["0088"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerTaxRegistration - */ public function testDocumentBuyerTaxRegistration(): void { self::$document->getDocumentBuyerTaxRegistration($buyertaxreg); @@ -263,9 +213,6 @@ public function testDocumentBuyerTaxRegistration(): void $this->assertEmpty($buyertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerAddress - */ public function testDocumentBuyerAddress(): void { self::$document->getDocumentBuyerAddress($buyerlineone, $buyerlinetwo, $buyerlinethree, $buyerpostcode, $buyercity, $buyercountry, $buyersubdivision); @@ -279,9 +226,6 @@ public function testDocumentBuyerAddress(): void $this->assertEmpty($buyersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerLegalOrganisation - */ public function testDocumentBuyerLegalOrganization(): void { self::$document->getDocumentBuyerLegalOrganisation($buyerlegalorgid, $buyerlegalorgtype, $buyerlegalorgname); @@ -290,11 +234,6 @@ public function testDocumentBuyerLegalOrganization(): void $this->assertEquals("", $buyerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentBuyerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentBuyerContact - */ public function testDocumentBuyerContact(): void { $this->assertFalse(self::$document->firstDocumentBuyerContact()); @@ -306,9 +245,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentative - */ public function testDocumentSellerTaxRepresentativeGeneral(): void { self::$document->getDocumentSellerTaxRepresentative($sellertaxreprname, $sellertaxreprids, $sellertaxreprdescription); @@ -318,9 +254,6 @@ public function testDocumentSellerTaxRepresentativeGeneral(): void $this->assertEquals("", $sellertaxreprdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeGlobalId - */ public function testDocumentSellerTaxRepresentativeGlobalId(): void { self::$document->getDocumentSellerTaxRepresentativeGlobalId($sellertaxreprglobalids); @@ -328,9 +261,6 @@ public function testDocumentSellerTaxRepresentativeGlobalId(): void $this->assertEmpty($sellertaxreprglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeTaxRegistration - */ public function testDocumentSellerTaxRepresentativeTaxRegistration(): void { self::$document->getDocumentSellerTaxRepresentativeTaxRegistration($sellertaxreprtaxreg); @@ -338,9 +268,6 @@ public function testDocumentSellerTaxRepresentativeTaxRegistration(): void $this->assertEmpty($sellertaxreprtaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeAddress - */ public function testDocumentSellerTaxRepresentativeAddress(): void { self::$document->getDocumentSellerTaxRepresentativeAddress($sellertaxreprlineone, $sellertaxreprlinetwo, $sellertaxreprlinethree, $sellertaxreprpostcode, $sellertaxreprcity, $sellertaxreprcountry, $sellertaxreprsubdivision); @@ -354,9 +281,6 @@ public function testDocumentSellerTaxRepresentativeAddress(): void $this->assertEmpty($sellertaxreprsubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeLegalOrganisation - */ public function testDocumentSellerTaxRepresentativeLegalOrganization(): void { self::$document->getDocumentSellerTaxRepresentativeLegalOrganisation($sellertaxreprlegalorgid, $sellertaxreprlegalorgtype, $sellertaxreprlegalorgname); @@ -365,11 +289,6 @@ public function testDocumentSellerTaxRepresentativeLegalOrganization(): void $this->assertEquals("", $sellertaxreprlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentSellerTaxRepresentativeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentSellerTaxRepresentativeContact - */ public function testDocumentSellerTaxRepresentativeContact(): void { $this->assertFalse(self::$document->firstDocumentSellerTaxRepresentativeContact()); @@ -381,9 +300,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipTo - */ public function testDocumentShipToGeneral(): void { self::$document->getDocumentShipTo($shiptoname, $shiptoids, $shiptodescription); @@ -393,9 +309,6 @@ public function testDocumentShipToGeneral(): void $this->assertEquals("", $shiptodescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToGlobalId - */ public function testDocumentShipToGlobalId(): void { self::$document->getDocumentShipToGlobalId($shiptoglobalids); @@ -403,9 +316,6 @@ public function testDocumentShipToGlobalId(): void $this->assertArrayHasKey("0088", $shiptoglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToTaxRegistration - */ public function testDocumentShipToTaxRegistration(): void { self::$document->getDocumentShipToTaxRegistration($shiptotaxreg); @@ -413,9 +323,6 @@ public function testDocumentShipToTaxRegistration(): void $this->assertEmpty($shiptotaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToAddress - */ public function testDocumentShipToAddress(): void { self::$document->getDocumentShipToAddress($shiptolineone, $shiptolinetwo, $shiptolinethree, $shiptopostcode, $shiptocity, $shiptocountry, $shiptosubdivision); @@ -429,9 +336,6 @@ public function testDocumentShipToAddress(): void $this->assertEmpty($shiptosubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToLegalOrganisation - */ public function testDocumentShipToLegalOrganization(): void { self::$document->getDocumentShipToLegalOrganisation($shiptolegalorgid, $shiptolegalorgtype, $shiptolegalorgname); @@ -440,11 +344,6 @@ public function testDocumentShipToLegalOrganization(): void $this->assertEquals("", $shiptolegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentShipToContact - */ public function testDocumentShipToContact(): void { $this->assertTrue(self::$document->firstDocumentShipToContact()); @@ -457,9 +356,6 @@ public function testDocumentShipToContact(): void $this->assertFalse(self::$document->nextDocumentShipToContact()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipTo - */ public function testDocumentUltimateShipToGeneral(): void { self::$document->getDocumentUltimateShipTo($ultimateshiptoname, $ultimateshiptoids, $ultimateshiptodescription); @@ -469,9 +365,6 @@ public function testDocumentUltimateShipToGeneral(): void $this->assertEquals("", $ultimateshiptodescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToGlobalId - */ public function testDocumentUltimateShipToGlobalId(): void { self::$document->getDocumentUltimateShipToGlobalId($ultimateshiptoglobalids); @@ -479,9 +372,6 @@ public function testDocumentUltimateShipToGlobalId(): void $this->assertEmpty($ultimateshiptoglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToTaxRegistration - */ public function testDocumentUltimateShipToTaxRegistration(): void { self::$document->getDocumentUltimateShipToTaxRegistration($ultimateshiptotaxreg); @@ -489,9 +379,6 @@ public function testDocumentUltimateShipToTaxRegistration(): void $this->assertEmpty($ultimateshiptotaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToAddress - */ public function testDocumentUltimateShipToAddress(): void { self::$document->getDocumentUltimateShipToAddress($ultimateshiptolineone, $ultimateshiptolinetwo, $ultimateshiptolinethree, $ultimateshiptopostcode, $ultimateshiptocity, $ultimateshiptocountry, $ultimateshiptosubdivision); @@ -505,9 +392,6 @@ public function testDocumentUltimateShipToAddress(): void $this->assertEmpty($ultimateshiptosubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToLegalOrganisation - */ public function testDocumentUltimateShipToLegalOrganization(): void { self::$document->getDocumentUltimateShipToLegalOrganisation($ultimateshiptolegalorgid, $ultimateshiptolegalorgtype, $ultimateshiptolegalorgname); @@ -516,11 +400,6 @@ public function testDocumentUltimateShipToLegalOrganization(): void $this->assertEquals("", $ultimateshiptolegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentUltimateShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentUltimateShipToContact - */ public function testDocumentUltimateShipToContact(): void { $this->assertFalse(self::$document->firstDocumentUltimateShipToContact()); @@ -537,9 +416,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFrom - */ public function testDocumentShipFromGeneral(): void { self::$document->getDocumentShipFrom($shipfromname, $shipfromids, $shipfromdescription); @@ -549,9 +425,6 @@ public function testDocumentShipFromGeneral(): void $this->assertEquals("", $shipfromdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromGlobalId - */ public function testDocumentShipFromGlobalId(): void { self::$document->getDocumentShipFromGlobalId($shipfromglobalids); @@ -559,9 +432,6 @@ public function testDocumentShipFromGlobalId(): void $this->assertEmpty($shipfromglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromTaxRegistration - */ public function testDocumentShipFromTaxRegistration(): void { self::$document->getDocumentShipFromTaxRegistration($shipfromtaxreg); @@ -569,9 +439,6 @@ public function testDocumentShipFromTaxRegistration(): void $this->assertEmpty($shipfromtaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromAddress - */ public function testDocumentShipFromAddress(): void { self::$document->getDocumentShipFromAddress($shipfromlineone, $shipfromlinetwo, $shipfromlinethree, $shipfrompostcode, $shipfromcity, $shipfromcountry, $shipfromsubdivision); @@ -585,9 +452,6 @@ public function testDocumentShipFromAddress(): void $this->assertEmpty($shipfromsubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromLegalOrganisation - */ public function testDocumentShipFromLegalOrganization(): void { self::$document->getDocumentShipFromLegalOrganisation($shipfromlegalorgid, $shipfromlegalorgtype, $shipfromlegalorgname); @@ -596,11 +460,6 @@ public function testDocumentShipFromLegalOrganization(): void $this->assertEquals("", $shipfromlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentShipFromContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentShipFromContact - */ public function testDocumentShipFromContact(): void { $this->assertFalse(self::$document->firstDocumentShipFromContact()); @@ -617,9 +476,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicer - */ public function testDocumentInvoicerGeneral(): void { self::$document->getDocumentInvoicer($invoicername, $invoicerids, $invoicerdescription); @@ -629,9 +485,6 @@ public function testDocumentInvoicerGeneral(): void $this->assertEquals("", $invoicerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerGlobalId - */ public function testDocumentInvoicerGlobalId(): void { self::$document->getDocumentInvoicerGlobalId($invoicerglobalids); @@ -639,9 +492,6 @@ public function testDocumentInvoicerGlobalId(): void $this->assertEmpty($invoicerglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerTaxRegistration - */ public function testDocumentInvoicerTaxRegistration(): void { self::$document->getDocumentInvoicerTaxRegistration($invoicertaxreg); @@ -649,9 +499,6 @@ public function testDocumentInvoicerTaxRegistration(): void $this->assertEmpty($invoicertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerAddress - */ public function testDocumentInvoicerAddress(): void { self::$document->getDocumentInvoicerAddress($invoicerlineone, $invoicerlinetwo, $invoicerlinethree, $invoicerpostcode, $invoicercity, $invoicercountry, $invoicersubdivision); @@ -665,9 +512,6 @@ public function testDocumentInvoicerAddress(): void $this->assertEmpty($invoicersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerLegalOrganisation - */ public function testDocumentInvoicerLegalOrganization(): void { self::$document->getDocumentInvoicerLegalOrganisation($invoicerlegalorgid, $invoicerlegalorgtype, $invoicerlegalorgname); @@ -676,11 +520,6 @@ public function testDocumentInvoicerLegalOrganization(): void $this->assertEquals("", $invoicerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentInvoicerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentInvoicerContact - */ public function testDocumentInvoicerContact(): void { $this->assertFalse(self::$document->firstDocumentInvoicerContact()); @@ -697,9 +536,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicee - */ public function testDocumentInvoiceeGeneral(): void { self::$document->getDocumentInvoicee($invoiceename, $invoiceeids, $invoiceedescription); @@ -710,9 +546,6 @@ public function testDocumentInvoiceeGeneral(): void $this->assertEquals("", $invoiceedescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeGlobalId - */ public function testDocumentInvoiceeGlobalId(): void { self::$document->getDocumentInvoiceeGlobalId($invoiceeglobalids); @@ -722,9 +555,6 @@ public function testDocumentInvoiceeGlobalId(): void $this->assertEquals("4304171000002", $invoiceeglobalids["0088"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeTaxRegistration - */ public function testDocumentInvoiceeTaxRegistration(): void { self::$document->getDocumentInvoiceeTaxRegistration($invoiceetaxreg); @@ -732,9 +562,6 @@ public function testDocumentInvoiceeTaxRegistration(): void $this->assertEmpty($invoiceetaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeAddress - */ public function testDocumentInvoiceeAddress(): void { self::$document->getDocumentInvoiceeAddress($invoiceelineone, $invoiceelinetwo, $invoiceelinethree, $invoiceepostcode, $invoiceecity, $invoiceecountry, $invoiceesubdivision); @@ -748,9 +575,6 @@ public function testDocumentInvoiceeAddress(): void $this->assertEmpty($invoiceesubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeLegalOrganisation - */ public function testDocumentInvoiceeLegalOrganization(): void { self::$document->getDocumentInvoiceeLegalOrganisation($invoiceelegalorgid, $invoiceelegalorgtype, $invoiceelegalorgname); @@ -759,11 +583,6 @@ public function testDocumentInvoiceeLegalOrganization(): void $this->assertEquals("", $invoiceelegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentInvoiceeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentInvoiceeContact - */ public function testDocumentInvoiceeContact(): void { $this->assertFalse(self::$document->firstDocumentInvoiceeContact()); @@ -780,9 +599,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayee - */ public function testDocumentPayeeGeneral(): void { self::$document->getDocumentPayee($payeename, $payeeids, $payeedescription); @@ -792,9 +608,6 @@ public function testDocumentPayeeGeneral(): void $this->assertEquals("", $payeedescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeGlobalId - */ public function testDocumentPayeeGlobalId(): void { self::$document->getDocumentPayeeGlobalId($payeeglobalids); @@ -802,9 +615,6 @@ public function testDocumentPayeeGlobalId(): void $this->assertEmpty($payeeglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeTaxRegistration - */ public function testDocumentPayeeTaxRegistration(): void { self::$document->getDocumentPayeeTaxRegistration($payeetaxreg); @@ -812,9 +622,6 @@ public function testDocumentPayeeTaxRegistration(): void $this->assertEmpty($payeetaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeAddress - */ public function testDocumentPayeeAddress(): void { self::$document->getDocumentPayeeAddress($payeelineone, $payeelinetwo, $payeelinethree, $payeepostcode, $payeecity, $payeecountry, $payeesubdivision); @@ -828,9 +635,6 @@ public function testDocumentPayeeAddress(): void $this->assertEmpty($payeesubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeLegalOrganisation - */ public function testDocumentPayeeLegalOrganization(): void { self::$document->getDocumentPayeeLegalOrganisation($payeelegalorgid, $payeelegalorgtype, $payeelegalorgname); @@ -839,11 +643,6 @@ public function testDocumentPayeeLegalOrganization(): void $this->assertEquals("", $payeelegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPayeeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPayeeContact - */ public function testDocumentPayeeContact(): void { $this->assertFalse(self::$document->firstDocumentPayeeContact()); @@ -860,9 +659,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUser - */ public function testDocumentProductEndUserGeneral(): void { self::$document->getDocumentProductEndUser($producendusername, $producenduserids, $producenduserdescription); @@ -873,9 +669,6 @@ public function testDocumentProductEndUserGeneral(): void $this->assertEquals("", $producenduserdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserGlobalId - */ public function testDocumentProductEndUserGlobalId(): void { self::$document->getDocumentProductEndUserGlobalId($producenduserglobalids); @@ -883,9 +676,6 @@ public function testDocumentProductEndUserGlobalId(): void $this->assertArrayNotHasKey("0088", $producenduserglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserTaxRegistration - */ public function testDocumentProductEndUserTaxRegistration(): void { self::$document->getDocumentProductEndUserTaxRegistration($producendusertaxreg); @@ -897,9 +687,6 @@ public function testDocumentProductEndUserTaxRegistration(): void $this->assertArrayNotHasKey("ZZ", $producendusertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserAddress - */ public function testDocumentProductEndUserAddress(): void { self::$document->getDocumentProductEndUserAddress($producenduserlineone, $producenduserlinetwo, $producenduserlinethree, $producenduserpostcode, $producendusercity, $producendusercountry, $producendusersubdivision); @@ -913,9 +700,6 @@ public function testDocumentProductEndUserAddress(): void $this->assertEmpty($producendusersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserLegalOrganisation - */ public function testDocumentProductEndUserLegalOrganization(): void { self::$document->getDocumentProductEndUserLegalOrganisation($producenduserlegalorgid, $producenduserlegalorgtype, $producenduserlegalorgname); @@ -924,11 +708,6 @@ public function testDocumentProductEndUserLegalOrganization(): void $this->assertEquals("", $producenduserlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentProductEndUserContactContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentProductEndUserContactContact - */ public function testDocumentProductEndUserContact(): void { $this->assertFalse(self::$document->firstDocumentProductEndUserContactContact()); @@ -940,9 +719,6 @@ function () { $this->assertFalse(self::$document->nextDocumentProductEndUserContactContact()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerOrderReferencedDocument - */ public function testDocumentSellerOrderReferencedDocument(): void { self::$document->getDocumentSellerOrderReferencedDocument($sellerorderrefdocid, $sellerorderrefdocdate); @@ -950,9 +726,6 @@ public function testDocumentSellerOrderReferencedDocument(): void $this->assertNull($sellerorderrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerOrderReferencedDocument - */ public function testDocumentBuyerOrderReferencedDocument(): void { self::$document->getDocumentBuyerOrderReferencedDocument($buyerorderrefdocid, $buyerorderrefdocdate); @@ -960,9 +733,6 @@ public function testDocumentBuyerOrderReferencedDocument(): void $this->assertNull($buyerorderrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentContractReferencedDocument - */ public function testDocumentContractReferencedDocument(): void { self::$document->getDocumentContractReferencedDocument($contractrefdocid, $contractrefdocdate); @@ -970,9 +740,6 @@ public function testDocumentContractReferencedDocument(): void $this->assertNull($contractrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAdditionalReferencedDocuments - */ public function testDocumentAdditionalReferencedDocuments(): void { self::$document->getDocumentAdditionalReferencedDocuments($additionalrefdocs); @@ -986,9 +753,6 @@ public function testDocumentAdditionalReferencedDocuments(): void $this->assertEquals("130", $additionalrefdocs[0]["TypeCode"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProcuringProject - */ public function testDocumentProcuringProject(): void { self::$document->getDocumentProcuringProject($projectid, $projectname); @@ -996,9 +760,6 @@ public function testDocumentProcuringProject(): void $this->assertEquals("", $projectname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSupplyChainEvent - */ public function testDocumentSupplyChainEvent(): void { self::$document->getDocumentSupplyChainEvent($supplychainevent); @@ -1007,9 +768,6 @@ public function testDocumentSupplyChainEvent(): void $this->assertEquals((\DateTime::createFromFormat('Ymd', '20180930'))->format('Ymd'), $supplychainevent->format('Ymd')); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDespatchAdviceReferencedDocument - */ public function testDocumentDespatchAdviceReferencedDocument(): void { self::$document->getDocumentDespatchAdviceReferencedDocument($despatchdocid, $despatchdocdate); @@ -1018,9 +776,6 @@ public function testDocumentDespatchAdviceReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $despatchdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentReceivingAdviceReferencedDocument - */ public function testDocumentReceivingAdviceReferencedDocument(): void { self::$document->getDocumentReceivingAdviceReferencedDocument($recadvid, $recadvdate); @@ -1029,9 +784,6 @@ public function testDocumentReceivingAdviceReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $recadvdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDeliveryNoteReferencedDocument - */ public function testDocumentDeliveryNoteReferencedDocument(): void { self::$document->getDocumentDeliveryNoteReferencedDocument($deliverynoterefdocid, $deliverynoterefdocdate); @@ -1040,9 +792,6 @@ public function testDocumentDeliveryNoteReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $deliverynoterefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBillingPeriod - */ public function testDocumentBillingPeriod(): void { self::$document->getDocumentBillingPeriod($docbillingperiodstart, $docbillingperiodend); @@ -1052,9 +801,6 @@ public function testDocumentBillingPeriod(): void $this->assertNotInstanceOf("DateTime", $docbillingperiodend); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAllowanceCharges - */ public function testDocumentAllowanceCharges(): void { self::$document->getDocumentAllowanceCharges($docallowancecharge); @@ -1063,9 +809,6 @@ public function testDocumentAllowanceCharges(): void $this->assertEquals(1, count($docallowancecharge)); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentTerms - */ public function testDocumentPaymentTerms(): void { self::$document->getDocumentPaymentTerms($docpaymentterms); @@ -1084,29 +827,18 @@ public function testDocumentPaymentTerms(): void $this->assertEquals(0.0, $docpaymentterms[0]["partialpaymentamount"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDeliveryTerms - */ public function testDocumentDeliveryTerms(): void { self::$document->getDocumentDeliveryTerms($devtermcode); $this->assertEquals("", $devtermcode); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAdditionalReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentAdditionalReferencedDocument - */ public function testDocumentAdditionalReferencedDocumentLoop(): void { $this->assertTrue(self::$document->firstDocumentAdditionalReferencedDocument()); $this->assertFalse(self::$document->nextDocumentAdditionalReferencedDocument()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAdditionalReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAdditionalReferencedDocument - */ public function testGetDocumentAdditionalReferencedDocument(): void { $this->assertTrue(self::$document->firstDocumentAdditionalReferencedDocument()); @@ -1121,41 +853,24 @@ public function testGetDocumentAdditionalReferencedDocument(): void $this->assertEquals("", $binarydatafilename); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentUltimateCustomerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentUltimateCustomerOrderReferencedDocument - */ public function testDocumentUltimateCustomerOrderReferencedDocumentLoop(): void { $this->assertFalse(self::$document->firstDocumentUltimateCustomerOrderReferencedDocument()); $this->assertFalse(self::$document->nextDocumentUltimateCustomerOrderReferencedDocument()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstGetDocumentPaymentMeans - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextGetDocumentPaymentMeans - */ public function testDocumentPaymentMeansLoop(): void { $this->assertFalse(self::$document->firstGetDocumentPaymentMeans()); $this->assertFalse(self::$document->nextGetDocumentPaymentMeans()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentTax - */ public function testDocumentTaxLoop(): void { $this->assertTrue(self::$document->firstDocumentTax()); $this->assertFalse(self::$document->nextDocumentTax()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentTax - */ public function testDocumentTax(): void { $this->assertTrue(self::$document->firstDocumentTax()); @@ -1168,10 +883,6 @@ public function testDocumentTax(): void $this->assertEquals(-6.55, $allowanceChargeBasisAmount); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentAllowanceCharge - */ public function testtDocumentAllowanceChargeLoop(): void { $this->assertTrue(self::$document->firstDocumentAllowanceCharge()); @@ -1179,10 +890,6 @@ public function testtDocumentAllowanceChargeLoop(): void } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAllowanceCharge - */ public function testtDocumentAllowanceCharge(): void { $this->assertTrue(self::$document->firstDocumentAllowanceCharge()); @@ -1201,20 +908,12 @@ public function testtDocumentAllowanceCharge(): void $this->assertEquals("Sonderrabatt", $reason); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentLogisticsServiceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentLogisticsServiceCharge - */ public function testtDocumentLogisticsServiceChargeLoop(): void { $this->assertTrue(self::$document->firstDocumentLogisticsServiceCharge()); $this->assertFalse(self::$document->nextDocumentLogisticsServiceCharge()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentLogisticsServiceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentLogisticsServiceCharge - */ public function testGetDocumentLogisticsServiceCharge(): void { $this->assertTrue(self::$document->firstDocumentLogisticsServiceCharge()); @@ -1235,22 +934,12 @@ public function testGetDocumentLogisticsServiceCharge(): void $this->assertEquals(19.0, $rateApplicablePercents[0]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPaymentTerms - */ public function testtDocumentPaymentTermsLoop(): void { $this->assertTrue(self::$document->firstDocumentPaymentTerms()); $this->assertFalse(self::$document->nextDocumentPaymentTerms()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentTerm - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDiscountTermsFromPaymentTerm - */ public function testtDocumentPaymentTerms(): void { $this->assertTrue(self::$document->firstDocumentPaymentTerms()); @@ -1270,10 +959,6 @@ public function testtDocumentPaymentTerms(): void $this->assertFalse(self::$document->nextDocumentPaymentTerms()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - */ public function testDocumentPositionLoop(): void { $this->assertTrue(self::$document->firstDocumentPosition()); @@ -1284,30 +969,6 @@ public function testDocumentPositionLoop(): void $this->assertFalse(self::$document->nextDocumentPosition()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionFirst(): void { $this->assertTrue(self::$document->firstDocumentPosition()); @@ -1406,30 +1067,6 @@ public function testDocumentPositionFirst(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionSecond(): void { $this->assertTrue(self::$document->nextDocumentPosition()); @@ -1528,31 +1165,6 @@ public function testDocumentPositionSecond(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionThird(): void { $this->assertTrue(self::$document->nextDocumentPosition()); @@ -1679,30 +1291,6 @@ public function testDocumentPositionThird(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionFourth(): void { $this->assertTrue(self::$document->nextDocumentPosition()); @@ -1801,30 +1389,6 @@ public function testDocumentPositionFourth(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionFifth(): void { $this->assertTrue(self::$document->nextDocumentPosition()); @@ -1923,10 +1487,6 @@ public function testDocumentPositionFifth(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionAdditionalReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionAdditionalReferencedDocument - */ public function testDocumentPositionAdditionalReferencedDocument(): void { $this->assertFalse(self::$document->firstDocumentPositionAdditionalReferencedDocument()); diff --git a/tests/testcases/PdfReaderInvalidTest.php b/tests/testcases/PdfReaderInvalidTest.php index fe582533..1ec85d4e 100644 --- a/tests/testcases/PdfReaderInvalidTest.php +++ b/tests/testcases/PdfReaderInvalidTest.php @@ -13,9 +13,6 @@ class PdfReaderInvalidTest extends TestCase */ protected static $document; - /** - * @covers \horstoeko\zugferd\ZugferdDocumentPdfReader::readAndGuessFromFile - */ public function testCanReadPdf(): void { self::$document = ZugferdDocumentPdfReader::readAndGuessFromFile(dirname(__FILE__) . "/../assets/InvalidPDF.pdf"); diff --git a/tests/testcases/PdfReaderMinimumSimpleTest.php b/tests/testcases/PdfReaderMinimumSimpleTest.php index b5369612..4c184932 100644 --- a/tests/testcases/PdfReaderMinimumSimpleTest.php +++ b/tests/testcases/PdfReaderMinimumSimpleTest.php @@ -15,9 +15,6 @@ class PdfReaderMinimumSimpleTest extends TestCase */ protected static $document; - /** - * @covers \horstoeko\zugferd\ZugferdDocumentPdfReader::readAndGuessFromFile - */ public function testCanReadPdf(): void { self::$document = ZugferdDocumentPdfReader::readAndGuessFromFile(dirname(__FILE__) . "/../assets/Facture_F20220027_MINIMUM.pdf"); @@ -34,9 +31,6 @@ public function testDocumentProfile(): void $this->assertNotEquals(ZugferdProfiles::PROFILE_XRECHNUNG, self::$document->getProfileId()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInformation - */ public function testDocumentGenerals(): void { self::$document->getDocumentInformation($documentno, $documenttypecode, $documentdate, $invoiceCurrency, $taxCurrency, $documentname, $documentlanguage, $effectiveSpecifiedPeriod); @@ -52,9 +46,6 @@ public function testDocumentGenerals(): void $this->assertNotNull(self::$document->getInvoiceObject()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentNotes - */ public function testDocumentNotes(): void { self::$document->getDocumentNotes($notes); @@ -62,9 +53,6 @@ public function testDocumentNotes(): void $this->assertEmpty($notes); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentGeneralPaymentInformation - */ public function testDocumentGeneralPaymentInformation(): void { self::$document->getDocumentGeneralPaymentInformation($creditorReferenceID, $paymentReference); @@ -72,27 +60,18 @@ public function testDocumentGeneralPaymentInformation(): void $this->assertEquals("", $paymentReference); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getIsDocumentCopy - */ public function testDocumentIsCopy(): void { self::$document->getIsDocumentCopy($iscopy); $this->assertFalse($iscopy); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getIsTestDocument - */ public function testDocumentIsTestDocument(): void { self::$document->getIsTestDocument($istest); $this->assertFalse($istest); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSummation - */ public function testDocumentSummation(): void { self::$document->getDocumentSummation($grandTotalAmount, $duePayableAmount, $lineTotalAmount, $chargeTotalAmount, $allowanceTotalAmount, $taxBasisTotalAmount, $taxTotalAmount, $roundingAmount, $totalPrepaidAmount); @@ -107,18 +86,12 @@ public function testDocumentSummation(): void $this->assertEquals(0.00, $totalPrepaidAmount); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerReference - */ public function testGetDocumentBuyerReference(): void { self::$document->getDocumentBuyerReference($buyerReference); $this->assertEquals("SERVEXEC", $buyerReference); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSeller - */ public function testDocumentSellerGeneral(): void { self::$document->getDocumentSeller($sellername, $sellerids, $sellerdescription); @@ -129,9 +102,6 @@ public function testDocumentSellerGeneral(): void $this->assertEquals("", $sellerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerGlobalId - */ public function testDocumentSellerGlobalId(): void { self::$document->getDocumentSellerGlobalId($sellerglobalids); @@ -139,9 +109,6 @@ public function testDocumentSellerGlobalId(): void $this->assertEmpty($sellerglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRegistration - */ public function testDocumentSellerTaxRegistration(): void { self::$document->getDocumentSellerTaxRegistration($sellertaxreg); @@ -154,9 +121,6 @@ public function testDocumentSellerTaxRegistration(): void $this->assertEquals("FR11123456782", $sellertaxreg["VA"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerAddress - */ public function testDocumentSellerAddress(): void { self::$document->getDocumentSellerAddress($sellerlineone, $sellerlinetwo, $sellerlinethree, $sellerpostcode, $sellercity, $sellercountry, $sellersubdivision); @@ -170,9 +134,6 @@ public function testDocumentSellerAddress(): void $this->assertEmpty($sellersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerLegalOrganisation - */ public function testDocumentSellerLegalOrganization(): void { self::$document->getDocumentSellerLegalOrganisation($sellerlegalorgid, $sellerlegalorgtype, $sellerlegalorgname); @@ -181,11 +142,6 @@ public function testDocumentSellerLegalOrganization(): void $this->assertEquals("", $sellerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentSellerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentSellerContact - */ public function testDocumentSellerContact(): void { $this->assertFalse(self::$document->firstDocumentSellerContact()); @@ -197,9 +153,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyer - */ public function testDocumentBuyerGeneral(): void { self::$document->getDocumentBuyer($buyername, $buyerids, $buyerdescription); @@ -210,9 +163,6 @@ public function testDocumentBuyerGeneral(): void $this->assertEquals("", $buyerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerGlobalId - */ public function testDocumentBuyerGlobalId(): void { self::$document->getDocumentBuyerGlobalId($buyerglobalids); @@ -220,9 +170,6 @@ public function testDocumentBuyerGlobalId(): void $this->assertEmpty($buyerglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerTaxRegistration - */ public function testDocumentBuyerTaxRegistration(): void { self::$document->getDocumentBuyerTaxRegistration($buyertaxreg); @@ -230,9 +177,6 @@ public function testDocumentBuyerTaxRegistration(): void $this->assertEmpty($buyertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerAddress - */ public function testDocumentBuyerAddress(): void { self::$document->getDocumentBuyerAddress($buyerlineone, $buyerlinetwo, $buyerlinethree, $buyerpostcode, $buyercity, $buyercountry, $buyersubdivision); @@ -246,9 +190,6 @@ public function testDocumentBuyerAddress(): void $this->assertEmpty($buyersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerLegalOrganisation - */ public function testDocumentBuyerLegalOrganization(): void { self::$document->getDocumentBuyerLegalOrganisation($buyerlegalorgid, $buyerlegalorgtype, $buyerlegalorgname); @@ -257,11 +198,6 @@ public function testDocumentBuyerLegalOrganization(): void $this->assertEquals("", $buyerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentBuyerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentBuyerContact - */ public function testDocumentBuyerContact(): void { $this->assertFalse(self::$document->firstDocumentBuyerContact()); @@ -273,9 +209,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentative - */ public function testDocumentSellerTaxRepresentativeGeneral(): void { self::$document->getDocumentSellerTaxRepresentative($sellertaxreprname, $sellertaxreprids, $sellertaxreprdescription); @@ -285,9 +218,6 @@ public function testDocumentSellerTaxRepresentativeGeneral(): void $this->assertEquals("", $sellertaxreprdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeGlobalId - */ public function testDocumentSellerTaxRepresentativeGlobalId(): void { self::$document->getDocumentSellerTaxRepresentativeGlobalId($sellertaxreprglobalids); @@ -295,9 +225,6 @@ public function testDocumentSellerTaxRepresentativeGlobalId(): void $this->assertEmpty($sellertaxreprglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeTaxRegistration - */ public function testDocumentSellerTaxRepresentativeTaxRegistration(): void { self::$document->getDocumentSellerTaxRepresentativeTaxRegistration($sellertaxreprtaxreg); @@ -305,9 +232,6 @@ public function testDocumentSellerTaxRepresentativeTaxRegistration(): void $this->assertEmpty($sellertaxreprtaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeAddress - */ public function testDocumentSellerTaxRepresentativeAddress(): void { self::$document->getDocumentSellerTaxRepresentativeAddress($sellertaxreprlineone, $sellertaxreprlinetwo, $sellertaxreprlinethree, $sellertaxreprpostcode, $sellertaxreprcity, $sellertaxreprcountry, $sellertaxreprsubdivision); @@ -321,9 +245,6 @@ public function testDocumentSellerTaxRepresentativeAddress(): void $this->assertEmpty($sellertaxreprsubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeLegalOrganisation - */ public function testDocumentSellerTaxRepresentativeLegalOrganization(): void { self::$document->getDocumentSellerTaxRepresentativeLegalOrganisation($sellertaxreprlegalorgid, $sellertaxreprlegalorgtype, $sellertaxreprlegalorgname); @@ -332,11 +253,6 @@ public function testDocumentSellerTaxRepresentativeLegalOrganization(): void $this->assertEquals("", $sellertaxreprlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentSellerTaxRepresentativeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentSellerTaxRepresentativeContact - */ public function testDocumentSellerTaxRepresentativeContact(): void { $this->assertFalse(self::$document->firstDocumentSellerTaxRepresentativeContact()); @@ -348,9 +264,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipTo - */ public function testDocumentShipToGeneral(): void { self::$document->getDocumentShipTo($shiptoname, $shiptoids, $shiptodescription); @@ -360,9 +273,6 @@ public function testDocumentShipToGeneral(): void $this->assertEquals("", $shiptodescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToGlobalId - */ public function testDocumentShipToGlobalId(): void { self::$document->getDocumentShipToGlobalId($shiptoglobalids); @@ -370,9 +280,6 @@ public function testDocumentShipToGlobalId(): void $this->assertEmpty($shiptoglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToTaxRegistration - */ public function testDocumentShipToTaxRegistration(): void { self::$document->getDocumentShipToTaxRegistration($shiptotaxreg); @@ -380,9 +287,6 @@ public function testDocumentShipToTaxRegistration(): void $this->assertEmpty($shiptotaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToAddress - */ public function testDocumentShipToAddress(): void { self::$document->getDocumentShipToAddress($shiptolineone, $shiptolinetwo, $shiptolinethree, $shiptopostcode, $shiptocity, $shiptocountry, $shiptosubdivision); @@ -396,9 +300,6 @@ public function testDocumentShipToAddress(): void $this->assertEmpty($shiptosubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToLegalOrganisation - */ public function testDocumentShipToLegalOrganization(): void { self::$document->getDocumentShipToLegalOrganisation($shiptolegalorgid, $shiptolegalorgtype, $shiptolegalorgname); @@ -407,11 +308,6 @@ public function testDocumentShipToLegalOrganization(): void $this->assertEquals("", $shiptolegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentShipToContact - */ public function testDocumentShipToContact(): void { $this->assertFalse(self::$document->firstDocumentShipToContact()); @@ -423,9 +319,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipTo - */ public function testDocumentUltimateShipToGeneral(): void { self::$document->getDocumentUltimateShipTo($ultimateshiptoname, $ultimateshiptoids, $ultimateshiptodescription); @@ -435,9 +328,6 @@ public function testDocumentUltimateShipToGeneral(): void $this->assertEquals("", $ultimateshiptodescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToGlobalId - */ public function testDocumentUltimateShipToGlobalId(): void { self::$document->getDocumentUltimateShipToGlobalId($ultimateshiptoglobalids); @@ -445,9 +335,6 @@ public function testDocumentUltimateShipToGlobalId(): void $this->assertEmpty($ultimateshiptoglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToTaxRegistration - */ public function testDocumentUltimateShipToTaxRegistration(): void { self::$document->getDocumentUltimateShipToTaxRegistration($ultimateshiptotaxreg); @@ -455,9 +342,6 @@ public function testDocumentUltimateShipToTaxRegistration(): void $this->assertEmpty($ultimateshiptotaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToAddress - */ public function testDocumentUltimateShipToAddress(): void { self::$document->getDocumentUltimateShipToAddress($ultimateshiptolineone, $ultimateshiptolinetwo, $ultimateshiptolinethree, $ultimateshiptopostcode, $ultimateshiptocity, $ultimateshiptocountry, $ultimateshiptosubdivision); @@ -471,9 +355,6 @@ public function testDocumentUltimateShipToAddress(): void $this->assertEmpty($ultimateshiptosubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToLegalOrganisation - */ public function testDocumentUltimateShipToLegalOrganization(): void { self::$document->getDocumentUltimateShipToLegalOrganisation($ultimateshiptolegalorgid, $ultimateshiptolegalorgtype, $ultimateshiptolegalorgname); @@ -482,11 +363,6 @@ public function testDocumentUltimateShipToLegalOrganization(): void $this->assertEquals("", $ultimateshiptolegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentUltimateShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentUltimateShipToContact - */ public function testDocumentUltimateShipToContact(): void { $this->assertFalse(self::$document->firstDocumentUltimateShipToContact()); @@ -503,9 +379,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFrom - */ public function testDocumentShipFromGeneral(): void { self::$document->getDocumentShipFrom($shipfromname, $shipfromids, $shipfromdescription); @@ -515,9 +388,6 @@ public function testDocumentShipFromGeneral(): void $this->assertEquals("", $shipfromdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromGlobalId - */ public function testDocumentShipFromGlobalId(): void { self::$document->getDocumentShipFromGlobalId($shipfromglobalids); @@ -525,9 +395,6 @@ public function testDocumentShipFromGlobalId(): void $this->assertEmpty($shipfromglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromTaxRegistration - */ public function testDocumentShipFromTaxRegistration(): void { self::$document->getDocumentShipFromTaxRegistration($shipfromtaxreg); @@ -535,9 +402,6 @@ public function testDocumentShipFromTaxRegistration(): void $this->assertEmpty($shipfromtaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromAddress - */ public function testDocumentShipFromAddress(): void { self::$document->getDocumentShipFromAddress($shipfromlineone, $shipfromlinetwo, $shipfromlinethree, $shipfrompostcode, $shipfromcity, $shipfromcountry, $shipfromsubdivision); @@ -551,9 +415,6 @@ public function testDocumentShipFromAddress(): void $this->assertEmpty($shipfromsubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromLegalOrganisation - */ public function testDocumentShipFromLegalOrganization(): void { self::$document->getDocumentShipFromLegalOrganisation($shipfromlegalorgid, $shipfromlegalorgtype, $shipfromlegalorgname); @@ -562,11 +423,6 @@ public function testDocumentShipFromLegalOrganization(): void $this->assertEquals("", $shipfromlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentShipFromContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentShipFromContact - */ public function testDocumentShipFromContact(): void { $this->assertFalse(self::$document->firstDocumentShipFromContact()); @@ -583,9 +439,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicer - */ public function testDocumentInvoicerGeneral(): void { self::$document->getDocumentInvoicer($invoicername, $invoicerids, $invoicerdescription); @@ -595,9 +448,6 @@ public function testDocumentInvoicerGeneral(): void $this->assertEquals("", $invoicerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerGlobalId - */ public function testDocumentInvoicerGlobalId(): void { self::$document->getDocumentInvoicerGlobalId($invoicerglobalids); @@ -605,9 +455,6 @@ public function testDocumentInvoicerGlobalId(): void $this->assertEmpty($invoicerglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerTaxRegistration - */ public function testDocumentInvoicerTaxRegistration(): void { self::$document->getDocumentInvoicerTaxRegistration($invoicertaxreg); @@ -615,9 +462,6 @@ public function testDocumentInvoicerTaxRegistration(): void $this->assertEmpty($invoicertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerAddress - */ public function testDocumentInvoicerAddress(): void { self::$document->getDocumentInvoicerAddress($invoicerlineone, $invoicerlinetwo, $invoicerlinethree, $invoicerpostcode, $invoicercity, $invoicercountry, $invoicersubdivision); @@ -631,9 +475,6 @@ public function testDocumentInvoicerAddress(): void $this->assertEmpty($invoicersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerLegalOrganisation - */ public function testDocumentInvoicerLegalOrganization(): void { self::$document->getDocumentInvoicerLegalOrganisation($invoicerlegalorgid, $invoicerlegalorgtype, $invoicerlegalorgname); @@ -642,11 +483,6 @@ public function testDocumentInvoicerLegalOrganization(): void $this->assertEquals("", $invoicerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentInvoicerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentInvoicerContact - */ public function testDocumentInvoicerContact(): void { $this->assertFalse(self::$document->firstDocumentInvoicerContact()); @@ -663,9 +499,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicee - */ public function testDocumentInvoiceeGeneral(): void { self::$document->getDocumentInvoicee($invoiceename, $invoiceeids, $invoiceedescription); @@ -675,9 +508,6 @@ public function testDocumentInvoiceeGeneral(): void $this->assertEquals("", $invoiceedescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeGlobalId - */ public function testDocumentInvoiceeGlobalId(): void { self::$document->getDocumentInvoiceeGlobalId($invoiceeglobalids); @@ -685,9 +515,6 @@ public function testDocumentInvoiceeGlobalId(): void $this->assertEmpty($invoiceeglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeTaxRegistration - */ public function testDocumentInvoiceeTaxRegistration(): void { self::$document->getDocumentInvoiceeTaxRegistration($invoiceetaxreg); @@ -695,9 +522,6 @@ public function testDocumentInvoiceeTaxRegistration(): void $this->assertEmpty($invoiceetaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeAddress - */ public function testDocumentInvoiceeAddress(): void { self::$document->getDocumentInvoiceeAddress($invoiceelineone, $invoiceelinetwo, $invoiceelinethree, $invoiceepostcode, $invoiceecity, $invoiceecountry, $invoiceesubdivision); @@ -711,9 +535,6 @@ public function testDocumentInvoiceeAddress(): void $this->assertEmpty($invoiceesubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeLegalOrganisation - */ public function testDocumentInvoiceeLegalOrganization(): void { self::$document->getDocumentInvoiceeLegalOrganisation($invoiceelegalorgid, $invoiceelegalorgtype, $invoiceelegalorgname); @@ -722,11 +543,6 @@ public function testDocumentInvoiceeLegalOrganization(): void $this->assertEquals("", $invoiceelegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentInvoiceeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentInvoiceeContact - */ public function testDocumentInvoiceeContact(): void { $this->assertFalse(self::$document->firstDocumentInvoiceeContact()); @@ -743,9 +559,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayee - */ public function testDocumentPayeeGeneral(): void { self::$document->getDocumentPayee($payeename, $payeeids, $payeedescription); @@ -755,9 +568,6 @@ public function testDocumentPayeeGeneral(): void $this->assertEquals("", $payeedescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeGlobalId - */ public function testDocumentPayeeGlobalId(): void { self::$document->getDocumentPayeeGlobalId($payeeglobalids); @@ -765,9 +575,6 @@ public function testDocumentPayeeGlobalId(): void $this->assertEmpty($payeeglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeTaxRegistration - */ public function testDocumentPayeeTaxRegistration(): void { self::$document->getDocumentPayeeTaxRegistration($payeetaxreg); @@ -775,9 +582,6 @@ public function testDocumentPayeeTaxRegistration(): void $this->assertEmpty($payeetaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeAddress - */ public function testDocumentPayeeAddress(): void { self::$document->getDocumentPayeeAddress($payeelineone, $payeelinetwo, $payeelinethree, $payeepostcode, $payeecity, $payeecountry, $payeesubdivision); @@ -791,9 +595,6 @@ public function testDocumentPayeeAddress(): void $this->assertEmpty($payeesubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeLegalOrganisation - */ public function testDocumentPayeeLegalOrganization(): void { self::$document->getDocumentPayeeLegalOrganisation($payeelegalorgid, $payeelegalorgtype, $payeelegalorgname); @@ -802,11 +603,6 @@ public function testDocumentPayeeLegalOrganization(): void $this->assertEquals("", $payeelegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPayeeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPayeeContact - */ public function testDocumentPayeeContact(): void { $this->assertFalse(self::$document->firstDocumentPayeeContact()); @@ -823,9 +619,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUser - */ public function testDocumentProductEndUserGeneral(): void { self::$document->getDocumentProductEndUser($producendusername, $producenduserids, $producenduserdescription); @@ -836,9 +629,6 @@ public function testDocumentProductEndUserGeneral(): void $this->assertEquals("", $producenduserdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserGlobalId - */ public function testDocumentProductEndUserGlobalId(): void { self::$document->getDocumentProductEndUserGlobalId($producenduserglobalids); @@ -846,9 +636,6 @@ public function testDocumentProductEndUserGlobalId(): void $this->assertArrayNotHasKey("0088", $producenduserglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserTaxRegistration - */ public function testDocumentProductEndUserTaxRegistration(): void { self::$document->getDocumentProductEndUserTaxRegistration($producendusertaxreg); @@ -860,9 +647,6 @@ public function testDocumentProductEndUserTaxRegistration(): void $this->assertArrayNotHasKey("ZZ", $producendusertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserAddress - */ public function testDocumentProductEndUserAddress(): void { self::$document->getDocumentProductEndUserAddress($producenduserlineone, $producenduserlinetwo, $producenduserlinethree, $producenduserpostcode, $producendusercity, $producendusercountry, $producendusersubdivision); @@ -876,9 +660,6 @@ public function testDocumentProductEndUserAddress(): void $this->assertEmpty($producendusersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserLegalOrganisation - */ public function testDocumentProductEndUserLegalOrganization(): void { self::$document->getDocumentProductEndUserLegalOrganisation($producenduserlegalorgid, $producenduserlegalorgtype, $producenduserlegalorgname); @@ -887,11 +668,6 @@ public function testDocumentProductEndUserLegalOrganization(): void $this->assertEquals("", $producenduserlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentProductEndUserContactContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentProductEndUserContactContact - */ public function testDocumentProductEndUserContact(): void { $this->assertFalse(self::$document->firstDocumentProductEndUserContactContact()); @@ -903,9 +679,6 @@ function () { $this->assertFalse(self::$document->nextDocumentProductEndUserContactContact()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerOrderReferencedDocument - */ public function testDocumentSellerOrderReferencedDocument(): void { self::$document->getDocumentSellerOrderReferencedDocument($sellerorderrefdocid, $sellerorderrefdocdate); @@ -913,9 +686,6 @@ public function testDocumentSellerOrderReferencedDocument(): void $this->assertNull($sellerorderrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerOrderReferencedDocument - */ public function testDocumentBuyerOrderReferencedDocument(): void { self::$document->getDocumentBuyerOrderReferencedDocument($buyerorderrefdocid, $buyerorderrefdocdate); @@ -923,9 +693,6 @@ public function testDocumentBuyerOrderReferencedDocument(): void $this->assertNull($buyerorderrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentContractReferencedDocument - */ public function testDocumentContractReferencedDocument(): void { self::$document->getDocumentContractReferencedDocument($contractrefdocid, $contractrefdocdate); @@ -933,9 +700,6 @@ public function testDocumentContractReferencedDocument(): void $this->assertNull($contractrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAdditionalReferencedDocuments - */ public function testDocumentAdditionalReferencedDocuments(): void { self::$document->getDocumentAdditionalReferencedDocuments($additionalrefdocs); @@ -943,9 +707,6 @@ public function testDocumentAdditionalReferencedDocuments(): void $this->assertEmpty($additionalrefdocs); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProcuringProject - */ public function testDocumentProcuringProject(): void { self::$document->getDocumentProcuringProject($projectid, $projectname); @@ -953,18 +714,12 @@ public function testDocumentProcuringProject(): void $this->assertEquals("", $projectname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSupplyChainEvent - */ public function testDocumentSupplyChainEvent(): void { self::$document->getDocumentSupplyChainEvent($supplychainevent); $this->assertNull($supplychainevent); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDespatchAdviceReferencedDocument - */ public function testDocumentDespatchAdviceReferencedDocument(): void { self::$document->getDocumentDespatchAdviceReferencedDocument($despatchdocid, $despatchdocdate); @@ -973,9 +728,6 @@ public function testDocumentDespatchAdviceReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $despatchdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentReceivingAdviceReferencedDocument - */ public function testDocumentReceivingAdviceReferencedDocument(): void { self::$document->getDocumentReceivingAdviceReferencedDocument($recadvid, $recadvdate); @@ -984,9 +736,6 @@ public function testDocumentReceivingAdviceReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $recadvdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDeliveryNoteReferencedDocument - */ public function testDocumentDeliveryNoteReferencedDocument(): void { self::$document->getDocumentDeliveryNoteReferencedDocument($deliverynoterefdocid, $deliverynoterefdocdate); @@ -995,9 +744,6 @@ public function testDocumentDeliveryNoteReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $deliverynoterefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBillingPeriod - */ public function testDocumentBillingPeriod(): void { self::$document->getDocumentBillingPeriod($docbillingperiodstart, $docbillingperiodend); @@ -1007,9 +753,6 @@ public function testDocumentBillingPeriod(): void $this->assertNotInstanceOf("DateTime", $docbillingperiodend); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAllowanceCharges - */ public function testDocumentAllowanceCharges(): void { self::$document->getDocumentAllowanceCharges($docallowancecharge); @@ -1017,9 +760,6 @@ public function testDocumentAllowanceCharges(): void $this->assertEmpty($docallowancecharge); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentTerms - */ public function testDocumentPaymentTerms(): void { self::$document->getDocumentPaymentTerms($docpaymentterms); @@ -1028,109 +768,66 @@ public function testDocumentPaymentTerms(): void $this->assertArrayNotHasKey(0, $docpaymentterms); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDeliveryTerms - */ public function testDocumentDeliveryTerms(): void { self::$document->getDocumentDeliveryTerms($devtermcode); $this->assertEquals("", $devtermcode); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAdditionalReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentAdditionalReferencedDocument - */ public function testDocumentAdditionalReferencedDocumentLoop(): void { $this->assertFalse(self::$document->firstDocumentAdditionalReferencedDocument()); $this->assertFalse(self::$document->nextDocumentAdditionalReferencedDocument()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentUltimateCustomerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentUltimateCustomerOrderReferencedDocument - */ public function testDocumentUltimateCustomerOrderReferencedDocumentLoop(): void { $this->assertFalse(self::$document->firstDocumentUltimateCustomerOrderReferencedDocument()); $this->assertFalse(self::$document->nextDocumentUltimateCustomerOrderReferencedDocument()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstGetDocumentPaymentMeans - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextGetDocumentPaymentMeans - */ public function testDocumentPaymentMeansLoop(): void { $this->assertFalse(self::$document->firstGetDocumentPaymentMeans()); $this->assertFalse(self::$document->nextGetDocumentPaymentMeans()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentTax - */ public function testDocumentTaxLoop(): void { $this->assertFalse(self::$document->firstDocumentTax()); $this->assertFalse(self::$document->nextDocumentTax()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentTax - */ public function testDocumentTax(): void { $this->assertFalse(self::$document->firstDocumentTax()); $this->assertFalse(self::$document->nextDocumentTax()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentAllowanceCharge - */ public function testtDocumentAllowanceChargeLoop(): void { $this->assertFalse(self::$document->firstDocumentAllowanceCharge()); $this->assertFalse(self::$document->nextDocumentAllowanceCharge()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentLogisticsServiceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentLogisticsServiceCharge - */ public function testtDocumentLogisticsServiceChargeLoop(): void { $this->assertFalse(self::$document->firstDocumentLogisticsServiceCharge()); $this->assertFalse(self::$document->nextDocumentLogisticsServiceCharge()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPaymentTerms - */ public function testtDocumentPaymentTermsLoop(): void { $this->assertFalse(self::$document->firstDocumentPaymentTerms()); $this->assertFalse(self::$document->nextDocumentPaymentTerms()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPaymentTerms - */ public function testtDocumentPaymentTerms(): void { $this->assertFalse(self::$document->firstDocumentPaymentTerms()); $this->assertFalse(self::$document->nextDocumentPaymentTerms()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - */ public function testDocumentPositionLoop(): void { $this->assertFalse(self::$document->firstDocumentPosition(), "has a first position"); @@ -1138,17 +835,11 @@ public function testDocumentPositionLoop(): void $this->assertFalse(self::$document->nextDocumentPosition(), "has no third position"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPosition - */ public function testDocumentPositionFirst(): void { $this->assertfalse(self::$document->firstDocumentPosition()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - */ public function testDocumentPositionSecond(): void { $this->assertFalse(self::$document->nextDocumentPosition()); diff --git a/tests/testcases/PdfReaderMultipleAttachmentsTest.php b/tests/testcases/PdfReaderMultipleAttachmentsTest.php index 921c430c..fa14fe35 100644 --- a/tests/testcases/PdfReaderMultipleAttachmentsTest.php +++ b/tests/testcases/PdfReaderMultipleAttachmentsTest.php @@ -14,9 +14,6 @@ class PdfReaderMultipleAttachmentsTest extends TestCase */ protected static $document; - /** - * @covers \horstoeko\zugferd\ZugferdDocumentPdfReader::readAndGuessFromFile - */ public function testCanReadPdf(): void { self::$document = ZugferdDocumentPdfReader::readAndGuessFromFile(dirname(__FILE__) . "/../assets/zugferd_2p1_EN16931_Elektron.pdf"); @@ -32,9 +29,6 @@ public function testDocumentProfile(): void $this->assertNotEquals(ZugferdProfiles::PROFILE_XRECHNUNG, self::$document->getProfileId()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInformation - */ public function testDocumentGenerals(): void { self::$document->getDocumentInformation($documentno, $documenttypecode, $documentdate, $invoiceCurrency, $taxCurrency, $documentname, $documentlanguage, $effectiveSpecifiedPeriod); diff --git a/tests/testcases/PdfReaderXRechnungSimpleTest.php b/tests/testcases/PdfReaderXRechnungSimpleTest.php index 9d70a4ec..6a47a0e1 100644 --- a/tests/testcases/PdfReaderXRechnungSimpleTest.php +++ b/tests/testcases/PdfReaderXRechnungSimpleTest.php @@ -15,9 +15,6 @@ class PdfReaderXRechnungSimpleTest extends TestCase */ protected static $document; - /** - * @covers \horstoeko\zugferd\ZugferdDocumentPdfReader::readAndGuessFromFile - */ public function testCanReadPdf(): void { self::$document = ZugferdDocumentPdfReader::readAndGuessFromFile(dirname(__FILE__) . "/../assets/zugferd_2p1_XRECHNUNG_Einfach.pdf"); @@ -33,9 +30,6 @@ public function testDocumentProfile(): void $this->assertEquals(ZugferdProfiles::PROFILE_XRECHNUNG, self::$document->getProfileId()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInformation - */ public function testDocumentGenerals(): void { self::$document->getDocumentInformation($documentno, $documenttypecode, $documentdate, $invoiceCurrency, $taxCurrency, $documentname, $documentlanguage, $effectiveSpecifiedPeriod); @@ -51,9 +45,6 @@ public function testDocumentGenerals(): void $this->assertNotNull(self::$document->getInvoiceObject()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentNotes - */ public function testDocumentNotes(): void { self::$document->getDocumentNotes($notes); @@ -85,9 +76,6 @@ public function testDocumentNotes(): void $this->assertStringContainsString("Handelsregisternummer: H A 123", $notes[1]["content"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentGeneralPaymentInformation - */ public function testDocumentGeneralPaymentInformation(): void { self::$document->getDocumentGeneralPaymentInformation($creditorReferenceID, $paymentReference); @@ -95,27 +83,18 @@ public function testDocumentGeneralPaymentInformation(): void $this->assertEquals("", $paymentReference); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getIsDocumentCopy - */ public function testDocumentIsCopy(): void { self::$document->getIsDocumentCopy($iscopy); $this->assertFalse($iscopy); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getIsTestDocument - */ public function testDocumentIsTestDocument(): void { self::$document->getIsTestDocument($istest); $this->assertFalse($istest); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSummation - */ public function testDocumentSummation(): void { self::$document->getDocumentSummation($grandTotalAmount, $duePayableAmount, $lineTotalAmount, $chargeTotalAmount, $allowanceTotalAmount, $taxBasisTotalAmount, $taxTotalAmount, $roundingAmount, $totalPrepaidAmount); @@ -130,18 +109,12 @@ public function testDocumentSummation(): void $this->assertEquals(0.00, $totalPrepaidAmount); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerReference - */ public function testGetDocumentBuyerReference(): void { self::$document->getDocumentBuyerReference($buyerReference); $this->assertEquals("04011000-12345-34", $buyerReference); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSeller - */ public function testDocumentSellerGeneral(): void { self::$document->getDocumentSeller($sellername, $sellerids, $sellerdescription); @@ -152,9 +125,6 @@ public function testDocumentSellerGeneral(): void $this->assertEquals("", $sellerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerGlobalId - */ public function testDocumentSellerGlobalId(): void { self::$document->getDocumentSellerGlobalId($sellerglobalids); @@ -163,9 +133,6 @@ public function testDocumentSellerGlobalId(): void $this->assertEquals("4000001123452", $sellerglobalids["0088"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRegistration - */ public function testDocumentSellerTaxRegistration(): void { self::$document->getDocumentSellerTaxRegistration($sellertaxreg); @@ -179,9 +146,6 @@ public function testDocumentSellerTaxRegistration(): void $this->assertEquals("DE123456789", $sellertaxreg["VA"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerAddress - */ public function testDocumentSellerAddress(): void { self::$document->getDocumentSellerAddress($sellerlineone, $sellerlinetwo, $sellerlinethree, $sellerpostcode, $sellercity, $sellercountry, $sellersubdivision); @@ -195,9 +159,6 @@ public function testDocumentSellerAddress(): void $this->assertEmpty($sellersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerLegalOrganisation - */ public function testDocumentSellerLegalOrganization(): void { self::$document->getDocumentSellerLegalOrganisation($sellerlegalorgid, $sellerlegalorgtype, $sellerlegalorgname); @@ -206,11 +167,6 @@ public function testDocumentSellerLegalOrganization(): void $this->assertEquals("", $sellerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentSellerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentSellerContact - */ public function testDocumentSellerContact(): void { $this->assertTrue(self::$document->firstDocumentSellerContact()); @@ -223,9 +179,6 @@ public function testDocumentSellerContact(): void $this->assertFalse(self::$document->nextDocumentSellerContact()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyer - */ public function testDocumentBuyerGeneral(): void { self::$document->getDocumentBuyer($buyername, $buyerids, $buyerdescription); @@ -237,9 +190,6 @@ public function testDocumentBuyerGeneral(): void $this->assertEquals("", $buyerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerGlobalId - */ public function testDocumentBuyerGlobalId(): void { self::$document->getDocumentBuyerGlobalId($buyerglobalids); @@ -247,9 +197,6 @@ public function testDocumentBuyerGlobalId(): void $this->assertEmpty($buyerglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerTaxRegistration - */ public function testDocumentBuyerTaxRegistration(): void { self::$document->getDocumentBuyerTaxRegistration($buyertaxreg); @@ -257,9 +204,6 @@ public function testDocumentBuyerTaxRegistration(): void $this->assertEmpty($buyertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerAddress - */ public function testDocumentBuyerAddress(): void { self::$document->getDocumentBuyerAddress($buyerlineone, $buyerlinetwo, $buyerlinethree, $buyerpostcode, $buyercity, $buyercountry, $buyersubdivision); @@ -273,9 +217,6 @@ public function testDocumentBuyerAddress(): void $this->assertEmpty($buyersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerLegalOrganisation - */ public function testDocumentBuyerLegalOrganization(): void { self::$document->getDocumentBuyerLegalOrganisation($buyerlegalorgid, $buyerlegalorgtype, $buyerlegalorgname); @@ -284,11 +225,6 @@ public function testDocumentBuyerLegalOrganization(): void $this->assertEquals("", $buyerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentBuyerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentBuyerContact - */ public function testDocumentBuyerContact(): void { $this->assertFalse(self::$document->firstDocumentBuyerContact()); @@ -300,9 +236,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentative - */ public function testDocumentSellerTaxRepresentativeGeneral(): void { self::$document->getDocumentSellerTaxRepresentative($sellertaxreprname, $sellertaxreprids, $sellertaxreprdescription); @@ -312,9 +245,6 @@ public function testDocumentSellerTaxRepresentativeGeneral(): void $this->assertEquals("", $sellertaxreprdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeGlobalId - */ public function testDocumentSellerTaxRepresentativeGlobalId(): void { self::$document->getDocumentSellerTaxRepresentativeGlobalId($sellertaxreprglobalids); @@ -322,9 +252,6 @@ public function testDocumentSellerTaxRepresentativeGlobalId(): void $this->assertEmpty($sellertaxreprglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeTaxRegistration - */ public function testDocumentSellerTaxRepresentativeTaxRegistration(): void { self::$document->getDocumentSellerTaxRepresentativeTaxRegistration($sellertaxreprtaxreg); @@ -332,9 +259,6 @@ public function testDocumentSellerTaxRepresentativeTaxRegistration(): void $this->assertEmpty($sellertaxreprtaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeAddress - */ public function testDocumentSellerTaxRepresentativeAddress(): void { self::$document->getDocumentSellerTaxRepresentativeAddress($sellertaxreprlineone, $sellertaxreprlinetwo, $sellertaxreprlinethree, $sellertaxreprpostcode, $sellertaxreprcity, $sellertaxreprcountry, $sellertaxreprsubdivision); @@ -348,9 +272,6 @@ public function testDocumentSellerTaxRepresentativeAddress(): void $this->assertEmpty($sellertaxreprsubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeLegalOrganisation - */ public function testDocumentSellerTaxRepresentativeLegalOrganization(): void { self::$document->getDocumentSellerTaxRepresentativeLegalOrganisation($sellertaxreprlegalorgid, $sellertaxreprlegalorgtype, $sellertaxreprlegalorgname); @@ -359,11 +280,6 @@ public function testDocumentSellerTaxRepresentativeLegalOrganization(): void $this->assertEquals("", $sellertaxreprlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentSellerTaxRepresentativeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentSellerTaxRepresentativeContact - */ public function testDocumentSellerTaxRepresentativeContact(): void { $this->assertFalse(self::$document->firstDocumentSellerTaxRepresentativeContact()); @@ -375,9 +291,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipTo - */ public function testDocumentShipToGeneral(): void { self::$document->getDocumentShipTo($shiptoname, $shiptoids, $shiptodescription); @@ -387,9 +300,6 @@ public function testDocumentShipToGeneral(): void $this->assertEquals("", $shiptodescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToGlobalId - */ public function testDocumentShipToGlobalId(): void { self::$document->getDocumentShipToGlobalId($shiptoglobalids); @@ -397,9 +307,6 @@ public function testDocumentShipToGlobalId(): void $this->assertEmpty($shiptoglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToTaxRegistration - */ public function testDocumentShipToTaxRegistration(): void { self::$document->getDocumentShipToTaxRegistration($shiptotaxreg); @@ -407,9 +314,6 @@ public function testDocumentShipToTaxRegistration(): void $this->assertEmpty($shiptotaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToAddress - */ public function testDocumentShipToAddress(): void { self::$document->getDocumentShipToAddress($shiptolineone, $shiptolinetwo, $shiptolinethree, $shiptopostcode, $shiptocity, $shiptocountry, $shiptosubdivision); @@ -423,9 +327,6 @@ public function testDocumentShipToAddress(): void $this->assertEmpty($shiptosubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToLegalOrganisation - */ public function testDocumentShipToLegalOrganization(): void { self::$document->getDocumentShipToLegalOrganisation($shiptolegalorgid, $shiptolegalorgtype, $shiptolegalorgname); @@ -434,11 +335,6 @@ public function testDocumentShipToLegalOrganization(): void $this->assertEquals("", $shiptolegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentShipToContact - */ public function testDocumentShipToContact(): void { $this->assertFalse(self::$document->firstDocumentShipToContact()); @@ -450,9 +346,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipTo - */ public function testDocumentUltimateShipToGeneral(): void { self::$document->getDocumentUltimateShipTo($ultimateshiptoname, $ultimateshiptoids, $ultimateshiptodescription); @@ -462,9 +355,6 @@ public function testDocumentUltimateShipToGeneral(): void $this->assertEquals("", $ultimateshiptodescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToGlobalId - */ public function testDocumentUltimateShipToGlobalId(): void { self::$document->getDocumentUltimateShipToGlobalId($ultimateshiptoglobalids); @@ -472,9 +362,6 @@ public function testDocumentUltimateShipToGlobalId(): void $this->assertEmpty($ultimateshiptoglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToTaxRegistration - */ public function testDocumentUltimateShipToTaxRegistration(): void { self::$document->getDocumentUltimateShipToTaxRegistration($ultimateshiptotaxreg); @@ -482,9 +369,6 @@ public function testDocumentUltimateShipToTaxRegistration(): void $this->assertEmpty($ultimateshiptotaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToAddress - */ public function testDocumentUltimateShipToAddress(): void { self::$document->getDocumentUltimateShipToAddress($ultimateshiptolineone, $ultimateshiptolinetwo, $ultimateshiptolinethree, $ultimateshiptopostcode, $ultimateshiptocity, $ultimateshiptocountry, $ultimateshiptosubdivision); @@ -498,9 +382,6 @@ public function testDocumentUltimateShipToAddress(): void $this->assertEmpty($ultimateshiptosubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToLegalOrganisation - */ public function testDocumentUltimateShipToLegalOrganization(): void { self::$document->getDocumentUltimateShipToLegalOrganisation($ultimateshiptolegalorgid, $ultimateshiptolegalorgtype, $ultimateshiptolegalorgname); @@ -509,11 +390,6 @@ public function testDocumentUltimateShipToLegalOrganization(): void $this->assertEquals("", $ultimateshiptolegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentUltimateShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentUltimateShipToContact - */ public function testDocumentUltimateShipToContact(): void { $this->assertFalse(self::$document->firstDocumentUltimateShipToContact()); @@ -530,9 +406,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFrom - */ public function testDocumentShipFromGeneral(): void { self::$document->getDocumentShipFrom($shipfromname, $shipfromids, $shipfromdescription); @@ -542,9 +415,6 @@ public function testDocumentShipFromGeneral(): void $this->assertEquals("", $shipfromdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromGlobalId - */ public function testDocumentShipFromGlobalId(): void { self::$document->getDocumentShipFromGlobalId($shipfromglobalids); @@ -552,9 +422,6 @@ public function testDocumentShipFromGlobalId(): void $this->assertEmpty($shipfromglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromTaxRegistration - */ public function testDocumentShipFromTaxRegistration(): void { self::$document->getDocumentShipFromTaxRegistration($shipfromtaxreg); @@ -562,9 +429,6 @@ public function testDocumentShipFromTaxRegistration(): void $this->assertEmpty($shipfromtaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromAddress - */ public function testDocumentShipFromAddress(): void { self::$document->getDocumentShipFromAddress($shipfromlineone, $shipfromlinetwo, $shipfromlinethree, $shipfrompostcode, $shipfromcity, $shipfromcountry, $shipfromsubdivision); @@ -578,9 +442,6 @@ public function testDocumentShipFromAddress(): void $this->assertEmpty($shipfromsubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromLegalOrganisation - */ public function testDocumentShipFromLegalOrganization(): void { self::$document->getDocumentShipFromLegalOrganisation($shipfromlegalorgid, $shipfromlegalorgtype, $shipfromlegalorgname); @@ -589,11 +450,6 @@ public function testDocumentShipFromLegalOrganization(): void $this->assertEquals("", $shipfromlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentShipFromContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentShipFromContact - */ public function testDocumentShipFromContact(): void { $this->assertFalse(self::$document->firstDocumentShipFromContact()); @@ -610,9 +466,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicer - */ public function testDocumentInvoicerGeneral(): void { self::$document->getDocumentInvoicer($invoicername, $invoicerids, $invoicerdescription); @@ -622,9 +475,6 @@ public function testDocumentInvoicerGeneral(): void $this->assertEquals("", $invoicerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerGlobalId - */ public function testDocumentInvoicerGlobalId(): void { self::$document->getDocumentInvoicerGlobalId($invoicerglobalids); @@ -632,9 +482,6 @@ public function testDocumentInvoicerGlobalId(): void $this->assertEmpty($invoicerglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerTaxRegistration - */ public function testDocumentInvoicerTaxRegistration(): void { self::$document->getDocumentInvoicerTaxRegistration($invoicertaxreg); @@ -642,9 +489,6 @@ public function testDocumentInvoicerTaxRegistration(): void $this->assertEmpty($invoicertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerAddress - */ public function testDocumentInvoicerAddress(): void { self::$document->getDocumentInvoicerAddress($invoicerlineone, $invoicerlinetwo, $invoicerlinethree, $invoicerpostcode, $invoicercity, $invoicercountry, $invoicersubdivision); @@ -658,9 +502,6 @@ public function testDocumentInvoicerAddress(): void $this->assertEmpty($invoicersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerLegalOrganisation - */ public function testDocumentInvoicerLegalOrganization(): void { self::$document->getDocumentInvoicerLegalOrganisation($invoicerlegalorgid, $invoicerlegalorgtype, $invoicerlegalorgname); @@ -669,11 +510,6 @@ public function testDocumentInvoicerLegalOrganization(): void $this->assertEquals("", $invoicerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentInvoicerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentInvoicerContact - */ public function testDocumentInvoicerContact(): void { $this->assertFalse(self::$document->firstDocumentInvoicerContact()); @@ -690,9 +526,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicee - */ public function testDocumentInvoiceeGeneral(): void { self::$document->getDocumentInvoicee($invoiceename, $invoiceeids, $invoiceedescription); @@ -702,9 +535,6 @@ public function testDocumentInvoiceeGeneral(): void $this->assertEquals("", $invoiceedescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeGlobalId - */ public function testDocumentInvoiceeGlobalId(): void { self::$document->getDocumentInvoiceeGlobalId($invoiceeglobalids); @@ -712,9 +542,6 @@ public function testDocumentInvoiceeGlobalId(): void $this->assertEmpty($invoiceeglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeTaxRegistration - */ public function testDocumentInvoiceeTaxRegistration(): void { self::$document->getDocumentInvoiceeTaxRegistration($invoiceetaxreg); @@ -722,9 +549,6 @@ public function testDocumentInvoiceeTaxRegistration(): void $this->assertEmpty($invoiceetaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeAddress - */ public function testDocumentInvoiceeAddress(): void { self::$document->getDocumentInvoiceeAddress($invoiceelineone, $invoiceelinetwo, $invoiceelinethree, $invoiceepostcode, $invoiceecity, $invoiceecountry, $invoiceesubdivision); @@ -738,9 +562,6 @@ public function testDocumentInvoiceeAddress(): void $this->assertEmpty($invoiceesubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeLegalOrganisation - */ public function testDocumentInvoiceeLegalOrganization(): void { self::$document->getDocumentInvoiceeLegalOrganisation($invoiceelegalorgid, $invoiceelegalorgtype, $invoiceelegalorgname); @@ -749,11 +570,6 @@ public function testDocumentInvoiceeLegalOrganization(): void $this->assertEquals("", $invoiceelegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentInvoiceeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentInvoiceeContact - */ public function testDocumentInvoiceeContact(): void { $this->assertFalse(self::$document->firstDocumentInvoiceeContact()); @@ -770,9 +586,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayee - */ public function testDocumentPayeeGeneral(): void { self::$document->getDocumentPayee($payeename, $payeeids, $payeedescription); @@ -782,9 +595,6 @@ public function testDocumentPayeeGeneral(): void $this->assertEquals("", $payeedescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeGlobalId - */ public function testDocumentPayeeGlobalId(): void { self::$document->getDocumentPayeeGlobalId($payeeglobalids); @@ -792,9 +602,6 @@ public function testDocumentPayeeGlobalId(): void $this->assertEmpty($payeeglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeTaxRegistration - */ public function testDocumentPayeeTaxRegistration(): void { self::$document->getDocumentPayeeTaxRegistration($payeetaxreg); @@ -802,9 +609,6 @@ public function testDocumentPayeeTaxRegistration(): void $this->assertEmpty($payeetaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeAddress - */ public function testDocumentPayeeAddress(): void { self::$document->getDocumentPayeeAddress($payeelineone, $payeelinetwo, $payeelinethree, $payeepostcode, $payeecity, $payeecountry, $payeesubdivision); @@ -818,9 +622,6 @@ public function testDocumentPayeeAddress(): void $this->assertEmpty($payeesubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeLegalOrganisation - */ public function testDocumentPayeeLegalOrganization(): void { self::$document->getDocumentPayeeLegalOrganisation($payeelegalorgid, $payeelegalorgtype, $payeelegalorgname); @@ -829,11 +630,6 @@ public function testDocumentPayeeLegalOrganization(): void $this->assertEquals("", $payeelegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPayeeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPayeeContact - */ public function testDocumentPayeeContact(): void { $this->assertFalse(self::$document->firstDocumentPayeeContact()); @@ -850,9 +646,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUser - */ public function testDocumentProductEndUserGeneral(): void { self::$document->getDocumentProductEndUser($producendusername, $producenduserids, $producenduserdescription); @@ -863,9 +656,6 @@ public function testDocumentProductEndUserGeneral(): void $this->assertEquals("", $producenduserdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserGlobalId - */ public function testDocumentProductEndUserGlobalId(): void { self::$document->getDocumentProductEndUserGlobalId($producenduserglobalids); @@ -873,9 +663,6 @@ public function testDocumentProductEndUserGlobalId(): void $this->assertArrayNotHasKey("0088", $producenduserglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserTaxRegistration - */ public function testDocumentProductEndUserTaxRegistration(): void { self::$document->getDocumentProductEndUserTaxRegistration($producendusertaxreg); @@ -887,9 +674,6 @@ public function testDocumentProductEndUserTaxRegistration(): void $this->assertArrayNotHasKey("ZZ", $producendusertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserAddress - */ public function testDocumentProductEndUserAddress(): void { self::$document->getDocumentProductEndUserAddress($producenduserlineone, $producenduserlinetwo, $producenduserlinethree, $producenduserpostcode, $producendusercity, $producendusercountry, $producendusersubdivision); @@ -903,9 +687,6 @@ public function testDocumentProductEndUserAddress(): void $this->assertEmpty($producendusersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserLegalOrganisation - */ public function testDocumentProductEndUserLegalOrganization(): void { self::$document->getDocumentProductEndUserLegalOrganisation($producenduserlegalorgid, $producenduserlegalorgtype, $producenduserlegalorgname); @@ -914,11 +695,6 @@ public function testDocumentProductEndUserLegalOrganization(): void $this->assertEquals("", $producenduserlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentProductEndUserContactContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentProductEndUserContactContact - */ public function testDocumentProductEndUserContact(): void { $this->assertFalse(self::$document->firstDocumentProductEndUserContactContact()); @@ -930,9 +706,6 @@ function () { $this->assertFalse(self::$document->nextDocumentProductEndUserContactContact()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerOrderReferencedDocument - */ public function testDocumentSellerOrderReferencedDocument(): void { self::$document->getDocumentSellerOrderReferencedDocument($sellerorderrefdocid, $sellerorderrefdocdate); @@ -940,9 +713,6 @@ public function testDocumentSellerOrderReferencedDocument(): void $this->assertNull($sellerorderrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerOrderReferencedDocument - */ public function testDocumentBuyerOrderReferencedDocument(): void { self::$document->getDocumentBuyerOrderReferencedDocument($buyerorderrefdocid, $buyerorderrefdocdate); @@ -950,9 +720,6 @@ public function testDocumentBuyerOrderReferencedDocument(): void $this->assertNull($buyerorderrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentContractReferencedDocument - */ public function testDocumentContractReferencedDocument(): void { self::$document->getDocumentContractReferencedDocument($contractrefdocid, $contractrefdocdate); @@ -960,9 +727,6 @@ public function testDocumentContractReferencedDocument(): void $this->assertNull($contractrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAdditionalReferencedDocuments - */ public function testDocumentAdditionalReferencedDocuments(): void { self::$document->getDocumentAdditionalReferencedDocuments($additionalrefdocs); @@ -970,9 +734,6 @@ public function testDocumentAdditionalReferencedDocuments(): void $this->assertEmpty($additionalrefdocs); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProcuringProject - */ public function testDocumentProcuringProject(): void { self::$document->getDocumentProcuringProject($projectid, $projectname); @@ -980,9 +741,6 @@ public function testDocumentProcuringProject(): void $this->assertEquals("", $projectname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSupplyChainEvent - */ public function testDocumentSupplyChainEvent(): void { self::$document->getDocumentSupplyChainEvent($supplychainevent); @@ -991,9 +749,6 @@ public function testDocumentSupplyChainEvent(): void $this->assertEquals((\DateTime::createFromFormat('Ymd', '20180305'))->format('Ymd'), $supplychainevent->format('Ymd')); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDespatchAdviceReferencedDocument - */ public function testDocumentDespatchAdviceReferencedDocument(): void { self::$document->getDocumentDespatchAdviceReferencedDocument($despatchdocid, $despatchdocdate); @@ -1002,9 +757,6 @@ public function testDocumentDespatchAdviceReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $despatchdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentReceivingAdviceReferencedDocument - */ public function testDocumentReceivingAdviceReferencedDocument(): void { self::$document->getDocumentReceivingAdviceReferencedDocument($recadvid, $recadvdate); @@ -1013,9 +765,6 @@ public function testDocumentReceivingAdviceReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $recadvdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDeliveryNoteReferencedDocument - */ public function testDocumentDeliveryNoteReferencedDocument(): void { self::$document->getDocumentDeliveryNoteReferencedDocument($deliverynoterefdocid, $deliverynoterefdocdate); @@ -1024,9 +773,6 @@ public function testDocumentDeliveryNoteReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $deliverynoterefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBillingPeriod - */ public function testDocumentBillingPeriod(): void { self::$document->getDocumentBillingPeriod($docbillingperiodstart, $docbillingperiodend); @@ -1036,9 +782,6 @@ public function testDocumentBillingPeriod(): void $this->assertNotInstanceOf("DateTime", $docbillingperiodend); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAllowanceCharges - */ public function testDocumentAllowanceCharges(): void { self::$document->getDocumentAllowanceCharges($docallowancecharge); @@ -1046,9 +789,6 @@ public function testDocumentAllowanceCharges(): void $this->assertEmpty($docallowancecharge); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentTerms - */ public function testDocumentPaymentTerms(): void { self::$document->getDocumentPaymentTerms($docpaymentterms); @@ -1067,49 +807,30 @@ public function testDocumentPaymentTerms(): void $this->assertEquals(0.0, $docpaymentterms[0]["partialpaymentamount"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDeliveryTerms - */ public function testDocumentDeliveryTerms(): void { self::$document->getDocumentDeliveryTerms($devtermcode); $this->assertEquals("", $devtermcode); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAdditionalReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentAdditionalReferencedDocument - */ public function testDocumentAdditionalReferencedDocumentLoop(): void { $this->assertFalse(self::$document->firstDocumentAdditionalReferencedDocument()); $this->assertFalse(self::$document->nextDocumentAdditionalReferencedDocument()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentUltimateCustomerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentUltimateCustomerOrderReferencedDocument - */ public function testDocumentUltimateCustomerOrderReferencedDocumentLoop(): void { $this->assertFalse(self::$document->firstDocumentUltimateCustomerOrderReferencedDocument()); $this->assertFalse(self::$document->nextDocumentUltimateCustomerOrderReferencedDocument()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstGetDocumentPaymentMeans - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextGetDocumentPaymentMeans - */ public function testDocumentPaymentMeansLoop(): void { $this->assertTrue(self::$document->firstGetDocumentPaymentMeans()); $this->assertFalse(self::$document->nextGetDocumentPaymentMeans()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstGetDocumentPaymentMeans - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentMeans - */ public function testGetDocumentPaymentMeans(): void { $this->assertTrue(self::$document->firstGetDocumentPaymentMeans()); @@ -1126,21 +847,12 @@ public function testGetDocumentPaymentMeans(): void $this->assertEquals("BYLADEM1001", $payeeBic); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentTax - */ public function testDocumentTaxLoop(): void { $this->assertTrue(self::$document->firstDocumentTax()); $this->assertTrue(self::$document->nextDocumentTax()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentTax - */ public function testDocumentTax(): void { $this->assertTrue(self::$document->firstDocumentTax()); @@ -1160,42 +872,24 @@ public function testDocumentTax(): void $this->assertEquals(19.0, $rateApplicablePercent); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentAllowanceCharge - */ public function testtDocumentAllowanceChargeLoop(): void { $this->assertFalse(self::$document->firstDocumentAllowanceCharge()); $this->assertFalse(self::$document->nextDocumentAllowanceCharge()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentLogisticsServiceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentLogisticsServiceCharge - */ public function testtDocumentLogisticsServiceChargeLoop(): void { $this->assertFalse(self::$document->firstDocumentLogisticsServiceCharge()); $this->assertFalse(self::$document->nextDocumentLogisticsServiceCharge()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPaymentTerms - */ public function testtDocumentPaymentTermsLoop(): void { $this->assertTrue(self::$document->firstDocumentPaymentTerms()); $this->assertFalse(self::$document->nextDocumentPaymentTerms()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentTerm - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDiscountTermsFromPaymentTerm - */ public function testtDocumentPaymentTerms(): void { $this->assertTrue(self::$document->firstDocumentPaymentTerms()); @@ -1215,10 +909,6 @@ public function testtDocumentPaymentTerms(): void $this->assertFalse(self::$document->nextDocumentPaymentTerms()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - */ public function testDocumentPositionLoop(): void { $this->assertTrue(self::$document->firstDocumentPosition(), "has a first position"); @@ -1226,30 +916,6 @@ public function testDocumentPositionLoop(): void $this->assertFalse(self::$document->nextDocumentPosition(), "has no third position"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionFirst(): void { $this->assertTrue(self::$document->firstDocumentPosition()); @@ -1348,30 +1014,6 @@ public function testDocumentPositionFirst(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionSecond(): void { $this->assertTrue(self::$document->nextDocumentPosition()); @@ -1470,10 +1112,6 @@ public function testDocumentPositionSecond(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionAdditionalReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionAdditionalReferencedDocument - */ public function testDocumentPositionAdditionalReferencedDocument(): void { $this->assertFalse(self::$document->firstDocumentPositionAdditionalReferencedDocument()); diff --git a/tests/testcases/ProfileResolverTest.php b/tests/testcases/ProfileResolverTest.php index b8c51391..83755863 100644 --- a/tests/testcases/ProfileResolverTest.php +++ b/tests/testcases/ProfileResolverTest.php @@ -61,9 +61,6 @@ private function deliverInvalidXml(): string HDR; } - /** - * @covers \horstoeko\zugferd\ZugferdProfileResolver::resolve - */ public function testResolveEn16931() { $resolved = ZugferdProfileResolver::resolve($this->deliverEn16931Header()); @@ -95,9 +92,6 @@ public function testResolveEn16931() $this->assertEquals(ZugferdProfiles::PROFILEDEF[ZugferdProfiles::PROFILE_EN16931]['schematronfilename'], $resolved[1]["schematronfilename"]); } - /** - * @covers \horstoeko\zugferd\ZugferdProfileResolver::resolveProfileId - */ public function testResolveProfileIdEn16931() { $resolved = ZugferdProfileResolver::resolveProfileId($this->deliverEn16931Header()); @@ -106,9 +100,6 @@ public function testResolveProfileIdEn16931() $this->assertEquals(ZugferdProfiles::PROFILE_EN16931, $resolved); } - /** - * @covers \horstoeko\zugferd\ZugferdProfileResolver::resolveProfileDef - */ public function testResolveProfileDefEn16931() { $resolved = ZugferdProfileResolver::resolveProfileDef($this->deliverEn16931Header()); @@ -135,9 +126,6 @@ public function testResolveProfileDefEn16931() $this->assertEquals(ZugferdProfiles::PROFILEDEF[ZugferdProfiles::PROFILE_EN16931]['schematronfilename'], $resolved["schematronfilename"]); } - /** - * @covers \horstoeko\zugferd\ZugferdProfileResolver::resolve - */ public function testResolveUnknownProfile() { $this->expectException(\Exception::class); @@ -146,9 +134,6 @@ public function testResolveUnknownProfile() ZugferdProfileResolver::resolveProfileId($this->deliverUnknownProfile()); } - /** - * @covers \horstoeko\zugferd\ZugferdProfileResolver::resolve - */ public function testResolveInvalidXml() { $this->expectException(\Exception::class); @@ -157,9 +142,6 @@ public function testResolveInvalidXml() ZugferdProfileResolver::resolveProfileId($this->deliverInvalidXml()); } - /** - * @covers \horstoeko\zugferd\ZugferdProfileResolver::resolveById - */ public function testResolveProfileByIdEn16931() { $resolved = ZugferdProfileResolver::resolveById(ZugferdProfiles::PROFILE_EN16931); @@ -191,9 +173,6 @@ public function testResolveProfileByIdEn16931() $this->assertEquals(ZugferdProfiles::PROFILEDEF[ZugferdProfiles::PROFILE_EN16931]['schematronfilename'], $resolved[1]["schematronfilename"]); } - /** - * @covers \horstoeko\zugferd\ZugferdProfileResolver::resolveProfileDefById - */ public function testResolveProfileDefByIdEn16931() { $resolved = ZugferdProfileResolver::resolveProfileDefById(ZugferdProfiles::PROFILE_EN16931); @@ -220,9 +199,6 @@ public function testResolveProfileDefByIdEn16931() $this->assertEquals(ZugferdProfiles::PROFILEDEF[ZugferdProfiles::PROFILE_EN16931]['schematronfilename'], $resolved["schematronfilename"]); } - /** - * @covers \horstoeko\zugferd\ZugferdProfileResolver::resolveProfileDefById - */ public function testResolveProfileDefByIdUnknown() { $this->expectException(ZugferdUnknownProfileIdException::class); diff --git a/tests/testcases/ReaderBasicSimpleTest.php b/tests/testcases/ReaderBasicSimpleTest.php index ebc62eff..432eb56d 100644 --- a/tests/testcases/ReaderBasicSimpleTest.php +++ b/tests/testcases/ReaderBasicSimpleTest.php @@ -27,12 +27,6 @@ public function testDocumentProfile(): void $this->assertNotEquals(ZugferdProfiles::PROFILE_EXTENDED, self::$document->getProfileId()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getInvoiceObject - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getSerializer - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getObjectHelper - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getProfileDefinitionParameter - */ public function testDocumentGetters(): void { $this->assertNotNull(self::$document->getInvoiceObject()); @@ -50,9 +44,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInformation - */ public function testDocumentGenerals(): void { self::$document->getDocumentInformation($documentno, $documenttypecode, $documentdate, $invoiceCurrency, $taxCurrency, $documentname, $documentlanguage, $effectiveSpecifiedPeriod); @@ -67,9 +58,6 @@ public function testDocumentGenerals(): void $this->assertNull($effectiveSpecifiedPeriod); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentNotes - */ public function testDocumentNotes(): void { self::$document->getDocumentNotes($notes); @@ -101,9 +89,6 @@ public function testDocumentNotes(): void $this->assertStringContainsString("Handelsregisternummer: H A 123", $notes[1]["content"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentGeneralPaymentInformation - */ public function testDocumentGeneralPaymentInformation(): void { self::$document->getDocumentGeneralPaymentInformation($creditorReferenceID, $paymentReference); @@ -111,27 +96,18 @@ public function testDocumentGeneralPaymentInformation(): void $this->assertEquals("", $paymentReference); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getIsDocumentCopy - */ public function testDocumentIsCopy(): void { self::$document->getIsDocumentCopy($iscopy); $this->assertFalse($iscopy); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getIsTestDocument - */ public function testDocumentIsTestDocument(): void { self::$document->getIsTestDocument($istest); $this->assertFalse($istest); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSummation - */ public function testDocumentSummation(): void { self::$document->getDocumentSummation($grandTotalAmount, $duePayableAmount, $lineTotalAmount, $chargeTotalAmount, $allowanceTotalAmount, $taxBasisTotalAmount, $taxTotalAmount, $roundingAmount, $totalPrepaidAmount); @@ -146,18 +122,12 @@ public function testDocumentSummation(): void $this->assertEquals(0.00, $totalPrepaidAmount); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerReference - */ public function testGetDocumentBuyerReference(): void { self::$document->getDocumentBuyerReference($buyerReference); $this->assertEquals("", $buyerReference); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSeller - */ public function testDocumentSellerGeneral(): void { self::$document->getDocumentSeller($sellername, $sellerids, $sellerdescription); @@ -168,9 +138,6 @@ public function testDocumentSellerGeneral(): void $this->assertEquals("", $sellerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerGlobalId - */ public function testDocumentSellerGlobalId(): void { self::$document->getDocumentSellerGlobalId($sellerglobalids); @@ -178,9 +145,6 @@ public function testDocumentSellerGlobalId(): void $this->assertArrayNotHasKey("0088", $sellerglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRegistration - */ public function testDocumentSellerTaxRegistration(): void { self::$document->getDocumentSellerTaxRegistration($sellertaxreg); @@ -194,9 +158,6 @@ public function testDocumentSellerTaxRegistration(): void $this->assertEquals("DE123456789", $sellertaxreg["VA"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerAddress - */ public function testDocumentSellerAddress(): void { self::$document->getDocumentSellerAddress($sellerlineone, $sellerlinetwo, $sellerlinethree, $sellerpostcode, $sellercity, $sellercountry, $sellersubdivision); @@ -210,9 +171,6 @@ public function testDocumentSellerAddress(): void $this->assertEmpty($sellersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerLegalOrganisation - */ public function testDocumentSellerLegalOrganization(): void { self::$document->getDocumentSellerLegalOrganisation($sellerlegalorgid, $sellerlegalorgtype, $sellerlegalorgname); @@ -221,11 +179,6 @@ public function testDocumentSellerLegalOrganization(): void $this->assertEquals("", $sellerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentSellerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentSellerContact - */ public function testDocumentSellerContact(): void { $this->assertFalse(self::$document->firstDocumentSellerContact()); @@ -237,9 +190,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyer - */ public function testDocumentBuyerGeneral(): void { self::$document->getDocumentBuyer($buyername, $buyerids, $buyerdescription); @@ -250,9 +200,6 @@ public function testDocumentBuyerGeneral(): void $this->assertEquals("", $buyerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerGlobalId - */ public function testDocumentBuyerGlobalId(): void { self::$document->getDocumentBuyerGlobalId($buyerglobalids); @@ -260,9 +207,6 @@ public function testDocumentBuyerGlobalId(): void $this->assertEmpty($buyerglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerTaxRegistration - */ public function testDocumentBuyerTaxRegistration(): void { self::$document->getDocumentBuyerTaxRegistration($buyertaxreg); @@ -270,9 +214,6 @@ public function testDocumentBuyerTaxRegistration(): void $this->assertEmpty($buyertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerAddress - */ public function testDocumentBuyerAddress(): void { self::$document->getDocumentBuyerAddress($buyerlineone, $buyerlinetwo, $buyerlinethree, $buyerpostcode, $buyercity, $buyercountry, $buyersubdivision); @@ -286,9 +227,6 @@ public function testDocumentBuyerAddress(): void $this->assertEmpty($buyersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerLegalOrganisation - */ public function testDocumentBuyerLegalOrganization(): void { self::$document->getDocumentBuyerLegalOrganisation($buyerlegalorgid, $buyerlegalorgtype, $buyerlegalorgname); @@ -297,11 +235,6 @@ public function testDocumentBuyerLegalOrganization(): void $this->assertEquals("", $buyerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentBuyerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentBuyerContact - */ public function testDocumentBuyerContact(): void { $this->assertFalse(self::$document->firstDocumentBuyerContact()); @@ -313,9 +246,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentative - */ public function testDocumentSellerTaxRepresentativeGeneral(): void { self::$document->getDocumentSellerTaxRepresentative($sellertaxreprname, $sellertaxreprids, $sellertaxreprdescription); @@ -325,9 +255,6 @@ public function testDocumentSellerTaxRepresentativeGeneral(): void $this->assertEquals("", $sellertaxreprdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeGlobalId - */ public function testDocumentSellerTaxRepresentativeGlobalId(): void { self::$document->getDocumentSellerTaxRepresentativeGlobalId($sellertaxreprglobalids); @@ -335,9 +262,6 @@ public function testDocumentSellerTaxRepresentativeGlobalId(): void $this->assertEmpty($sellertaxreprglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeTaxRegistration - */ public function testDocumentSellerTaxRepresentativeTaxRegistration(): void { self::$document->getDocumentSellerTaxRepresentativeTaxRegistration($sellertaxreprtaxreg); @@ -345,9 +269,6 @@ public function testDocumentSellerTaxRepresentativeTaxRegistration(): void $this->assertEmpty($sellertaxreprtaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeAddress - */ public function testDocumentSellerTaxRepresentativeAddress(): void { self::$document->getDocumentSellerTaxRepresentativeAddress($sellertaxreprlineone, $sellertaxreprlinetwo, $sellertaxreprlinethree, $sellertaxreprpostcode, $sellertaxreprcity, $sellertaxreprcountry, $sellertaxreprsubdivision); @@ -361,9 +282,6 @@ public function testDocumentSellerTaxRepresentativeAddress(): void $this->assertEmpty($sellertaxreprsubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeLegalOrganisation - */ public function testDocumentSellerTaxRepresentativeLegalOrganization(): void { self::$document->getDocumentSellerTaxRepresentativeLegalOrganisation($sellertaxreprlegalorgid, $sellertaxreprlegalorgtype, $sellertaxreprlegalorgname); @@ -372,11 +290,6 @@ public function testDocumentSellerTaxRepresentativeLegalOrganization(): void $this->assertEquals("", $sellertaxreprlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentSellerTaxRepresentativeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentSellerTaxRepresentativeContact - */ public function testDocumentSellerTaxRepresentativeContact(): void { $this->assertFalse(self::$document->firstDocumentSellerTaxRepresentativeContact()); @@ -388,9 +301,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipTo - */ public function testDocumentShipToGeneral(): void { self::$document->getDocumentShipTo($shiptoname, $shiptoids, $shiptodescription); @@ -400,9 +310,6 @@ public function testDocumentShipToGeneral(): void $this->assertEquals("", $shiptodescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToGlobalId - */ public function testDocumentShipToGlobalId(): void { self::$document->getDocumentShipToGlobalId($shiptoglobalids); @@ -410,9 +317,6 @@ public function testDocumentShipToGlobalId(): void $this->assertEmpty($shiptoglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToTaxRegistration - */ public function testDocumentShipToTaxRegistration(): void { self::$document->getDocumentShipToTaxRegistration($shiptotaxreg); @@ -420,9 +324,6 @@ public function testDocumentShipToTaxRegistration(): void $this->assertEmpty($shiptotaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToAddress - */ public function testDocumentShipToAddress(): void { self::$document->getDocumentShipToAddress($shiptolineone, $shiptolinetwo, $shiptolinethree, $shiptopostcode, $shiptocity, $shiptocountry, $shiptosubdivision); @@ -436,9 +337,6 @@ public function testDocumentShipToAddress(): void $this->assertEmpty($shiptosubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToLegalOrganisation - */ public function testDocumentShipToLegalOrganization(): void { self::$document->getDocumentShipToLegalOrganisation($shiptolegalorgid, $shiptolegalorgtype, $shiptolegalorgname); @@ -447,11 +345,6 @@ public function testDocumentShipToLegalOrganization(): void $this->assertEquals("", $shiptolegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentShipToContact - */ public function testDocumentShipToContact(): void { $this->assertFalse(self::$document->firstDocumentShipToContact()); @@ -463,9 +356,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipTo - */ public function testDocumentUltimateShipToGeneral(): void { self::$document->getDocumentUltimateShipTo($ultimateshiptoname, $ultimateshiptoids, $ultimateshiptodescription); @@ -475,9 +365,6 @@ public function testDocumentUltimateShipToGeneral(): void $this->assertEquals("", $ultimateshiptodescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToGlobalId - */ public function testDocumentUltimateShipToGlobalId(): void { self::$document->getDocumentUltimateShipToGlobalId($ultimateshiptoglobalids); @@ -485,9 +372,6 @@ public function testDocumentUltimateShipToGlobalId(): void $this->assertEmpty($ultimateshiptoglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToTaxRegistration - */ public function testDocumentUltimateShipToTaxRegistration(): void { self::$document->getDocumentUltimateShipToTaxRegistration($ultimateshiptotaxreg); @@ -495,9 +379,6 @@ public function testDocumentUltimateShipToTaxRegistration(): void $this->assertEmpty($ultimateshiptotaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToAddress - */ public function testDocumentUltimateShipToAddress(): void { self::$document->getDocumentUltimateShipToAddress($ultimateshiptolineone, $ultimateshiptolinetwo, $ultimateshiptolinethree, $ultimateshiptopostcode, $ultimateshiptocity, $ultimateshiptocountry, $ultimateshiptosubdivision); @@ -511,9 +392,6 @@ public function testDocumentUltimateShipToAddress(): void $this->assertEmpty($ultimateshiptosubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToLegalOrganisation - */ public function testDocumentUltimateShipToLegalOrganization(): void { self::$document->getDocumentUltimateShipToLegalOrganisation($ultimateshiptolegalorgid, $ultimateshiptolegalorgtype, $ultimateshiptolegalorgname); @@ -522,11 +400,6 @@ public function testDocumentUltimateShipToLegalOrganization(): void $this->assertEquals("", $ultimateshiptolegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentUltimateShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentUltimateShipToContact - */ public function testDocumentUltimateShipToContact(): void { $this->assertFalse(self::$document->firstDocumentUltimateShipToContact()); @@ -543,9 +416,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFrom - */ public function testDocumentShipFromGeneral(): void { self::$document->getDocumentShipFrom($shipfromname, $shipfromids, $shipfromdescription); @@ -555,9 +425,6 @@ public function testDocumentShipFromGeneral(): void $this->assertEquals("", $shipfromdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromGlobalId - */ public function testDocumentShipFromGlobalId(): void { self::$document->getDocumentShipFromGlobalId($shipfromglobalids); @@ -565,9 +432,6 @@ public function testDocumentShipFromGlobalId(): void $this->assertEmpty($shipfromglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromTaxRegistration - */ public function testDocumentShipFromTaxRegistration(): void { self::$document->getDocumentShipFromTaxRegistration($shipfromtaxreg); @@ -575,9 +439,6 @@ public function testDocumentShipFromTaxRegistration(): void $this->assertEmpty($shipfromtaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromAddress - */ public function testDocumentShipFromAddress(): void { self::$document->getDocumentShipFromAddress($shipfromlineone, $shipfromlinetwo, $shipfromlinethree, $shipfrompostcode, $shipfromcity, $shipfromcountry, $shipfromsubdivision); @@ -591,9 +452,6 @@ public function testDocumentShipFromAddress(): void $this->assertEmpty($shipfromsubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromLegalOrganisation - */ public function testDocumentShipFromLegalOrganization(): void { self::$document->getDocumentShipFromLegalOrganisation($shipfromlegalorgid, $shipfromlegalorgtype, $shipfromlegalorgname); @@ -602,11 +460,6 @@ public function testDocumentShipFromLegalOrganization(): void $this->assertEquals("", $shipfromlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentShipFromContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentShipFromContact - */ public function testDocumentShipFromContact(): void { $this->assertFalse(self::$document->firstDocumentShipFromContact()); @@ -623,9 +476,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicer - */ public function testDocumentInvoicerGeneral(): void { self::$document->getDocumentInvoicer($invoicername, $invoicerids, $invoicerdescription); @@ -635,9 +485,6 @@ public function testDocumentInvoicerGeneral(): void $this->assertEquals("", $invoicerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerGlobalId - */ public function testDocumentInvoicerGlobalId(): void { self::$document->getDocumentInvoicerGlobalId($invoicerglobalids); @@ -645,9 +492,6 @@ public function testDocumentInvoicerGlobalId(): void $this->assertEmpty($invoicerglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerTaxRegistration - */ public function testDocumentInvoicerTaxRegistration(): void { self::$document->getDocumentInvoicerTaxRegistration($invoicertaxreg); @@ -655,9 +499,6 @@ public function testDocumentInvoicerTaxRegistration(): void $this->assertEmpty($invoicertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerAddress - */ public function testDocumentInvoicerAddress(): void { self::$document->getDocumentInvoicerAddress($invoicerlineone, $invoicerlinetwo, $invoicerlinethree, $invoicerpostcode, $invoicercity, $invoicercountry, $invoicersubdivision); @@ -671,9 +512,6 @@ public function testDocumentInvoicerAddress(): void $this->assertEmpty($invoicersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerLegalOrganisation - */ public function testDocumentInvoicerLegalOrganization(): void { self::$document->getDocumentInvoicerLegalOrganisation($invoicerlegalorgid, $invoicerlegalorgtype, $invoicerlegalorgname); @@ -682,11 +520,6 @@ public function testDocumentInvoicerLegalOrganization(): void $this->assertEquals("", $invoicerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentInvoicerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentInvoicerContact - */ public function testDocumentInvoicerContact(): void { $this->assertFalse(self::$document->firstDocumentInvoicerContact()); @@ -703,9 +536,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicee - */ public function testDocumentInvoiceeGeneral(): void { self::$document->getDocumentInvoicee($invoiceename, $invoiceeids, $invoiceedescription); @@ -715,9 +545,6 @@ public function testDocumentInvoiceeGeneral(): void $this->assertEquals("", $invoiceedescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeGlobalId - */ public function testDocumentInvoiceeGlobalId(): void { self::$document->getDocumentInvoiceeGlobalId($invoiceeglobalids); @@ -725,9 +552,6 @@ public function testDocumentInvoiceeGlobalId(): void $this->assertEmpty($invoiceeglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeTaxRegistration - */ public function testDocumentInvoiceeTaxRegistration(): void { self::$document->getDocumentInvoiceeTaxRegistration($invoiceetaxreg); @@ -735,9 +559,6 @@ public function testDocumentInvoiceeTaxRegistration(): void $this->assertEmpty($invoiceetaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeAddress - */ public function testDocumentInvoiceeAddress(): void { self::$document->getDocumentInvoiceeAddress($invoiceelineone, $invoiceelinetwo, $invoiceelinethree, $invoiceepostcode, $invoiceecity, $invoiceecountry, $invoiceesubdivision); @@ -751,9 +572,6 @@ public function testDocumentInvoiceeAddress(): void $this->assertEmpty($invoiceesubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeLegalOrganisation - */ public function testDocumentInvoiceeLegalOrganization(): void { self::$document->getDocumentInvoiceeLegalOrganisation($invoiceelegalorgid, $invoiceelegalorgtype, $invoiceelegalorgname); @@ -762,11 +580,6 @@ public function testDocumentInvoiceeLegalOrganization(): void $this->assertEquals("", $invoiceelegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentInvoiceeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentInvoiceeContact - */ public function testDocumentInvoiceeContact(): void { $this->assertFalse(self::$document->firstDocumentInvoiceeContact()); @@ -783,9 +596,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayee - */ public function testDocumentPayeeGeneral(): void { self::$document->getDocumentPayee($payeename, $payeeids, $payeedescription); @@ -795,9 +605,6 @@ public function testDocumentPayeeGeneral(): void $this->assertEquals("", $payeedescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeGlobalId - */ public function testDocumentPayeeGlobalId(): void { self::$document->getDocumentPayeeGlobalId($payeeglobalids); @@ -805,9 +612,6 @@ public function testDocumentPayeeGlobalId(): void $this->assertEmpty($payeeglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeTaxRegistration - */ public function testDocumentPayeeTaxRegistration(): void { self::$document->getDocumentPayeeTaxRegistration($payeetaxreg); @@ -815,9 +619,6 @@ public function testDocumentPayeeTaxRegistration(): void $this->assertEmpty($payeetaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeAddress - */ public function testDocumentPayeeAddress(): void { self::$document->getDocumentPayeeAddress($payeelineone, $payeelinetwo, $payeelinethree, $payeepostcode, $payeecity, $payeecountry, $payeesubdivision); @@ -831,9 +632,6 @@ public function testDocumentPayeeAddress(): void $this->assertEmpty($payeesubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeLegalOrganisation - */ public function testDocumentPayeeLegalOrganization(): void { self::$document->getDocumentPayeeLegalOrganisation($payeelegalorgid, $payeelegalorgtype, $payeelegalorgname); @@ -842,11 +640,6 @@ public function testDocumentPayeeLegalOrganization(): void $this->assertEquals("", $payeelegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPayeeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPayeeContact - */ public function testDocumentPayeeContact(): void { $this->assertFalse(self::$document->firstDocumentPayeeContact()); @@ -863,9 +656,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUser - */ public function testDocumentProductEndUserGeneral(): void { self::$document->getDocumentProductEndUser($producendusername, $producenduserids, $producenduserdescription); @@ -876,9 +666,6 @@ public function testDocumentProductEndUserGeneral(): void $this->assertEquals("", $producenduserdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserGlobalId - */ public function testDocumentProductEndUserGlobalId(): void { self::$document->getDocumentProductEndUserGlobalId($producenduserglobalids); @@ -886,9 +673,6 @@ public function testDocumentProductEndUserGlobalId(): void $this->assertArrayNotHasKey("0088", $producenduserglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserTaxRegistration - */ public function testDocumentProductEndUserTaxRegistration(): void { self::$document->getDocumentProductEndUserTaxRegistration($producendusertaxreg); @@ -900,9 +684,6 @@ public function testDocumentProductEndUserTaxRegistration(): void $this->assertArrayNotHasKey("ZZ", $producendusertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserAddress - */ public function testDocumentProductEndUserAddress(): void { self::$document->getDocumentProductEndUserAddress($producenduserlineone, $producenduserlinetwo, $producenduserlinethree, $producenduserpostcode, $producendusercity, $producendusercountry, $producendusersubdivision); @@ -916,9 +697,6 @@ public function testDocumentProductEndUserAddress(): void $this->assertEmpty($producendusersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserLegalOrganisation - */ public function testDocumentProductEndUserLegalOrganization(): void { self::$document->getDocumentProductEndUserLegalOrganisation($producenduserlegalorgid, $producenduserlegalorgtype, $producenduserlegalorgname); @@ -927,11 +705,6 @@ public function testDocumentProductEndUserLegalOrganization(): void $this->assertEquals("", $producenduserlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentProductEndUserContactContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentProductEndUserContactContact - */ public function testDocumentProductEndUserContact(): void { $this->assertFalse(self::$document->firstDocumentProductEndUserContactContact()); @@ -943,9 +716,6 @@ function () { $this->assertFalse(self::$document->nextDocumentProductEndUserContactContact()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerOrderReferencedDocument - */ public function testDocumentSellerOrderReferencedDocument(): void { self::$document->getDocumentSellerOrderReferencedDocument($sellerorderrefdocid, $sellerorderrefdocdate); @@ -953,9 +723,6 @@ public function testDocumentSellerOrderReferencedDocument(): void $this->assertNull($sellerorderrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerOrderReferencedDocument - */ public function testDocumentBuyerOrderReferencedDocument(): void { self::$document->getDocumentBuyerOrderReferencedDocument($buyerorderrefdocid, $buyerorderrefdocdate); @@ -963,9 +730,6 @@ public function testDocumentBuyerOrderReferencedDocument(): void $this->assertNull($buyerorderrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentContractReferencedDocument - */ public function testDocumentContractReferencedDocument(): void { self::$document->getDocumentContractReferencedDocument($contractrefdocid, $contractrefdocdate); @@ -973,9 +737,6 @@ public function testDocumentContractReferencedDocument(): void $this->assertNull($contractrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAdditionalReferencedDocuments - */ public function testDocumentAdditionalReferencedDocuments(): void { self::$document->getDocumentAdditionalReferencedDocuments($additionalrefdocs); @@ -983,9 +744,6 @@ public function testDocumentAdditionalReferencedDocuments(): void $this->assertEmpty($additionalrefdocs); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProcuringProject - */ public function testDocumentProcuringProject(): void { self::$document->getDocumentProcuringProject($projectid, $projectname); @@ -993,9 +751,6 @@ public function testDocumentProcuringProject(): void $this->assertEquals("", $projectname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSupplyChainEvent - */ public function testDocumentSupplyChainEvent(): void { self::$document->getDocumentSupplyChainEvent($supplychainevent); @@ -1004,9 +759,6 @@ public function testDocumentSupplyChainEvent(): void $this->assertEquals((\DateTime::createFromFormat('Ymd', '20200305'))->format('Ymd'), $supplychainevent->format('Ymd')); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDespatchAdviceReferencedDocument - */ public function testDocumentDespatchAdviceReferencedDocument(): void { self::$document->getDocumentDespatchAdviceReferencedDocument($despatchdocid, $despatchdocdate); @@ -1015,9 +767,6 @@ public function testDocumentDespatchAdviceReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $despatchdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentReceivingAdviceReferencedDocument - */ public function testDocumentReceivingAdviceReferencedDocument(): void { self::$document->getDocumentReceivingAdviceReferencedDocument($recadvid, $recadvdate); @@ -1026,9 +775,6 @@ public function testDocumentReceivingAdviceReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $recadvdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDeliveryNoteReferencedDocument - */ public function testDocumentDeliveryNoteReferencedDocument(): void { self::$document->getDocumentDeliveryNoteReferencedDocument($deliverynoterefdocid, $deliverynoterefdocdate); @@ -1037,9 +783,6 @@ public function testDocumentDeliveryNoteReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $deliverynoterefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBillingPeriod - */ public function testDocumentBillingPeriod(): void { self::$document->getDocumentBillingPeriod($docbillingperiodstart, $docbillingperiodend); @@ -1049,9 +792,6 @@ public function testDocumentBillingPeriod(): void $this->assertNotInstanceOf("DateTime", $docbillingperiodend); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAllowanceCharges - */ public function testDocumentAllowanceCharges(): void { self::$document->getDocumentAllowanceCharges($docallowancecharge); @@ -1059,9 +799,6 @@ public function testDocumentAllowanceCharges(): void $this->assertEmpty($docallowancecharge); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentTerms - */ public function testDocumentPaymentTerms(): void { self::$document->getDocumentPaymentTerms($docpaymentterms); @@ -1080,69 +817,41 @@ public function testDocumentPaymentTerms(): void $this->assertEquals(0.0, $docpaymentterms[0]["partialpaymentamount"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDeliveryTerms - */ public function testDocumentDeliveryTerms(): void { self::$document->getDocumentDeliveryTerms($devtermcode); $this->assertEquals("", $devtermcode); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAdditionalReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentAdditionalReferencedDocument - */ public function testDocumentAdditionalReferencedDocumentLoop(): void { $this->assertFalse(self::$document->firstDocumentAdditionalReferencedDocument()); $this->assertFalse(self::$document->nextDocumentAdditionalReferencedDocument()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentUltimateCustomerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentUltimateCustomerOrderReferencedDocument - */ public function testDocumentUltimateCustomerOrderReferencedDocumentLoop(): void { $this->assertFalse(self::$document->firstDocumentUltimateCustomerOrderReferencedDocument()); $this->assertFalse(self::$document->nextDocumentUltimateCustomerOrderReferencedDocument()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstGetDocumentPaymentMeans - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextGetDocumentPaymentMeans - */ public function testDocumentPaymentMeansLoop(): void { $this->assertFalse(self::$document->firstGetDocumentPaymentMeans()); $this->assertFalse(self::$document->nextGetDocumentPaymentMeans()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstGetDocumentPaymentMeans - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentMeans - */ public function testGetDocumentPaymentMeans(): void { $this->assertFalse(self::$document->firstGetDocumentPaymentMeans()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentTax - */ public function testDocumentTaxLoop(): void { $this->assertTrue(self::$document->firstDocumentTax()); $this->assertFalse(self::$document->nextDocumentTax()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentTax - */ public function testDocumentTax(): void { $this->assertTrue(self::$document->firstDocumentTax()); @@ -1154,42 +863,24 @@ public function testDocumentTax(): void $this->assertEquals(19.0, $rateApplicablePercent); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentAllowanceCharge - */ public function testtDocumentAllowanceChargeLoop(): void { $this->assertFalse(self::$document->firstDocumentAllowanceCharge()); $this->assertFalse(self::$document->nextDocumentAllowanceCharge()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentLogisticsServiceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentLogisticsServiceCharge - */ public function testtDocumentLogisticsServiceChargeLoop(): void { $this->assertFalse(self::$document->firstDocumentLogisticsServiceCharge()); $this->assertFalse(self::$document->nextDocumentLogisticsServiceCharge()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPaymentTerms - */ public function testtDocumentPaymentTermsLoop(): void { $this->assertTrue(self::$document->firstDocumentPaymentTerms()); $this->assertFalse(self::$document->nextDocumentPaymentTerms()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentTerm - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDiscountTermsFromPaymentTerm - */ public function testtDocumentPaymentTerms(): void { $this->assertTrue(self::$document->firstDocumentPaymentTerms()); @@ -1209,10 +900,6 @@ public function testtDocumentPaymentTerms(): void $this->assertFalse(self::$document->nextDocumentPaymentTerms()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - */ public function testDocumentPositionLoop(): void { $this->assertTrue(self::$document->firstDocumentPosition(), "has a first position"); @@ -1220,30 +907,6 @@ public function testDocumentPositionLoop(): void $this->assertFalse(self::$document->nextDocumentPosition(), "has no third position"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionFirst(): void { $this->assertTrue(self::$document->firstDocumentPosition()); @@ -1342,10 +1005,6 @@ public function testDocumentPositionFirst(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionAdditionalReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionAdditionalReferencedDocument - */ public function testDocumentPositionAdditionalReferencedDocument(): void { $this->assertFalse(self::$document->firstDocumentPositionAdditionalReferencedDocument()); diff --git a/tests/testcases/ReaderEn16931AllowanceChargeTest.php b/tests/testcases/ReaderEn16931AllowanceChargeTest.php index 318ec8e8..3df86c2e 100644 --- a/tests/testcases/ReaderEn16931AllowanceChargeTest.php +++ b/tests/testcases/ReaderEn16931AllowanceChargeTest.php @@ -27,12 +27,6 @@ public function testDocumentProfile(): void $this->assertNotEquals(ZugferdProfiles::PROFILE_EXTENDED, self::$document->getProfileId()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getInvoiceObject - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getSerializer - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getObjectHelper - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getProfileDefinitionParameter - */ public function testDocumentGetters(): void { $this->assertNotNull(self::$document->getInvoiceObject()); @@ -50,9 +44,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInformation - */ public function testDocumentGenerals(): void { self::$document->getDocumentInformation($documentno, $documenttypecode, $documentdate, $invoiceCurrency, $taxCurrency, $documentname, $documentlanguage, $effectiveSpecifiedPeriod); @@ -67,9 +58,6 @@ public function testDocumentGenerals(): void $this->assertNull($effectiveSpecifiedPeriod); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentNotes - */ public function testDocumentNotes(): void { self::$document->getDocumentNotes($notes); @@ -110,9 +98,6 @@ public function testDocumentNotes(): void $this->assertStringContainsString("Handelsregisternummer: H A 123", $notes[2]["content"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentGeneralPaymentInformation - */ public function testDocumentGeneralPaymentInformation(): void { self::$document->getDocumentGeneralPaymentInformation($creditorReferenceID, $paymentReference); @@ -120,27 +105,18 @@ public function testDocumentGeneralPaymentInformation(): void $this->assertEquals("", $paymentReference); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getIsDocumentCopy - */ public function testDocumentIsCopy(): void { self::$document->getIsDocumentCopy($iscopy); $this->assertFalse($iscopy); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getIsTestDocument - */ public function testDocumentIsTestDocument(): void { self::$document->getIsTestDocument($istest); $this->assertFalse($istest); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSummation - */ public function testDocumentSummation(): void { self::$document->getDocumentSummation($grandTotalAmount, $duePayableAmount, $lineTotalAmount, $chargeTotalAmount, $allowanceTotalAmount, $taxBasisTotalAmount, $taxTotalAmount, $roundingAmount, $totalPrepaidAmount); @@ -155,18 +131,12 @@ public function testDocumentSummation(): void $this->assertEquals(50.00, $totalPrepaidAmount); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerReference - */ public function testGetDocumentBuyerReference(): void { self::$document->getDocumentBuyerReference($buyerReference); $this->assertEquals("08154713", $buyerReference); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSeller - */ public function testDocumentSellerGeneral(): void { self::$document->getDocumentSeller($sellername, $sellerids, $sellerdescription); @@ -177,9 +147,6 @@ public function testDocumentSellerGeneral(): void $this->assertEquals("", $sellerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerGlobalId - */ public function testDocumentSellerGlobalId(): void { self::$document->getDocumentSellerGlobalId($sellerglobalids); @@ -188,9 +155,6 @@ public function testDocumentSellerGlobalId(): void $this->assertEquals("4000001123452", $sellerglobalids["0088"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRegistration - */ public function testDocumentSellerTaxRegistration(): void { self::$document->getDocumentSellerTaxRegistration($sellertaxreg); @@ -204,9 +168,6 @@ public function testDocumentSellerTaxRegistration(): void $this->assertEquals("DE123456789", $sellertaxreg["VA"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerAddress - */ public function testDocumentSellerAddress(): void { self::$document->getDocumentSellerAddress($sellerlineone, $sellerlinetwo, $sellerlinethree, $sellerpostcode, $sellercity, $sellercountry, $sellersubdivision); @@ -220,9 +181,6 @@ public function testDocumentSellerAddress(): void $this->assertEmpty($sellersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerLegalOrganisation - */ public function testDocumentSellerLegalOrganization(): void { self::$document->getDocumentSellerLegalOrganisation($sellerlegalorgid, $sellerlegalorgtype, $sellerlegalorgname); @@ -231,11 +189,6 @@ public function testDocumentSellerLegalOrganization(): void $this->assertEquals("", $sellerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentSellerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentSellerContact - */ public function testDocumentSellerContact(): void { $this->assertFalse(self::$document->firstDocumentSellerContact()); @@ -247,9 +200,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyer - */ public function testDocumentBuyerGeneral(): void { self::$document->getDocumentBuyer($buyername, $buyerids, $buyerdescription); @@ -261,9 +211,6 @@ public function testDocumentBuyerGeneral(): void $this->assertEquals("", $buyerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerGlobalId - */ public function testDocumentBuyerGlobalId(): void { self::$document->getDocumentBuyerGlobalId($buyerglobalids); @@ -271,9 +218,6 @@ public function testDocumentBuyerGlobalId(): void $this->assertEmpty($buyerglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerTaxRegistration - */ public function testDocumentBuyerTaxRegistration(): void { self::$document->getDocumentBuyerTaxRegistration($buyertaxreg); @@ -281,9 +225,6 @@ public function testDocumentBuyerTaxRegistration(): void $this->assertEmpty($buyertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerAddress - */ public function testDocumentBuyerAddress(): void { self::$document->getDocumentBuyerAddress($buyerlineone, $buyerlinetwo, $buyerlinethree, $buyerpostcode, $buyercity, $buyercountry, $buyersubdivision); @@ -297,9 +238,6 @@ public function testDocumentBuyerAddress(): void $this->assertEmpty($buyersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerLegalOrganisation - */ public function testDocumentBuyerLegalOrganization(): void { self::$document->getDocumentBuyerLegalOrganisation($buyerlegalorgid, $buyerlegalorgtype, $buyerlegalorgname); @@ -308,11 +246,6 @@ public function testDocumentBuyerLegalOrganization(): void $this->assertEquals("", $buyerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentBuyerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentBuyerContact - */ public function testDocumentBuyerContact(): void { $this->assertFalse(self::$document->firstDocumentBuyerContact()); @@ -324,9 +257,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentative - */ public function testDocumentSellerTaxRepresentativeGeneral(): void { self::$document->getDocumentSellerTaxRepresentative($sellertaxreprname, $sellertaxreprids, $sellertaxreprdescription); @@ -336,9 +266,6 @@ public function testDocumentSellerTaxRepresentativeGeneral(): void $this->assertEquals("", $sellertaxreprdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeGlobalId - */ public function testDocumentSellerTaxRepresentativeGlobalId(): void { self::$document->getDocumentSellerTaxRepresentativeGlobalId($sellertaxreprglobalids); @@ -346,9 +273,6 @@ public function testDocumentSellerTaxRepresentativeGlobalId(): void $this->assertEmpty($sellertaxreprglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeTaxRegistration - */ public function testDocumentSellerTaxRepresentativeTaxRegistration(): void { self::$document->getDocumentSellerTaxRepresentativeTaxRegistration($sellertaxreprtaxreg); @@ -356,9 +280,6 @@ public function testDocumentSellerTaxRepresentativeTaxRegistration(): void $this->assertEmpty($sellertaxreprtaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeAddress - */ public function testDocumentSellerTaxRepresentativeAddress(): void { self::$document->getDocumentSellerTaxRepresentativeAddress($sellertaxreprlineone, $sellertaxreprlinetwo, $sellertaxreprlinethree, $sellertaxreprpostcode, $sellertaxreprcity, $sellertaxreprcountry, $sellertaxreprsubdivision); @@ -372,9 +293,6 @@ public function testDocumentSellerTaxRepresentativeAddress(): void $this->assertEmpty($sellertaxreprsubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeLegalOrganisation - */ public function testDocumentSellerTaxRepresentativeLegalOrganization(): void { self::$document->getDocumentSellerTaxRepresentativeLegalOrganisation($sellertaxreprlegalorgid, $sellertaxreprlegalorgtype, $sellertaxreprlegalorgname); @@ -383,11 +301,6 @@ public function testDocumentSellerTaxRepresentativeLegalOrganization(): void $this->assertEquals("", $sellertaxreprlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentSellerTaxRepresentativeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentSellerTaxRepresentativeContact - */ public function testDocumentSellerTaxRepresentativeContact(): void { $this->assertFalse(self::$document->firstDocumentSellerTaxRepresentativeContact()); @@ -399,9 +312,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipTo - */ public function testDocumentShipToGeneral(): void { self::$document->getDocumentShipTo($shiptoname, $shiptoids, $shiptodescription); @@ -411,9 +321,6 @@ public function testDocumentShipToGeneral(): void $this->assertEquals("", $shiptodescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToGlobalId - */ public function testDocumentShipToGlobalId(): void { self::$document->getDocumentShipToGlobalId($shiptoglobalids); @@ -421,9 +328,6 @@ public function testDocumentShipToGlobalId(): void $this->assertEmpty($shiptoglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToTaxRegistration - */ public function testDocumentShipToTaxRegistration(): void { self::$document->getDocumentShipToTaxRegistration($shiptotaxreg); @@ -431,9 +335,6 @@ public function testDocumentShipToTaxRegistration(): void $this->assertEmpty($shiptotaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToAddress - */ public function testDocumentShipToAddress(): void { self::$document->getDocumentShipToAddress($shiptolineone, $shiptolinetwo, $shiptolinethree, $shiptopostcode, $shiptocity, $shiptocountry, $shiptosubdivision); @@ -447,9 +348,6 @@ public function testDocumentShipToAddress(): void $this->assertEmpty($shiptosubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToLegalOrganisation - */ public function testDocumentShipToLegalOrganization(): void { self::$document->getDocumentShipToLegalOrganisation($shiptolegalorgid, $shiptolegalorgtype, $shiptolegalorgname); @@ -458,11 +356,6 @@ public function testDocumentShipToLegalOrganization(): void $this->assertEquals("", $shiptolegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentShipToContact - */ public function testDocumentShipToContact(): void { $this->assertFalse(self::$document->firstDocumentShipToContact()); @@ -474,9 +367,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipTo - */ public function testDocumentUltimateShipToGeneral(): void { self::$document->getDocumentUltimateShipTo($ultimateshiptoname, $ultimateshiptoids, $ultimateshiptodescription); @@ -486,9 +376,6 @@ public function testDocumentUltimateShipToGeneral(): void $this->assertEquals("", $ultimateshiptodescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToGlobalId - */ public function testDocumentUltimateShipToGlobalId(): void { self::$document->getDocumentUltimateShipToGlobalId($ultimateshiptoglobalids); @@ -496,9 +383,6 @@ public function testDocumentUltimateShipToGlobalId(): void $this->assertEmpty($ultimateshiptoglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToTaxRegistration - */ public function testDocumentUltimateShipToTaxRegistration(): void { self::$document->getDocumentUltimateShipToTaxRegistration($ultimateshiptotaxreg); @@ -506,9 +390,6 @@ public function testDocumentUltimateShipToTaxRegistration(): void $this->assertEmpty($ultimateshiptotaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToAddress - */ public function testDocumentUltimateShipToAddress(): void { self::$document->getDocumentUltimateShipToAddress($ultimateshiptolineone, $ultimateshiptolinetwo, $ultimateshiptolinethree, $ultimateshiptopostcode, $ultimateshiptocity, $ultimateshiptocountry, $ultimateshiptosubdivision); @@ -522,9 +403,6 @@ public function testDocumentUltimateShipToAddress(): void $this->assertEmpty($ultimateshiptosubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToLegalOrganisation - */ public function testDocumentUltimateShipToLegalOrganization(): void { self::$document->getDocumentUltimateShipToLegalOrganisation($ultimateshiptolegalorgid, $ultimateshiptolegalorgtype, $ultimateshiptolegalorgname); @@ -533,11 +411,6 @@ public function testDocumentUltimateShipToLegalOrganization(): void $this->assertEquals("", $ultimateshiptolegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentUltimateShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentUltimateShipToContact - */ public function testDocumentUltimateShipToContact(): void { $this->assertFalse(self::$document->firstDocumentUltimateShipToContact()); @@ -554,9 +427,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFrom - */ public function testDocumentShipFromGeneral(): void { self::$document->getDocumentShipFrom($shipfromname, $shipfromids, $shipfromdescription); @@ -566,9 +436,6 @@ public function testDocumentShipFromGeneral(): void $this->assertEquals("", $shipfromdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromGlobalId - */ public function testDocumentShipFromGlobalId(): void { self::$document->getDocumentShipFromGlobalId($shipfromglobalids); @@ -576,9 +443,6 @@ public function testDocumentShipFromGlobalId(): void $this->assertEmpty($shipfromglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromTaxRegistration - */ public function testDocumentShipFromTaxRegistration(): void { self::$document->getDocumentShipFromTaxRegistration($shipfromtaxreg); @@ -586,9 +450,6 @@ public function testDocumentShipFromTaxRegistration(): void $this->assertEmpty($shipfromtaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromAddress - */ public function testDocumentShipFromAddress(): void { self::$document->getDocumentShipFromAddress($shipfromlineone, $shipfromlinetwo, $shipfromlinethree, $shipfrompostcode, $shipfromcity, $shipfromcountry, $shipfromsubdivision); @@ -602,9 +463,6 @@ public function testDocumentShipFromAddress(): void $this->assertEmpty($shipfromsubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromLegalOrganisation - */ public function testDocumentShipFromLegalOrganization(): void { self::$document->getDocumentShipFromLegalOrganisation($shipfromlegalorgid, $shipfromlegalorgtype, $shipfromlegalorgname); @@ -613,11 +471,6 @@ public function testDocumentShipFromLegalOrganization(): void $this->assertEquals("", $shipfromlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentShipFromContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentShipFromContact - */ public function testDocumentShipFromContact(): void { $this->assertFalse(self::$document->firstDocumentShipFromContact()); @@ -634,9 +487,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicer - */ public function testDocumentInvoicerGeneral(): void { self::$document->getDocumentInvoicer($invoicername, $invoicerids, $invoicerdescription); @@ -646,9 +496,6 @@ public function testDocumentInvoicerGeneral(): void $this->assertEquals("", $invoicerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerGlobalId - */ public function testDocumentInvoicerGlobalId(): void { self::$document->getDocumentInvoicerGlobalId($invoicerglobalids); @@ -656,9 +503,6 @@ public function testDocumentInvoicerGlobalId(): void $this->assertEmpty($invoicerglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerTaxRegistration - */ public function testDocumentInvoicerTaxRegistration(): void { self::$document->getDocumentInvoicerTaxRegistration($invoicertaxreg); @@ -666,9 +510,6 @@ public function testDocumentInvoicerTaxRegistration(): void $this->assertEmpty($invoicertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerAddress - */ public function testDocumentInvoicerAddress(): void { self::$document->getDocumentInvoicerAddress($invoicerlineone, $invoicerlinetwo, $invoicerlinethree, $invoicerpostcode, $invoicercity, $invoicercountry, $invoicersubdivision); @@ -682,9 +523,6 @@ public function testDocumentInvoicerAddress(): void $this->assertEmpty($invoicersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerLegalOrganisation - */ public function testDocumentInvoicerLegalOrganization(): void { self::$document->getDocumentInvoicerLegalOrganisation($invoicerlegalorgid, $invoicerlegalorgtype, $invoicerlegalorgname); @@ -693,11 +531,6 @@ public function testDocumentInvoicerLegalOrganization(): void $this->assertEquals("", $invoicerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentInvoicerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentInvoicerContact - */ public function testDocumentInvoicerContact(): void { $this->assertFalse(self::$document->firstDocumentInvoicerContact()); @@ -714,9 +547,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicee - */ public function testDocumentInvoiceeGeneral(): void { self::$document->getDocumentInvoicee($invoiceename, $invoiceeids, $invoiceedescription); @@ -726,9 +556,6 @@ public function testDocumentInvoiceeGeneral(): void $this->assertEquals("", $invoiceedescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeGlobalId - */ public function testDocumentInvoiceeGlobalId(): void { self::$document->getDocumentInvoiceeGlobalId($invoiceeglobalids); @@ -736,9 +563,6 @@ public function testDocumentInvoiceeGlobalId(): void $this->assertEmpty($invoiceeglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeTaxRegistration - */ public function testDocumentInvoiceeTaxRegistration(): void { self::$document->getDocumentInvoiceeTaxRegistration($invoiceetaxreg); @@ -746,9 +570,6 @@ public function testDocumentInvoiceeTaxRegistration(): void $this->assertEmpty($invoiceetaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeAddress - */ public function testDocumentInvoiceeAddress(): void { self::$document->getDocumentInvoiceeAddress($invoiceelineone, $invoiceelinetwo, $invoiceelinethree, $invoiceepostcode, $invoiceecity, $invoiceecountry, $invoiceesubdivision); @@ -762,9 +583,6 @@ public function testDocumentInvoiceeAddress(): void $this->assertEmpty($invoiceesubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeLegalOrganisation - */ public function testDocumentInvoiceeLegalOrganization(): void { self::$document->getDocumentInvoiceeLegalOrganisation($invoiceelegalorgid, $invoiceelegalorgtype, $invoiceelegalorgname); @@ -773,11 +591,6 @@ public function testDocumentInvoiceeLegalOrganization(): void $this->assertEquals("", $invoiceelegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentInvoiceeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentInvoiceeContact - */ public function testDocumentInvoiceeContact(): void { $this->assertFalse(self::$document->firstDocumentInvoiceeContact()); @@ -794,9 +607,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayee - */ public function testDocumentPayeeGeneral(): void { self::$document->getDocumentPayee($payeename, $payeeids, $payeedescription); @@ -806,9 +616,6 @@ public function testDocumentPayeeGeneral(): void $this->assertEquals("", $payeedescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeGlobalId - */ public function testDocumentPayeeGlobalId(): void { self::$document->getDocumentPayeeGlobalId($payeeglobalids); @@ -816,9 +623,6 @@ public function testDocumentPayeeGlobalId(): void $this->assertEmpty($payeeglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeTaxRegistration - */ public function testDocumentPayeeTaxRegistration(): void { self::$document->getDocumentPayeeTaxRegistration($payeetaxreg); @@ -826,9 +630,6 @@ public function testDocumentPayeeTaxRegistration(): void $this->assertEmpty($payeetaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeAddress - */ public function testDocumentPayeeAddress(): void { self::$document->getDocumentPayeeAddress($payeelineone, $payeelinetwo, $payeelinethree, $payeepostcode, $payeecity, $payeecountry, $payeesubdivision); @@ -842,9 +643,6 @@ public function testDocumentPayeeAddress(): void $this->assertEmpty($payeesubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeLegalOrganisation - */ public function testDocumentPayeeLegalOrganization(): void { self::$document->getDocumentPayeeLegalOrganisation($payeelegalorgid, $payeelegalorgtype, $payeelegalorgname); @@ -853,11 +651,6 @@ public function testDocumentPayeeLegalOrganization(): void $this->assertEquals("", $payeelegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPayeeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPayeeContact - */ public function testDocumentPayeeContact(): void { $this->assertFalse(self::$document->firstDocumentPayeeContact()); @@ -874,9 +667,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUser - */ public function testDocumentProductEndUserGeneral(): void { self::$document->getDocumentProductEndUser($producendusername, $producenduserids, $producenduserdescription); @@ -887,9 +677,6 @@ public function testDocumentProductEndUserGeneral(): void $this->assertEquals("", $producenduserdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserGlobalId - */ public function testDocumentProductEndUserGlobalId(): void { self::$document->getDocumentProductEndUserGlobalId($producenduserglobalids); @@ -897,9 +684,6 @@ public function testDocumentProductEndUserGlobalId(): void $this->assertArrayNotHasKey("0088", $producenduserglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserTaxRegistration - */ public function testDocumentProductEndUserTaxRegistration(): void { self::$document->getDocumentProductEndUserTaxRegistration($producendusertaxreg); @@ -911,9 +695,6 @@ public function testDocumentProductEndUserTaxRegistration(): void $this->assertArrayNotHasKey("ZZ", $producendusertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserAddress - */ public function testDocumentProductEndUserAddress(): void { self::$document->getDocumentProductEndUserAddress($producenduserlineone, $producenduserlinetwo, $producenduserlinethree, $producenduserpostcode, $producendusercity, $producendusercountry, $producendusersubdivision); @@ -927,9 +708,6 @@ public function testDocumentProductEndUserAddress(): void $this->assertEmpty($producendusersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserLegalOrganisation - */ public function testDocumentProductEndUserLegalOrganization(): void { self::$document->getDocumentProductEndUserLegalOrganisation($producenduserlegalorgid, $producenduserlegalorgtype, $producenduserlegalorgname); @@ -938,11 +716,6 @@ public function testDocumentProductEndUserLegalOrganization(): void $this->assertEquals("", $producenduserlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentProductEndUserContactContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentProductEndUserContactContact - */ public function testDocumentProductEndUserContact(): void { $this->assertFalse(self::$document->firstDocumentProductEndUserContactContact()); @@ -954,9 +727,6 @@ function () { $this->assertFalse(self::$document->nextDocumentProductEndUserContactContact()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerOrderReferencedDocument - */ public function testDocumentSellerOrderReferencedDocument(): void { self::$document->getDocumentSellerOrderReferencedDocument($sellerorderrefdocid, $sellerorderrefdocdate); @@ -964,9 +734,6 @@ public function testDocumentSellerOrderReferencedDocument(): void $this->assertNull($sellerorderrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerOrderReferencedDocument - */ public function testDocumentBuyerOrderReferencedDocument(): void { self::$document->getDocumentBuyerOrderReferencedDocument($buyerorderrefdocid, $buyerorderrefdocdate); @@ -974,9 +741,6 @@ public function testDocumentBuyerOrderReferencedDocument(): void $this->assertNull($buyerorderrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentContractReferencedDocument - */ public function testDocumentContractReferencedDocument(): void { self::$document->getDocumentContractReferencedDocument($contractrefdocid, $contractrefdocdate); @@ -984,9 +748,6 @@ public function testDocumentContractReferencedDocument(): void $this->assertNull($contractrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAdditionalReferencedDocuments - */ public function testDocumentAdditionalReferencedDocuments(): void { self::$document->getDocumentAdditionalReferencedDocuments($additionalrefdocs); @@ -994,9 +755,6 @@ public function testDocumentAdditionalReferencedDocuments(): void $this->assertEmpty($additionalrefdocs); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProcuringProject - */ public function testDocumentProcuringProject(): void { self::$document->getDocumentProcuringProject($projectid, $projectname); @@ -1004,9 +762,6 @@ public function testDocumentProcuringProject(): void $this->assertEquals("", $projectname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSupplyChainEvent - */ public function testDocumentSupplyChainEvent(): void { self::$document->getDocumentSupplyChainEvent($supplychainevent); @@ -1015,9 +770,6 @@ public function testDocumentSupplyChainEvent(): void $this->assertEquals((\DateTime::createFromFormat('Ymd', '20180603'))->format('Ymd'), $supplychainevent->format('Ymd')); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDespatchAdviceReferencedDocument - */ public function testDocumentDespatchAdviceReferencedDocument(): void { self::$document->getDocumentDespatchAdviceReferencedDocument($despatchdocid, $despatchdocdate); @@ -1026,9 +778,6 @@ public function testDocumentDespatchAdviceReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $despatchdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentReceivingAdviceReferencedDocument - */ public function testDocumentReceivingAdviceReferencedDocument(): void { self::$document->getDocumentReceivingAdviceReferencedDocument($recadvid, $recadvdate); @@ -1037,9 +786,6 @@ public function testDocumentReceivingAdviceReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $recadvdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDeliveryNoteReferencedDocument - */ public function testDocumentDeliveryNoteReferencedDocument(): void { self::$document->getDocumentDeliveryNoteReferencedDocument($deliverynoterefdocid, $deliverynoterefdocdate); @@ -1048,9 +794,6 @@ public function testDocumentDeliveryNoteReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $deliverynoterefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBillingPeriod - */ public function testDocumentBillingPeriod(): void { self::$document->getDocumentBillingPeriod($docbillingperiodstart, $docbillingperiodend); @@ -1060,9 +803,6 @@ public function testDocumentBillingPeriod(): void $this->assertNotInstanceOf("DateTime", $docbillingperiodend); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAllowanceCharges - */ public function testDocumentAllowanceCharges(): void { self::$document->getDocumentAllowanceCharges($docallowancecharge); @@ -1070,9 +810,6 @@ public function testDocumentAllowanceCharges(): void $this->assertNotEmpty($docallowancecharge); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentTerms - */ public function testDocumentPaymentTerms(): void { self::$document->getDocumentPaymentTerms($docpaymentterms); @@ -1091,60 +828,36 @@ public function testDocumentPaymentTerms(): void $this->assertEquals(0.0, $docpaymentterms[0]["partialpaymentamount"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDeliveryTerms - */ public function testDocumentDeliveryTerms(): void { self::$document->getDocumentDeliveryTerms($devtermcode); $this->assertEquals("", $devtermcode); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAdditionalReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentAdditionalReferencedDocument - */ public function testDocumentAdditionalReferencedDocumentLoop(): void { $this->assertFalse(self::$document->firstDocumentAdditionalReferencedDocument()); $this->assertFalse(self::$document->nextDocumentAdditionalReferencedDocument()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentUltimateCustomerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentUltimateCustomerOrderReferencedDocument - */ public function testDocumentUltimateCustomerOrderReferencedDocumentLoop(): void { $this->assertFalse(self::$document->firstDocumentUltimateCustomerOrderReferencedDocument()); $this->assertFalse(self::$document->nextDocumentUltimateCustomerOrderReferencedDocument()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstGetDocumentPaymentMeans - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextGetDocumentPaymentMeans - */ public function testDocumentDocumentPaymentMeansLoop(): void { $this->assertFalse(self::$document->firstGetDocumentPaymentMeans()); $this->assertFalse(self::$document->nextGetDocumentPaymentMeans()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentTax - */ public function testDocumentTaxLoop(): void { $this->assertTrue(self::$document->firstDocumentTax()); $this->assertTrue(self::$document->nextDocumentTax()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentTax - */ public function testDocumentTax(): void { $this->assertTrue(self::$document->firstDocumentTax()); @@ -1164,10 +877,6 @@ public function testDocumentTax(): void $this->assertEquals(19.0, $rateApplicablePercent); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentAllowanceCharge - */ public function testtDocumentAllowanceChargeLoop(): void { $this->assertTrue(self::$document->firstDocumentAllowanceCharge()); @@ -1176,11 +885,6 @@ public function testtDocumentAllowanceChargeLoop(): void $this->assertFalse(self::$document->nextDocumentAllowanceCharge()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAllowanceCharge - */ public function testtDocumentAllowanceCharge(): void { $this->assertTrue(self::$document->firstDocumentAllowanceCharge()); @@ -1229,32 +933,18 @@ public function testtDocumentAllowanceCharge(): void $this->assertEquals("Versandkosten", $reason); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentLogisticsServiceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentLogisticsServiceCharge - */ public function testtDocumentLogisticsServiceChargeLoop(): void { $this->assertFalse(self::$document->firstDocumentLogisticsServiceCharge()); $this->assertFalse(self::$document->nextDocumentLogisticsServiceCharge()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPaymentTerms - */ public function testtDocumentPaymentTermsLoop(): void { $this->assertTrue(self::$document->firstDocumentPaymentTerms()); $this->assertFalse(self::$document->nextDocumentPaymentTerms()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentTerm - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDiscountTermsFromPaymentTerm - */ public function testtDocumentPaymentTerms(): void { $this->assertTrue(self::$document->firstDocumentPaymentTerms()); @@ -1274,10 +964,6 @@ public function testtDocumentPaymentTerms(): void $this->assertFalse(self::$document->nextDocumentPaymentTerms()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - */ public function testDocumentPositionLoop(): void { $this->assertTrue(self::$document->firstDocumentPosition()); @@ -1287,36 +973,6 @@ public function testDocumentPositionLoop(): void $this->assertFalse(self::$document->nextDocumentPosition()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionFirst(): void { $this->assertTrue(self::$document->firstDocumentPosition()); @@ -1454,35 +1110,6 @@ public function testDocumentPositionFirst(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionSecond(): void { $this->assertTrue(self::$document->nextDocumentPosition()); @@ -1587,35 +1214,6 @@ public function testDocumentPositionSecond(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionThird(): void { $this->assertTrue(self::$document->nextDocumentPosition()); @@ -1720,35 +1318,6 @@ public function testDocumentPositionThird(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionFourth(): void { $this->assertTrue(self::$document->nextDocumentPosition()); @@ -1853,10 +1422,6 @@ public function testDocumentPositionFourth(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionAdditionalReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionAdditionalReferencedDocument - */ public function testDocumentPositionAdditionalReferencedDocument(): void { $this->assertFalse(self::$document->firstDocumentPositionAdditionalReferencedDocument()); diff --git a/tests/testcases/ReaderEn16931Bank1Test.php b/tests/testcases/ReaderEn16931Bank1Test.php index f4d4c6a1..158a6d85 100644 --- a/tests/testcases/ReaderEn16931Bank1Test.php +++ b/tests/testcases/ReaderEn16931Bank1Test.php @@ -28,12 +28,6 @@ public function testDocumentProfile(): void $this->assertNotEquals(ZugferdProfiles::PROFILE_EXTENDED, self::$document->getProfileId()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getInvoiceObject - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getSerializer - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getObjectHelper - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getProfileDefinitionParameter - */ public function testDocumentGetters(): void { $this->assertNotNull(self::$document->getInvoiceObject()); @@ -51,9 +45,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInformation - */ public function testDocumentGenerals(): void { self::$document->getDocumentInformation($documentno, $documenttypecode, $documentdate, $invoiceCurrency, $taxCurrency, $documentname, $documentlanguage, $effectiveSpecifiedPeriod); @@ -68,29 +59,18 @@ public function testDocumentGenerals(): void $this->assertNull($effectiveSpecifiedPeriod); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstGetDocumentPaymentMeans - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextGetDocumentPaymentMeans - */ public function testDocumentPaymentMeansLoop(): void { $this->assertTrue(self::$document->firstGetDocumentPaymentMeans()); $this->assertFalse(self::$document->nextGetDocumentPaymentMeans()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPaymentTerms - */ public function testtDocumentPaymentTermsLoop(): void { $this->assertTrue(self::$document->firstDocumentPaymentTerms()); $this->assertFalse(self::$document->nextDocumentPaymentTerms()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentGeneralPaymentInformation - */ public function testDocumentGeneralPaymentInformation(): void { self::$document->getDocumentGeneralPaymentInformation($creditorReferenceID, $paymentReference); @@ -98,10 +78,6 @@ public function testDocumentGeneralPaymentInformation(): void $this->assertEquals("", $paymentReference); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstGetDocumentPaymentMeans - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentMeans - */ public function testGetDocumentPaymentMeans(): void { $this->assertTrue(self::$document->firstGetDocumentPaymentMeans()); @@ -118,12 +94,6 @@ public function testGetDocumentPaymentMeans(): void $this->assertEquals("", $payeeBic); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentTerm - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDiscountTermsFromPaymentTerm - */ public function testtDocumentPaymentTerms(): void { $this->assertTrue(self::$document->firstDocumentPaymentTerms()); diff --git a/tests/testcases/ReaderEn16931Bank2Test.php b/tests/testcases/ReaderEn16931Bank2Test.php index 2c330575..4f0ae6f7 100644 --- a/tests/testcases/ReaderEn16931Bank2Test.php +++ b/tests/testcases/ReaderEn16931Bank2Test.php @@ -28,9 +28,6 @@ public function testDocumentProfile(): void $this->assertNotEquals(ZugferdProfiles::PROFILE_EXTENDED, self::$document->getProfileId()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInformation - */ public function testDocumentGenerals(): void { self::$document->getDocumentInformation($documentno, $documenttypecode, $documentdate, $invoiceCurrency, $taxCurrency, $documentname, $documentlanguage, $effectiveSpecifiedPeriod); @@ -46,29 +43,18 @@ public function testDocumentGenerals(): void $this->assertNotNull(self::$document->getInvoiceObject()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstGetDocumentPaymentMeans - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextGetDocumentPaymentMeans - */ public function testDocumentPaymentMeansLoop(): void { $this->assertTrue(self::$document->firstGetDocumentPaymentMeans()); $this->assertFalse(self::$document->nextGetDocumentPaymentMeans()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPaymentTerms - */ public function testtDocumentPaymentTermsLoop(): void { $this->assertTrue(self::$document->firstDocumentPaymentTerms()); $this->assertFalse(self::$document->nextDocumentPaymentTerms()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentGeneralPaymentInformation - */ public function testDocumentGeneralPaymentInformation(): void { self::$document->getDocumentGeneralPaymentInformation($creditorReferenceID, $paymentReference); @@ -76,10 +62,6 @@ public function testDocumentGeneralPaymentInformation(): void $this->assertEquals("F20180023BUYER", $paymentReference); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstGetDocumentPaymentMeans - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentMeans - */ public function testGetDocumentPaymentMeans(): void { $this->assertTrue(self::$document->firstGetDocumentPaymentMeans()); @@ -96,12 +78,6 @@ public function testGetDocumentPaymentMeans(): void $this->assertEquals("", $payeeBic); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentTerm - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDiscountTermsFromPaymentTerm - */ public function testtDocumentPaymentTerms(): void { $this->assertTrue(self::$document->firstDocumentPaymentTerms()); @@ -121,9 +97,6 @@ public function testtDocumentPaymentTerms(): void $this->assertFalse(self::$document->nextDocumentPaymentTerms()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentative - */ public function testDocumentSellerTaxRepresentativeGeneral(): void { self::$document->getDocumentSellerTaxRepresentative($sellertaxreprname, $sellertaxreprids, $sellertaxreprdescription); @@ -133,9 +106,6 @@ public function testDocumentSellerTaxRepresentativeGeneral(): void $this->assertEquals("", $sellertaxreprdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeGlobalId - */ public function testDocumentSellerTaxRepresentativeGlobalId(): void { self::$document->getDocumentSellerTaxRepresentativeGlobalId($sellertaxreprglobalids); @@ -143,9 +113,6 @@ public function testDocumentSellerTaxRepresentativeGlobalId(): void $this->assertEmpty($sellertaxreprglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeTaxRegistration - */ public function testDocumentSellerTaxRepresentativeTaxRegistration(): void { self::$document->getDocumentSellerTaxRepresentativeTaxRegistration($sellertaxreprtaxreg); @@ -155,9 +122,6 @@ public function testDocumentSellerTaxRepresentativeTaxRegistration(): void $this->assertEquals("FR 05 987 654 321", $sellertaxreprtaxreg["VA"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeAddress - */ public function testDocumentSellerTaxRepresentativeAddress(): void { self::$document->getDocumentSellerTaxRepresentativeAddress($sellertaxreprlineone, $sellertaxreprlinetwo, $sellertaxreprlinethree, $sellertaxreprpostcode, $sellertaxreprcity, $sellertaxreprcountry, $sellertaxreprsubdivision); @@ -171,9 +135,6 @@ public function testDocumentSellerTaxRepresentativeAddress(): void $this->assertEmpty($sellertaxreprsubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeLegalOrganisation - */ public function testDocumentSellerTaxRepresentativeLegalOrganization(): void { self::$document->getDocumentSellerTaxRepresentativeLegalOrganisation($sellertaxreprlegalorgid, $sellertaxreprlegalorgtype, $sellertaxreprlegalorgname); @@ -182,11 +143,6 @@ public function testDocumentSellerTaxRepresentativeLegalOrganization(): void $this->assertEquals("", $sellertaxreprlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentSellerTaxRepresentativeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentSellerTaxRepresentativeContact - */ public function testDocumentSellerTaxRepresentativeContact(): void { $this->assertFalse(self::$document->firstDocumentSellerTaxRepresentativeContact()); diff --git a/tests/testcases/ReaderEn16931SimpleTest.php b/tests/testcases/ReaderEn16931SimpleTest.php index 932dd227..5d53aadf 100644 --- a/tests/testcases/ReaderEn16931SimpleTest.php +++ b/tests/testcases/ReaderEn16931SimpleTest.php @@ -27,12 +27,6 @@ public function testDocumentProfile(): void $this->assertNotEquals(ZugferdProfiles::PROFILE_EXTENDED, self::$document->getProfileId()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getInvoiceObject - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getSerializer - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getObjectHelper - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getProfileDefinitionParameter - */ public function testDocumentGetters(): void { $this->assertNotNull(self::$document->getInvoiceObject()); @@ -50,9 +44,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInformation - */ public function testDocumentGenerals(): void { self::$document->getDocumentInformation($documentno, $documenttypecode, $documentdate, $invoiceCurrency, $taxCurrency, $documentname, $documentlanguage, $effectiveSpecifiedPeriod); @@ -67,9 +58,6 @@ public function testDocumentGenerals(): void $this->assertNull($effectiveSpecifiedPeriod); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentNotes - */ public function testDocumentNotes(): void { self::$document->getDocumentNotes($notes); @@ -101,9 +89,6 @@ public function testDocumentNotes(): void $this->assertStringContainsString("Handelsregisternummer: H A 123", $notes[1]["content"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentGeneralPaymentInformation - */ public function testDocumentGeneralPaymentInformation(): void { self::$document->getDocumentGeneralPaymentInformation($creditorReferenceID, $paymentReference); @@ -111,27 +96,18 @@ public function testDocumentGeneralPaymentInformation(): void $this->assertEquals("", $paymentReference); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getIsDocumentCopy - */ public function testDocumentIsCopy(): void { self::$document->getIsDocumentCopy($iscopy); $this->assertFalse($iscopy); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getIsTestDocument - */ public function testDocumentIsTestDocument(): void { self::$document->getIsTestDocument($istest); $this->assertFalse($istest); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSummation - */ public function testDocumentSummation(): void { self::$document->getDocumentSummation($grandTotalAmount, $duePayableAmount, $lineTotalAmount, $chargeTotalAmount, $allowanceTotalAmount, $taxBasisTotalAmount, $taxTotalAmount, $roundingAmount, $totalPrepaidAmount); @@ -146,18 +122,12 @@ public function testDocumentSummation(): void $this->assertEquals(0.00, $totalPrepaidAmount); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerReference - */ public function testGetDocumentBuyerReference(): void { self::$document->getDocumentBuyerReference($buyerReference); $this->assertEquals("08154711", $buyerReference); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSeller - */ public function testDocumentSellerGeneral(): void { self::$document->getDocumentSeller($sellername, $sellerids, $sellerdescription); @@ -169,9 +139,6 @@ public function testDocumentSellerGeneral(): void $this->assertEquals("", $sellerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerGlobalId - */ public function testDocumentSellerGlobalId(): void { self::$document->getDocumentSellerGlobalId($sellerglobalids); @@ -180,9 +147,6 @@ public function testDocumentSellerGlobalId(): void $this->assertEquals("4000001123452", $sellerglobalids["0088"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRegistration - */ public function testDocumentSellerTaxRegistration(): void { self::$document->getDocumentSellerTaxRegistration($sellertaxreg); @@ -196,9 +160,6 @@ public function testDocumentSellerTaxRegistration(): void $this->assertEquals("DE123456789", $sellertaxreg["VA"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerAddress - */ public function testDocumentSellerAddress(): void { self::$document->getDocumentSellerAddress($sellerlineone, $sellerlinetwo, $sellerlinethree, $sellerpostcode, $sellercity, $sellercountry, $sellersubdivision); @@ -212,9 +173,6 @@ public function testDocumentSellerAddress(): void $this->assertEmpty($sellersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerLegalOrganisation - */ public function testDocumentSellerLegalOrganization(): void { self::$document->getDocumentSellerLegalOrganisation($sellerlegalorgid, $sellerlegalorgtype, $sellerlegalorgname); @@ -223,11 +181,6 @@ public function testDocumentSellerLegalOrganization(): void $this->assertEquals("", $sellerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentSellerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentSellerContact - */ public function testDocumentSellerContact(): void { $this->assertFalse(self::$document->firstDocumentSellerContact()); @@ -239,9 +192,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyer - */ public function testDocumentBuyerGeneral(): void { self::$document->getDocumentBuyer($buyername, $buyerids, $buyerdescription); @@ -253,9 +203,6 @@ public function testDocumentBuyerGeneral(): void $this->assertEquals("", $buyerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerGlobalId - */ public function testDocumentBuyerGlobalId(): void { self::$document->getDocumentBuyerGlobalId($buyerglobalids); @@ -263,9 +210,6 @@ public function testDocumentBuyerGlobalId(): void $this->assertEmpty($buyerglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerTaxRegistration - */ public function testDocumentBuyerTaxRegistration(): void { self::$document->getDocumentBuyerTaxRegistration($buyertaxreg); @@ -273,9 +217,6 @@ public function testDocumentBuyerTaxRegistration(): void $this->assertEmpty($buyertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerAddress - */ public function testDocumentBuyerAddress(): void { self::$document->getDocumentBuyerAddress($buyerlineone, $buyerlinetwo, $buyerlinethree, $buyerpostcode, $buyercity, $buyercountry, $buyersubdivision); @@ -289,9 +230,6 @@ public function testDocumentBuyerAddress(): void $this->assertEmpty($buyersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerLegalOrganisation - */ public function testDocumentBuyerLegalOrganization(): void { self::$document->getDocumentBuyerLegalOrganisation($buyerlegalorgid, $buyerlegalorgtype, $buyerlegalorgname); @@ -300,11 +238,6 @@ public function testDocumentBuyerLegalOrganization(): void $this->assertEquals("", $buyerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentBuyerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentBuyerContact - */ public function testDocumentBuyerContact(): void { $this->assertFalse(self::$document->firstDocumentBuyerContact()); @@ -316,9 +249,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentative - */ public function testDocumentSellerTaxRepresentativeGeneral(): void { self::$document->getDocumentSellerTaxRepresentative($sellertaxreprname, $sellertaxreprids, $sellertaxreprdescription); @@ -328,9 +258,6 @@ public function testDocumentSellerTaxRepresentativeGeneral(): void $this->assertEquals("", $sellertaxreprdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeGlobalId - */ public function testDocumentSellerTaxRepresentativeGlobalId(): void { self::$document->getDocumentSellerTaxRepresentativeGlobalId($sellertaxreprglobalids); @@ -338,9 +265,6 @@ public function testDocumentSellerTaxRepresentativeGlobalId(): void $this->assertEmpty($sellertaxreprglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeTaxRegistration - */ public function testDocumentSellerTaxRepresentativeTaxRegistration(): void { self::$document->getDocumentSellerTaxRepresentativeTaxRegistration($sellertaxreprtaxreg); @@ -348,9 +272,6 @@ public function testDocumentSellerTaxRepresentativeTaxRegistration(): void $this->assertEmpty($sellertaxreprtaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeAddress - */ public function testDocumentSellerTaxRepresentativeAddress(): void { self::$document->getDocumentSellerTaxRepresentativeAddress($sellertaxreprlineone, $sellertaxreprlinetwo, $sellertaxreprlinethree, $sellertaxreprpostcode, $sellertaxreprcity, $sellertaxreprcountry, $sellertaxreprsubdivision); @@ -364,9 +285,6 @@ public function testDocumentSellerTaxRepresentativeAddress(): void $this->assertEmpty($sellertaxreprsubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeLegalOrganisation - */ public function testDocumentSellerTaxRepresentativeLegalOrganization(): void { self::$document->getDocumentSellerTaxRepresentativeLegalOrganisation($sellertaxreprlegalorgid, $sellertaxreprlegalorgtype, $sellertaxreprlegalorgname); @@ -375,11 +293,6 @@ public function testDocumentSellerTaxRepresentativeLegalOrganization(): void $this->assertEquals("", $sellertaxreprlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentSellerTaxRepresentativeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentSellerTaxRepresentativeContact - */ public function testDocumentSellerTaxRepresentativeContact(): void { $this->assertFalse(self::$document->firstDocumentSellerTaxRepresentativeContact()); @@ -391,9 +304,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipTo - */ public function testDocumentShipToGeneral(): void { self::$document->getDocumentShipTo($shiptoname, $shiptoids, $shiptodescription); @@ -403,9 +313,6 @@ public function testDocumentShipToGeneral(): void $this->assertEquals("", $shiptodescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToGlobalId - */ public function testDocumentShipToGlobalId(): void { self::$document->getDocumentShipToGlobalId($shiptoglobalids); @@ -413,9 +320,6 @@ public function testDocumentShipToGlobalId(): void $this->assertEmpty($shiptoglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToTaxRegistration - */ public function testDocumentShipToTaxRegistration(): void { self::$document->getDocumentShipToTaxRegistration($shiptotaxreg); @@ -423,9 +327,6 @@ public function testDocumentShipToTaxRegistration(): void $this->assertEmpty($shiptotaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToAddress - */ public function testDocumentShipToAddress(): void { self::$document->getDocumentShipToAddress($shiptolineone, $shiptolinetwo, $shiptolinethree, $shiptopostcode, $shiptocity, $shiptocountry, $shiptosubdivision); @@ -439,9 +340,6 @@ public function testDocumentShipToAddress(): void $this->assertEmpty($shiptosubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToLegalOrganisation - */ public function testDocumentShipToLegalOrganization(): void { self::$document->getDocumentShipToLegalOrganisation($shiptolegalorgid, $shiptolegalorgtype, $shiptolegalorgname); @@ -450,11 +348,6 @@ public function testDocumentShipToLegalOrganization(): void $this->assertEquals("", $shiptolegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentShipToContact - */ public function testDocumentShipToContact(): void { $this->assertFalse(self::$document->firstDocumentShipToContact()); @@ -466,9 +359,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipTo - */ public function testDocumentUltimateShipToGeneral(): void { self::$document->getDocumentUltimateShipTo($ultimateshiptoname, $ultimateshiptoids, $ultimateshiptodescription); @@ -478,9 +368,6 @@ public function testDocumentUltimateShipToGeneral(): void $this->assertEquals("", $ultimateshiptodescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToGlobalId - */ public function testDocumentUltimateShipToGlobalId(): void { self::$document->getDocumentUltimateShipToGlobalId($ultimateshiptoglobalids); @@ -488,9 +375,6 @@ public function testDocumentUltimateShipToGlobalId(): void $this->assertEmpty($ultimateshiptoglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToTaxRegistration - */ public function testDocumentUltimateShipToTaxRegistration(): void { self::$document->getDocumentUltimateShipToTaxRegistration($ultimateshiptotaxreg); @@ -498,9 +382,6 @@ public function testDocumentUltimateShipToTaxRegistration(): void $this->assertEmpty($ultimateshiptotaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToAddress - */ public function testDocumentUltimateShipToAddress(): void { self::$document->getDocumentUltimateShipToAddress($ultimateshiptolineone, $ultimateshiptolinetwo, $ultimateshiptolinethree, $ultimateshiptopostcode, $ultimateshiptocity, $ultimateshiptocountry, $ultimateshiptosubdivision); @@ -514,9 +395,6 @@ public function testDocumentUltimateShipToAddress(): void $this->assertEmpty($ultimateshiptosubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToLegalOrganisation - */ public function testDocumentUltimateShipToLegalOrganization(): void { self::$document->getDocumentUltimateShipToLegalOrganisation($ultimateshiptolegalorgid, $ultimateshiptolegalorgtype, $ultimateshiptolegalorgname); @@ -525,11 +403,6 @@ public function testDocumentUltimateShipToLegalOrganization(): void $this->assertEquals("", $ultimateshiptolegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentUltimateShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentUltimateShipToContact - */ public function testDocumentUltimateShipToContact(): void { $this->assertFalse(self::$document->firstDocumentUltimateShipToContact()); @@ -546,9 +419,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFrom - */ public function testDocumentShipFromGeneral(): void { self::$document->getDocumentShipFrom($shipfromname, $shipfromids, $shipfromdescription); @@ -558,9 +428,6 @@ public function testDocumentShipFromGeneral(): void $this->assertEquals("", $shipfromdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromGlobalId - */ public function testDocumentShipFromGlobalId(): void { self::$document->getDocumentShipFromGlobalId($shipfromglobalids); @@ -568,9 +435,6 @@ public function testDocumentShipFromGlobalId(): void $this->assertEmpty($shipfromglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromTaxRegistration - */ public function testDocumentShipFromTaxRegistration(): void { self::$document->getDocumentShipFromTaxRegistration($shipfromtaxreg); @@ -578,9 +442,6 @@ public function testDocumentShipFromTaxRegistration(): void $this->assertEmpty($shipfromtaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromAddress - */ public function testDocumentShipFromAddress(): void { self::$document->getDocumentShipFromAddress($shipfromlineone, $shipfromlinetwo, $shipfromlinethree, $shipfrompostcode, $shipfromcity, $shipfromcountry, $shipfromsubdivision); @@ -594,9 +455,6 @@ public function testDocumentShipFromAddress(): void $this->assertEmpty($shipfromsubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromLegalOrganisation - */ public function testDocumentShipFromLegalOrganization(): void { self::$document->getDocumentShipFromLegalOrganisation($shipfromlegalorgid, $shipfromlegalorgtype, $shipfromlegalorgname); @@ -605,11 +463,6 @@ public function testDocumentShipFromLegalOrganization(): void $this->assertEquals("", $shipfromlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentShipFromContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentShipFromContact - */ public function testDocumentShipFromContact(): void { $this->assertFalse(self::$document->firstDocumentShipFromContact()); @@ -626,9 +479,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicer - */ public function testDocumentInvoicerGeneral(): void { self::$document->getDocumentInvoicer($invoicername, $invoicerids, $invoicerdescription); @@ -638,9 +488,6 @@ public function testDocumentInvoicerGeneral(): void $this->assertEquals("", $invoicerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerGlobalId - */ public function testDocumentInvoicerGlobalId(): void { self::$document->getDocumentInvoicerGlobalId($invoicerglobalids); @@ -648,9 +495,6 @@ public function testDocumentInvoicerGlobalId(): void $this->assertEmpty($invoicerglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerTaxRegistration - */ public function testDocumentInvoicerTaxRegistration(): void { self::$document->getDocumentInvoicerTaxRegistration($invoicertaxreg); @@ -658,9 +502,6 @@ public function testDocumentInvoicerTaxRegistration(): void $this->assertEmpty($invoicertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerAddress - */ public function testDocumentInvoicerAddress(): void { self::$document->getDocumentInvoicerAddress($invoicerlineone, $invoicerlinetwo, $invoicerlinethree, $invoicerpostcode, $invoicercity, $invoicercountry, $invoicersubdivision); @@ -674,9 +515,6 @@ public function testDocumentInvoicerAddress(): void $this->assertEmpty($invoicersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerLegalOrganisation - */ public function testDocumentInvoicerLegalOrganization(): void { self::$document->getDocumentInvoicerLegalOrganisation($invoicerlegalorgid, $invoicerlegalorgtype, $invoicerlegalorgname); @@ -685,11 +523,6 @@ public function testDocumentInvoicerLegalOrganization(): void $this->assertEquals("", $invoicerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentInvoicerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentInvoicerContact - */ public function testDocumentInvoicerContact(): void { $this->assertFalse(self::$document->firstDocumentInvoicerContact()); @@ -706,9 +539,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicee - */ public function testDocumentInvoiceeGeneral(): void { self::$document->getDocumentInvoicee($invoiceename, $invoiceeids, $invoiceedescription); @@ -718,9 +548,6 @@ public function testDocumentInvoiceeGeneral(): void $this->assertEquals("", $invoiceedescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeGlobalId - */ public function testDocumentInvoiceeGlobalId(): void { self::$document->getDocumentInvoiceeGlobalId($invoiceeglobalids); @@ -728,9 +555,6 @@ public function testDocumentInvoiceeGlobalId(): void $this->assertEmpty($invoiceeglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeTaxRegistration - */ public function testDocumentInvoiceeTaxRegistration(): void { self::$document->getDocumentInvoiceeTaxRegistration($invoiceetaxreg); @@ -738,9 +562,6 @@ public function testDocumentInvoiceeTaxRegistration(): void $this->assertEmpty($invoiceetaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeAddress - */ public function testDocumentInvoiceeAddress(): void { self::$document->getDocumentInvoiceeAddress($invoiceelineone, $invoiceelinetwo, $invoiceelinethree, $invoiceepostcode, $invoiceecity, $invoiceecountry, $invoiceesubdivision); @@ -754,9 +575,6 @@ public function testDocumentInvoiceeAddress(): void $this->assertEmpty($invoiceesubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeLegalOrganisation - */ public function testDocumentInvoiceeLegalOrganization(): void { self::$document->getDocumentInvoiceeLegalOrganisation($invoiceelegalorgid, $invoiceelegalorgtype, $invoiceelegalorgname); @@ -765,11 +583,6 @@ public function testDocumentInvoiceeLegalOrganization(): void $this->assertEquals("", $invoiceelegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentInvoiceeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentInvoiceeContact - */ public function testDocumentInvoiceeContact(): void { $this->assertFalse(self::$document->firstDocumentInvoiceeContact()); @@ -786,9 +599,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayee - */ public function testDocumentPayeeGeneral(): void { self::$document->getDocumentPayee($payeename, $payeeids, $payeedescription); @@ -798,9 +608,6 @@ public function testDocumentPayeeGeneral(): void $this->assertEquals("", $payeedescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeGlobalId - */ public function testDocumentPayeeGlobalId(): void { self::$document->getDocumentPayeeGlobalId($payeeglobalids); @@ -808,9 +615,6 @@ public function testDocumentPayeeGlobalId(): void $this->assertEmpty($payeeglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeTaxRegistration - */ public function testDocumentPayeeTaxRegistration(): void { self::$document->getDocumentPayeeTaxRegistration($payeetaxreg); @@ -818,9 +622,6 @@ public function testDocumentPayeeTaxRegistration(): void $this->assertEmpty($payeetaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeAddress - */ public function testDocumentPayeeAddress(): void { self::$document->getDocumentPayeeAddress($payeelineone, $payeelinetwo, $payeelinethree, $payeepostcode, $payeecity, $payeecountry, $payeesubdivision); @@ -834,9 +635,6 @@ public function testDocumentPayeeAddress(): void $this->assertEmpty($payeesubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeLegalOrganisation - */ public function testDocumentPayeeLegalOrganization(): void { self::$document->getDocumentPayeeLegalOrganisation($payeelegalorgid, $payeelegalorgtype, $payeelegalorgname); @@ -845,11 +643,6 @@ public function testDocumentPayeeLegalOrganization(): void $this->assertEquals("", $payeelegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPayeeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPayeeContact - */ public function testDocumentPayeeContact(): void { $this->assertFalse(self::$document->firstDocumentPayeeContact()); @@ -866,9 +659,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUser - */ public function testDocumentProductEndUserGeneral(): void { self::$document->getDocumentProductEndUser($producendusername, $producenduserids, $producenduserdescription); @@ -879,9 +669,6 @@ public function testDocumentProductEndUserGeneral(): void $this->assertEquals("", $producenduserdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserGlobalId - */ public function testDocumentProductEndUserGlobalId(): void { self::$document->getDocumentProductEndUserGlobalId($producenduserglobalids); @@ -889,9 +676,6 @@ public function testDocumentProductEndUserGlobalId(): void $this->assertArrayNotHasKey("0088", $producenduserglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserTaxRegistration - */ public function testDocumentProductEndUserTaxRegistration(): void { self::$document->getDocumentProductEndUserTaxRegistration($producendusertaxreg); @@ -903,9 +687,6 @@ public function testDocumentProductEndUserTaxRegistration(): void $this->assertArrayNotHasKey("ZZ", $producendusertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserAddress - */ public function testDocumentProductEndUserAddress(): void { self::$document->getDocumentProductEndUserAddress($producenduserlineone, $producenduserlinetwo, $producenduserlinethree, $producenduserpostcode, $producendusercity, $producendusercountry, $producendusersubdivision); @@ -919,9 +700,6 @@ public function testDocumentProductEndUserAddress(): void $this->assertEmpty($producendusersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserLegalOrganisation - */ public function testDocumentProductEndUserLegalOrganization(): void { self::$document->getDocumentProductEndUserLegalOrganisation($producenduserlegalorgid, $producenduserlegalorgtype, $producenduserlegalorgname); @@ -930,11 +708,6 @@ public function testDocumentProductEndUserLegalOrganization(): void $this->assertEquals("", $producenduserlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentProductEndUserContactContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentProductEndUserContactContact - */ public function testDocumentProductEndUserContact(): void { $this->assertFalse(self::$document->firstDocumentProductEndUserContactContact()); @@ -946,9 +719,6 @@ function () { $this->assertFalse(self::$document->nextDocumentProductEndUserContactContact()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerOrderReferencedDocument - */ public function testDocumentSellerOrderReferencedDocument(): void { self::$document->getDocumentSellerOrderReferencedDocument($sellerorderrefdocid, $sellerorderrefdocdate); @@ -956,9 +726,6 @@ public function testDocumentSellerOrderReferencedDocument(): void $this->assertNull($sellerorderrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerOrderReferencedDocument - */ public function testDocumentBuyerOrderReferencedDocument(): void { self::$document->getDocumentBuyerOrderReferencedDocument($buyerorderrefdocid, $buyerorderrefdocdate); @@ -966,9 +733,6 @@ public function testDocumentBuyerOrderReferencedDocument(): void $this->assertNull($buyerorderrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentContractReferencedDocument - */ public function testDocumentContractReferencedDocument(): void { self::$document->getDocumentContractReferencedDocument($contractrefdocid, $contractrefdocdate); @@ -976,9 +740,6 @@ public function testDocumentContractReferencedDocument(): void $this->assertNull($contractrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAdditionalReferencedDocuments - */ public function testDocumentAdditionalReferencedDocuments(): void { self::$document->getDocumentAdditionalReferencedDocuments($additionalrefdocs); @@ -986,9 +747,6 @@ public function testDocumentAdditionalReferencedDocuments(): void $this->assertEmpty($additionalrefdocs); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProcuringProject - */ public function testDocumentProcuringProject(): void { self::$document->getDocumentProcuringProject($projectid, $projectname); @@ -996,9 +754,6 @@ public function testDocumentProcuringProject(): void $this->assertEquals("", $projectname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSupplyChainEvent - */ public function testDocumentSupplyChainEvent(): void { self::$document->getDocumentSupplyChainEvent($supplychainevent); @@ -1007,9 +762,6 @@ public function testDocumentSupplyChainEvent(): void $this->assertEquals((\DateTime::createFromFormat('Ymd', '20180305'))->format('Ymd'), $supplychainevent->format('Ymd')); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDespatchAdviceReferencedDocument - */ public function testDocumentDespatchAdviceReferencedDocument(): void { self::$document->getDocumentDespatchAdviceReferencedDocument($despatchdocid, $despatchdocdate); @@ -1018,9 +770,6 @@ public function testDocumentDespatchAdviceReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $despatchdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentReceivingAdviceReferencedDocument - */ public function testDocumentReceivingAdviceReferencedDocument(): void { self::$document->getDocumentReceivingAdviceReferencedDocument($recadvid, $recadvdate); @@ -1029,9 +778,6 @@ public function testDocumentReceivingAdviceReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $recadvdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDeliveryNoteReferencedDocument - */ public function testDocumentDeliveryNoteReferencedDocument(): void { self::$document->getDocumentDeliveryNoteReferencedDocument($deliverynoterefdocid, $deliverynoterefdocdate); @@ -1040,9 +786,6 @@ public function testDocumentDeliveryNoteReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $deliverynoterefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBillingPeriod - */ public function testDocumentBillingPeriod(): void { self::$document->getDocumentBillingPeriod($docbillingperiodstart, $docbillingperiodend); @@ -1052,9 +795,6 @@ public function testDocumentBillingPeriod(): void $this->assertNotInstanceOf("DateTime", $docbillingperiodend); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAllowanceCharges - */ public function testDocumentAllowanceCharges(): void { self::$document->getDocumentAllowanceCharges($docallowancecharge); @@ -1062,9 +802,6 @@ public function testDocumentAllowanceCharges(): void $this->assertEmpty($docallowancecharge); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentTerms - */ public function testDocumentPaymentTerms(): void { self::$document->getDocumentPaymentTerms($docpaymentterms); @@ -1083,49 +820,30 @@ public function testDocumentPaymentTerms(): void $this->assertEquals(0.0, $docpaymentterms[0]["partialpaymentamount"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDeliveryTerms - */ public function testDocumentDeliveryTerms(): void { self::$document->getDocumentDeliveryTerms($devtermcode); $this->assertEquals("", $devtermcode); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAdditionalReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentAdditionalReferencedDocument - */ public function testDocumentAdditionalReferencedDocumentLoop(): void { $this->assertFalse(self::$document->firstDocumentAdditionalReferencedDocument()); $this->assertFalse(self::$document->nextDocumentAdditionalReferencedDocument()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentUltimateCustomerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentUltimateCustomerOrderReferencedDocument - */ public function testDocumentUltimateCustomerOrderReferencedDocumentLoop(): void { $this->assertFalse(self::$document->firstDocumentUltimateCustomerOrderReferencedDocument()); $this->assertFalse(self::$document->nextDocumentUltimateCustomerOrderReferencedDocument()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstGetDocumentPaymentMeans - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextGetDocumentPaymentMeans - */ public function testDocumentPaymentMeansLoop(): void { $this->assertTrue(self::$document->firstGetDocumentPaymentMeans()); $this->assertFalse(self::$document->nextGetDocumentPaymentMeans()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstGetDocumentPaymentMeans - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentMeans - */ public function testGetDocumentPaymentMeans(): void { $this->assertTrue(self::$document->firstGetDocumentPaymentMeans()); @@ -1142,21 +860,12 @@ public function testGetDocumentPaymentMeans(): void $this->assertEquals("", $payeeBic); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentTax - */ public function testDocumentTaxLoop(): void { $this->assertTrue(self::$document->firstDocumentTax()); $this->assertTrue(self::$document->nextDocumentTax()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentTax - */ public function testDocumentTax(): void { $this->assertTrue(self::$document->firstDocumentTax()); @@ -1176,42 +885,24 @@ public function testDocumentTax(): void $this->assertEquals(19.0, $rateApplicablePercent); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentAllowanceCharge - */ public function testtDocumentAllowanceChargeLoop(): void { $this->assertFalse(self::$document->firstDocumentAllowanceCharge()); $this->assertFalse(self::$document->nextDocumentAllowanceCharge()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentLogisticsServiceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentLogisticsServiceCharge - */ public function testtDocumentLogisticsServiceChargeLoop(): void { $this->assertFalse(self::$document->firstDocumentLogisticsServiceCharge()); $this->assertFalse(self::$document->nextDocumentLogisticsServiceCharge()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPaymentTerms - */ public function testtDocumentPaymentTermsLoop(): void { $this->assertTrue(self::$document->firstDocumentPaymentTerms()); $this->assertFalse(self::$document->nextDocumentPaymentTerms()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentTerm - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDiscountTermsFromPaymentTerm - */ public function testtDocumentPaymentTerms(): void { $this->assertTrue(self::$document->firstDocumentPaymentTerms()); @@ -1231,10 +922,6 @@ public function testtDocumentPaymentTerms(): void $this->assertFalse(self::$document->nextDocumentPaymentTerms()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - */ public function testDocumentPositionLoop(): void { $this->assertTrue(self::$document->firstDocumentPosition(), "has a first position"); @@ -1242,30 +929,6 @@ public function testDocumentPositionLoop(): void $this->assertFalse(self::$document->nextDocumentPosition(), "has no third position"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionFirst(): void { $this->assertTrue(self::$document->firstDocumentPosition()); @@ -1364,30 +1027,6 @@ public function testDocumentPositionFirst(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionSecond(): void { $this->assertTrue(self::$document->nextDocumentPosition()); @@ -1486,10 +1125,6 @@ public function testDocumentPositionSecond(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionAdditionalReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionAdditionalReferencedDocument - */ public function testDocumentPositionAdditionalReferencedDocument(): void { $this->assertFalse(self::$document->firstDocumentPositionAdditionalReferencedDocument()); diff --git a/tests/testcases/ReaderExtended2Test.php b/tests/testcases/ReaderExtended2Test.php index 69cd278f..1d651c6f 100644 --- a/tests/testcases/ReaderExtended2Test.php +++ b/tests/testcases/ReaderExtended2Test.php @@ -27,12 +27,6 @@ public function testDocumentProfile(): void $this->assertEquals(ZugferdProfiles::PROFILE_EXTENDED, self::$document->getProfileId()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getInvoiceObject - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getSerializer - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getObjectHelper - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getProfileDefinitionParameter - */ public function testDocumentGetters(): void { $this->assertNotNull(self::$document->getInvoiceObject()); @@ -50,9 +44,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInformation - */ public function testDocumentGenerals(): void { self::$document->getDocumentInformation($documentno, $documenttypecode, $documentdate, $invoiceCurrency, $taxCurrency, $documentname, $documentlanguage, $effectiveSpecifiedPeriod); @@ -67,9 +58,6 @@ public function testDocumentGenerals(): void $this->assertNull($effectiveSpecifiedPeriod); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentNotes - */ public function testDocumentNotes(): void { self::$document->getDocumentNotes($notes); @@ -96,9 +84,6 @@ public function testDocumentNotes(): void $this->assertEquals("RCS MAVILLE 123 456 789", $notes[1]["content"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentGeneralPaymentInformation - */ public function testDocumentGeneralPaymentInformation(): void { self::$document->getDocumentGeneralPaymentInformation($creditorReferenceID, $paymentReference); @@ -106,27 +91,18 @@ public function testDocumentGeneralPaymentInformation(): void $this->assertEquals("F20180023BUYER", $paymentReference); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getIsDocumentCopy - */ public function testDocumentIsCopy(): void { self::$document->getIsDocumentCopy($iscopy); $this->assertFalse($iscopy); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getIsTestDocument - */ public function testDocumentIsTestDocument(): void { self::$document->getIsTestDocument($istest); $this->assertFalse($istest); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSummation - */ public function testDocumentSummation(): void { self::$document->getDocumentSummation($grandTotalAmount, $duePayableAmount, $lineTotalAmount, $chargeTotalAmount, $allowanceTotalAmount, $taxBasisTotalAmount, $taxTotalAmount, $roundingAmount, $totalPrepaidAmount); @@ -141,18 +117,12 @@ public function testDocumentSummation(): void $this->assertEquals(10.00, $totalPrepaidAmount); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerReference - */ public function testGetDocumentBuyerReference(): void { self::$document->getDocumentBuyerReference($buyerReference); $this->assertEquals("SERVEXEC", $buyerReference); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSeller - */ public function testDocumentSellerGeneral(): void { self::$document->getDocumentSeller($sellername, $sellerids, $sellerdescription); @@ -163,9 +133,6 @@ public function testDocumentSellerGeneral(): void $this->assertEquals("", $sellerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerGlobalId - */ public function testDocumentSellerGlobalId(): void { self::$document->getDocumentSellerGlobalId($sellerglobalids); @@ -174,9 +141,6 @@ public function testDocumentSellerGlobalId(): void $this->assertEquals("587451236587", $sellerglobalids["0088"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRegistration - */ public function testDocumentSellerTaxRegistration(): void { self::$document->getDocumentSellerTaxRegistration($sellertaxreg); @@ -189,9 +153,6 @@ public function testDocumentSellerTaxRegistration(): void $this->assertEquals("FR32123456789", $sellertaxreg["VA"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerAddress - */ public function testDocumentSellerAddress(): void { self::$document->getDocumentSellerAddress($sellerlineone, $sellerlinetwo, $sellerlinethree, $sellerpostcode, $sellercity, $sellercountry, $sellersubdivision); @@ -205,9 +166,6 @@ public function testDocumentSellerAddress(): void $this->assertEmpty($sellersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerLegalOrganisation - */ public function testDocumentSellerLegalOrganization(): void { self::$document->getDocumentSellerLegalOrganisation($sellerlegalorgid, $sellerlegalorgtype, $sellerlegalorgname); @@ -216,11 +174,6 @@ public function testDocumentSellerLegalOrganization(): void $this->assertEquals("SELLER TRADE NAME", $sellerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentSellerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentSellerContact - */ public function testDocumentSellerContact(): void { $this->assertFalse(self::$document->firstDocumentSellerContact()); @@ -232,9 +185,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyer - */ public function testDocumentBuyerGeneral(): void { self::$document->getDocumentBuyer($buyername, $buyerids, $buyerdescription); @@ -245,9 +195,6 @@ public function testDocumentBuyerGeneral(): void $this->assertEquals("", $buyerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerGlobalId - */ public function testDocumentBuyerGlobalId(): void { self::$document->getDocumentBuyerGlobalId($buyerglobalids); @@ -256,9 +203,6 @@ public function testDocumentBuyerGlobalId(): void $this->assertEquals("3654789851", $buyerglobalids["0088"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerTaxRegistration - */ public function testDocumentBuyerTaxRegistration(): void { self::$document->getDocumentBuyerTaxRegistration($buyertaxreg); @@ -271,9 +215,6 @@ public function testDocumentBuyerTaxRegistration(): void $this->assertEquals("FR 05 987 654 321", $buyertaxreg["VA"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerAddress - */ public function testDocumentBuyerAddress(): void { self::$document->getDocumentBuyerAddress($buyerlineone, $buyerlinetwo, $buyerlinethree, $buyerpostcode, $buyercity, $buyercountry, $buyersubdivision); @@ -287,9 +228,6 @@ public function testDocumentBuyerAddress(): void $this->assertEmpty($buyersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerLegalOrganisation - */ public function testDocumentBuyerLegalOrganization(): void { self::$document->getDocumentBuyerLegalOrganisation($buyerlegalorgid, $buyerlegalorgtype, $buyerlegalorgname); @@ -298,11 +236,6 @@ public function testDocumentBuyerLegalOrganization(): void $this->assertEquals("", $buyerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentBuyerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentBuyerContact - */ public function testDocumentBuyerContact(): void { $this->assertFalse(self::$document->firstDocumentBuyerContact()); @@ -314,9 +247,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentative - */ public function testDocumentSellerTaxRepresentativeGeneral(): void { self::$document->getDocumentSellerTaxRepresentative($sellertaxreprname, $sellertaxreprids, $sellertaxreprdescription); @@ -326,9 +256,6 @@ public function testDocumentSellerTaxRepresentativeGeneral(): void $this->assertEquals("", $sellertaxreprdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeGlobalId - */ public function testDocumentSellerTaxRepresentativeGlobalId(): void { self::$document->getDocumentSellerTaxRepresentativeGlobalId($sellertaxreprglobalids); @@ -336,9 +263,6 @@ public function testDocumentSellerTaxRepresentativeGlobalId(): void $this->assertEmpty($sellertaxreprglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeTaxRegistration - */ public function testDocumentSellerTaxRepresentativeTaxRegistration(): void { self::$document->getDocumentSellerTaxRepresentativeTaxRegistration($sellertaxreprtaxreg); @@ -346,9 +270,6 @@ public function testDocumentSellerTaxRepresentativeTaxRegistration(): void $this->assertEmpty($sellertaxreprtaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeAddress - */ public function testDocumentSellerTaxRepresentativeAddress(): void { self::$document->getDocumentSellerTaxRepresentativeAddress($sellertaxreprlineone, $sellertaxreprlinetwo, $sellertaxreprlinethree, $sellertaxreprpostcode, $sellertaxreprcity, $sellertaxreprcountry, $sellertaxreprsubdivision); @@ -362,9 +283,6 @@ public function testDocumentSellerTaxRepresentativeAddress(): void $this->assertEmpty($sellertaxreprsubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeLegalOrganisation - */ public function testDocumentSellerTaxRepresentativeLegalOrganization(): void { self::$document->getDocumentSellerTaxRepresentativeLegalOrganisation($sellertaxreprlegalorgid, $sellertaxreprlegalorgtype, $sellertaxreprlegalorgname); @@ -373,11 +291,6 @@ public function testDocumentSellerTaxRepresentativeLegalOrganization(): void $this->assertEquals("", $sellertaxreprlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentSellerTaxRepresentativeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentSellerTaxRepresentativeContact - */ public function testDocumentSellerTaxRepresentativeContact(): void { $this->assertFalse(self::$document->firstDocumentSellerTaxRepresentativeContact()); @@ -389,9 +302,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipTo - */ public function testDocumentShipToGeneral(): void { self::$document->getDocumentShipTo($shiptoname, $shiptoids, $shiptodescription); @@ -401,9 +311,6 @@ public function testDocumentShipToGeneral(): void $this->assertEquals("", $shiptodescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToGlobalId - */ public function testDocumentShipToGlobalId(): void { self::$document->getDocumentShipToGlobalId($shiptoglobalids); @@ -412,9 +319,6 @@ public function testDocumentShipToGlobalId(): void $this->assertEquals("3654789851", $shiptoglobalids["0088"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToTaxRegistration - */ public function testDocumentShipToTaxRegistration(): void { self::$document->getDocumentShipToTaxRegistration($shiptotaxreg); @@ -422,9 +326,6 @@ public function testDocumentShipToTaxRegistration(): void $this->assertEmpty($shiptotaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToAddress - */ public function testDocumentShipToAddress(): void { self::$document->getDocumentShipToAddress($shiptolineone, $shiptolinetwo, $shiptolinethree, $shiptopostcode, $shiptocity, $shiptocountry, $shiptosubdivision); @@ -438,9 +339,6 @@ public function testDocumentShipToAddress(): void $this->assertEmpty($shiptosubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToLegalOrganisation - */ public function testDocumentShipToLegalOrganization(): void { self::$document->getDocumentShipToLegalOrganisation($shiptolegalorgid, $shiptolegalorgtype, $shiptolegalorgname); @@ -449,11 +347,6 @@ public function testDocumentShipToLegalOrganization(): void $this->assertEquals("", $shiptolegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentShipToContact - */ public function testDocumentShipToContact(): void { $this->assertFalse(self::$document->firstDocumentShipToContact()); @@ -465,9 +358,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipTo - */ public function testDocumentUltimateShipToGeneral(): void { self::$document->getDocumentUltimateShipTo($ultimateshiptoname, $ultimateshiptoids, $ultimateshiptodescription); @@ -477,9 +367,6 @@ public function testDocumentUltimateShipToGeneral(): void $this->assertEquals("", $ultimateshiptodescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToGlobalId - */ public function testDocumentUltimateShipToGlobalId(): void { self::$document->getDocumentUltimateShipToGlobalId($ultimateshiptoglobalids); @@ -487,9 +374,6 @@ public function testDocumentUltimateShipToGlobalId(): void $this->assertEmpty($ultimateshiptoglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToTaxRegistration - */ public function testDocumentUltimateShipToTaxRegistration(): void { self::$document->getDocumentUltimateShipToTaxRegistration($ultimateshiptotaxreg); @@ -497,9 +381,6 @@ public function testDocumentUltimateShipToTaxRegistration(): void $this->assertEmpty($ultimateshiptotaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToAddress - */ public function testDocumentUltimateShipToAddress(): void { self::$document->getDocumentUltimateShipToAddress($ultimateshiptolineone, $ultimateshiptolinetwo, $ultimateshiptolinethree, $ultimateshiptopostcode, $ultimateshiptocity, $ultimateshiptocountry, $ultimateshiptosubdivision); @@ -513,9 +394,6 @@ public function testDocumentUltimateShipToAddress(): void $this->assertEmpty($ultimateshiptosubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToLegalOrganisation - */ public function testDocumentUltimateShipToLegalOrganization(): void { self::$document->getDocumentUltimateShipToLegalOrganisation($ultimateshiptolegalorgid, $ultimateshiptolegalorgtype, $ultimateshiptolegalorgname); @@ -524,11 +402,6 @@ public function testDocumentUltimateShipToLegalOrganization(): void $this->assertEquals("", $ultimateshiptolegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentUltimateShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentUltimateShipToContact - */ public function testDocumentUltimateShipToContact(): void { $this->assertFalse(self::$document->firstDocumentUltimateShipToContact()); @@ -545,9 +418,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFrom - */ public function testDocumentShipFromGeneral(): void { self::$document->getDocumentShipFrom($shipfromname, $shipfromids, $shipfromdescription); @@ -557,9 +427,6 @@ public function testDocumentShipFromGeneral(): void $this->assertEquals("", $shipfromdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromGlobalId - */ public function testDocumentShipFromGlobalId(): void { self::$document->getDocumentShipFromGlobalId($shipfromglobalids); @@ -567,9 +434,6 @@ public function testDocumentShipFromGlobalId(): void $this->assertEmpty($shipfromglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromTaxRegistration - */ public function testDocumentShipFromTaxRegistration(): void { self::$document->getDocumentShipFromTaxRegistration($shipfromtaxreg); @@ -577,9 +441,6 @@ public function testDocumentShipFromTaxRegistration(): void $this->assertEmpty($shipfromtaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromAddress - */ public function testDocumentShipFromAddress(): void { self::$document->getDocumentShipFromAddress($shipfromlineone, $shipfromlinetwo, $shipfromlinethree, $shipfrompostcode, $shipfromcity, $shipfromcountry, $shipfromsubdivision); @@ -593,9 +454,6 @@ public function testDocumentShipFromAddress(): void $this->assertEmpty($shipfromsubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromLegalOrganisation - */ public function testDocumentShipFromLegalOrganization(): void { self::$document->getDocumentShipFromLegalOrganisation($shipfromlegalorgid, $shipfromlegalorgtype, $shipfromlegalorgname); @@ -604,11 +462,6 @@ public function testDocumentShipFromLegalOrganization(): void $this->assertEquals("", $shipfromlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentShipFromContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentShipFromContact - */ public function testDocumentShipFromContact(): void { $this->assertFalse(self::$document->firstDocumentShipFromContact()); @@ -625,9 +478,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicer - */ public function testDocumentInvoicerGeneral(): void { self::$document->getDocumentInvoicer($invoicername, $invoicerids, $invoicerdescription); @@ -637,9 +487,6 @@ public function testDocumentInvoicerGeneral(): void $this->assertEquals("", $invoicerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerGlobalId - */ public function testDocumentInvoicerGlobalId(): void { self::$document->getDocumentInvoicerGlobalId($invoicerglobalids); @@ -647,9 +494,6 @@ public function testDocumentInvoicerGlobalId(): void $this->assertEmpty($invoicerglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerTaxRegistration - */ public function testDocumentInvoicerTaxRegistration(): void { self::$document->getDocumentInvoicerTaxRegistration($invoicertaxreg); @@ -657,9 +501,6 @@ public function testDocumentInvoicerTaxRegistration(): void $this->assertEmpty($invoicertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerAddress - */ public function testDocumentInvoicerAddress(): void { self::$document->getDocumentInvoicerAddress($invoicerlineone, $invoicerlinetwo, $invoicerlinethree, $invoicerpostcode, $invoicercity, $invoicercountry, $invoicersubdivision); @@ -673,9 +514,6 @@ public function testDocumentInvoicerAddress(): void $this->assertEmpty($invoicersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerLegalOrganisation - */ public function testDocumentInvoicerLegalOrganization(): void { self::$document->getDocumentInvoicerLegalOrganisation($invoicerlegalorgid, $invoicerlegalorgtype, $invoicerlegalorgname); @@ -684,11 +522,6 @@ public function testDocumentInvoicerLegalOrganization(): void $this->assertEquals("", $invoicerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentInvoicerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentInvoicerContact - */ public function testDocumentInvoicerContact(): void { $this->assertFalse(self::$document->firstDocumentInvoicerContact()); @@ -705,9 +538,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicee - */ public function testDocumentInvoiceeGeneral(): void { self::$document->getDocumentInvoicee($invoiceename, $invoiceeids, $invoiceedescription); @@ -717,9 +547,6 @@ public function testDocumentInvoiceeGeneral(): void $this->assertEquals("", $invoiceedescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeGlobalId - */ public function testDocumentInvoiceeGlobalId(): void { self::$document->getDocumentInvoiceeGlobalId($invoiceeglobalids); @@ -727,9 +554,6 @@ public function testDocumentInvoiceeGlobalId(): void $this->assertEmpty($invoiceeglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeTaxRegistration - */ public function testDocumentInvoiceeTaxRegistration(): void { self::$document->getDocumentInvoiceeTaxRegistration($invoiceetaxreg); @@ -737,9 +561,6 @@ public function testDocumentInvoiceeTaxRegistration(): void $this->assertEmpty($invoiceetaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeAddress - */ public function testDocumentInvoiceeAddress(): void { self::$document->getDocumentInvoiceeAddress($invoiceelineone, $invoiceelinetwo, $invoiceelinethree, $invoiceepostcode, $invoiceecity, $invoiceecountry, $invoiceesubdivision); @@ -753,9 +574,6 @@ public function testDocumentInvoiceeAddress(): void $this->assertEmpty($invoiceesubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeLegalOrganisation - */ public function testDocumentInvoiceeLegalOrganization(): void { self::$document->getDocumentInvoiceeLegalOrganisation($invoiceelegalorgid, $invoiceelegalorgtype, $invoiceelegalorgname); @@ -764,11 +582,6 @@ public function testDocumentInvoiceeLegalOrganization(): void $this->assertEquals("", $invoiceelegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentInvoiceeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentInvoiceeContact - */ public function testDocumentInvoiceeContact(): void { $this->assertFalse(self::$document->firstDocumentInvoiceeContact()); @@ -785,9 +598,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayee - */ public function testDocumentPayeeGeneral(): void { self::$document->getDocumentPayee($payeename, $payeeids, $payeedescription); @@ -797,9 +607,6 @@ public function testDocumentPayeeGeneral(): void $this->assertEquals("", $payeedescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeGlobalId - */ public function testDocumentPayeeGlobalId(): void { self::$document->getDocumentPayeeGlobalId($payeeglobalids); @@ -807,9 +614,6 @@ public function testDocumentPayeeGlobalId(): void $this->assertEmpty($payeeglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeTaxRegistration - */ public function testDocumentPayeeTaxRegistration(): void { self::$document->getDocumentPayeeTaxRegistration($payeetaxreg); @@ -817,9 +621,6 @@ public function testDocumentPayeeTaxRegistration(): void $this->assertEmpty($payeetaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeAddress - */ public function testDocumentPayeeAddress(): void { self::$document->getDocumentPayeeAddress($payeelineone, $payeelinetwo, $payeelinethree, $payeepostcode, $payeecity, $payeecountry, $payeesubdivision); @@ -833,9 +634,6 @@ public function testDocumentPayeeAddress(): void $this->assertEmpty($payeesubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeLegalOrganisation - */ public function testDocumentPayeeLegalOrganization(): void { self::$document->getDocumentPayeeLegalOrganisation($payeelegalorgid, $payeelegalorgtype, $payeelegalorgname); @@ -844,11 +642,6 @@ public function testDocumentPayeeLegalOrganization(): void $this->assertEquals("", $payeelegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPayeeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPayeeContact - */ public function testDocumentPayeeContact(): void { $this->assertFalse(self::$document->firstDocumentPayeeContact()); @@ -865,9 +658,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUser - */ public function testDocumentProductEndUserGeneral(): void { self::$document->getDocumentProductEndUser($producendusername, $producenduserids, $producenduserdescription); @@ -878,9 +668,6 @@ public function testDocumentProductEndUserGeneral(): void $this->assertEquals("", $producenduserdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserGlobalId - */ public function testDocumentProductEndUserGlobalId(): void { self::$document->getDocumentProductEndUserGlobalId($producenduserglobalids); @@ -888,9 +675,6 @@ public function testDocumentProductEndUserGlobalId(): void $this->assertArrayNotHasKey("0088", $producenduserglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserTaxRegistration - */ public function testDocumentProductEndUserTaxRegistration(): void { self::$document->getDocumentProductEndUserTaxRegistration($producendusertaxreg); @@ -902,9 +686,6 @@ public function testDocumentProductEndUserTaxRegistration(): void $this->assertArrayNotHasKey("ZZ", $producendusertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserAddress - */ public function testDocumentProductEndUserAddress(): void { self::$document->getDocumentProductEndUserAddress($producenduserlineone, $producenduserlinetwo, $producenduserlinethree, $producenduserpostcode, $producendusercity, $producendusercountry, $producendusersubdivision); @@ -918,9 +699,6 @@ public function testDocumentProductEndUserAddress(): void $this->assertEmpty($producendusersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserLegalOrganisation - */ public function testDocumentProductEndUserLegalOrganization(): void { self::$document->getDocumentProductEndUserLegalOrganisation($producenduserlegalorgid, $producenduserlegalorgtype, $producenduserlegalorgname); @@ -929,11 +707,6 @@ public function testDocumentProductEndUserLegalOrganization(): void $this->assertEquals("", $producenduserlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentProductEndUserContactContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentProductEndUserContactContact - */ public function testDocumentProductEndUserContact(): void { $this->assertFalse(self::$document->firstDocumentProductEndUserContactContact()); @@ -945,9 +718,6 @@ function () { $this->assertFalse(self::$document->nextDocumentProductEndUserContactContact()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerOrderReferencedDocument - */ public function testDocumentSellerOrderReferencedDocument(): void { self::$document->getDocumentSellerOrderReferencedDocument($sellerorderrefdocid, $sellerorderrefdocdate); @@ -955,9 +725,6 @@ public function testDocumentSellerOrderReferencedDocument(): void $this->assertNull($sellerorderrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerOrderReferencedDocument - */ public function testDocumentBuyerOrderReferencedDocument(): void { self::$document->getDocumentBuyerOrderReferencedDocument($buyerorderrefdocid, $buyerorderrefdocdate); @@ -965,9 +732,6 @@ public function testDocumentBuyerOrderReferencedDocument(): void $this->assertNull($buyerorderrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentContractReferencedDocument - */ public function testDocumentContractReferencedDocument(): void { self::$document->getDocumentContractReferencedDocument($contractrefdocid, $contractrefdocdate); @@ -975,9 +739,6 @@ public function testDocumentContractReferencedDocument(): void $this->assertNull($contractrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAdditionalReferencedDocuments - */ public function testDocumentAdditionalReferencedDocuments(): void { self::$document->getDocumentAdditionalReferencedDocuments($additionalrefdocs); @@ -991,9 +752,6 @@ public function testDocumentAdditionalReferencedDocuments(): void $this->assertEquals("916", $additionalrefdocs[0]["TypeCode"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProcuringProject - */ public function testDocumentProcuringProject(): void { self::$document->getDocumentProcuringProject($projectid, $projectname); @@ -1001,9 +759,6 @@ public function testDocumentProcuringProject(): void $this->assertEquals("Project reference", $projectname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSupplyChainEvent - */ public function testDocumentSupplyChainEvent(): void { self::$document->getDocumentSupplyChainEvent($supplychainevent); @@ -1012,9 +767,6 @@ public function testDocumentSupplyChainEvent(): void $this->assertEquals((\DateTime::createFromFormat('Ymd', '20200115'))->format('Ymd'), $supplychainevent->format('Ymd')); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDespatchAdviceReferencedDocument - */ public function testDocumentDespatchAdviceReferencedDocument(): void { self::$document->getDocumentDespatchAdviceReferencedDocument($despatchdocid, $despatchdocdate); @@ -1023,9 +775,6 @@ public function testDocumentDespatchAdviceReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $despatchdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentReceivingAdviceReferencedDocument - */ public function testDocumentReceivingAdviceReferencedDocument(): void { self::$document->getDocumentReceivingAdviceReferencedDocument($recadvid, $recadvdate); @@ -1034,9 +783,6 @@ public function testDocumentReceivingAdviceReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $recadvdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDeliveryNoteReferencedDocument - */ public function testDocumentDeliveryNoteReferencedDocument(): void { self::$document->getDocumentDeliveryNoteReferencedDocument($deliverynoterefdocid, $deliverynoterefdocdate); @@ -1045,9 +791,6 @@ public function testDocumentDeliveryNoteReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $deliverynoterefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBillingPeriod - */ public function testDocumentBillingPeriod(): void { self::$document->getDocumentBillingPeriod($docbillingperiodstart, $docbillingperiodend); @@ -1057,9 +800,6 @@ public function testDocumentBillingPeriod(): void $this->assertEquals((\DateTime::createFromFormat('Ymd', '20191231'))->format('Ymd'), $docbillingperiodend->format('Ymd')); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAllowanceCharges - */ public function testDocumentAllowanceCharges(): void { self::$document->getDocumentAllowanceCharges($docallowancecharge); @@ -1068,9 +808,6 @@ public function testDocumentAllowanceCharges(): void $this->assertEquals(2, count($docallowancecharge)); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentTerms - */ public function testDocumentPaymentTerms(): void { self::$document->getDocumentPaymentTerms($docpaymentterms); @@ -1089,19 +826,12 @@ public function testDocumentPaymentTerms(): void $this->assertEquals(0.0, $docpaymentterms[0]["partialpaymentamount"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDeliveryTerms - */ public function testDocumentDeliveryTerms(): void { self::$document->getDocumentDeliveryTerms($devtermcode); $this->assertEquals("", $devtermcode); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAdditionalReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentAdditionalReferencedDocument - */ public function testDocumentAdditionalReferencedDocumentLoop(): void { $this->assertTrue(self::$document->firstDocumentAdditionalReferencedDocument()); @@ -1110,10 +840,6 @@ public function testDocumentAdditionalReferencedDocumentLoop(): void $this->assertFalse(self::$document->nextDocumentAdditionalReferencedDocument()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAdditionalReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAdditionalReferencedDocument - */ public function testGetDocumentAdditionalReferencedDocument(): void { $this->assertTrue(self::$document->firstDocumentAdditionalReferencedDocument()); @@ -1129,30 +855,18 @@ public function testGetDocumentAdditionalReferencedDocument(): void $this->assertEquals("", $binarydatafilename); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentUltimateCustomerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentUltimateCustomerOrderReferencedDocument - */ public function testDocumentUltimateCustomerOrderReferencedDocumentLoop(): void { $this->assertFalse(self::$document->firstDocumentUltimateCustomerOrderReferencedDocument()); $this->assertFalse(self::$document->nextDocumentUltimateCustomerOrderReferencedDocument()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstGetDocumentPaymentMeans - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextGetDocumentPaymentMeans - */ public function testDocumentPaymentMeansLoop(): void { $this->assertTrue(self::$document->firstGetDocumentPaymentMeans()); $this->assertFalse(self::$document->nextGetDocumentPaymentMeans()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstGetDocumentPaymentMeans - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentMeans - */ public function testGetDocumentPaymentMeans(): void { $this->assertTrue(self::$document->firstGetDocumentPaymentMeans()); @@ -1169,21 +883,12 @@ public function testGetDocumentPaymentMeans(): void $this->assertEquals("", $payeeBic); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentTax - */ public function testDocumentTaxLoop(): void { $this->assertTrue(self::$document->firstDocumentTax()); $this->assertFalse(self::$document->nextDocumentTax()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentTax - */ public function testDocumentTax(): void { $this->assertTrue(self::$document->firstDocumentTax()); @@ -1196,10 +901,6 @@ public function testDocumentTax(): void $this->assertEquals(0.0, $allowanceChargeBasisAmount); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentAllowanceCharge - */ public function testtDocumentAllowanceChargeLoop(): void { $this->assertTrue(self::$document->firstDocumentAllowanceCharge()); @@ -1208,10 +909,6 @@ public function testtDocumentAllowanceChargeLoop(): void } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAllowanceCharge - */ public function testtDocumentAllowanceCharge(): void { $this->assertTrue(self::$document->firstDocumentAllowanceCharge()); @@ -1245,32 +942,18 @@ public function testtDocumentAllowanceCharge(): void $this->assertEquals("FRAIS DEPLACEMENT", $reason); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentLogisticsServiceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentLogisticsServiceCharge - */ public function testtDocumentLogisticsServiceChargeLoop(): void { $this->assertFalse(self::$document->firstDocumentLogisticsServiceCharge()); $this->assertFalse(self::$document->nextDocumentLogisticsServiceCharge()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPaymentTerms - */ public function testtDocumentPaymentTermsLoop(): void { $this->assertTrue(self::$document->firstDocumentPaymentTerms()); $this->assertFalse(self::$document->nextDocumentPaymentTerms()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentTerm - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDiscountTermsFromPaymentTerm - */ public function testtDocumentPaymentTerms(): void { $this->assertTrue(self::$document->firstDocumentPaymentTerms()); @@ -1291,10 +974,6 @@ public function testtDocumentPaymentTerms(): void $this->assertFalse(self::$document->nextDocumentPaymentTerms()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - */ public function testDocumentPositionLoop(): void { $this->assertTrue(self::$document->firstDocumentPosition()); @@ -1303,30 +982,6 @@ public function testDocumentPositionLoop(): void $this->assertFalse(self::$document->nextDocumentPosition()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionFirst(): void { $this->assertTrue(self::$document->firstDocumentPosition()); @@ -1427,30 +1082,6 @@ public function testDocumentPositionFirst(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionSecond(): void { $this->assertTrue(self::$document->nextDocumentPosition()); @@ -1550,31 +1181,6 @@ public function testDocumentPositionSecond(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionThird(): void { $this->assertTrue(self::$document->nextDocumentPosition()); @@ -1674,10 +1280,6 @@ public function testDocumentPositionThird(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionAdditionalReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionAdditionalReferencedDocument - */ public function testDocumentPositionAdditionalReferencedDocument(): void { $this->assertFalse(self::$document->firstDocumentPositionAdditionalReferencedDocument()); diff --git a/tests/testcases/ReaderExtendedTest.php b/tests/testcases/ReaderExtendedTest.php index b26a91db..46974f0b 100644 --- a/tests/testcases/ReaderExtendedTest.php +++ b/tests/testcases/ReaderExtendedTest.php @@ -27,12 +27,6 @@ public function testDocumentProfile(): void $this->assertEquals(ZugferdProfiles::PROFILE_EXTENDED, self::$document->getProfileId()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getInvoiceObject - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getSerializer - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getObjectHelper - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getProfileDefinitionParameter - */ public function testDocumentGetters(): void { $this->assertNotNull(self::$document->getInvoiceObject()); @@ -50,9 +44,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInformation - */ public function testDocumentGenerals(): void { self::$document->getDocumentInformation($documentno, $documenttypecode, $documentdate, $invoiceCurrency, $taxCurrency, $documentname, $documentlanguage, $effectiveSpecifiedPeriod); @@ -67,9 +58,6 @@ public function testDocumentGenerals(): void $this->assertNull($effectiveSpecifiedPeriod); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentNotes - */ public function testDocumentNotes(): void { self::$document->getDocumentNotes($notes); @@ -115,9 +103,6 @@ public function testDocumentNotes(): void $this->assertStringContainsString("GLN 4304171000002", $notes[2]["content"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentGeneralPaymentInformation - */ public function testDocumentGeneralPaymentInformation(): void { self::$document->getDocumentGeneralPaymentInformation($creditorReferenceID, $paymentReference); @@ -125,27 +110,18 @@ public function testDocumentGeneralPaymentInformation(): void $this->assertEquals("", $paymentReference); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getIsDocumentCopy - */ public function testDocumentIsCopy(): void { self::$document->getIsDocumentCopy($iscopy); $this->assertFalse($iscopy); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getIsTestDocument - */ public function testDocumentIsTestDocument(): void { self::$document->getIsTestDocument($istest); $this->assertTrue($istest); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSummation - */ public function testDocumentSummation(): void { self::$document->getDocumentSummation($grandTotalAmount, $duePayableAmount, $lineTotalAmount, $chargeTotalAmount, $allowanceTotalAmount, $taxBasisTotalAmount, $taxTotalAmount, $roundingAmount, $totalPrepaidAmount); @@ -160,18 +136,12 @@ public function testDocumentSummation(): void $this->assertEquals(0.00, $totalPrepaidAmount); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerReference - */ public function testGetDocumentBuyerReference(): void { self::$document->getDocumentBuyerReference($buyerReference); $this->assertEquals("08154712", $buyerReference); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSeller - */ public function testDocumentSellerGeneral(): void { self::$document->getDocumentSeller($sellername, $sellerids, $sellerdescription); @@ -183,9 +153,6 @@ public function testDocumentSellerGeneral(): void $this->assertEquals("", $sellerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerGlobalId - */ public function testDocumentSellerGlobalId(): void { self::$document->getDocumentSellerGlobalId($sellerglobalids); @@ -194,9 +161,6 @@ public function testDocumentSellerGlobalId(): void $this->assertEquals("4333741000005", $sellerglobalids["0088"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRegistration - */ public function testDocumentSellerTaxRegistration(): void { self::$document->getDocumentSellerTaxRegistration($sellertaxreg); @@ -209,9 +173,6 @@ public function testDocumentSellerTaxRegistration(): void $this->assertEquals("201/113/40209", $sellertaxreg["FC"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerAddress - */ public function testDocumentSellerAddress(): void { self::$document->getDocumentSellerAddress($sellerlineone, $sellerlinetwo, $sellerlinethree, $sellerpostcode, $sellercity, $sellercountry, $sellersubdivision); @@ -225,9 +186,6 @@ public function testDocumentSellerAddress(): void $this->assertEmpty($sellersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerLegalOrganisation - */ public function testDocumentSellerLegalOrganization(): void { self::$document->getDocumentSellerLegalOrganisation($sellerlegalorgid, $sellerlegalorgtype, $sellerlegalorgname); @@ -236,11 +194,6 @@ public function testDocumentSellerLegalOrganization(): void $this->assertEquals("", $sellerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentSellerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentSellerContact - */ public function testDocumentSellerContact(): void { $this->assertTrue(self::$document->firstDocumentSellerContact()); @@ -253,9 +206,6 @@ public function testDocumentSellerContact(): void $this->assertFalse(self::$document->nextDocumentSellerContact()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyer - */ public function testDocumentBuyerGeneral(): void { self::$document->getDocumentBuyer($buyername, $buyerids, $buyerdescription); @@ -267,9 +217,6 @@ public function testDocumentBuyerGeneral(): void $this->assertEquals("", $buyerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerGlobalId - */ public function testDocumentBuyerGlobalId(): void { self::$document->getDocumentBuyerGlobalId($buyerglobalids); @@ -278,9 +225,6 @@ public function testDocumentBuyerGlobalId(): void $this->assertEquals("4304171000002", $buyerglobalids["0088"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerTaxRegistration - */ public function testDocumentBuyerTaxRegistration(): void { self::$document->getDocumentBuyerTaxRegistration($buyertaxreg); @@ -288,9 +232,6 @@ public function testDocumentBuyerTaxRegistration(): void $this->assertEmpty($buyertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerAddress - */ public function testDocumentBuyerAddress(): void { self::$document->getDocumentBuyerAddress($buyerlineone, $buyerlinetwo, $buyerlinethree, $buyerpostcode, $buyercity, $buyercountry, $buyersubdivision); @@ -304,9 +245,6 @@ public function testDocumentBuyerAddress(): void $this->assertEmpty($buyersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerLegalOrganisation - */ public function testDocumentBuyerLegalOrganization(): void { self::$document->getDocumentBuyerLegalOrganisation($buyerlegalorgid, $buyerlegalorgtype, $buyerlegalorgname); @@ -315,11 +253,6 @@ public function testDocumentBuyerLegalOrganization(): void $this->assertEquals("", $buyerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentBuyerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentBuyerContact - */ public function testDocumentBuyerContact(): void { $this->assertFalse(self::$document->firstDocumentBuyerContact()); @@ -331,9 +264,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentative - */ public function testDocumentSellerTaxRepresentativeGeneral(): void { self::$document->getDocumentSellerTaxRepresentative($sellertaxreprname, $sellertaxreprids, $sellertaxreprdescription); @@ -343,9 +273,6 @@ public function testDocumentSellerTaxRepresentativeGeneral(): void $this->assertEquals("", $sellertaxreprdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeGlobalId - */ public function testDocumentSellerTaxRepresentativeGlobalId(): void { self::$document->getDocumentSellerTaxRepresentativeGlobalId($sellertaxreprglobalids); @@ -353,9 +280,6 @@ public function testDocumentSellerTaxRepresentativeGlobalId(): void $this->assertEmpty($sellertaxreprglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeTaxRegistration - */ public function testDocumentSellerTaxRepresentativeTaxRegistration(): void { self::$document->getDocumentSellerTaxRepresentativeTaxRegistration($sellertaxreprtaxreg); @@ -363,9 +287,6 @@ public function testDocumentSellerTaxRepresentativeTaxRegistration(): void $this->assertEmpty($sellertaxreprtaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeAddress - */ public function testDocumentSellerTaxRepresentativeAddress(): void { self::$document->getDocumentSellerTaxRepresentativeAddress($sellertaxreprlineone, $sellertaxreprlinetwo, $sellertaxreprlinethree, $sellertaxreprpostcode, $sellertaxreprcity, $sellertaxreprcountry, $sellertaxreprsubdivision); @@ -379,9 +300,6 @@ public function testDocumentSellerTaxRepresentativeAddress(): void $this->assertEmpty($sellertaxreprsubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeLegalOrganisation - */ public function testDocumentSellerTaxRepresentativeLegalOrganization(): void { self::$document->getDocumentSellerTaxRepresentativeLegalOrganisation($sellertaxreprlegalorgid, $sellertaxreprlegalorgtype, $sellertaxreprlegalorgname); @@ -390,11 +308,6 @@ public function testDocumentSellerTaxRepresentativeLegalOrganization(): void $this->assertEquals("", $sellertaxreprlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentSellerTaxRepresentativeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentSellerTaxRepresentativeContact - */ public function testDocumentSellerTaxRepresentativeContact(): void { $this->assertFalse(self::$document->firstDocumentSellerTaxRepresentativeContact()); @@ -406,9 +319,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipTo - */ public function testDocumentShipToGeneral(): void { self::$document->getDocumentShipTo($shiptoname, $shiptoids, $shiptodescription); @@ -418,9 +328,6 @@ public function testDocumentShipToGeneral(): void $this->assertEquals("", $shiptodescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToGlobalId - */ public function testDocumentShipToGlobalId(): void { self::$document->getDocumentShipToGlobalId($shiptoglobalids); @@ -428,9 +335,6 @@ public function testDocumentShipToGlobalId(): void $this->assertArrayHasKey("0088", $shiptoglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToTaxRegistration - */ public function testDocumentShipToTaxRegistration(): void { self::$document->getDocumentShipToTaxRegistration($shiptotaxreg); @@ -438,9 +342,6 @@ public function testDocumentShipToTaxRegistration(): void $this->assertEmpty($shiptotaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToAddress - */ public function testDocumentShipToAddress(): void { self::$document->getDocumentShipToAddress($shiptolineone, $shiptolinetwo, $shiptolinethree, $shiptopostcode, $shiptocity, $shiptocountry, $shiptosubdivision); @@ -454,9 +355,6 @@ public function testDocumentShipToAddress(): void $this->assertEmpty($shiptosubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToLegalOrganisation - */ public function testDocumentShipToLegalOrganization(): void { self::$document->getDocumentShipToLegalOrganisation($shiptolegalorgid, $shiptolegalorgtype, $shiptolegalorgname); @@ -465,11 +363,6 @@ public function testDocumentShipToLegalOrganization(): void $this->assertEquals("", $shiptolegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentShipToContact - */ public function testDocumentShipToContact(): void { $this->assertTrue(self::$document->firstDocumentShipToContact()); @@ -482,9 +375,6 @@ public function testDocumentShipToContact(): void $this->assertFalse(self::$document->nextDocumentShipToContact()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipTo - */ public function testDocumentUltimateShipToGeneral(): void { self::$document->getDocumentUltimateShipTo($ultimateshiptoname, $ultimateshiptoids, $ultimateshiptodescription); @@ -494,9 +384,6 @@ public function testDocumentUltimateShipToGeneral(): void $this->assertEquals("", $ultimateshiptodescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToGlobalId - */ public function testDocumentUltimateShipToGlobalId(): void { self::$document->getDocumentUltimateShipToGlobalId($ultimateshiptoglobalids); @@ -504,9 +391,6 @@ public function testDocumentUltimateShipToGlobalId(): void $this->assertEmpty($ultimateshiptoglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToTaxRegistration - */ public function testDocumentUltimateShipToTaxRegistration(): void { self::$document->getDocumentUltimateShipToTaxRegistration($ultimateshiptotaxreg); @@ -514,9 +398,6 @@ public function testDocumentUltimateShipToTaxRegistration(): void $this->assertEmpty($ultimateshiptotaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToAddress - */ public function testDocumentUltimateShipToAddress(): void { self::$document->getDocumentUltimateShipToAddress($ultimateshiptolineone, $ultimateshiptolinetwo, $ultimateshiptolinethree, $ultimateshiptopostcode, $ultimateshiptocity, $ultimateshiptocountry, $ultimateshiptosubdivision); @@ -530,9 +411,6 @@ public function testDocumentUltimateShipToAddress(): void $this->assertEmpty($ultimateshiptosubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToLegalOrganisation - */ public function testDocumentUltimateShipToLegalOrganization(): void { self::$document->getDocumentUltimateShipToLegalOrganisation($ultimateshiptolegalorgid, $ultimateshiptolegalorgtype, $ultimateshiptolegalorgname); @@ -541,11 +419,6 @@ public function testDocumentUltimateShipToLegalOrganization(): void $this->assertEquals("", $ultimateshiptolegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentUltimateShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentUltimateShipToContact - */ public function testDocumentUltimateShipToContact(): void { $this->assertFalse(self::$document->firstDocumentUltimateShipToContact()); @@ -562,9 +435,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFrom - */ public function testDocumentShipFromGeneral(): void { self::$document->getDocumentShipFrom($shipfromname, $shipfromids, $shipfromdescription); @@ -574,9 +444,6 @@ public function testDocumentShipFromGeneral(): void $this->assertEquals("", $shipfromdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromGlobalId - */ public function testDocumentShipFromGlobalId(): void { self::$document->getDocumentShipFromGlobalId($shipfromglobalids); @@ -584,9 +451,6 @@ public function testDocumentShipFromGlobalId(): void $this->assertEmpty($shipfromglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromTaxRegistration - */ public function testDocumentShipFromTaxRegistration(): void { self::$document->getDocumentShipFromTaxRegistration($shipfromtaxreg); @@ -594,9 +458,6 @@ public function testDocumentShipFromTaxRegistration(): void $this->assertEmpty($shipfromtaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromAddress - */ public function testDocumentShipFromAddress(): void { self::$document->getDocumentShipFromAddress($shipfromlineone, $shipfromlinetwo, $shipfromlinethree, $shipfrompostcode, $shipfromcity, $shipfromcountry, $shipfromsubdivision); @@ -610,9 +471,6 @@ public function testDocumentShipFromAddress(): void $this->assertEmpty($shipfromsubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromLegalOrganisation - */ public function testDocumentShipFromLegalOrganization(): void { self::$document->getDocumentShipFromLegalOrganisation($shipfromlegalorgid, $shipfromlegalorgtype, $shipfromlegalorgname); @@ -621,11 +479,6 @@ public function testDocumentShipFromLegalOrganization(): void $this->assertEquals("", $shipfromlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentShipFromContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentShipFromContact - */ public function testDocumentShipFromContact(): void { $this->assertFalse(self::$document->firstDocumentShipFromContact()); @@ -642,9 +495,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicer - */ public function testDocumentInvoicerGeneral(): void { self::$document->getDocumentInvoicer($invoicername, $invoicerids, $invoicerdescription); @@ -654,9 +504,6 @@ public function testDocumentInvoicerGeneral(): void $this->assertEquals("", $invoicerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerGlobalId - */ public function testDocumentInvoicerGlobalId(): void { self::$document->getDocumentInvoicerGlobalId($invoicerglobalids); @@ -664,9 +511,6 @@ public function testDocumentInvoicerGlobalId(): void $this->assertEmpty($invoicerglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerTaxRegistration - */ public function testDocumentInvoicerTaxRegistration(): void { self::$document->getDocumentInvoicerTaxRegistration($invoicertaxreg); @@ -674,9 +518,6 @@ public function testDocumentInvoicerTaxRegistration(): void $this->assertEmpty($invoicertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerAddress - */ public function testDocumentInvoicerAddress(): void { self::$document->getDocumentInvoicerAddress($invoicerlineone, $invoicerlinetwo, $invoicerlinethree, $invoicerpostcode, $invoicercity, $invoicercountry, $invoicersubdivision); @@ -690,9 +531,6 @@ public function testDocumentInvoicerAddress(): void $this->assertEmpty($invoicersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerLegalOrganisation - */ public function testDocumentInvoicerLegalOrganization(): void { self::$document->getDocumentInvoicerLegalOrganisation($invoicerlegalorgid, $invoicerlegalorgtype, $invoicerlegalorgname); @@ -701,11 +539,6 @@ public function testDocumentInvoicerLegalOrganization(): void $this->assertEquals("", $invoicerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentInvoicerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentInvoicerContact - */ public function testDocumentInvoicerContact(): void { $this->assertFalse(self::$document->firstDocumentInvoicerContact()); @@ -722,9 +555,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicee - */ public function testDocumentInvoiceeGeneral(): void { self::$document->getDocumentInvoicee($invoiceename, $invoiceeids, $invoiceedescription); @@ -735,9 +565,6 @@ public function testDocumentInvoiceeGeneral(): void $this->assertEquals("", $invoiceedescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeGlobalId - */ public function testDocumentInvoiceeGlobalId(): void { self::$document->getDocumentInvoiceeGlobalId($invoiceeglobalids); @@ -747,9 +574,6 @@ public function testDocumentInvoiceeGlobalId(): void $this->assertEquals("4304171000002", $invoiceeglobalids["0088"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeTaxRegistration - */ public function testDocumentInvoiceeTaxRegistration(): void { self::$document->getDocumentInvoiceeTaxRegistration($invoiceetaxreg); @@ -757,9 +581,6 @@ public function testDocumentInvoiceeTaxRegistration(): void $this->assertEmpty($invoiceetaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeAddress - */ public function testDocumentInvoiceeAddress(): void { self::$document->getDocumentInvoiceeAddress($invoiceelineone, $invoiceelinetwo, $invoiceelinethree, $invoiceepostcode, $invoiceecity, $invoiceecountry, $invoiceesubdivision); @@ -773,9 +594,6 @@ public function testDocumentInvoiceeAddress(): void $this->assertEmpty($invoiceesubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeLegalOrganisation - */ public function testDocumentInvoiceeLegalOrganization(): void { self::$document->getDocumentInvoiceeLegalOrganisation($invoiceelegalorgid, $invoiceelegalorgtype, $invoiceelegalorgname); @@ -784,11 +602,6 @@ public function testDocumentInvoiceeLegalOrganization(): void $this->assertEquals("", $invoiceelegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentInvoiceeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentInvoiceeContact - */ public function testDocumentInvoiceeContact(): void { $this->assertFalse(self::$document->firstDocumentInvoiceeContact()); @@ -805,9 +618,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayee - */ public function testDocumentPayeeGeneral(): void { self::$document->getDocumentPayee($payeename, $payeeids, $payeedescription); @@ -817,9 +627,6 @@ public function testDocumentPayeeGeneral(): void $this->assertEquals("", $payeedescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeGlobalId - */ public function testDocumentPayeeGlobalId(): void { self::$document->getDocumentPayeeGlobalId($payeeglobalids); @@ -827,9 +634,6 @@ public function testDocumentPayeeGlobalId(): void $this->assertEmpty($payeeglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeTaxRegistration - */ public function testDocumentPayeeTaxRegistration(): void { self::$document->getDocumentPayeeTaxRegistration($payeetaxreg); @@ -837,9 +641,6 @@ public function testDocumentPayeeTaxRegistration(): void $this->assertEmpty($payeetaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeAddress - */ public function testDocumentPayeeAddress(): void { self::$document->getDocumentPayeeAddress($payeelineone, $payeelinetwo, $payeelinethree, $payeepostcode, $payeecity, $payeecountry, $payeesubdivision); @@ -853,9 +654,6 @@ public function testDocumentPayeeAddress(): void $this->assertEmpty($payeesubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeLegalOrganisation - */ public function testDocumentPayeeLegalOrganization(): void { self::$document->getDocumentPayeeLegalOrganisation($payeelegalorgid, $payeelegalorgtype, $payeelegalorgname); @@ -864,11 +662,6 @@ public function testDocumentPayeeLegalOrganization(): void $this->assertEquals("", $payeelegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPayeeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPayeeContact - */ public function testDocumentPayeeContact(): void { $this->assertFalse(self::$document->firstDocumentPayeeContact()); @@ -885,9 +678,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUser - */ public function testDocumentProductEndUserGeneral(): void { self::$document->getDocumentProductEndUser($producendusername, $producenduserids, $producenduserdescription); @@ -898,9 +688,6 @@ public function testDocumentProductEndUserGeneral(): void $this->assertEquals("", $producenduserdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserGlobalId - */ public function testDocumentProductEndUserGlobalId(): void { self::$document->getDocumentProductEndUserGlobalId($producenduserglobalids); @@ -908,9 +695,6 @@ public function testDocumentProductEndUserGlobalId(): void $this->assertArrayNotHasKey("0088", $producenduserglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserTaxRegistration - */ public function testDocumentProductEndUserTaxRegistration(): void { self::$document->getDocumentProductEndUserTaxRegistration($producendusertaxreg); @@ -922,9 +706,6 @@ public function testDocumentProductEndUserTaxRegistration(): void $this->assertArrayNotHasKey("ZZ", $producendusertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserAddress - */ public function testDocumentProductEndUserAddress(): void { self::$document->getDocumentProductEndUserAddress($producenduserlineone, $producenduserlinetwo, $producenduserlinethree, $producenduserpostcode, $producendusercity, $producendusercountry, $producendusersubdivision); @@ -938,9 +719,6 @@ public function testDocumentProductEndUserAddress(): void $this->assertEmpty($producendusersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserLegalOrganisation - */ public function testDocumentProductEndUserLegalOrganization(): void { self::$document->getDocumentProductEndUserLegalOrganisation($producenduserlegalorgid, $producenduserlegalorgtype, $producenduserlegalorgname); @@ -949,11 +727,6 @@ public function testDocumentProductEndUserLegalOrganization(): void $this->assertEquals("", $producenduserlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentProductEndUserContactContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentProductEndUserContactContact - */ public function testDocumentProductEndUserContact(): void { $this->assertFalse(self::$document->firstDocumentProductEndUserContactContact()); @@ -965,9 +738,6 @@ function () { $this->assertFalse(self::$document->nextDocumentProductEndUserContactContact()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerOrderReferencedDocument - */ public function testDocumentSellerOrderReferencedDocument(): void { self::$document->getDocumentSellerOrderReferencedDocument($sellerorderrefdocid, $sellerorderrefdocdate); @@ -975,9 +745,6 @@ public function testDocumentSellerOrderReferencedDocument(): void $this->assertNull($sellerorderrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerOrderReferencedDocument - */ public function testDocumentBuyerOrderReferencedDocument(): void { self::$document->getDocumentBuyerOrderReferencedDocument($buyerorderrefdocid, $buyerorderrefdocdate); @@ -985,9 +752,6 @@ public function testDocumentBuyerOrderReferencedDocument(): void $this->assertNull($buyerorderrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentContractReferencedDocument - */ public function testDocumentContractReferencedDocument(): void { self::$document->getDocumentContractReferencedDocument($contractrefdocid, $contractrefdocdate); @@ -995,9 +759,6 @@ public function testDocumentContractReferencedDocument(): void $this->assertNull($contractrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAdditionalReferencedDocuments - */ public function testDocumentAdditionalReferencedDocuments(): void { self::$document->getDocumentAdditionalReferencedDocuments($additionalrefdocs); @@ -1011,9 +772,6 @@ public function testDocumentAdditionalReferencedDocuments(): void $this->assertEquals("130", $additionalrefdocs[0]["TypeCode"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProcuringProject - */ public function testDocumentProcuringProject(): void { self::$document->getDocumentProcuringProject($projectid, $projectname); @@ -1021,9 +779,6 @@ public function testDocumentProcuringProject(): void $this->assertEquals("", $projectname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSupplyChainEvent - */ public function testDocumentSupplyChainEvent(): void { self::$document->getDocumentSupplyChainEvent($supplychainevent); @@ -1032,9 +787,6 @@ public function testDocumentSupplyChainEvent(): void $this->assertEquals((\DateTime::createFromFormat('Ymd', '20180930'))->format('Ymd'), $supplychainevent->format('Ymd')); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDespatchAdviceReferencedDocument - */ public function testDocumentDespatchAdviceReferencedDocument(): void { self::$document->getDocumentDespatchAdviceReferencedDocument($despatchdocid, $despatchdocdate); @@ -1043,9 +795,6 @@ public function testDocumentDespatchAdviceReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $despatchdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentReceivingAdviceReferencedDocument - */ public function testDocumentReceivingAdviceReferencedDocument(): void { self::$document->getDocumentReceivingAdviceReferencedDocument($recadvid, $recadvdate); @@ -1054,9 +803,6 @@ public function testDocumentReceivingAdviceReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $recadvdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDeliveryNoteReferencedDocument - */ public function testDocumentDeliveryNoteReferencedDocument(): void { self::$document->getDocumentDeliveryNoteReferencedDocument($deliverynoterefdocid, $deliverynoterefdocdate); @@ -1065,9 +811,6 @@ public function testDocumentDeliveryNoteReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $deliverynoterefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBillingPeriod - */ public function testDocumentBillingPeriod(): void { self::$document->getDocumentBillingPeriod($docbillingperiodstart, $docbillingperiodend); @@ -1077,9 +820,6 @@ public function testDocumentBillingPeriod(): void $this->assertNotInstanceOf("DateTime", $docbillingperiodend); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAllowanceCharges - */ public function testDocumentAllowanceCharges(): void { self::$document->getDocumentAllowanceCharges($docallowancecharge); @@ -1088,9 +828,6 @@ public function testDocumentAllowanceCharges(): void $this->assertEquals(1, count($docallowancecharge)); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentTerms - */ public function testDocumentPaymentTerms(): void { self::$document->getDocumentPaymentTerms($docpaymentterms); @@ -1109,29 +846,18 @@ public function testDocumentPaymentTerms(): void $this->assertEquals(0.0, $docpaymentterms[0]["partialpaymentamount"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDeliveryTerms - */ public function testDocumentDeliveryTerms(): void { self::$document->getDocumentDeliveryTerms($devtermcode); $this->assertEquals("", $devtermcode); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAdditionalReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentAdditionalReferencedDocument - */ public function testDocumentAdditionalReferencedDocumentLoop(): void { $this->assertTrue(self::$document->firstDocumentAdditionalReferencedDocument()); $this->assertFalse(self::$document->nextDocumentAdditionalReferencedDocument()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAdditionalReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAdditionalReferencedDocument - */ public function testGetDocumentAdditionalReferencedDocument(): void { $this->assertTrue(self::$document->firstDocumentAdditionalReferencedDocument()); @@ -1146,30 +872,18 @@ public function testGetDocumentAdditionalReferencedDocument(): void $this->assertEquals("", $binarydatafilename); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentUltimateCustomerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentUltimateCustomerOrderReferencedDocument - */ public function testDocumentUltimateCustomerOrderReferencedDocumentLoop(): void { $this->assertFalse(self::$document->firstDocumentUltimateCustomerOrderReferencedDocument()); $this->assertFalse(self::$document->nextDocumentUltimateCustomerOrderReferencedDocument()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstGetDocumentPaymentMeans - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextGetDocumentPaymentMeans - */ public function testDocumentPaymentMeansLoop(): void { $this->assertTrue(self::$document->firstGetDocumentPaymentMeans()); $this->assertFalse(self::$document->nextGetDocumentPaymentMeans()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstGetDocumentPaymentMeans - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentMeans - */ public function testGetDocumentPaymentMeans(): void { $this->assertTrue(self::$document->firstGetDocumentPaymentMeans()); @@ -1186,21 +900,12 @@ public function testGetDocumentPaymentMeans(): void $this->assertEquals("", $payeeBic); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentTax - */ public function testDocumentTaxLoop(): void { $this->assertTrue(self::$document->firstDocumentTax()); $this->assertFalse(self::$document->nextDocumentTax()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentTax - */ public function testDocumentTax(): void { $this->assertTrue(self::$document->firstDocumentTax()); @@ -1213,10 +918,6 @@ public function testDocumentTax(): void $this->assertEquals(-6.55, $allowanceChargeBasisAmount); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentAllowanceCharge - */ public function testtDocumentAllowanceChargeLoop(): void { $this->assertTrue(self::$document->firstDocumentAllowanceCharge()); @@ -1224,10 +925,6 @@ public function testtDocumentAllowanceChargeLoop(): void } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAllowanceCharge - */ public function testtDocumentAllowanceCharge(): void { $this->assertTrue(self::$document->firstDocumentAllowanceCharge()); @@ -1246,20 +943,12 @@ public function testtDocumentAllowanceCharge(): void $this->assertEquals("Sonderrabatt", $reason); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentLogisticsServiceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentLogisticsServiceCharge - */ public function testtDocumentLogisticsServiceChargeLoop(): void { $this->assertTrue(self::$document->firstDocumentLogisticsServiceCharge()); $this->assertFalse(self::$document->nextDocumentLogisticsServiceCharge()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentLogisticsServiceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentLogisticsServiceCharge - */ public function testGetDocumentLogisticsServiceCharge(): void { $this->assertTrue(self::$document->firstDocumentLogisticsServiceCharge()); @@ -1280,22 +969,12 @@ public function testGetDocumentLogisticsServiceCharge(): void $this->assertEquals(19.0, $rateApplicablePercents[0]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPaymentTerms - */ public function testtDocumentPaymentTermsLoop(): void { $this->assertTrue(self::$document->firstDocumentPaymentTerms()); $this->assertFalse(self::$document->nextDocumentPaymentTerms()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentTerm - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDiscountTermsFromPaymentTerm - */ public function testtDocumentPaymentTerms(): void { $this->assertTrue(self::$document->firstDocumentPaymentTerms()); @@ -1315,10 +994,6 @@ public function testtDocumentPaymentTerms(): void $this->assertFalse(self::$document->nextDocumentPaymentTerms()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - */ public function testDocumentPositionLoop(): void { $this->assertTrue(self::$document->firstDocumentPosition()); @@ -1329,30 +1004,6 @@ public function testDocumentPositionLoop(): void $this->assertFalse(self::$document->nextDocumentPosition()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionFirst(): void { $this->assertTrue(self::$document->firstDocumentPosition()); @@ -1370,6 +1021,19 @@ public function testDocumentPositionFirst(): void $this->assertEquals("0088", $prodglobalidtype); $this->assertEquals("4123456000014", $prodglobalid); + self::$document->getDocumentPositionProductDetailsExt($prodname, $proddesc, $prodsellerid, $prodbuyerid, $prodglobalidtype, $prodglobalid, $prodindustyid, $prodmodelid, $prodbatchid, $prodbrandname, $prodmodelname); + $this->assertEquals("Wirkarbeit HT", $prodname); + $this->assertEquals("", $proddesc); + $this->assertEquals("WA997", $prodsellerid); + $this->assertEquals("", $prodbuyerid); + $this->assertEquals("0088", $prodglobalidtype); + $this->assertEquals("4123456000014", $prodglobalid); + $this->assertEquals("IndustryId", $prodindustyid); + $this->assertEquals("ModelId", $prodmodelid); + $this->assertEquals("BatchId", $prodbatchid); + $this->assertEquals("BrandeName", $prodbrandname); + $this->assertEquals("ModelName", $prodmodelname); + self::$document->getDocumentPositionBuyerOrderReferencedDocument($doclineorderid, $doclineorderlineid, $doclineorderdate); $this->assertEquals("", $doclineorderid); $this->assertEquals("", $doclineorderlineid); @@ -1451,30 +1115,6 @@ public function testDocumentPositionFirst(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionSecond(): void { $this->assertTrue(self::$document->nextDocumentPosition()); @@ -1573,31 +1213,6 @@ public function testDocumentPositionSecond(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionThird(): void { $this->assertTrue(self::$document->nextDocumentPosition()); @@ -1724,30 +1339,6 @@ public function testDocumentPositionThird(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionFourth(): void { $this->assertTrue(self::$document->nextDocumentPosition()); @@ -1846,30 +1437,6 @@ public function testDocumentPositionFourth(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionFifth(): void { $this->assertTrue(self::$document->nextDocumentPosition()); @@ -1968,10 +1535,6 @@ public function testDocumentPositionFifth(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionAdditionalReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionAdditionalReferencedDocument - */ public function testDocumentPositionAdditionalReferencedDocument(): void { $this->assertFalse(self::$document->firstDocumentPositionAdditionalReferencedDocument()); diff --git a/tests/testcases/ReaderXRechnungAttachedBinaryObjectTest.php b/tests/testcases/ReaderXRechnungAttachedBinaryObjectTest.php index 12233a1d..407d3690 100644 --- a/tests/testcases/ReaderXRechnungAttachedBinaryObjectTest.php +++ b/tests/testcases/ReaderXRechnungAttachedBinaryObjectTest.php @@ -29,12 +29,6 @@ public function testDocumentProfile(): void $this->assertEquals(ZugferdProfiles::PROFILE_XRECHNUNG_2, self::$document->getProfileId()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getInvoiceObject - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getSerializer - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getObjectHelper - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getProfileDefinitionParameter - */ public function testDocumentGetters(): void { $this->assertNotNull(self::$document->getInvoiceObject()); @@ -52,9 +46,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInformation - */ public function testDocumentGenerals(): void { self::$document->getDocumentInformation($documentno, $documenttypecode, $documentdate, $invoiceCurrency, $taxCurrency, $documentname, $documentlanguage, $effectiveSpecifiedPeriod); @@ -69,18 +60,11 @@ public function testDocumentGenerals(): void $this->assertNull($effectiveSpecifiedPeriod); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAdditionalReferencedDocument - */ public function testFirstDocumentAdditionalReferencedDocument(): void { $this->assertTrue((self::$document)->firstDocumentAdditionalReferencedDocument()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::setBinaryDataDirectory - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAdditionalReferencedDocument - */ public function testGetDocumentAdditionalReferencedDocumentNoDirectorySet(): void { self::$document->getDocumentAdditionalReferencedDocument($issuerassignedid, $typecode, $uriid, $name, $reftypecode, $issueddate, $binarydatafilename); @@ -93,10 +77,6 @@ public function testGetDocumentAdditionalReferencedDocumentNoDirectorySet(): voi $this->assertFalse(file_exists($binarydatafilename)); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::setBinaryDataDirectory - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAdditionalReferencedDocument - */ public function testGetDocumentAdditionalReferencedDocument(): void { self::$document->setBinaryDataDirectory(dirname(__FILE__)); @@ -114,9 +94,6 @@ public function testGetDocumentAdditionalReferencedDocument(): void @unlink($binarydatafilename); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentAdditionalReferencedDocument - */ public function testNextDocumentAdditionalReferencedDocument(): void { $this->assertFalse((self::$document)->nextDocumentAdditionalReferencedDocument()); diff --git a/tests/testcases/ReaderXRechnungSimpleTest.php b/tests/testcases/ReaderXRechnungSimpleTest.php index 3538c758..a81b4c90 100644 --- a/tests/testcases/ReaderXRechnungSimpleTest.php +++ b/tests/testcases/ReaderXRechnungSimpleTest.php @@ -28,12 +28,6 @@ public function testDocumentProfile(): void $this->assertEquals(ZugferdProfiles::PROFILE_XRECHNUNG, self::$document->getProfileId()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getInvoiceObject - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getSerializer - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getObjectHelper - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getProfileDefinitionParameter - */ public function testDocumentGetters(): void { $this->assertNotNull(self::$document->getInvoiceObject()); @@ -51,9 +45,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInformation - */ public function testDocumentGenerals(): void { self::$document->getDocumentInformation($documentno, $documenttypecode, $documentdate, $invoiceCurrency, $taxCurrency, $documentname, $documentlanguage, $effectiveSpecifiedPeriod); @@ -68,9 +59,6 @@ public function testDocumentGenerals(): void $this->assertNull($effectiveSpecifiedPeriod); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentNotes - */ public function testDocumentNotes(): void { self::$document->getDocumentNotes($notes); @@ -102,9 +90,6 @@ public function testDocumentNotes(): void $this->assertStringContainsString("Handelsregisternummer: H A 123", $notes[1]["content"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentGeneralPaymentInformation - */ public function testDocumentGeneralPaymentInformation(): void { self::$document->getDocumentGeneralPaymentInformation($creditorReferenceID, $paymentReference); @@ -112,27 +97,18 @@ public function testDocumentGeneralPaymentInformation(): void $this->assertEquals("", $paymentReference); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getIsDocumentCopy - */ public function testDocumentIsCopy(): void { self::$document->getIsDocumentCopy($iscopy); $this->assertFalse($iscopy); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getIsTestDocument - */ public function testDocumentIsTestDocument(): void { self::$document->getIsTestDocument($istest); $this->assertFalse($istest); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSummation - */ public function testDocumentSummation(): void { self::$document->getDocumentSummation($grandTotalAmount, $duePayableAmount, $lineTotalAmount, $chargeTotalAmount, $allowanceTotalAmount, $taxBasisTotalAmount, $taxTotalAmount, $roundingAmount, $totalPrepaidAmount); @@ -147,18 +123,12 @@ public function testDocumentSummation(): void $this->assertEquals(0.00, $totalPrepaidAmount); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerReference - */ public function testGetDocumentBuyerReference(): void { self::$document->getDocumentBuyerReference($buyerReference); $this->assertEquals("04011000-12345-34", $buyerReference); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSeller - */ public function testDocumentSellerGeneral(): void { self::$document->getDocumentSeller($sellername, $sellerids, $sellerdescription); @@ -169,9 +139,6 @@ public function testDocumentSellerGeneral(): void $this->assertEquals("", $sellerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerGlobalId - */ public function testDocumentSellerGlobalId(): void { self::$document->getDocumentSellerGlobalId($sellerglobalids); @@ -180,9 +147,6 @@ public function testDocumentSellerGlobalId(): void $this->assertEquals("4000001123452", $sellerglobalids["0088"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRegistration - */ public function testDocumentSellerTaxRegistration(): void { self::$document->getDocumentSellerTaxRegistration($sellertaxreg); @@ -196,9 +160,6 @@ public function testDocumentSellerTaxRegistration(): void $this->assertEquals("DE123456789", $sellertaxreg["VA"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerAddress - */ public function testDocumentSellerAddress(): void { self::$document->getDocumentSellerAddress($sellerlineone, $sellerlinetwo, $sellerlinethree, $sellerpostcode, $sellercity, $sellercountry, $sellersubdivision); @@ -212,9 +173,6 @@ public function testDocumentSellerAddress(): void $this->assertEmpty($sellersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerLegalOrganisation - */ public function testDocumentSellerLegalOrganization(): void { self::$document->getDocumentSellerLegalOrganisation($sellerlegalorgid, $sellerlegalorgtype, $sellerlegalorgname); @@ -223,11 +181,6 @@ public function testDocumentSellerLegalOrganization(): void $this->assertEquals("", $sellerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentSellerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentSellerContact - */ public function testDocumentSellerContact(): void { $this->assertTrue(self::$document->firstDocumentSellerContact()); @@ -240,9 +193,6 @@ public function testDocumentSellerContact(): void $this->assertFalse(self::$document->nextDocumentSellerContact()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyer - */ public function testDocumentBuyerGeneral(): void { self::$document->getDocumentBuyer($buyername, $buyerids, $buyerdescription); @@ -254,9 +204,6 @@ public function testDocumentBuyerGeneral(): void $this->assertEquals("", $buyerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerGlobalId - */ public function testDocumentBuyerGlobalId(): void { self::$document->getDocumentBuyerGlobalId($buyerglobalids); @@ -264,9 +211,6 @@ public function testDocumentBuyerGlobalId(): void $this->assertEmpty($buyerglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerTaxRegistration - */ public function testDocumentBuyerTaxRegistration(): void { self::$document->getDocumentBuyerTaxRegistration($buyertaxreg); @@ -274,9 +218,6 @@ public function testDocumentBuyerTaxRegistration(): void $this->assertEmpty($buyertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerAddress - */ public function testDocumentBuyerAddress(): void { self::$document->getDocumentBuyerAddress($buyerlineone, $buyerlinetwo, $buyerlinethree, $buyerpostcode, $buyercity, $buyercountry, $buyersubdivision); @@ -290,9 +231,6 @@ public function testDocumentBuyerAddress(): void $this->assertEmpty($buyersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerLegalOrganisation - */ public function testDocumentBuyerLegalOrganization(): void { self::$document->getDocumentBuyerLegalOrganisation($buyerlegalorgid, $buyerlegalorgtype, $buyerlegalorgname); @@ -301,11 +239,6 @@ public function testDocumentBuyerLegalOrganization(): void $this->assertEquals("", $buyerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentBuyerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentBuyerContact - */ public function testDocumentBuyerContact(): void { $this->assertFalse(self::$document->firstDocumentBuyerContact()); @@ -317,9 +250,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentative - */ public function testDocumentSellerTaxRepresentativeGeneral(): void { self::$document->getDocumentSellerTaxRepresentative($sellertaxreprname, $sellertaxreprids, $sellertaxreprdescription); @@ -329,9 +259,6 @@ public function testDocumentSellerTaxRepresentativeGeneral(): void $this->assertEquals("", $sellertaxreprdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeGlobalId - */ public function testDocumentSellerTaxRepresentativeGlobalId(): void { self::$document->getDocumentSellerTaxRepresentativeGlobalId($sellertaxreprglobalids); @@ -339,9 +266,6 @@ public function testDocumentSellerTaxRepresentativeGlobalId(): void $this->assertEmpty($sellertaxreprglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeTaxRegistration - */ public function testDocumentSellerTaxRepresentativeTaxRegistration(): void { self::$document->getDocumentSellerTaxRepresentativeTaxRegistration($sellertaxreprtaxreg); @@ -349,9 +273,6 @@ public function testDocumentSellerTaxRepresentativeTaxRegistration(): void $this->assertEmpty($sellertaxreprtaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeAddress - */ public function testDocumentSellerTaxRepresentativeAddress(): void { self::$document->getDocumentSellerTaxRepresentativeAddress($sellertaxreprlineone, $sellertaxreprlinetwo, $sellertaxreprlinethree, $sellertaxreprpostcode, $sellertaxreprcity, $sellertaxreprcountry, $sellertaxreprsubdivision); @@ -365,9 +286,6 @@ public function testDocumentSellerTaxRepresentativeAddress(): void $this->assertEmpty($sellertaxreprsubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeLegalOrganisation - */ public function testDocumentSellerTaxRepresentativeLegalOrganization(): void { self::$document->getDocumentSellerTaxRepresentativeLegalOrganisation($sellertaxreprlegalorgid, $sellertaxreprlegalorgtype, $sellertaxreprlegalorgname); @@ -376,11 +294,6 @@ public function testDocumentSellerTaxRepresentativeLegalOrganization(): void $this->assertEquals("", $sellertaxreprlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerTaxRepresentativeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentSellerTaxRepresentativeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentSellerTaxRepresentativeContact - */ public function testDocumentSellerTaxRepresentativeContact(): void { $this->assertFalse(self::$document->firstDocumentSellerTaxRepresentativeContact()); @@ -392,9 +305,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipTo - */ public function testDocumentShipToGeneral(): void { self::$document->getDocumentShipTo($shiptoname, $shiptoids, $shiptodescription); @@ -404,9 +314,6 @@ public function testDocumentShipToGeneral(): void $this->assertEquals("", $shiptodescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToGlobalId - */ public function testDocumentShipToGlobalId(): void { self::$document->getDocumentShipToGlobalId($shiptoglobalids); @@ -414,9 +321,6 @@ public function testDocumentShipToGlobalId(): void $this->assertEmpty($shiptoglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToTaxRegistration - */ public function testDocumentShipToTaxRegistration(): void { self::$document->getDocumentShipToTaxRegistration($shiptotaxreg); @@ -424,9 +328,6 @@ public function testDocumentShipToTaxRegistration(): void $this->assertEmpty($shiptotaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToAddress - */ public function testDocumentShipToAddress(): void { self::$document->getDocumentShipToAddress($shiptolineone, $shiptolinetwo, $shiptolinethree, $shiptopostcode, $shiptocity, $shiptocountry, $shiptosubdivision); @@ -440,9 +341,6 @@ public function testDocumentShipToAddress(): void $this->assertEmpty($shiptosubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToLegalOrganisation - */ public function testDocumentShipToLegalOrganization(): void { self::$document->getDocumentShipToLegalOrganisation($shiptolegalorgid, $shiptolegalorgtype, $shiptolegalorgname); @@ -451,11 +349,6 @@ public function testDocumentShipToLegalOrganization(): void $this->assertEquals("", $shiptolegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentShipToContact - */ public function testDocumentShipToContact(): void { $this->assertFalse(self::$document->firstDocumentShipToContact()); @@ -467,9 +360,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipTo - */ public function testDocumentUltimateShipToGeneral(): void { self::$document->getDocumentUltimateShipTo($ultimateshiptoname, $ultimateshiptoids, $ultimateshiptodescription); @@ -479,9 +369,6 @@ public function testDocumentUltimateShipToGeneral(): void $this->assertEquals("", $ultimateshiptodescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToGlobalId - */ public function testDocumentUltimateShipToGlobalId(): void { self::$document->getDocumentUltimateShipToGlobalId($ultimateshiptoglobalids); @@ -489,9 +376,6 @@ public function testDocumentUltimateShipToGlobalId(): void $this->assertEmpty($ultimateshiptoglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToTaxRegistration - */ public function testDocumentUltimateShipToTaxRegistration(): void { self::$document->getDocumentUltimateShipToTaxRegistration($ultimateshiptotaxreg); @@ -499,9 +383,6 @@ public function testDocumentUltimateShipToTaxRegistration(): void $this->assertEmpty($ultimateshiptotaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToAddress - */ public function testDocumentUltimateShipToAddress(): void { self::$document->getDocumentUltimateShipToAddress($ultimateshiptolineone, $ultimateshiptolinetwo, $ultimateshiptolinethree, $ultimateshiptopostcode, $ultimateshiptocity, $ultimateshiptocountry, $ultimateshiptosubdivision); @@ -515,9 +396,6 @@ public function testDocumentUltimateShipToAddress(): void $this->assertEmpty($ultimateshiptosubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToLegalOrganisation - */ public function testDocumentUltimateShipToLegalOrganization(): void { self::$document->getDocumentUltimateShipToLegalOrganisation($ultimateshiptolegalorgid, $ultimateshiptolegalorgtype, $ultimateshiptolegalorgname); @@ -526,11 +404,6 @@ public function testDocumentUltimateShipToLegalOrganization(): void $this->assertEquals("", $ultimateshiptolegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentUltimateShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentUltimateShipToContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentUltimateShipToContact - */ public function testDocumentUltimateShipToContact(): void { $this->assertFalse(self::$document->firstDocumentUltimateShipToContact()); @@ -547,9 +420,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFrom - */ public function testDocumentShipFromGeneral(): void { self::$document->getDocumentShipFrom($shipfromname, $shipfromids, $shipfromdescription); @@ -559,9 +429,6 @@ public function testDocumentShipFromGeneral(): void $this->assertEquals("", $shipfromdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromGlobalId - */ public function testDocumentShipFromGlobalId(): void { self::$document->getDocumentShipFromGlobalId($shipfromglobalids); @@ -569,9 +436,6 @@ public function testDocumentShipFromGlobalId(): void $this->assertEmpty($shipfromglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromTaxRegistration - */ public function testDocumentShipFromTaxRegistration(): void { self::$document->getDocumentShipFromTaxRegistration($shipfromtaxreg); @@ -579,9 +443,6 @@ public function testDocumentShipFromTaxRegistration(): void $this->assertEmpty($shipfromtaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromAddress - */ public function testDocumentShipFromAddress(): void { self::$document->getDocumentShipFromAddress($shipfromlineone, $shipfromlinetwo, $shipfromlinethree, $shipfrompostcode, $shipfromcity, $shipfromcountry, $shipfromsubdivision); @@ -595,9 +456,6 @@ public function testDocumentShipFromAddress(): void $this->assertEmpty($shipfromsubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromLegalOrganisation - */ public function testDocumentShipFromLegalOrganization(): void { self::$document->getDocumentShipFromLegalOrganisation($shipfromlegalorgid, $shipfromlegalorgtype, $shipfromlegalorgname); @@ -606,11 +464,6 @@ public function testDocumentShipFromLegalOrganization(): void $this->assertEquals("", $shipfromlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentShipFromContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentShipFromContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentShipFromContact - */ public function testDocumentShipFromContact(): void { $this->assertFalse(self::$document->firstDocumentShipFromContact()); @@ -627,9 +480,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicer - */ public function testDocumentInvoicerGeneral(): void { self::$document->getDocumentInvoicer($invoicername, $invoicerids, $invoicerdescription); @@ -639,9 +489,6 @@ public function testDocumentInvoicerGeneral(): void $this->assertEquals("", $invoicerdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerGlobalId - */ public function testDocumentInvoicerGlobalId(): void { self::$document->getDocumentInvoicerGlobalId($invoicerglobalids); @@ -649,9 +496,6 @@ public function testDocumentInvoicerGlobalId(): void $this->assertEmpty($invoicerglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerTaxRegistration - */ public function testDocumentInvoicerTaxRegistration(): void { self::$document->getDocumentInvoicerTaxRegistration($invoicertaxreg); @@ -659,9 +503,6 @@ public function testDocumentInvoicerTaxRegistration(): void $this->assertEmpty($invoicertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerAddress - */ public function testDocumentInvoicerAddress(): void { self::$document->getDocumentInvoicerAddress($invoicerlineone, $invoicerlinetwo, $invoicerlinethree, $invoicerpostcode, $invoicercity, $invoicercountry, $invoicersubdivision); @@ -675,9 +516,6 @@ public function testDocumentInvoicerAddress(): void $this->assertEmpty($invoicersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerLegalOrganisation - */ public function testDocumentInvoicerLegalOrganization(): void { self::$document->getDocumentInvoicerLegalOrganisation($invoicerlegalorgid, $invoicerlegalorgtype, $invoicerlegalorgname); @@ -686,11 +524,6 @@ public function testDocumentInvoicerLegalOrganization(): void $this->assertEquals("", $invoicerlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentInvoicerContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentInvoicerContact - */ public function testDocumentInvoicerContact(): void { $this->assertFalse(self::$document->firstDocumentInvoicerContact()); @@ -707,9 +540,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoicee - */ public function testDocumentInvoiceeGeneral(): void { self::$document->getDocumentInvoicee($invoiceename, $invoiceeids, $invoiceedescription); @@ -719,9 +549,6 @@ public function testDocumentInvoiceeGeneral(): void $this->assertEquals("", $invoiceedescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeGlobalId - */ public function testDocumentInvoiceeGlobalId(): void { self::$document->getDocumentInvoiceeGlobalId($invoiceeglobalids); @@ -729,9 +556,6 @@ public function testDocumentInvoiceeGlobalId(): void $this->assertEmpty($invoiceeglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeTaxRegistration - */ public function testDocumentInvoiceeTaxRegistration(): void { self::$document->getDocumentInvoiceeTaxRegistration($invoiceetaxreg); @@ -739,9 +563,6 @@ public function testDocumentInvoiceeTaxRegistration(): void $this->assertEmpty($invoiceetaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeAddress - */ public function testDocumentInvoiceeAddress(): void { self::$document->getDocumentInvoiceeAddress($invoiceelineone, $invoiceelinetwo, $invoiceelinethree, $invoiceepostcode, $invoiceecity, $invoiceecountry, $invoiceesubdivision); @@ -755,9 +576,6 @@ public function testDocumentInvoiceeAddress(): void $this->assertEmpty($invoiceesubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeLegalOrganisation - */ public function testDocumentInvoiceeLegalOrganization(): void { self::$document->getDocumentInvoiceeLegalOrganisation($invoiceelegalorgid, $invoiceelegalorgtype, $invoiceelegalorgname); @@ -766,11 +584,6 @@ public function testDocumentInvoiceeLegalOrganization(): void $this->assertEquals("", $invoiceelegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentInvoiceeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentInvoiceeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentInvoiceeContact - */ public function testDocumentInvoiceeContact(): void { $this->assertFalse(self::$document->firstDocumentInvoiceeContact()); @@ -787,9 +600,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayee - */ public function testDocumentPayeeGeneral(): void { self::$document->getDocumentPayee($payeename, $payeeids, $payeedescription); @@ -799,9 +609,6 @@ public function testDocumentPayeeGeneral(): void $this->assertEquals("", $payeedescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeGlobalId - */ public function testDocumentPayeeGlobalId(): void { self::$document->getDocumentPayeeGlobalId($payeeglobalids); @@ -809,9 +616,6 @@ public function testDocumentPayeeGlobalId(): void $this->assertEmpty($payeeglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeTaxRegistration - */ public function testDocumentPayeeTaxRegistration(): void { self::$document->getDocumentPayeeTaxRegistration($payeetaxreg); @@ -819,9 +623,6 @@ public function testDocumentPayeeTaxRegistration(): void $this->assertEmpty($payeetaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeAddress - */ public function testDocumentPayeeAddress(): void { self::$document->getDocumentPayeeAddress($payeelineone, $payeelinetwo, $payeelinethree, $payeepostcode, $payeecity, $payeecountry, $payeesubdivision); @@ -835,9 +636,6 @@ public function testDocumentPayeeAddress(): void $this->assertEmpty($payeesubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeLegalOrganisation - */ public function testDocumentPayeeLegalOrganization(): void { self::$document->getDocumentPayeeLegalOrganisation($payeelegalorgid, $payeelegalorgtype, $payeelegalorgname); @@ -846,11 +644,6 @@ public function testDocumentPayeeLegalOrganization(): void $this->assertEquals("", $payeelegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPayeeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPayeeContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPayeeContact - */ public function testDocumentPayeeContact(): void { $this->assertFalse(self::$document->firstDocumentPayeeContact()); @@ -867,9 +660,6 @@ function () { ); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUser - */ public function testDocumentProductEndUserGeneral(): void { self::$document->getDocumentProductEndUser($producendusername, $producenduserids, $producenduserdescription); @@ -880,9 +670,6 @@ public function testDocumentProductEndUserGeneral(): void $this->assertEquals("", $producenduserdescription); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserGlobalId - */ public function testDocumentProductEndUserGlobalId(): void { self::$document->getDocumentProductEndUserGlobalId($producenduserglobalids); @@ -890,9 +677,6 @@ public function testDocumentProductEndUserGlobalId(): void $this->assertArrayNotHasKey("0088", $producenduserglobalids); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserTaxRegistration - */ public function testDocumentProductEndUserTaxRegistration(): void { self::$document->getDocumentProductEndUserTaxRegistration($producendusertaxreg); @@ -904,9 +688,6 @@ public function testDocumentProductEndUserTaxRegistration(): void $this->assertArrayNotHasKey("ZZ", $producendusertaxreg); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserAddress - */ public function testDocumentProductEndUserAddress(): void { self::$document->getDocumentProductEndUserAddress($producenduserlineone, $producenduserlinetwo, $producenduserlinethree, $producenduserpostcode, $producendusercity, $producendusercountry, $producendusersubdivision); @@ -920,9 +701,6 @@ public function testDocumentProductEndUserAddress(): void $this->assertEmpty($producendusersubdivision); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserLegalOrganisation - */ public function testDocumentProductEndUserLegalOrganization(): void { self::$document->getDocumentProductEndUserLegalOrganisation($producenduserlegalorgid, $producenduserlegalorgtype, $producenduserlegalorgname); @@ -931,11 +709,6 @@ public function testDocumentProductEndUserLegalOrganization(): void $this->assertEquals("", $producenduserlegalorgname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProductEndUserContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentProductEndUserContactContact - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentProductEndUserContactContact - */ public function testDocumentProductEndUserContact(): void { $this->assertFalse(self::$document->firstDocumentProductEndUserContactContact()); @@ -947,9 +720,6 @@ function () { $this->assertFalse(self::$document->nextDocumentProductEndUserContactContact()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSellerOrderReferencedDocument - */ public function testDocumentSellerOrderReferencedDocument(): void { self::$document->getDocumentSellerOrderReferencedDocument($sellerorderrefdocid, $sellerorderrefdocdate); @@ -957,9 +727,6 @@ public function testDocumentSellerOrderReferencedDocument(): void $this->assertNull($sellerorderrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBuyerOrderReferencedDocument - */ public function testDocumentBuyerOrderReferencedDocument(): void { self::$document->getDocumentBuyerOrderReferencedDocument($buyerorderrefdocid, $buyerorderrefdocdate); @@ -967,9 +734,6 @@ public function testDocumentBuyerOrderReferencedDocument(): void $this->assertNull($buyerorderrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentContractReferencedDocument - */ public function testDocumentContractReferencedDocument(): void { self::$document->getDocumentContractReferencedDocument($contractrefdocid, $contractrefdocdate); @@ -977,9 +741,6 @@ public function testDocumentContractReferencedDocument(): void $this->assertNull($contractrefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAdditionalReferencedDocuments - */ public function testDocumentAdditionalReferencedDocuments(): void { self::$document->getDocumentAdditionalReferencedDocuments($additionalrefdocs); @@ -987,9 +748,6 @@ public function testDocumentAdditionalReferencedDocuments(): void $this->assertEmpty($additionalrefdocs); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentProcuringProject - */ public function testDocumentProcuringProject(): void { self::$document->getDocumentProcuringProject($projectid, $projectname); @@ -997,9 +755,6 @@ public function testDocumentProcuringProject(): void $this->assertEquals("", $projectname); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentSupplyChainEvent - */ public function testDocumentSupplyChainEvent(): void { self::$document->getDocumentSupplyChainEvent($supplychainevent); @@ -1008,9 +763,6 @@ public function testDocumentSupplyChainEvent(): void $this->assertEquals((\DateTime::createFromFormat('Ymd', '20180305'))->format('Ymd'), $supplychainevent->format('Ymd')); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDespatchAdviceReferencedDocument - */ public function testDocumentDespatchAdviceReferencedDocument(): void { self::$document->getDocumentDespatchAdviceReferencedDocument($despatchdocid, $despatchdocdate); @@ -1019,9 +771,6 @@ public function testDocumentDespatchAdviceReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $despatchdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentReceivingAdviceReferencedDocument - */ public function testDocumentReceivingAdviceReferencedDocument(): void { self::$document->getDocumentReceivingAdviceReferencedDocument($recadvid, $recadvdate); @@ -1030,9 +779,6 @@ public function testDocumentReceivingAdviceReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $recadvdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDeliveryNoteReferencedDocument - */ public function testDocumentDeliveryNoteReferencedDocument(): void { self::$document->getDocumentDeliveryNoteReferencedDocument($deliverynoterefdocid, $deliverynoterefdocdate); @@ -1041,9 +787,6 @@ public function testDocumentDeliveryNoteReferencedDocument(): void $this->assertNotInstanceOf("DateTime", $deliverynoterefdocdate); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentBillingPeriod - */ public function testDocumentBillingPeriod(): void { self::$document->getDocumentBillingPeriod($docbillingperiodstart, $docbillingperiodend); @@ -1053,9 +796,6 @@ public function testDocumentBillingPeriod(): void $this->assertNotInstanceOf("DateTime", $docbillingperiodend); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentAllowanceCharges - */ public function testDocumentAllowanceCharges(): void { self::$document->getDocumentAllowanceCharges($docallowancecharge); @@ -1063,9 +803,6 @@ public function testDocumentAllowanceCharges(): void $this->assertEmpty($docallowancecharge); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentTerms - */ public function testDocumentPaymentTerms(): void { self::$document->getDocumentPaymentTerms($docpaymentterms); @@ -1084,49 +821,30 @@ public function testDocumentPaymentTerms(): void $this->assertEquals(0.0, $docpaymentterms[0]["partialpaymentamount"]); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentDeliveryTerms - */ public function testDocumentDeliveryTerms(): void { self::$document->getDocumentDeliveryTerms($devtermcode); $this->assertEquals("", $devtermcode); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAdditionalReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentAdditionalReferencedDocument - */ public function testDocumentAdditionalReferencedDocumentLoop(): void { $this->assertFalse(self::$document->firstDocumentAdditionalReferencedDocument()); $this->assertFalse(self::$document->nextDocumentAdditionalReferencedDocument()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentUltimateCustomerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentUltimateCustomerOrderReferencedDocument - */ public function testDocumentUltimateCustomerOrderReferencedDocumentLoop(): void { $this->assertFalse(self::$document->firstDocumentUltimateCustomerOrderReferencedDocument()); $this->assertFalse(self::$document->nextDocumentUltimateCustomerOrderReferencedDocument()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstGetDocumentPaymentMeans - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextGetDocumentPaymentMeans - */ public function testDocumentPaymentMeansLoop(): void { $this->assertTrue(self::$document->firstGetDocumentPaymentMeans()); $this->assertFalse(self::$document->nextGetDocumentPaymentMeans()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstGetDocumentPaymentMeans - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentMeans - */ public function testGetDocumentPaymentMeans(): void { $this->assertTrue(self::$document->firstGetDocumentPaymentMeans()); @@ -1143,21 +861,12 @@ public function testGetDocumentPaymentMeans(): void $this->assertEquals("BYLADEM1001", $payeeBic); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentTax - */ public function testDocumentTaxLoop(): void { $this->assertTrue(self::$document->firstDocumentTax()); $this->assertTrue(self::$document->nextDocumentTax()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentTax - */ public function testDocumentTax(): void { $this->assertTrue(self::$document->firstDocumentTax()); @@ -1177,42 +886,24 @@ public function testDocumentTax(): void $this->assertEquals(19.0, $rateApplicablePercent); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentAllowanceCharge - */ public function testtDocumentAllowanceChargeLoop(): void { $this->assertFalse(self::$document->firstDocumentAllowanceCharge()); $this->assertFalse(self::$document->nextDocumentAllowanceCharge()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentLogisticsServiceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentLogisticsServiceCharge - */ public function testtDocumentLogisticsServiceChargeLoop(): void { $this->assertFalse(self::$document->firstDocumentLogisticsServiceCharge()); $this->assertFalse(self::$document->nextDocumentLogisticsServiceCharge()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPaymentTerms - */ public function testtDocumentPaymentTermsLoop(): void { $this->assertTrue(self::$document->firstDocumentPaymentTerms()); $this->assertFalse(self::$document->nextDocumentPaymentTerms()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPaymentTerms - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPaymentTerm - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDiscountTermsFromPaymentTerm - */ public function testtDocumentPaymentTerms(): void { $this->assertTrue(self::$document->firstDocumentPaymentTerms()); @@ -1232,10 +923,6 @@ public function testtDocumentPaymentTerms(): void $this->assertFalse(self::$document->nextDocumentPaymentTerms()); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - */ public function testDocumentPositionLoop(): void { $this->assertTrue(self::$document->firstDocumentPosition(), "has a first position"); @@ -1243,30 +930,6 @@ public function testDocumentPositionLoop(): void $this->assertFalse(self::$document->nextDocumentPosition(), "has no third position"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionFirst(): void { $this->assertTrue(self::$document->firstDocumentPosition()); @@ -1365,30 +1028,6 @@ public function testDocumentPositionFirst(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPosition - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGenerals - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionProductDetails - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBuyerOrderReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionContractReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionGrossPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPrice - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionNetPriceTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionQuantity - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDespatchAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionReceivingAdviceReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionDeliveryNoteReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionBillingPeriod - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionNote - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionGrossPriceAllowanceCharge - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionTax - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionLineSummation - * @covers \horstoeko\zugferd\ZugferdDocumentReader::getDocumentPositionSupplyChainEvent - */ public function testDocumentPositionSecond(): void { $this->assertTrue(self::$document->nextDocumentPosition()); @@ -1487,10 +1126,6 @@ public function testDocumentPositionSecond(): void $this->assertNull($supplyeventdatetime); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentReader::firstDocumentPositionAdditionalReferencedDocument - * @covers \horstoeko\zugferd\ZugferdDocumentReader::nextDocumentPositionAdditionalReferencedDocument - */ public function testDocumentPositionAdditionalReferencedDocument(): void { $this->assertFalse(self::$document->firstDocumentPositionAdditionalReferencedDocument()); diff --git a/tests/testcases/SettingsTest.php b/tests/testcases/SettingsTest.php index 4f0585af..508c4114 100644 --- a/tests/testcases/SettingsTest.php +++ b/tests/testcases/SettingsTest.php @@ -22,9 +22,6 @@ public static function tearDownAfterClass(): void ZugferdSettings::setIccProfileFilename("sRGB_v4_ICC.icc"); } - /** - * @covers \horstoeko\zugferd\ZugferdSettings - */ public function testAmountDecimals(): void { $this->assertEquals(2, ZugferdSettings::getAmountDecimals()); @@ -38,9 +35,6 @@ public function testAmountDecimals(): void $this->assertEquals(3, $property->getValue()); } - /** - * @covers \horstoeko\zugferd\ZugferdSettings - */ public function testQuantityDecimals(): void { $this->assertEquals(2, ZugferdSettings::getQuantityDecimals()); @@ -54,9 +48,6 @@ public function testQuantityDecimals(): void $this->assertEquals(3, $property->getValue()); } - /** - * @covers \horstoeko\zugferd\ZugferdSettings - */ public function testPercentDecimals(): void { $this->assertEquals(2, ZugferdSettings::getPercentDecimals()); @@ -70,9 +61,6 @@ public function testPercentDecimals(): void $this->assertEquals(3, $property->getValue()); } - /** - * @covers \horstoeko\zugferd\ZugferdSettings - */ public function testDecimalSeparator(): void { $this->assertEquals(".", ZugferdSettings::getDecimalSeparator()); @@ -86,9 +74,6 @@ public function testDecimalSeparator(): void $this->assertEquals(",", $property->getValue()); } - /** - * @covers \horstoeko\zugferd\ZugferdSettings - */ public function testThousandsSeparator(): void { $this->assertEquals("", ZugferdSettings::getThousandsSeparator()); @@ -102,9 +87,6 @@ public function testThousandsSeparator(): void $this->assertEquals(",", $property->getValue()); } - /** - * @covers \horstoeko\zugferd\ZugferdSettings - */ public function testIccProfileFilename(): void { $this->assertEquals("sRGB_v4_ICC.icc", ZugferdSettings::getIccProfileFilename()); @@ -116,9 +98,6 @@ public function testIccProfileFilename(): void $property = $this->getPrivatePropertyFromClassname(ZugferdSettings::class, "iccProfileFilename"); } - /** - * @covers \horstoeko\zugferd\ZugferdSettings - */ public function testGetRootDirectory(): void { $this->assertEquals( @@ -127,9 +106,6 @@ public function testGetRootDirectory(): void ); } - /** - * @covers \horstoeko\zugferd\ZugferdSettings - */ public function testGetSourceDirectory(): void { $this->assertEquals( @@ -138,9 +114,6 @@ public function testGetSourceDirectory(): void ); } - /** - * @covers \horstoeko\zugferd\ZugferdSettings - */ public function testGetAssetDirectory(): void { $this->assertEquals( @@ -149,9 +122,6 @@ public function testGetAssetDirectory(): void ); } - /** - * @covers \horstoeko\zugferd\ZugferdSettings - */ public function testGetYamlDirectory(): void { $this->assertEquals( @@ -160,9 +130,6 @@ public function testGetYamlDirectory(): void ); } - /** - * @covers \horstoeko\zugferd\ZugferdSettings - */ public function testGetValidationDirectory(): void { $this->assertEquals( @@ -171,9 +138,6 @@ public function testGetValidationDirectory(): void ); } - /** - * @covers \horstoeko\zugferd\ZugferdSettings - */ public function testGetFullIccProfileFilename(): void { $expected = PathUtils::combinePathWithFile( @@ -191,9 +155,6 @@ public function testGetFullIccProfileFilename(): void ); } - /** - * @covers \horstoeko\zugferd\ZugferdSettings - */ public function testSpecialDecimalPlacesMaps(): void { $this->assertEquals(2, ZugferdSettings::getSpecialDecimalPlacesMap('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeAgreement/ram:GrossPriceProductTradePrice/ram:ChargeAmount', 2)); diff --git a/tests/testcases/ValidatorInvalidTest.php b/tests/testcases/ValidatorInvalidTest.php index 5011b44f..7f2ba5ba 100644 --- a/tests/testcases/ValidatorInvalidTest.php +++ b/tests/testcases/ValidatorInvalidTest.php @@ -28,9 +28,6 @@ public static function setUpBeforeClass(): void self::$validator = new ZugferdDocumentValidator(self::$document); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentValidator::validateDocument - */ public function testValidateDocument(): void { $validationResult = self::$validator->validateDocument(); diff --git a/tests/testcases/ValidatorValidTest.php b/tests/testcases/ValidatorValidTest.php index 28c14c80..792f03a3 100644 --- a/tests/testcases/ValidatorValidTest.php +++ b/tests/testcases/ValidatorValidTest.php @@ -28,9 +28,6 @@ public static function setUpBeforeClass(): void self::$validator = new ZugferdDocumentValidator(self::$document); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentValidator::validateDocument - */ public function testValidateDocument(): void { $validationResult = self::$validator->validateDocument(); diff --git a/tests/testcases/issues/Issue10Test.php b/tests/testcases/issues/Issue10Test.php index 4bbe474f..3deb81c3 100644 --- a/tests/testcases/issues/Issue10Test.php +++ b/tests/testcases/issues/Issue10Test.php @@ -17,10 +17,6 @@ public static function setUpBeforeClass(): void self::$document = ZugferdDocumentBuilder::CreateNew(ZugferdProfiles::PROFILE_XRECHNUNG_2_2); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::SetDocumentSummation - * @issue #10 - */ public function testTotalPrepaidAmountPayed(): void { (self::$document)->setDocumentInformation("471102", "380", DateTime::createFromFormat("Ymd", "20180305"), "EUR"); @@ -38,10 +34,6 @@ public function testTotalPrepaidAmountPayed(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:DuePayableAmount', 0, "109.0"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::SetDocumentSummation - * @issue #10 - */ public function testTotalPrepaidAmountUnpayed(): void { (self::$document)->setDocumentInformation("471102", "380", DateTime::createFromFormat("Ymd", "20180305"), "EUR"); @@ -59,10 +51,6 @@ public function testTotalPrepaidAmountUnpayed(): void $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:DuePayableAmount', 0, "109.0"); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::SetDocumentSummation - * @issue #10 - */ public function testTotalPrepaidAmountIsNull(): void { (self::$document)->setDocumentInformation("471102", "380", DateTime::createFromFormat("Ymd", "20180305"), "EUR"); diff --git a/tests/traits/HandlesXmlTests.php b/tests/traits/HandlesXmlTests.php index 7e303682..0f20eff7 100644 --- a/tests/traits/HandlesXmlTests.php +++ b/tests/traits/HandlesXmlTests.php @@ -224,9 +224,6 @@ protected function assertXPathNotExistsWithIndex(string $xpath, int $index) $this->assertArrayNotHasKey($index, $xmlvalue); } - /** - * @covers \horstoeko\zugferd\ZugferdDocumentBuilder::writeFile - */ public function debugWriteFile(): void { (self::$document)->writeFile(getcwd() . "/myfile_dbg.xml"); From 10520c3d98e1d5bc39a1675815561d8f7665e0db Mon Sep 17 00:00:00 2001 From: HorstOeko Date: Mon, 23 Sep 2024 05:23:56 +0200 Subject: [PATCH 2/4] #119 Update to ZUGFeRD 2.3 (Support for InvoiceReferencedDocument) --- src/ZugferdDocumentBuilder.php | 33 ++++++++-- src/ZugferdDocumentReader.php | 83 ++++++++++++++++++++++++- src/quick/ZugferdQuickDescriptor.php | 2 +- tests/assets/extended_invoice.xml | 14 +++++ tests/testcases/BuilderEn16931Test.php | 20 +++++- tests/testcases/BuilderExtendedTest.php | 23 +++++-- tests/testcases/BuilderMinimumTest.php | 20 +++++- tests/testcases/ReaderExtendedTest.php | 41 ++++++++++++ 8 files changed, 218 insertions(+), 18 deletions(-) diff --git a/src/ZugferdDocumentBuilder.php b/src/ZugferdDocumentBuilder.php index 3b7524e3..6c7f5a50 100644 --- a/src/ZugferdDocumentBuilder.php +++ b/src/ZugferdDocumentBuilder.php @@ -2176,22 +2176,43 @@ public function addDocumentAdditionalReferencedDocument(string $issuerassignedid /** * Set a Reference to the previous invoice * - * __Note__: To be used if: + * To be used if: * - a previous invoice is corrected - * - reference is made to previous partial invoices from a final invoice - * - Reference is made to previous invoices for advance payments from a final invoice + * - reference is made from a final invoice to previous partial invoices + * - reference is made from a final invoice to previous invoices for advance payments. * * - * @param string $issuerassignedid __BT-25, From BASIC WL__ Number of the previous invoice + * @param string $issuerassignedid __BT-25, From BASIC WL__ The identification of an invoice previously sent by the seller + * @param string|null $typecode Type of previous invoice (code) * @param DateTime|null $issueddate __BT-26, From BASIC WL__ Date of the previous invoice * @return ZugferdDocumentBuilder */ - public function setDocumentInvoiceReferencedDocument(string $issuerassignedid, ?DateTime $issueddate = null): ZugferdDocumentBuilder + public function setDocumentInvoiceReferencedDocument(string $issuerassignedid, ?string $typecode = null, ?DateTime $issueddate = null): ZugferdDocumentBuilder { - $invoicerefdoc = $this->getObjectHelper()->getReferencedDocumentType($issuerassignedid, null, null, null, null, null, $issueddate, null); + $invoicerefdoc = $this->getObjectHelper()->getReferencedDocumentType($issuerassignedid, null, null, $typecode, null, null, $issueddate, null); $this->getObjectHelper()->tryCallIfMethodExists($this->headerTradeSettlement, "addToInvoiceReferencedDocument", "setInvoiceReferencedDocument", [$invoicerefdoc], $invoicerefdoc); return $this; } + /** + * Add a Reference to the previous invoice + * + * To be used if: + * - a previous invoice is corrected + * - reference is made from a final invoice to previous partial invoices + * - reference is made from a final invoice to previous invoices for advance payments. * + * + * @param string $issuerassignedid __BT-25, From BASIC WL__ The identification of an invoice previously sent by the seller + * @param string|null $typecode Type of previous invoice (code) + * @param DateTime|null $issueddate __BT-26, From BASIC WL__ Date of the previous invoice + * @return ZugferdDocumentBuilder + */ + public function addDocumentInvoiceReferencedDocument(string $issuerassignedid, ?string $typecode = null, ?DateTime $issueddate = null): ZugferdDocumentBuilder + { + $invoicerefdoc = $this->getObjectHelper()->getReferencedDocumentType($issuerassignedid, null, null, $typecode, null, null, $issueddate, null); + $this->getObjectHelper()->tryCall($this->headerTradeSettlement, "addToInvoiceReferencedDocument", $invoicerefdoc); + return $this; + } + /** * Set Details of a project reference * diff --git a/src/ZugferdDocumentReader.php b/src/ZugferdDocumentReader.php index 2b0b5a12..4bbc4e62 100644 --- a/src/ZugferdDocumentReader.php +++ b/src/ZugferdDocumentReader.php @@ -30,7 +30,7 @@ class ZugferdDocumentReader extends ZugferdDocument { /** - * Undocumented variable + * Internal pointer for documents additional documents * * @var integer */ @@ -148,6 +148,13 @@ class ZugferdDocumentReader extends ZugferdDocument */ private $documentPayeeContactPointer = 0; + /** + * Internal pointer for documents invoice reference documents + * + * @var integer + */ + private $documentInvRefDocPointer = 0; + /** * Internal pointer for the position * @@ -2481,6 +2488,80 @@ public function getDocumentAdditionalReferencedDocuments(?array &$refdocs): Zugf return $this; } + /** + * Get first reference to the previous invoice + * Returns true if an additional referenced document is available, otherwise false + * + * @return boolean + */ + public function firstDocumentInvoiceReferencedDocument(): bool + { + $this->documentInvRefDocPointer = 0; + $addRefDoc = $this->getInvoiceValueByPath("getSupplyChainTradeTransaction.getApplicableHeaderTradeSettlement.getInvoiceReferencedDocument", []); + return isset($addRefDoc[$this->documentInvRefDocPointer]); + } + + /** + * Get next reference to the previous invoice + * Returns true when another additional referenced document is available, otherwise false + * + * @return boolean + */ + public function nextDocumentInvoiceReferencedDocument(): bool + { + $this->documentInvRefDocPointer++; + $addRefDoc = $this->getInvoiceValueByPath("getSupplyChainTradeTransaction.getApplicableHeaderTradeSettlement.getInvoiceReferencedDocument", []); + return isset($addRefDoc[$this->documentInvRefDocPointer]); + } + + /** + * Get reference to the previous invoice + * + * @param string|null $issuerassignedid + * __BT-X-331__ Reference to the previous invoice + * @param string|null $typecode + * __BT-X-332__ Type of previous invoice (code) + * @param DateTime|null $issueddate + * __BT-X-333-00__ Document date + */ + public function getDocumentInvoiceReferencedDocument(?string &$issuerassignedid, ?string &$typecode, ?DateTime &$issueddate = null): ZugferdDocumentReader + { + $invoiceRefDoc = $this->getInvoiceValueByPath("getSupplyChainTradeTransaction.getApplicableHeaderTradeSettlement.getInvoiceReferencedDocument", []); + $invoiceRefDoc = $invoiceRefDoc[$this->documentInvRefDocPointer]; + + $issuerassignedid = $this->getInvoiceValueByPathFrom($invoiceRefDoc, "getIssuerAssignedID.value", ""); + $typecode = $this->getInvoiceValueByPathFrom($invoiceRefDoc, "getTypeCode.value", ""); + $issueddate = $this->getObjectHelper()->toDateTime( + $this->getInvoiceValueByPathFrom($invoiceRefDoc, "getFormattedIssueDateTime.getDateTimeString.value", ""), + $this->getInvoiceValueByPathFrom($invoiceRefDoc, "getFormattedIssueDateTime.getDateTimeString.getFormat", "") + ); + + return $this; + } + + /** + * Get all references to the previous invoice + * + * @param array|null $refdocs + * Array contains all invoice referenced documents, but without extracting attached binary objects. If you + * want to access attached binary objects you have to use ZugferdDocumentReader::getDocumentInvoiceReferencedDocument + * @return ZugferdDocumentReader + */ + public function getDocumentInvoiceReferencedDocuments(?array &$invoiceRefDocs): ZugferdDocumentReader + { + $invoiceRefDocs = $this->getInvoiceValueByPath("getSupplyChainTradeTransaction.getApplicableHeaderTradeSettlement.getInvoiceReferencedDocument", []); + $invoiceRefDocs = $this->convertToArray( + $invoiceRefDocs, + [ + "IssuerAssignedID" => ["getIssuerAssignedID.value", ""], + "TypeCode" => ["getTypeCode.value", ""], + "FormattedIssueDateTime" => ["getFormattedIssueDateTime.getDateTimeString.value", ""], + ] + ); + + return $this; + } + /** * Get Details of a project reference * diff --git a/src/quick/ZugferdQuickDescriptor.php b/src/quick/ZugferdQuickDescriptor.php index f76cc4d1..fd3f6781 100644 --- a/src/quick/ZugferdQuickDescriptor.php +++ b/src/quick/ZugferdQuickDescriptor.php @@ -359,7 +359,7 @@ public function doSetDeliveryNoteReferenceDocument(string $deliveryNoteNo, DateT */ public function doSetInvoiceReferencedDocument(string $id, ?DateTime $issueDateTime = null): ZugferdQuickDescriptor { - $this->setDocumentInvoiceReferencedDocument($id, $issueDateTime); + $this->setDocumentInvoiceReferencedDocument($id, null, $issueDateTime); return $this; } diff --git a/tests/assets/extended_invoice.xml b/tests/assets/extended_invoice.xml index 95a7f866..66b62eee 100644 --- a/tests/assets/extended_invoice.xml +++ b/tests/assets/extended_invoice.xml @@ -351,6 +351,20 @@ 0.00 480.22 + + S-INV1 + 83 + + 2024-09-30 + + + + S-INV2 + 84 + + 2024-09-30 + + diff --git a/tests/testcases/BuilderEn16931Test.php b/tests/testcases/BuilderEn16931Test.php index a0bc1fe2..47497afd 100644 --- a/tests/testcases/BuilderEn16931Test.php +++ b/tests/testcases/BuilderEn16931Test.php @@ -1306,11 +1306,25 @@ public function testAddDocumentAdditionalReferencedDocumentWithAttachment(): voi public function testSetDocumentInvoiceReferencedDocument(): void { - (self::$document)->setDocumentInvoiceReferencedDocument("INV-1", new DateTime()); + (self::$document)->setDocumentInvoiceReferencedDocument("INV-1", "71", new DateTime()); $this->disableRenderXmlContent(); - $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:IssuerAssignedID', "INV-1"); - $this->assertXPathValueWithAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:FormattedIssueDateTime/a:DateTimeString', (new DateTime())->format("Ymd"), "format", "102"); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:IssuerAssignedID', 0, "INV-1"); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:TypeCode', 0, "71"); + $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:FormattedIssueDateTime/a:DateTimeString', 0, (new DateTime())->format("Ymd"), "format", "102"); + } + + public function testAddDocumentInvoiceReferencedDocument(): void + { + (self::$document)->addDocumentInvoiceReferencedDocument("INV-2", "82", new DateTime()); + + $this->disableRenderXmlContent(); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:IssuerAssignedID', 0, "INV-1"); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:TypeCode', 0, "71"); + $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:FormattedIssueDateTime/a:DateTimeString', 0, (new DateTime())->format("Ymd"), "format", "102"); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:IssuerAssignedID', 1, "INV-2"); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:TypeCode', 1, "82"); + $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:FormattedIssueDateTime/a:DateTimeString', 1, (new DateTime())->format("Ymd"), "format", "102"); } public function testSetDocumentProcuringProject(): void diff --git a/tests/testcases/BuilderExtendedTest.php b/tests/testcases/BuilderExtendedTest.php index f259ac3e..bc0aefb8 100644 --- a/tests/testcases/BuilderExtendedTest.php +++ b/tests/testcases/BuilderExtendedTest.php @@ -2,10 +2,11 @@ namespace horstoeko\zugferd\tests\testcases; +use DateTime; use \horstoeko\zugferd\tests\TestCase; -use \horstoeko\zugferd\tests\traits\HandlesXmlTests; use \horstoeko\zugferd\ZugferdProfiles; use \horstoeko\zugferd\ZugferdDocumentBuilder; +use \horstoeko\zugferd\tests\traits\HandlesXmlTests; class BuilderExtendedTest extends TestCase { @@ -1351,11 +1352,25 @@ public function testAddDocumentAdditionalReferencedDocumentWithAttachment(): voi public function testSetDocumentInvoiceReferencedDocument(): void { - (self::$document)->setDocumentInvoiceReferencedDocument("INV-1", new \DateTime()); + (self::$document)->setDocumentInvoiceReferencedDocument("INV-1", "71", new DateTime()); + + $this->disableRenderXmlContent(); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:IssuerAssignedID', 0, "INV-1"); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:TypeCode', 0, "71"); + $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:FormattedIssueDateTime/a:DateTimeString', 0, (new DateTime())->format("Ymd"), "format", "102"); + } + + public function testAddDocumentInvoiceReferencedDocument(): void + { + (self::$document)->addDocumentInvoiceReferencedDocument("INV-2", "82", new DateTime()); $this->disableRenderXmlContent(); - $this->assertXPathValue('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:IssuerAssignedID', "INV-1"); - $this->assertXPathValueWithAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:FormattedIssueDateTime/a:DateTimeString', (new \DateTime())->format("Ymd"), "format", "102"); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:IssuerAssignedID', 0, "INV-1"); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:TypeCode', 0, "71"); + $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:FormattedIssueDateTime/a:DateTimeString', 0, (new DateTime())->format("Ymd"), "format", "102"); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:IssuerAssignedID', 1, "INV-2"); + $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:TypeCode', 1, "82"); + $this->assertXPathValueWithIndexAndAttribute('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:FormattedIssueDateTime/a:DateTimeString', 1, (new DateTime())->format("Ymd"), "format", "102"); } public function testSetDocumentProcuringProject(): void diff --git a/tests/testcases/BuilderMinimumTest.php b/tests/testcases/BuilderMinimumTest.php index ca1655a5..f7f1f19c 100644 --- a/tests/testcases/BuilderMinimumTest.php +++ b/tests/testcases/BuilderMinimumTest.php @@ -1304,11 +1304,25 @@ public function testAddDocumentAdditionalReferencedDocumentWithAttachment(): voi public function testSetDocumentInvoiceReferencedDocument(): void { - (self::$document)->setDocumentInvoiceReferencedDocument("INV-1", new DateTime()); + (self::$document)->setDocumentInvoiceReferencedDocument("INV-1", "71", new DateTime()); $this->disableRenderXmlContent(); - $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:IssuerAssignedID'); - $this->assertXPathNotExists('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:FormattedIssueDateTime/a:DateTimeString'); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:IssuerAssignedID', 0); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:FormattedIssueDateTime/a:DateTimeString', 0); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:TypeCode', 0); + } + + public function testAddDocumentInvoiceReferencedDocument(): void + { + (self::$document)->addDocumentInvoiceReferencedDocument("INV-2", "82", new DateTime()); + + $this->disableRenderXmlContent(); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:IssuerAssignedID', 0); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:FormattedIssueDateTime/a:DateTimeString', 0); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:TypeCode', 0); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:IssuerAssignedID', 1); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:FormattedIssueDateTime/a:DateTimeString', 1); + $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:InvoiceReferencedDocument/ram:TypeCode', 1); } public function testSetDocumentProcuringProject(): void diff --git a/tests/testcases/ReaderExtendedTest.php b/tests/testcases/ReaderExtendedTest.php index 46974f0b..f2479898 100644 --- a/tests/testcases/ReaderExtendedTest.php +++ b/tests/testcases/ReaderExtendedTest.php @@ -772,6 +772,27 @@ public function testDocumentAdditionalReferencedDocuments(): void $this->assertEquals("130", $additionalrefdocs[0]["TypeCode"]); } + public function testDocumentInvoiceReferencedDocuments(): void + { + self::$document->getDocumentInvoiceReferencedDocuments($invoicerefdocs); + $this->assertIsArray($invoicerefdocs); + $this->assertNotEmpty($invoicerefdocs); + $this->assertArrayHasKey(0, $invoicerefdocs); + $this->assertIsArray($invoicerefdocs[0]); + $this->assertArrayHasKey("IssuerAssignedID", $invoicerefdocs[0]); + $this->assertArrayHasKey("TypeCode", $invoicerefdocs[0]); + $this->assertArrayHasKey("FormattedIssueDateTime", $invoicerefdocs[0]); + $this->assertEquals("S-INV1", $invoicerefdocs[0]["IssuerAssignedID"]); + $this->assertEquals("83", $invoicerefdocs[0]["TypeCode"]); + $this->assertArrayHasKey(1, $invoicerefdocs); + $this->assertIsArray($invoicerefdocs[1]); + $this->assertArrayHasKey("IssuerAssignedID", $invoicerefdocs[1]); + $this->assertArrayHasKey("TypeCode", $invoicerefdocs[1]); + $this->assertArrayHasKey("FormattedIssueDateTime", $invoicerefdocs[1]); + $this->assertEquals("S-INV2", $invoicerefdocs[1]["IssuerAssignedID"]); + $this->assertEquals("84", $invoicerefdocs[1]["TypeCode"]); + } + public function testDocumentProcuringProject(): void { self::$document->getDocumentProcuringProject($projectid, $projectname); @@ -872,6 +893,26 @@ public function testGetDocumentAdditionalReferencedDocument(): void $this->assertEquals("", $binarydatafilename); } + public function testDocumentInvoiceReferencedDocumentLoop(): void + { + $this->assertTrue(self::$document->firstDocumentInvoiceReferencedDocument()); + $this->assertTrue(self::$document->nextDocumentInvoiceReferencedDocument()); + $this->assertFalse(self::$document->nextDocumentInvoiceReferencedDocument()); + } + + public function testGetDocumentInvoiceReferencedDocument(): void + { + $this->assertTrue(self::$document->firstDocumentInvoiceReferencedDocument()); + self::$document->getDocumentInvoiceReferencedDocument($issuerassignedid, $typecode, $issueddate); + $this->assertEquals("S-INV1", $issuerassignedid); + $this->assertEquals("83", $typecode); + $this->assertTrue(self::$document->nextDocumentInvoiceReferencedDocument()); + self::$document->getDocumentInvoiceReferencedDocument($issuerassignedid, $typecode, $issueddate); + $this->assertEquals("S-INV2", $issuerassignedid); + $this->assertEquals("84", $typecode); + $this->assertFalse(self::$document->nextDocumentInvoiceReferencedDocument()); + } + public function testDocumentUltimateCustomerOrderReferencedDocumentLoop(): void { $this->assertFalse(self::$document->firstDocumentUltimateCustomerOrderReferencedDocument()); From b5bfbf58da31372fc3b42423a125cbc9081bf382 Mon Sep 17 00:00:00 2001 From: HorstOeko Date: Mon, 23 Sep 2024 05:54:07 +0200 Subject: [PATCH 3/4] #119 Update to ZUGFeRD 2.3 (Fix PHPDoc for invoice reference document methods) --- src/ZugferdDocumentReader.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ZugferdDocumentReader.php b/src/ZugferdDocumentReader.php index 4bbc4e62..61e16dfd 100644 --- a/src/ZugferdDocumentReader.php +++ b/src/ZugferdDocumentReader.php @@ -2490,7 +2490,7 @@ public function getDocumentAdditionalReferencedDocuments(?array &$refdocs): Zugf /** * Get first reference to the previous invoice - * Returns true if an additional referenced document is available, otherwise false + * Returns true if an invoice reference document is available, otherwise false * * @return boolean */ @@ -2503,7 +2503,7 @@ public function firstDocumentInvoiceReferencedDocument(): bool /** * Get next reference to the previous invoice - * Returns true when another additional referenced document is available, otherwise false + * Returns true when another invoice reference document is available, otherwise false * * @return boolean */ @@ -2542,7 +2542,7 @@ public function getDocumentInvoiceReferencedDocument(?string &$issuerassignedid, /** * Get all references to the previous invoice * - * @param array|null $refdocs + * @param array|null $invoiceRefDocs * Array contains all invoice referenced documents, but without extracting attached binary objects. If you * want to access attached binary objects you have to use ZugferdDocumentReader::getDocumentInvoiceReferencedDocument * @return ZugferdDocumentReader From 42cbe91c0971b944da3c1b222d1ac085514e3b47 Mon Sep 17 00:00:00 2001 From: HorstOeko Date: Mon, 23 Sep 2024 06:16:24 +0200 Subject: [PATCH 4/4] #119 Update to ZUGFeRD 2.3 (PHPCS, PHPStan) --- src/ZugferdDocumentBuilder.php | 3 ++- .../ZugferdAccountingAccountsClassificationTypes.php | 2 +- src/codelists/ZugferdVATExemptionReasonCode.php | 11 +++++++++-- tests/testcases/issues/Issue104Test.php | 2 +- tests/testcases/issues/Issue113Test.php | 4 ++-- 5 files changed, 15 insertions(+), 7 deletions(-) diff --git a/src/ZugferdDocumentBuilder.php b/src/ZugferdDocumentBuilder.php index 6c7f5a50..db70f56d 100644 --- a/src/ZugferdDocumentBuilder.php +++ b/src/ZugferdDocumentBuilder.php @@ -2476,7 +2476,8 @@ public function addDocumentPaymentMeanToPaymentCard(string $cardType, string $ca * @param float|null $lineTotalBasisAmount __BT-, From __ Tax rate goods amount * @param float|null $allowanceChargeBasisAmount __BT-, From __ Total amount of surcharges and deductions of the tax rate at document level * @param DateTime|null $taxPointDate __BT-, From __ Specification of a date, in accordance with the sales tax guideline, on which the sales tax for the seller and for the buyer becomes relevant for accounting, insofar as this date can be determined and differs from the invoice date - * Note: The tax collection date for VAT purposes is usually the date the goods were delivered or the service was completed (the base tax date). There are a few variations. For further information, please refer to Article 226 (7) of Council Directive 2006/112 / EC. This element is required if the date set for the sales tax return differs from the invoice date. Both the buyer and the seller should use the delivery date for VAT returns, if provided by the seller. This is not used in Germany. Instead, the delivery and service date must be specified. + * Note: The tax collection date for VAT purposes is usually the date the goods were delivered or the service was completed (the base tax date). There are a few variations. For further information, please refer to Article 226 (7) of Council Directive 2006/112 / EC. This element is required if the + * date set for the sales tax return differs from the invoice date. Both the buyer and the seller should use the delivery date for VAT returns, if provided by the seller. This is not used in Germany. Instead, the delivery and service date must be specified. * @param string|null $dueDateTypeCode __BT-8, From BASIC WL__ The code for the date on which sales tax becomes relevant for the seller and the buyer. * The code must distinguish between the following entries from UNTDID 2005: * - date of issue of the invoice document diff --git a/src/codelists/ZugferdAccountingAccountsClassificationTypes.php b/src/codelists/ZugferdAccountingAccountsClassificationTypes.php index ec7589bb..86f33c96 100644 --- a/src/codelists/ZugferdAccountingAccountsClassificationTypes.php +++ b/src/codelists/ZugferdAccountingAccountsClassificationTypes.php @@ -54,4 +54,4 @@ class ZugferdAccountingAccountsClassificationTypes * The code indicates a building site chart of accounts */ const BUILDING_SITE_ACCOUNT_CHART_OF_ACCOUNTS = '7'; -} \ No newline at end of file +} diff --git a/src/codelists/ZugferdVATExemptionReasonCode.php b/src/codelists/ZugferdVATExemptionReasonCode.php index 98162483..be57479f 100644 --- a/src/codelists/ZugferdVATExemptionReasonCode.php +++ b/src/codelists/ZugferdVATExemptionReasonCode.php @@ -207,7 +207,10 @@ class ZugferdVATExemptionReasonCode /** * VATEX-EU-143-1FA * Exempt based on article 143, section 1 (fa) of Council Directive 2006/112/EC - * Context of exemption: The importation of goods by the European Community, the European Atomic Energy Community, the European Central Bank or the European Investment Bank, or by the bodies set up by the Communities to which the Protocol of 8 April 1965 on the privileges and immunities of the European Communities applies, within the limits and under the conditions of that Protocol and the agreements for its implementation or the headquarters agreements, in so far as it does not lead to distortion of competition; + * Context of exemption: The importation of goods by the European Community, the European Atomic Energy Community, the European Central + * Bank or the European Investment Bank, or by the bodies set up by the Communities to which the Protocol of 8 April 1965 on the + * privileges and immunities of the European Communities applies, within the limits and under the conditions of that Protocol and the + * agreements for its implementation or the headquarters agreements, in so far as it does not lead to distortion of competition; */ const VATEX_EU_143_1FA = "VATEX-EU-143-1FA"; @@ -326,7 +329,11 @@ class ZugferdVATExemptionReasonCode /** * VATEX-EU-151-1AA * Exempt based on article 151, section 1 (aa) of Council Directive 2006/112/EC - * Context of exemption: The supply of goods or services to the European Community, the European Atomic Energy Community, the European Central Bank or the European Investment Bank, or to the bodies set up by the Communities to which the Protocol of 8 April 1965 on the privileges and immunities of the European Communities applies, within the limits and under the conditions of that Protocol and the agreements for its implementation or the headquarters agreements, in so far as it does not lead to distortion of competition. + * Context of exemption: The supply of goods or services to the European Community, the European Atomic Energy Community, + * the European Central Bank or the European Investment Bank, or to the bodies set up by the Communities to which the Protocol + * of 8 April 1965 on the privileges and immunities of the European Communities applies, within the limits and under the + * conditions of that Protocol and the agreements for its implementation or the headquarters agreements, in so far as it does + * not lead to distortion of competition. */ const VATEX_EU_151_1AA = "VATEX-EU-151-1AA"; diff --git a/tests/testcases/issues/Issue104Test.php b/tests/testcases/issues/Issue104Test.php index cd75851f..a1907737 100644 --- a/tests/testcases/issues/Issue104Test.php +++ b/tests/testcases/issues/Issue104Test.php @@ -33,4 +33,4 @@ public function testInvalidException2() $this->assertNull($document); } -} \ No newline at end of file +} diff --git a/tests/testcases/issues/Issue113Test.php b/tests/testcases/issues/Issue113Test.php index 179b4eb2..e20561ca 100644 --- a/tests/testcases/issues/Issue113Test.php +++ b/tests/testcases/issues/Issue113Test.php @@ -15,7 +15,7 @@ public function testSummationWithoutTotalVatAmount(): void { self::$document = ZugferdDocumentBuilder::createNew(ZugferdProfiles::PROFILE_EN16931); self::$document->setDocumentSummation(100.0, 100.0); - + $this->disableRenderXmlContent(); $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:LineTotalAmount', 0); $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:ChargeTotalAmount', 0); @@ -27,4 +27,4 @@ public function testSummationWithoutTotalVatAmount(): void $this->assertXPathNotExistsWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:TotalPrepaidAmount', 0); $this->assertXPathValueWithIndex('/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:DuePayableAmount', 0, "100.00"); } -} \ No newline at end of file +}