getDocumentInformation($documentno, $documenttypecode, $documentdate, $invoiceCurrency, $taxCurrency, $documentname, $documentlanguage, $effectiveSpecifiedPeriod);
$document->getDocumentBuyer($buyername, $buyerids, $buyerdescription);
$document->getDocumentBuyerAddress($buyeraddressline1, $buyeraddressline2, $buyeraddressline3, $buyerpostcode, $buyercity, $buyercounty, $buyersubdivision);
?>
Invoice
Invoice Date format("d.m.Y"); ?>
Sehr geehrter Kunde,
wir erlauben uns Ihnen folgende Position in Rechnung zu stellen.
Pos. |
Beschreibung |
Stk. |
Preis |
Menge |
MwSt % |
firstDocumentPosition()) {
$isfirstposition = true;
do {
$document->getDocumentPositionGenerals($lineid, $linestatuscode, $linestatusreasoncode);
$document->getDocumentPositionProductDetails($prodname, $proddesc, $prodsellerid, $prodbuyerid, $prodglobalidtype, $prodglobalid);
$document->getDocumentPositionGrossPrice($grosspriceamount, $grosspricebasisquantity, $grosspricebasisquantityunitcode);
$document->getDocumentPositionNetPrice($netpriceamount, $netpricebasisquantity, $netpricebasisquantityunitcode);
$document->getDocumentPositionLineSummation($lineTotalAmount, $totalAllowanceChargeAmount);
$document->getDocumentPositionQuantity($billedquantity, $billedquantityunitcode, $chargeFreeQuantity, $chargeFreeQuantityunitcode, $packageQuantity, $packageQuantityunitcode);
?>
firstDocumentPositionNote()) { ?>
|
getDocumentPositionNote($posnoteContent, $posnoteContentCode, $posnoteSubjectCode); ?>
|
nextDocumentPositionNote()); ?>
|
|
|
|
|
firstDocumentPositionTax()) { ?>
getDocumentPositionTax($categoryCode, $typeCode, $rateApplicablePercent, $calculatedAmount, $exemptionReason, $exemptionReasonCode); ?>
% |
|
firstDocumentPositionGrossPriceAllowanceCharge()) { ?>
getDocumentPositionGrossPrice($grossAmount, $grossBasisQuantity, $grossBasisQuantityUnitCode); ?>
getDocumentPositionGrossPriceAllowanceCharge($actualAmount, $isCharge, $calculationPercent, $basisAmount, $reason, $taxTypeCode, $taxCategoryCode, $rateApplicablePercent, $sequence, $basisQuantity, $basisQuantityUnitCode, $reasonCode); ?>
|
|
|
() |
nextDocumentPositionGrossPriceAllowanceCharge()); ?>
nextDocumentPosition()); ?>
firstDocumentAllowanceCharge()) { ?>
|
|
Allowance/Charge |
getDocumentAllowanceCharge($actualAmount, $isCharge, $taxCategoryCode, $taxTypeCode, $rateApplicablePercent, $sequence, $calculationPercent, $basisAmount, $basisQuantity, $basisQuantityUnitCode, $reasonCode, $reason); ?>
|
|
|
|
nextDocumentAllowanceCharge()); ?>
getDocumentSummation($grandTotalAmount, $duePayableAmount, $lineTotalAmount, $chargeTotalAmount, $allowanceTotalAmount, $taxBasisTotalAmount, $taxTotalAmount, $roundingAmount, $totalPrepaidAmount); ?>
|
|
Summe |
|
Nettobetrag |
|
|
Summe Aufschläge |
|
|
Summe Rabatte |
|
|
MwSt. |
|
|
Bruttosumme |
|
|
Bereits gezahlt |
|
|
Zu Zahlen |
|
firstDocumentTax()) { ?>
|
|
VAT Breakdown |
getDocumentTax($categoryCode, $typeCode, $basisAmount, $calculatedAmount, $rateApplicablePercent, $exemptionReason, $exemptionReasonCode, $lineTotalBasisAmount, $allowanceChargeBasisAmount, $taxPointDate, $dueDateTypeCode); ?>
|
% |
|
|
nextDocumentTax()); ?>
|
Summe |
|
|
firstDocumentPaymentTerms()) { ?>
getDocumentPaymentTerm($description, $dueDate, $directDebitMandateID); ?>
|
nextDocumentPaymentTerms()); ?>
Hinweise: |
getDocumentNotes($documentNotes); ?>
|