1. Knowledge Base
  2. Content Templates (Document Changes)

Invoice Additional Attachments

BOLs, PODs, Lumper Receipts, Inspection Certificates, LOAs, RAs, or all Public attachments can be included as images inside the Invoice Templates HTML, printed, and downloaded.

Note: You can style all system tags below as you wish, but following the code provided in this article is best.

Multiple BOLs/PODs - Multi-Page Documents

Use the following system tags to add images of a BOL or a POD inside the invoice template.

[IMAGES_BOL]

[IMAGE_BOL.URL]

[IMAGES_POD]

[IMAGE_POD.URL]

The following code retrieves all available pages for both POD and BOL. If there are multiple PODs or BOLs, the system will retrieve all of them.

<!-- [IF]([IMAGES_BOL])--> <!-- [EACH]([IMAGES_BOL]) -->
<div style="page-break-before: always;"><img src="[IMAGE_BOL.URL]" width="100%"></div>
<!-- [ENDEACH]--> <!--[ENDIF]-->
<!-- [IF]([IMAGES_POD])--> <!-- [EACH]([IMAGES_POD]) -->
<div style="page-break-before: always;"><img src="[IMAGE_POD.URL]" width="100%"></div>
<!-- [ENDEACH]--> <!--[ENDIF]-->

First BOL/POD - Single-Page Documents

Use the following system tags to add an image of a BOL or a POD inside the invoice template.

[IMAGE_BOL]

[IMAGE_POD]

This code retrieves the initial page of both POD and BOL, and when multiple PODs or BOLs exist, the system will only retrieve the first one.

<div id="Images">
<!-- [IF]([IMAGE_BOL])--><div style="page-break-before: always;"><img src="[IMAGE_BOL]" width="100%"></div><!--[ENDIF]-->
<!-- [IF]([IMAGE_POD])--><div style="page-break-before: always;"><img src="[IMAGE_POD]" width="100%"></div><!--[ENDIF]-->
</div>

Example - Printed

https://cdntms.taicloud.net/tms/docs/invoice-bol-pod-sample.pdf

Lumper Receipt

You can use the following system tag to include the Lumper Receipt in a shipment when emailing the customer invoice.

[IMAGES_LUMPER_RECEIPTS]

[IMAGES_LUMPER_RECEIPTS.URL]

<!-- [IF]([IMAGES_LUMPER_RECEIPTS])-->
<!-- [EACH]([IMAGES_LUMPER_RECEIPTS]) -->
<div style="page-break-before: always;"><img src="[IMAGES_LUMPER_RECEIPTS.URL]" width="100%"></div>
<!-- [ENDEACH]-->
<!--[ENDIF]-->

Letter of Authorization/Letter of Authority (LOA)

You can use the following system tag to include the LOAs in a shipment when emailing the customer invoice.

[IMAGES_LOA]

[IMAGE_LOA.URL]

<!-- [IF]([IMAGES_LOA])--> 
<!-- [EACH]([IMAGES_LOA]) -->
<div style="page-break-before: always;"><img src="[IMAGE_LOA.URL]" width="100%"></div>
<!-- [ENDEACH]-->
<!--[ENDIF]-->

Inspection Certificates

You can use the following system tag to include the Inspection Certificates in a shipment when emailing the customer invoice.

[IMAGES_INSPECTION_CERTIFICATE]

[IMAGE_INSPECTION_CERTIFICATE.URL]

<!-- [IF]([IMAGES_INSPECTION_CERTIFICATE])--> 
<!-- [EACH]([IMAGES_INSPECTION_CERTIFICATE]) -->
<div style="page-break-before: always;"><img src="[IMAGE_INSPECTION_CERTIFICATE.URL]" width="100%"></div>
<!-- [ENDEACH]-->
<!--[ENDIF]-->

Return Authorization (RA)

You can use the following system tag to include the RAs in a shipment when emailing the customer invoice.

[IMAGES_RA]

[IMAGE_RA.URL]

<!-- [IF]([IMAGES_RA])--> 
<!-- [EACH]([IMAGES_RA]) -->
<div style="page-break-before: always;"><img src="[IMAGE_RA.URL]" width="100%"></div>
<!-- [ENDEACH]-->
<!--[ENDIF]-->

All Public Documents - Multi-Page Documents

You can use the following system tag to add images of all public documents inside the invoice template.

[IMAGES_PUBLIC]

[IMAGES_PUBLIC.URL]

The following code retrieves all available pages for all public documents in the shipment.

<!-- [IF]([IMAGES_PUBLIC])--><!--  [EACH]([IMAGES_PUBLIC]) -->
<div style="page-break-before: always;"><img src="[IMAGES_PUBLIC.URL]" width="100%"></div>
<!-- [ENDEACH]--><!--[ENDIF]-->