@@ -622,7 +622,7 @@ class procedure TXRechnungInvoiceAdapter.SaveDocumentUBL(_Invoice: TInvoice;
622622 InternalAddInvoiceLine(_Invoice.InvoiceLines[i],xRoot.AddChild(' cac:InvoiceLine' ));
623623end ;
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
626626class procedure TXRechnungInvoiceAdapter.SaveDocumentUNCEFACT (_Invoice: TInvoice; _Xml: IXMLDocument);
627627var
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