Jira Code: SMT-30
Customize the given German PDF template with tax line added in it below the items, separate it with a white line, add more space in between the line items and remove quantity line.
<?xml version="1.0" ?>
<!DOCTYPE pdf PUBLIC "-//big.faceless.org//report" "report-1.1.dtd">
<pdf>
<head>
<#if .locale=="ru_RU">
<link name="verdana" type="font" subtype="opentype" src="${nsfont.verdana}" src-bold="${nsfont.verdana_bold}" bytes="2" />
</#if>
<macrolist>
<macro id="nlheader">
<table align="left" cellspacing="0" id="logoclass">
<tr>
<td>
<p align="left"><img width="58%" height="58%" src="https://system.netsuite.com/core/media/media.nl?id=1917&c=3651382&h=e7eaf316ef034e81c5eb"/>
</p>
</td>
</tr>
<tr>
<td>
<p align="left" style="font-size:8pt;margin-top:10pt"><u>smartShift Technologies GmbH <b>.</b> Augustaanlage 59 <b>.</b> 68165 Mannheim</u></p>
</td>
</tr>
</table>
<table style="width:100%;margin-top:8pt">
<tr>
<td class="setbgcolor">${record.billaddress}</td>
</tr>
</table>
<p></p>
<table align="right" cellspacing="0">
<tr>
<td style="color: #4284B6; font-size: 30px; font-weight: bold;">Rechnung
</td>
</tr>
</table>
<table style="width: 100%;">
<tr>
<th class="Headertitleclass">Rechnung #</th>
<th width="10px"> </th>
<th class="Headertitleclass">Bestellung Nr.</th>
<th width="10px"> </th>
<th class="Headertitleclass">Datum</th>
<th width="10px"> </th>
<th class="Headertitleclass">Fälligkeitsdatum</th>
<th width="10px"> </th>
<th class="Headertitleclass">Zahlungsbedingungen</th>
</tr>
<tr style="width:100%">
<td class="Headerbodyclass">${record.tranid}</td>
<td width="10px"> </td>
<td class="Headerbodyclass">${record.otherrefnum}</td>
<td width="10px"> </td>
<td class="Headerbodyclass">${record.trandate}</td>
<td width="10px"> </td>
<td class="Headerbodyclass">${record.duedate}</td>
<td width="10px"> </td>
<td class="Headerbodyclass">${record.terms}</td>
</tr>
</table>
</macro>
<macro id="nlfooter">
<table width="100%">
<tr>
<td class="footercontent"><b>smartShift Technologies GmbH
<br/>Augustaanlage 59, D-68165 Mannheim
<br/>email: info@smartShiftTech.com
<br/>Geschäftsführer: Stefan Hetges</b></td>
<td class="footercontent"><b> Bankverbindung: HypoVereinsbank AG Hamburg,
<br/>IBAN: DE64 2003 0000 0000 3358 51 SWIFT (BIC): HYVEDEMM300
<br/>Registergericht: Amtsgericht Mannheim, HRB 710431
<br/>Sitz der Gesellschaft: Mannheim, USt.-ID-Nr.: DE 813489791</b></td>
</tr>
</table>
</macro>
</macrolist>
<style type="text/css">
.questions {
border-right: 2px solid black;
}
.footerclass {
color: #008da8;
font-size: 10pt;
}
.footerdataclass {
color: #3b3b3b;
font-size: 9pt;
text-align: left
}
.footercontent {
color: #adabab;
font-size: 8pt;
text-align: left;
width: 50%
}
body {
font-family: "Helvetica";
}
table {
border-collapse: collapse;
position: static;
}
th,
td {
text-align: left;
padding: 2px;
}
.imagetableeven {
background-color: #E3e6e8;
font-size: 8pt
}
.imagetableodd {
background-color: #E3e6e8;
font-size: 8pt
}
#imagetable th {
font-weight: bold;
font-size: 8pt;
background-color: #4284B6;
color: white;
}
#div2Para {
display: table;
margin: 0px auto 0px auto;
padding: 5px;
font-size: 7.6pt;
background-color: #E3e6e8;
}
.style13 {
font-size: 9pt;
color: #3b3b3b;
padding-left: 4px;
padding-right: 4px
}
.Headertitleclass {
text-align: left;
color: #white;
font-weight: 100;
font-size: 10pt;
}
.Headerbodyclass {
text-align: left;
padding: 6px;
background-color: #4284B6;
color: #ffffff;
font-weight: bold;
font-size: 8pt;
}
.setbgcolor {
font: 12pt "Helvetica";
width: 35%;
padding-top: 5px;
padding-left: 5px;
}
.emptytd {
background-color: white;
}
.headerclass {
text-align: left;
color: #4284B6;
font-weight: 100;
font: 10pt "Helvetica";
line-height: 1px;
}
.title {
font-size: 30pt;
color: #008da8;
line-height: 37px;
}
.titleSub {
font-size: 24pt;
color: #008DA8;
}
#instructiontable td,
th {
padding: 3px
}
body {
font-family: "Helvetica";
}
.alignclass {
text-align: right;
}
.alignclassnew {
display: block;
}
#div3Para {
font-size: 6pt;
}
.questions {
border-right: 2px solid black;
}
</style>
</head>
<body header="nlheader" header-height="40%" footer="nlfooter" footer-height="17pt" padding="5mm 0.5in 0.5in 0.5in" size="A4">
<#if record.item?has_content>
<table align="center" id="imagetable" style="width: 100%;">
<#list record.item as item>
<#if item_index==0>
<thead>
<tr>
<th style="max-width:200px;width:140px; font-size:10pt">Beschreibung</th>
<th style="font-size:10pt">Stückpreis</th>
<th style="font-size:10pt">Betrag</th>
</tr>
</thead>
</#if>
<tr class="imagetableodd">
<td style="max-width:200px;width:140px;font-size:8pt;line-height: 19px">${item.description}</td>
<td style="fond-size:8pt;line-height: 19px">${item.rate}</td>
<td style="font-size:8pt;line-height: 19px">${item.amount}</td>
</tr>
</#list>
<tr class="imagetableodd" style="border-top:1px;border-color: white">
<td colspan="3" style="max-width:200px;width:140px;font-size:8pt;line-height: 19px">Steuerschuldnerschaft des Leistungsempfängers nach §13b UStG – Reverse Charge</td>
</tr>
</table>
</#if>
<div>
<p> </p>
<table id="instructiontable" style="width: 100%;">
<tr>
<td style="width:60%;"></td>
<td style="background-color:#E3e6e8;font-size:8pt;">Netto Gesamt</td>
<td style="background-color:#E3e6e8;font-size:8pt;padding-right:5px;align:right">${record.subtotal}</td>
</tr>
<tr>
<td style="width:60%;"></td>
<td style="background-color:#E3e6e8;font-size:8pt;">MwSt 19%</td>
<td style="background-color:#E3e6e8;font-size:8pt;padding-right:5px;align:right">${record.taxtotal}</td>
</tr>
<tr>
<td style="width:60%;"></td>
<td style="background-color:#E3e6e8;font-size:8pt;">Rechnungsbetrag</td>
<td style="background-color:#E3e6e8;font-size:8pt;padding-right:5px;align:right">${record.total}</td>
</tr>
</table>
<p> </p>
</div>
</body>
</pdf>