summaryrefslogtreecommitdiff
path: root/include/file_templates.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/file_templates.hpp')
-rw-r--r--include/file_templates.hpp13
1 files changed, 9 insertions, 4 deletions
diff --git a/include/file_templates.hpp b/include/file_templates.hpp
index c5e0191..5404270 100644
--- a/include/file_templates.hpp
+++ b/include/file_templates.hpp
@@ -126,6 +126,11 @@ namespace file_template {
" </cac:Price>\n"
" </cac:InvoiceLine>\n";
+ static const char *invoice_extras_template =
+ "<InvoiceExtras>\n"
+ " <Status>{{INVOICE_STATUS}}</Status>\n"
+ "</InvoiceExtras>\n";
+
static const char *peppol_invoice_template =
/*"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"*/
"<Invoice xmlns=\"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2\"\n"
@@ -141,10 +146,10 @@ namespace file_template {
" <cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>\n"
" <cbc:DocumentCurrencyCode>{{CURRENCY}}</cbc:DocumentCurrencyCode>\n"
"\n"
- " <cac:DespatchDocumentReference>\n"
- " <cbc:ID>{{INVOICE_STATUS}}</cbc:ID>\n"
- " </cac:DespatchDocumentReference>\n"
- "\n"
+ // " <cac:DespatchDocumentReference>\n"
+ // " <cbc:ID>{{INVOICE_STATUS}}</cbc:ID>\n"
+ // " </cac:DespatchDocumentReference>\n"
+ // "\n"
" <cac:AdditionalDocumentReference>\n"
" <cbc:ID>{{INVOICE_DOCUMENT_COPY}}</cbc:ID>\n"
" <cbc:DocumentDescription>{{INVOICE_DOCUMENT_ORIG}}</cbc:DocumentDescription>\n"