You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: net/advanced-operations/working-with-zugferd/attach-zugferd/_index.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ sitemap:
16
16
"@type":"TechArticle",
17
17
"headline":"Creating PDF/3-A compliant PDF and attaching ZUGFeRD invoice in C#",
18
18
"alternativeHeadline":"Attach ZUGFeRD Invoices to PDF in C#",
19
-
"abstract":"Discover the new functionality that allows developers to generate PDF documents compliant with PDF/A-3U and seamlessly attach ZUGFeRD invoices using C#. This feature simplifies the process of embedding invoice metadata in PDF files, ensuring long-term document preservation and compliance with electronic invoicing standards",
19
+
"abstract":"Discover the new functionality that allows developers to generate PDF documents compliant with PDF/A-3B and seamlessly attach ZUGFeRD invoices using C#. This feature simplifies the process of embedding invoice metadata in PDF files, ensuring long-term document preservation and compliance with electronic invoicing standards",
20
20
"author": {
21
21
"@type":"Person",
22
22
"name":"Anastasiia Holub",
@@ -87,7 +87,7 @@ We recommend following steps to attach ZUGFeRD to PDF:
87
87
* Create a [FileSpecification](https://reference.aspose.com/pdf/net/aspose.pdf/filespecification/) object by providing the path and description of another file named "factur-x.xml", which contains invoice metadata conforming to the ZUGFeRD standard.
88
88
* Add properties to the file specification object, such as the description, MIME type, and AF relationship. The AF relationship indicates how the embedded file is related to the PDF document. In this case, it is set to "Alternative", meaning the embedded file is an alternative representation of the PDF content.
89
89
* Add the file specification object to the document's embedded files collection. File name should be specified to ZUGFeRD standard, e.g. "factur-x.xml".
90
-
* Convert the document to PDF/A-3U format, a subset of PDF that ensures the long-term preservation of electronic documents. PDF/A-3U allows embedding files of any format in PDF documents.
90
+
* Convert the document to PDF/A-3B format, a subset of PDF that ensures the long-term preservation of electronic documents. PDF/A-3B allows embedding files of any format in PDF documents.
91
91
* Save the converted document as a new PDF file (e.g. "ZUGFeRD-res.pdf").
92
92
93
93
```cs
@@ -112,4 +112,4 @@ using (var document = new Aspose.Pdf.Document(dataDir + "ZUGFeRD-test.pdf"))
112
112
}
113
113
```
114
114
115
-
The convert method takes a stream, a PDF format, and a convert error action as parameters. The stream parameter can be used to save the conversion log. The convert error action parameter specifies what to do if any errors occur during the conversion. In this case, it is set to "Delete", which means that any elements that are not compliant with the PDF/A-3U format will be deleted from the document.
115
+
The convert method takes a stream, a PDF format, and a convert error action as parameters. The stream parameter can be used to save the conversion log. The convert error action parameter specifies what to do if any errors occur during the conversion. In this case, it is set to "Delete", which means that any elements that are not compliant with the PDF/A-3B format will be deleted from the document.
0 commit comments