السجل THPDFFacturXInvoiceInfo
يصف فاتورة Factur-X أو ZUGFeRD المضمَّنة في مستند محمَّل: اسم ملف المرفق وقيم بيانات XMP الوصفية ومعرّفات الملف الشخصي ونوع MIME وأسماء ملفي تمثيلَي UBL وEDIFACT التكميليين
التصريح
THPDFFacturXInvoiceInfo= record
FileName: AnsiString;
XMPDocumentFileName: AnsiString;
XMPNamespaceURI: AnsiString;
DocumentType: AnsiString;
Version: AnsiString;
ConformanceLevel: AnsiString;
GuidelineID: AnsiString;
AFRelationship: AnsiString;
AttachmentMimeType: AnsiString;
// Supplementary UBL representation file name ('factur-xubl.xml') when the
// document embeds a UBL view alongside the primary CII invoice per
// Factur-X 1.09 spec 6.4; empty when no UBL attachment is present. UBL is
// a supplementary representation, never the primary invoice XML
UBLFileName: AnsiString;
// Supplementary EDIFACT representation file name ('factur-xedifact.edi')
// when the document embeds an EDIFACT view alongside the primary CII
// invoice per Factur-X 1.09 spec 6.4; empty when no EDIFACT attachment is
// present. Like UBL it is a supplementary representation, never the
// primary invoice XML
EDIFACTFileName: AnsiString;
end;
الوحدة
HPDFDoc
الحقول
| الحقل | الغرض |
|---|---|
FileName | اسم مرفق الفاتورة المضمَّن الذي وُجد فعلًا: قيمة XMP DocumentFileName عندما يمكن حلها، وإلا أحد factur-x.xml وxrechnung.xml وzugferd-invoice.xml وZUGFeRD-invoice.xml |
XMPDocumentFileName | نص fx:DocumentFileName المقروء من بيانات XMP الوصفية للمستند |
XMPNamespaceURI | معرّف URI لفضاء الأسماء الخاص بعنصر DocumentFileName في بيانات XMP الوصفية |
DocumentType | قيمة XMP DocumentType؛ وتحمل مستندات الفواتير القيمة INVOICE |
Version | قيمة XMP Version للملف الشخصي Factur-X |
ConformanceLevel | قيمة XMP ConformanceLevel للملف الشخصي Factur-X |
GuidelineID | معرّف الدليل (URN) المقروء من ExchangedDocumentContext في XML الخاص بـ CII المضمَّن |
AFRelationship | مدخل /AFRelationship في مواصفة ملف الفاتورة، مثل Data أو Alternative |
AttachmentMimeType | نوع MIME لملف الفاتورة المضمَّن |
UBLFileName | الاسم الثابت factur-xubl.xml عندما يكون تمثيل UBL التكميلي مضمَّنًا؛ ويبقى فارغًا غير ذلك |
EDIFACTFileName | الاسم الثابت factur-xedifact.edi عندما يكون تمثيل EDIFACT التكميلي مضمَّنًا؛ ويبقى فارغًا غير ذلك |
ملاحظات الاستخدام
- يملؤه
THotPDF.DetectFacturXInvoice؛ وتعني الحقول الفارغة غياب العنصر المقابل، وتترك النتيجةfalseبيانات وصفية جزئية لأغراض التشخيص - اقرأ
UBLFileNameوEDIFACTFileNameللإبلاغ فقط: فهي تسمّي تمثيلات تكميلية، وليست XML الفاتورة الأساسي أبدًا - أعد استخدام السجل مع
THotPDF.ExtractFacturXXMLأو مرره إلىTHotPDF.ValidateFacturXInvoice، التي تملأ تقريرها الخاص وتضمّن هذا السجل فيInfo