@if (isLoading) {
Loading documents...
} @else if (!documents.length) {
No documents found
} @else { @for (document of documents; track $index) { @if (isSalesInvoice(document) || isSalesSupplementaryInvoice(document)) {

{{ isSalesSupplementaryInvoice(document) ? 'SALES SUPPLEMENTARY INVOICE' : 'TAX INVOICE' }}

{{ formatPrintValue(document.OUDisplayName) }}

{{ formatAddress(document.OULine1, document.OULine2, document.OULine3, document.OULine4) }}

Tel: {{ formatPrintValue(document.OUPhone) }}

Email : {{ formatPrintValue(document.OUMail) }}

Web : {{ formatPrintValue(document.OUWeb) }}

GSTIN : {{ formatPrintValue(document.OUGSTINNumber) }}
State Code : {{ formatPrintValue(document.OUStateCode) }}
State Name : {{ formatPrintValue(document.OUStateName) }}
PAN No : {{ formatPrintValue(document.OUPAN) }}
Invoice No.
{{ formatPrintValue(document.DocumentNumber) }}
Invoice Date
{{ formatDocumentDate(document.DocumentDate) }}
Reference No.
{{ formatPrintValue(document.ReferenceNumber) }}
Reference Date
{{ formatDocumentDate(document.ReferenceDate) }}
Ack No
{{ formatPrintValue(document.AckNumber) }}
IRN
{{ formatPrintValue(document.IRN) }}
Transportation Mode
{{ formatPrintValue(document.TransportationMode) }}
Transporter Name
{{ formatPrintValue(document.TransporterName) }}
Vehicle No.
{{ formatPrintValue(document.VehicleNumber) }}
Despatch Date
{{ formatDocumentDate(document.DispatchDate) }}
Place of Supply
{{ formatPrintValue(document.PlaceOfSupply) }}
Incharge Name
{{ formatPrintValue(document.InchargeName) }}
Allocation
{{ formatPrintValue(document.Allocation) }}

Details of Receiver (Billed to)

{{ formatPrintValue(document.PartyName) }}

{{ formatAddress(document.BillLine1, document.BillLine2, document.BillLine3, document.BillLine4) }}

State : {{ formatPrintValue(document.StateName) }}

State Code : {{ formatPrintValue(document.StateCode) }}

Mobile : {{ formatPrintValue(document.Phone) }}

Email : {{ formatPrintValue(document.Email) }}

GSTIN : {{ formatPrintValue(document.GSTINNumber) }}

Details of Consignee (Shipped to)

{{ formatPrintValue(document.ShipPartyName) }}

{{ formatAddress(document.ShipLine1, document.ShipLine2, document.ShipLine3, document.ShipLine4) }}

State : {{ formatPrintValue(document.ShipStateName) }}

State Code : {{ formatPrintValue(document.ShipStateCode) }}

Mobile : {{ formatPrintValue(document.ShipPhone) }}

Email : {{ formatPrintValue(document.ShipEmail) }}

GSTIN : {{ formatPrintValue(document.ShipGSTINNumber) }}

Currency : {{ formatPrintValue(document.CurrencyCode) }}

@if (isSalesSupplementaryInvoice(document)) { } @if (isIntraState(document)) { } @else { } @if (isIntraState(document)) { } @else { } @for (item of document.items; track $index) { @if (isSalesSupplementaryInvoice(document)) { } @if (isIntraState(document)) { } @else { } } @if (isIntraState(document)) { } @else { }
# Code Description of Goods HSN Code Qty UOM Rate / UnitRate DifferenceDis Taxable ValueCGST SGSTIGSTTotal
%Amount%Amount%Amount
{{ formatPrintValue(item.SlNo) || ($index + 1) }} {{ formatPrintValue(item.ItemCode) }} {{ formatPrintValue(item.ItemName) }} {{ formatPrintValue(item.HSNCode) }} {{ formatPrintValue(item.Qty) }} {{ formatPrintValue(item.UOM) }} {{ getNumberValue(item.Rate) | NumberFormater }}
Current: {{ getNumberValue(item.Rate) | NumberFormater }}
Last Purchase: {{ getNumberValue(item.LastPurchaseRate) | NumberFormater }}
Difference: {{ getRateDifference(item) | NumberFormater }}
{{ getNumberValue(item.Discount) | NumberFormater }} {{ getNumberValue(item.TaxableValue) | NumberFormater }}{{ getNumberValue(item.CGSTRate) | NumberFormater }} {{ getNumberValue(item.CGSTAmount) | NumberFormater }} {{ getNumberValue(item.SGSTRate) | NumberFormater }} {{ getNumberValue(item.SGSTAmount) | NumberFormater }}{{ getNumberValue(item.IGSTRate) | NumberFormater }} {{ getNumberValue(item.IGSTAmount) | NumberFormater }}{{ (getNumberValue(item.TaxableValue) + getNumberValue(item.CGSTAmount) + getNumberValue(item.SGSTAmount) + getNumberValue(item.IGSTAmount)) | NumberFormater }}
{{ getTaxableTotal(document) | NumberFormater }}{{ getCGSTTotal(document) | NumberFormater }} {{ getSGSTTotal(document) | NumberFormater }}{{ getIGSTTotal(document) | NumberFormater }}{{ getGrandTotal(document) | NumberFormater }}
Amount in Words

{{ formatPrintValue(document.AmountInWords) }}

Declaration

Certified that the particulars given above are true and correct.

Taxable Value
{{ getTaxableTotal(document) | NumberFormater }}
Total Tax
{{ getTaxTotal(document) | NumberFormater }}
@if (document.charges.length) {
Other Charges
{{ getChargeTotal(document) | NumberFormater }}
}
Grand Total
{{ getGrandTotal(document) | NumberFormater }}

Terms & Conditions

    @for (term of document.terms; track $index) {
  1. {{ formatPrintValue(term.TermsDescription) }}
  2. }
For {{ formatPrintValue(document.OUDisplayName) }} Authorised Signatory
} @else {
Page 1 of 1

{{ formatPrintValue(document.BizTransactionTypeDisplayName) }}

{{ formatPrintValue(document.OUDisplayName) }}

{{ formatAddress(document.OULine1, document.OULine2, document.OULine3, document.OULine4) }}

Tel: {{ formatPrintValue(document.OUPhone) }}

Email : {{ formatPrintValue(document.OUMail) }}

Web : {{ formatPrintValue(document.OUWeb) }}

GSTIN : {{ formatPrintValue(document.OUGSTINNumber) }}
State Code : {{ formatPrintValue(document.OUStateCode) }}
State Name : {{ formatPrintValue(document.OUStateName) }}
PAN No : {{ formatPrintValue(document.OUPAN) }}

Details of Supplier

{{ formatPrintValue(document.PartyName) }}

{{ formatPrintValue(document.BillLine1) }}{{ formatPrintValue(document.BillLine2) ? ', ' + formatPrintValue(document.BillLine2) : '' }}

{{ formatPrintValue(document.BillLine3) }}{{ formatPrintValue(document.BillLine4) ? ', ' + formatPrintValue(document.BillLine4) : '' }}

GSTIN
{{ formatPrintValue(document.GSTINNumber) }}
State Code
{{ formatPrintValue(document.StateCode) }}
State Name
{{ formatPrintValue(document.StateName) }}
PO No
{{ formatPrintValue(document.DocumentNumber) }}
PO Date
{{ formatDocumentDate(document.DocumentDate) }}
Reference Date
{{ formatDocumentDate(document.ReferenceDate) }}
Reference Number
{{ formatPrintValue(document.ReferenceNumber) }}
Transportation Mode
{{ formatPrintValue(document.TransporterName) }}
Delivery Instruction
{{ formatPrintValue(document.MMHeadDeliveryInstructions) }}
Currency {{ formatPrintValue(document.CurrencyCode) }}
@if (isIntraState(document)) { } @else { } @if (isIntraState(document)) { } @else { } @for (item of document.items; track $index) { @if (isIntraState(document)) { } @else { } } @if (isIntraState(document)) { } @else { }
# Code Description of Goods HSN Code Qty UOM Rate Discount Taxable
Value
CGST SGSTIGST
% Amount % Amount% Amount
{{ formatPrintValue(item.SlNo) || ($index + 1) }} {{ formatPrintValue(item.ItemCode) }} {{ formatPrintValue(item.ItemName) }} {{ formatPrintValue(item.HSNCode) }} {{ formatPrintValue(item.Qty) }} {{ formatPrintValue(item.UOM) }} {{ getNumberValue(item.Rate) | NumberFormater }} {{ getNumberValue(item.Discount) | NumberFormater }} {{ getNumberValue(item.TaxableValue) | NumberFormater }}{{ getNumberValue(item.CGSTRate) | NumberFormater }} {{ getNumberValue(item.CGSTAmount) | NumberFormater }} {{ getNumberValue(item.SGSTRate) | NumberFormater }} {{ getNumberValue(item.SGSTAmount) | NumberFormater }}{{ getNumberValue(item.IGSTRate) | NumberFormater }} {{ getNumberValue(item.IGSTAmount) | NumberFormater }}
{{ getTaxableTotal(document) | NumberFormater }} {{ getCGSTTotal(document) | NumberFormater }} {{ getSGSTTotal(document) | NumberFormater }} {{ getIGSTTotal(document) | NumberFormater }}
{{ getTaxableTotal(document) | NumberFormater }}
@if (document.charges.length) {
Charge Name Input Value Calculated Value
@for (charge of document.charges; track $index) {
{{ formatPrintValue(charge.PrintingName) }} {{ getNumberValue(charge.InputValue) | NumberFormater }} {{ getNumberValue(charge.CalculatedValue) | NumberFormater }}
}
Total Charges {{ getChargeInputTotal(document) | NumberFormater }} {{ getChargeTotal(document) | NumberFormater }}
}
Amount In Words {{ formatPrintValue(document.AmountInWords) }}
Amount of Tax Subject to Reverse Charge 0.00 0.00
} } }