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.hpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/include/file_templates.hpp b/include/file_templates.hpp
index de3f509..cb89050 100644
--- a/include/file_templates.hpp
+++ b/include/file_templates.hpp
@@ -5,22 +5,22 @@ const char* project_save_template =
" <State>{{PROJECT_STATE}}</State>\n"
" <StartDate>{{PROJECT_STARTDATE}}</StartDate>\n"
" <EndDate>{{PROJECT_ENDDATE}}</EndDate>\n"
-"</Project>\n";
+"</Project>";
const char* costcenter_save_template =
"<CostCenter>\n"
" <Id>{{COSTCENTER_ID}}</Id>\n"
" <Code>{{COSTCENTER_CODE}}</Code>\n"
" <Description>{{COSTCENTER_DESCRIPTION}}</Description>\n"
-"</CostCenter>\n";
+"</CostCenter>";
const char* taxbracket_save_template =
"<CountryTaxBracket>\n"
" <Id>{{TAXBRACKET_ID}}</Id>\n"
" <CountryCode>{{TAXBRACKET_COUNTRY}}</CountryCode>\n"
" <Rate>{{TAXBRACKET_RATE}}</Rate>\n"
-" <Description>{{TAXBRACKET_CATEGORY}}</Description>\n"
-"</CountryTaxBracket>\n";
+" <Category>{{TAXBRACKET_CATEGORY}}</Category>\n"
+"</CountryTaxBracket>";
const char* contact_save_template =
"<Contact>\n"
@@ -40,14 +40,15 @@ const char* contact_save_template =
" <Postal>{{CONTACT_POSTAL}}</Postal>\n"
" <Region>{{CONTACT_REGION}}</Region>\n"
" </Address>\n"
-"</Contact>\n";
+"</Contact>";
const char* administration_save_template =
"<Administration>\n"
" <NextId>{{NEXT_ID}}</NextId>\n"
+" <CompanyInfoId>{{COMPANY_ID}}</CompanyInfoId>\n"
" <NextSequenceNumber>{{NEXT_SEQUENCE_NUMBER}}</NextSequenceNumber>\n"
" <ProgramVersion>{{PROGRAM_VERSION}}</ProgramVersion>\n"
-"</Administration>\n";
+"</Administration>";
const char* peppol_invoice_tax_subtotal_template =
" <cac:TaxSubtotal>\n"
@@ -173,4 +174,4 @@ const char *peppol_invoice_template =
"\n"
" {{INVOICE_LINE_LIST}}"
"\n"
-"</Invoice>\n";
+"</Invoice>";