Skip to content

Commit abe1a18

Browse files
committed
little correction
1 parent a79242d commit abe1a18

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ UBL-CR-646 A UBL invoice should not include the InvoiceLine SubInvoiceLine
1313

1414
https://github.com/itplr-kosit/validator-configuration-xrechnung/issues/36
1515

16-
Validation error [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.
17-
18-
https://github.com/itplr-kosit/validator-configuration-xrechnung/issues/43
19-
2016
False positive validation warning [BR-DEX-02] when using SubInvoiceLine and AllowanceCharge.
2117

2218
https://github.com/itplr-kosit/validator-configuration-xrechnung/issues/41

intf.XRechnung.pas

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ class procedure TXRechnungInvoiceAdapter.SaveDocumentUBL(_Invoice: TInvoice;
622622
InternalAddInvoiceLine(_Invoice.InvoiceLines[i],xRoot.AddChild('cac:InvoiceLine'));
623623
end;
624624

625-
//https://portal3.gefeg.com/projectdata/invoice/deliverables/installed/publishingproject/zugferd%202.0.1%20-%20facturx%201.03/en%2016931%20%E2%80%93%20facturx%201.03%20%E2%80%93%20zugferd%202.0.1%20-%20comfort.scm/html/de/021.htm?https://portal3.gefeg.com/projectdata/invoice/deliverables/installed/publishingproject/zugferd%202.0.1%20-%20facturx%201.03/en%2016931%20%E2%80%93%20facturx%201.03%20%E2%80%93%20zugferd%202.0.1%20-%20comfort.scm/html/de/02182.htm
625+
//https://portal3.gefeg.com/invoice/tthome/index/617afdc4-623f-44e0-a05b-5b878840e508
626626
class procedure TXRechnungInvoiceAdapter.SaveDocumentUNCEFACT(_Invoice: TInvoice; _Xml: IXMLDocument);
627627
var
628628
xRoot : IXMLNode;
@@ -837,7 +837,7 @@ class procedure TXRechnungInvoiceAdapter.SaveDocumentUNCEFACT(_Invoice: TInvoice
837837
AddChild('ram:IssuerAssignedID').Text := _Invoice.Attachments[i].ID;
838838
if not _Invoice.Attachments[i].ExternalReference.IsEmpty then
839839
AddChild('ram:URIID').Text := _Invoice.Attachments[i].ExternalReference;
840-
//ram:TypeCode
840+
AddChild('ram:TypeCode').Text := '916';
841841
if not _Invoice.Attachments[i].DocumentDescription.IsEmpty then
842842
AddChild('ram:Name').Text := _Invoice.Attachments[i].DocumentDescription;
843843
if _Invoice.Attachments[i].ExternalReference.IsEmpty then
@@ -885,7 +885,7 @@ class procedure TXRechnungInvoiceAdapter.SaveDocumentUNCEFACT(_Invoice: TInvoice
885885
begin
886886
if not _Invoice.PaymentID.IsEmpty then
887887
AddChild('ram:PaymentReference').Text := _Invoice.PaymentID;
888-
AddChild('ram:TaxCurrencyCode').Text := _Invoice.TaxCurrencyCode;
888+
//zuviel AddChild('ram:TaxCurrencyCode').Text := _Invoice.TaxCurrencyCode;
889889
AddChild('ram:InvoiceCurrencyCode').Text := _Invoice.InvoiceCurrencyCode;
890890
if (_Invoice.PaymentMeansCode <> ipmc_None) and (not _Invoice.PayeeFinancialAccount.IsEmpty) then
891891
with AddChild('ram:SpecifiedTradeSettlementPaymentMeans') do

0 commit comments

Comments
 (0)