Program: MYRXS/MSWORD
//*******************************************************************************************
// @Author: Aaron Bartell
// @Created: 2005-08-23
// @Descr: Compose a Microsoft Word document using Microsoft's XML format. This particular
// program creates an invoice document.
// @Notes:
//*******************************************************************************************
H dftactgrp(*no) bnddir('RXSBND')
/copy rxs,RXSCp
D gError ds likeds(RXS_Error)
D i s 10i 0
/free
monitor;
RXS_initTplEng(RXS_STMF: 'invoice.doc': 819: *omit: *omit: *on);
RXS_loadTpl('msword_invoice.tpl');
RXS_updVar('invoice_number': '112233');
RXS_updVar('invoice_date': %char(%date()));
RXS_updVar('company_name': 'Mow Your Lawn Inc.');
RXS_updVar('company_slogan': 'Mowing Since 1920');
RXS_updVar('street': '123 Dulblade Rd');
RXS_updVar('city': 'Mankato');
RXS_updVar('state': 'MN');
RXS_updVar('zip': '56001');
RXS_updVar('phone': '123-123-1234');
RXS_updVar('fax': '999-999-1234');
RXS_updVar('invoice_nbr': '1133123');
RXS_updVar('invoice_date': %char(%date()));
RXS_updVar('to_name': 'Jim Wede');
RXS_updVar('to_company': 'Needacut LLC');
RXS_updVar('to_street': '123 Riverslide Rd');
RXS_updVar('to_city': 'Mankato');
RXS_updVar('to_state': 'MN');
RXS_updVar('to_zip': '56001');
RXS_updVar('to_phone': '333-333-2234');
RXS_updVar('shpto_name': 'Jim Wede');
RXS_updVar('shpto_company': 'Needacut LLC');
RXS_updVar('shpto_street': '123 Riverslide Rd');
RXS_updVar('shpto_city': 'Mankato');
RXS_updVar('shpto_state': 'MN');
RXS_updVar('shpto_zip': '56001');
RXS_updVar('shpto_phone': '333-333-2234');
RXS_updVar('comments': 'Please pay on time.');
RXS_updVar('salesperson': 'Jeff Skistad');
RXS_updVar('ponumber': '20070645_34');
RXS_updVar('requisitioner': 'Ahmelie Skistad');
RXS_updVar('shipped_via': 'Freight');
RXS_updVar('fob': 'Mankato, MN');
RXS_wrtSection('invoice_beg');
for i = 1 to 3 by 1;
RXS_updVar('qty': %char(i));
RXS_updVar('descr': 'Description' + %char(i));
RXS_updVar('unit_price': '12.34');
RXS_updVar('total': %char(i*12.34));
RXS_wrtSection('line_item');
endfor;
RXS_updVar('subtotal': '74.04');
RXS_updVar('salestax': '4.81');
RXS_updVar('ship_handle': '5.00');
RXS_updVar('total_due': '83.85');
RXS_wrtSection('invoice_end': *on);
on-error;
gError = RXS_catchError();
endmon;
*inlr = *on;
/end-free
IFS template: /www/myrxs/templates/msword_invoice.tpl
::invoice_beg
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?mso-application progid="Word.Document"?>
<w:wordDocument xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml"
xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w10="urn:schemas-microsoft-com:office:word"
xmlns:sl="http://schemas.microsoft.com/schemaLibrary/2003/core"
xmlns:aml="http://schemas.microsoft.com/aml/2001/core"
xmlns:wx="http://schemas.microsoft.com/office/word/2003/auxHint"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" w:macrosPresent="no"
w:embeddedObjPresent="no" w:ocxPresent="no" xml:space="preserve"><o:DocumentProperties><o:Author>Aaron L Bartell</o:Author><o:LastAuthor>Aaron L Bartell</o:LastAuthor><o:Revision>3</o:Revision><o:TotalTime>4</o:TotalTime><o:LastPrinted>2004-04-12T21:40:00Z</o:LastPrinted><o:Created>2007-11-27T22:22:00Z</o:Created><o:LastSaved>2007-11-27T22:30:00Z</o:LastSaved><o:Pages>1</o:Pages><o:Words>183</o:Words><o:Characters>1049</o:Characters><o:Company>Microsoft Corporation</o:Company><o:Lines>8</o:Lines><o:Paragraphs>2</o:Paragraphs><o:CharactersWithSpaces>1230</o:CharactersWithSpaces><o:Version>11.6568</o:Version>
</o:DocumentProperties><o:CustomDocumentProperties><o:_TemplateID dt:dt="string">TC010184661033</o:_TemplateID>
</o:CustomDocumentProperties><w:fonts><w:defaultFonts w:ascii="Times New Roman"
w:fareast="Times New Roman" w:h-ansi="Times New Roman" w:cs="Times New Roman" /><w:font
w:name="Tahoma"><w:panose-1 w:val="020B0604030504040204" /><w:charset w:val="00" /><w:family
w:val="Swiss" /><w:pitch w:val="variable" /><w:sig w:usb-0="61007A87" w:usb-1="80000000"
w:usb-2="00000008" w:usb-3="00000000" w:csb-0="000101FF" w:csb-1="00000000" />
</w:font>
</w:fonts><w:lists><w:listDef w:listDefId="0"><w:lsid w:val="09A2311D" /><w:plt
w:val="HybridMultilevel" /><w:tmpl w:val="B64E4A04" /><w:lvl w:ilvl="0" w:tplc="0409000F"><w:start
w:val="1" /><w:lvlText w:val="%1." /><w:lvlJc w:val="left" /><w:pPr><w:tabs><w:tab
w:val="list" w:pos="360" />
</w:tabs><w:ind w:left="360" w:hanging="360" />
</w:pPr><w:rPr><w:rFonts w:hint="default" />
</w:rPr>
</w:lvl><w:lvl w:ilvl="1" w:tplc="04090019" w:tentative="on"><w:start w:val="1" /><w:nfc w:val="4" /><w:lvlText
w:val="%2." /><w:lvlJc w:val="left" /><w:pPr><w:tabs><w:tab w:val="list" w:pos="1080" />
</w:tabs><w:ind w:left="1080" w:hanging="360" />
</w:pPr>
</w:lvl><w:lvl w:ilvl="2" w:tplc="0409001B" w:tentative="on"><w:start w:val="1" /><w:nfc w:val="2" /><w:lvlText
w:val="%3." /><w:lvlJc w:val="right" /><w:pPr><w:tabs><w:tab w:val="list" w:pos="1800" />
</w:tabs><w:ind w:left="1800" w:hanging="180" />
</w:pPr>
</w:lvl><w:lvl w:ilvl="3" w:tplc="0409000F" w:tentative="on"><w:start w:val="1" /><w:lvlText
w:val="%4." /><w:lvlJc w:val="left" /><w:pPr><w:tabs><w:tab w:val="list" w:pos="2520" />
</w:tabs><w:ind w:left="2520" w:hanging="360" />
</w:pPr>
</w:lvl><w:lvl w:ilvl="4" w:tplc="04090019" w:tentative="on"><w:start w:val="1" /><w:nfc w:val="4" /><w:lvlText
w:val="%5." /><w:lvlJc w:val="left" /><w:pPr><w:tabs><w:tab w:val="list" w:pos="3240" />
</w:tabs><w:ind w:left="3240" w:hanging="360" />
</w:pPr>
</w:lvl><w:lvl w:ilvl="5" w:tplc="0409001B" w:tentative="on"><w:start w:val="1" /><w:nfc w:val="2" /><w:lvlText
w:val="%6." /><w:lvlJc w:val="right" /><w:pPr><w:tabs><w:tab w:val="list" w:pos="3960" />
</w:tabs><w:ind w:left="3960" w:hanging="180" />
</w:pPr>
</w:lvl><w:lvl w:ilvl="6" w:tplc="0409000F" w:tentative="on"><w:start w:val="1" /><w:lvlText
w:val="%7." /><w:lvlJc w:val="left" /><w:pPr><w:tabs><w:tab w:val="list" w:pos="4680" />
</w:tabs><w:ind w:left="4680" w:hanging="360" />
</w:pPr>
</w:lvl><w:lvl w:ilvl="7" w:tplc="04090019" w:tentative="on"><w:start w:val="1" /><w:nfc w:val="4" /><w:lvlText
w:val="%8." /><w:lvlJc w:val="left" /><w:pPr><w:tabs><w:tab w:val="list" w:pos="5400" />
</w:tabs><w:ind w:left="5400" w:hanging="360" />
</w:pPr>
</w:lvl><w:lvl w:ilvl="8" w:tplc="0409001B" w:tentative="on"><w:start w:val="1" /><w:nfc w:val="2" /><w:lvlText
w:val="%9." /><w:lvlJc w:val="right" /><w:pPr><w:tabs><w:tab w:val="list" w:pos="6120" />
</w:tabs><w:ind w:left="6120" w:hanging="180" />
</w:pPr>
</w:lvl>
</w:listDef><w:listDef w:listDefId="1"><w:lsid w:val="72B2751F" /><w:plt w:val="HybridMultilevel" /><w:tmpl
w:val="DE88B224" /><w:lvl w:ilvl="0" w:tplc="A8427020"><w:start w:val="1" /><w:lvlText
w:val="%1." /><w:lvlJc w:val="left" /><w:pPr><w:tabs><w:tab w:val="list" w:pos="288" />
</w:tabs><w:ind w:left="288" w:hanging="288" />
</w:pPr><w:rPr><w:rFonts w:ascii="Arial" w:h-ansi="Arial" w:hint="default" /><w:sz w:val="16" /><w:sz-cs
w:val="16" />
</w:rPr>
</w:lvl><w:lvl w:ilvl="1" w:tplc="04090019" w:tentative="on"><w:start w:val="1" /><w:nfc w:val="4" /><w:lvlText
w:val="%2." /><w:lvlJc w:val="left" /><w:pPr><w:tabs><w:tab w:val="list" w:pos="1440" />
</w:tabs><w:ind w:left="1440" w:hanging="360" />
</w:pPr>
</w:lvl><w:lvl w:ilvl="2" w:tplc="0409001B" w:tentative="on"><w:start w:val="1" /><w:nfc w:val="2" /><w:lvlText
w:val="%3." /><w:lvlJc w:val="right" /><w:pPr><w:tabs><w:tab w:val="list" w:pos="2160" />
</w:tabs><w:ind w:left="2160" w:hanging="180" />
</w:pPr>
</w:lvl><w:lvl w:ilvl="3" w:tplc="0409000F" w:tentative="on"><w:start w:val="1" /><w:lvlText
w:val="%4." /><w:lvlJc w:val="left" /><w:pPr><w:tabs><w:tab w:val="list" w:pos="2880" />
</w:tabs><w:ind w:left="2880" w:hanging="360" />
</w:pPr>
</w:lvl><w:lvl w:ilvl="4" w:tplc="04090019" w:tentative="on"><w:start w:val="1" /><w:nfc w:val="4" /><w:lvlText
w:val="%5." /><w:lvlJc w:val="left" /><w:pPr><w:tabs><w:tab w:val="list" w:pos="3600" />
</w:tabs><w:ind w:left="3600" w:hanging="360" />
</w:pPr>
</w:lvl><w:lvl w:ilvl="5" w:tplc="0409001B" w:tentative="on"><w:start w:val="1" /><w:nfc w:val="2" /><w:lvlText
w:val="%6." /><w:lvlJc w:val="right" /><w:pPr><w:tabs><w:tab w:val="list" w:pos="4320" />
</w:tabs><w:ind w:left="4320" w:hanging="180" />
</w:pPr>
</w:lvl><w:lvl w:ilvl="6" w:tplc="0409000F" w:tentative="on"><w:start w:val="1" /><w:lvlText
w:val="%7." /><w:lvlJc w:val="left" /><w:pPr><w:tabs><w:tab w:val="list" w:pos="5040" />
</w:tabs><w:ind w:left="5040" w:hanging="360" />
</w:pPr>
</w:lvl><w:lvl w:ilvl="7" w:tplc="04090019" w:tentative="on"><w:start w:val="1" /><w:nfc w:val="4" /><w:lvlText
w:val="%8." /><w:lvlJc w:val="left" /><w:pPr><w:tabs><w:tab w:val="list" w:pos="5760" />
</w:tabs><w:ind w:left="5760" w:hanging="360" />
</w:pPr>
</w:lvl><w:lvl w:ilvl="8" w:tplc="0409001B" w:tentative="on"><w:start w:val="1" /><w:nfc w:val="2" /><w:lvlText
w:val="%9." /><w:lvlJc w:val="right" /><w:pPr><w:tabs><w:tab w:val="list" w:pos="6480" />
</w:tabs><w:ind w:left="6480" w:hanging="180" />
</w:pPr>
</w:lvl>
</w:listDef><w:list w:ilfo="1"><w:ilst w:val="0" />
</w:list><w:list w:ilfo="2"><w:ilst w:val="1" />
</w:list>
</w:lists><w:styles><w:versionOfBuiltInStylenames w:val="4" /><w:latentStyles w:defLockedState="off"
w:latentStyleCount="156" /><w:style w:type="paragraph" w:default="on" w:styleId="Normal"><w:name
w:val="Normal" /><w:rsid w:val="00354FB9" /><w:pPr><w:spacing w:line="264"
w:line-rule="auto" />
</w:pPr><w:rPr><w:rFonts w:ascii="Tahoma" w:h-ansi="Tahoma" /><wx:font wx:val="Tahoma" /><w:spacing
w:val="4" /><w:sz w:val="17" /><w:sz-cs w:val="18" /><w:lang w:val="EN-US"
w:fareast="EN-US" w:bidi="AR-SA" />
</w:rPr>
</w:style><w:style w:type="paragraph" w:styleId="Heading1"><w:name w:val="heading 1" /><wx:uiName
wx:val="Heading 1" /><w:basedOn w:val="Normal" /><w:next w:val="Normal" /><w:rsid
w:val="00354FB9" /><w:pPr><w:pStyle w:val="Heading1" /><w:jc w:val="right" /><w:outlineLvl
w:val="0" />
</w:pPr><w:rPr><wx:font wx:val="Tahoma" /><w:b /><w:color w:val="808080" /><w:sz w:val="40" />
</w:rPr>
</w:style><w:style w:type="paragraph" w:styleId="Heading2"><w:name w:val="heading 2" /><wx:uiName
wx:val="Heading 2" /><w:basedOn w:val="Normal" /><w:next w:val="Normal" /><w:rsid
w:val="00354FB9" /><w:pPr><w:pStyle w:val="Heading2" /><w:spacing w:before="140" /><w:outlineLvl
w:val="1" />
</w:pPr><w:rPr><wx:font wx:val="Tahoma" /><w:b /><w:sz w:val="24" />
</w:rPr>
</w:style><w:style w:type="paragraph" w:styleId="Heading3"><w:name w:val="heading 3" /><wx:uiName
wx:val="Heading 3" /><w:basedOn w:val="Normal" /><w:next w:val="Normal" /><w:rsid
w:val="00354FB9" /><w:pPr><w:pStyle w:val="Heading3" /><w:outlineLvl w:val="2" />
</w:pPr><w:rPr><wx:font wx:val="Tahoma" /><w:b /><w:caps /><w:sz w:val="16" /><w:sz-cs w:val="16" />
</w:rPr>
</w:style><w:style w:type="character" w:default="on" w:styleId="DefaultParagraphFont"><w:name
w:val="Default Paragraph Font" /><w:semiHidden />
</w:style><w:style w:type="table" w:default="on" w:styleId="TableNormal"><w:name
w:val="Normal Table" /><wx:uiName wx:val="Table Normal" /><w:semiHidden /><w:rPr><wx:font
wx:val="Times New Roman" />
</w:rPr><w:tblPr><w:tblInd w:w="0" w:type="dxa" /><w:tblCellMar><w:top w:w="0" w:type="dxa" /><w:left
w:w="108" w:type="dxa" /><w:bottom w:w="0" w:type="dxa" /><w:right w:w="108"
w:type="dxa" />
</w:tblCellMar>
</w:tblPr>
</w:style><w:style w:type="list" w:default="on" w:styleId="NoList"><w:name w:val="No List" /><w:semiHidden />
</w:style><w:style w:type="paragraph" w:styleId="BalloonText"><w:name w:val="Balloon Text" /><w:basedOn
w:val="Normal" /><w:semiHidden /><w:rsid w:val="00354FB9" /><w:pPr><w:pStyle
w:val="BalloonText" />
</w:pPr><w:rPr><w:rFonts w:cs="Tahoma" /><wx:font wx:val="Tahoma" /><w:sz w:val="16" /><w:sz-cs
w:val="16" />
</w:rPr>
</w:style><w:style w:type="paragraph" w:styleId="Amount"><w:name w:val="Amount" /><w:basedOn
w:val="Normal" /><w:rsid w:val="00354FB9" /><w:pPr><w:pStyle w:val="Amount" /><w:jc
w:val="right" />
</w:pPr><w:rPr><wx:font wx:val="Tahoma" /><w:sz-cs w:val="20" />
</w:rPr>
</w:style><w:style w:type="paragraph" w:styleId="ColumnHeadings"><w:name w:val="Column Headings" /><w:basedOn
w:val="Normal" /><w:rsid w:val="00354FB9" /><w:pPr><w:pStyle w:val="ColumnHeadings" /><w:jc
w:val="center" />
</w:pPr><w:rPr><wx:font wx:val="Tahoma" /><w:b /><w:sz w:val="16" />
</w:rPr>
</w:style><w:style w:type="paragraph" w:styleId="Labels"><w:name w:val="Labels" /><w:basedOn
w:val="Normal" /><w:rsid w:val="00354FB9" /><w:pPr><w:pStyle w:val="Labels" /><w:jc
w:val="right" />
</w:pPr><w:rPr><wx:font wx:val="Tahoma" /><w:caps /><w:sz w:val="16" /><w:sz-cs w:val="16" />
</w:rPr>
</w:style><w:style w:type="paragraph" w:styleId="Centered"><w:name w:val="Centered" /><w:basedOn
w:val="Normal" /><w:rsid w:val="00354FB9" /><w:pPr><w:pStyle w:val="Centered" /><w:jc
w:val="center" />
</w:pPr><w:rPr><wx:font wx:val="Tahoma" />
</w:rPr>
</w:style><w:style w:type="paragraph" w:styleId="Slogan"><w:name w:val="Slogan" /><w:basedOn
w:val="Heading3" /><w:rsid w:val="00354FB9" /><w:pPr><w:pStyle w:val="Slogan" />
</w:pPr><w:rPr><wx:font wx:val="Tahoma" /><w:b w:val="off" /><w:i /><w:caps w:val="off" />
</w:rPr>
</w:style>
</w:styles><w:shapeDefaults><o:shapedefaults v:ext="edit" spidmax="4098" /><o:shapelayout
v:ext="edit"><o:idmap v:ext="edit" data="1" />
</o:shapelayout>
</w:shapeDefaults><w:docPr><w:view w:val="print" /><w:zoom w:percent="100" /><w:displayBackgroundShape /><w:doNotEmbedSystemFonts /><w:attachedTemplate
w:val="" /><w:defaultTabStop
w:val="720" /><w:characterSpacingControl w:val="DontCompress" /><w:optimizeForBrowser /><w:validateAgainstSchema /><w:saveInvalidXML
w:val="off" /><w:ignoreMixedContent w:val="off" /><w:alwaysShowPlaceholderText w:val="off" /><w:compat><w:dontAllowFieldEndSelect /><w:useWord2002TableStyleRules />
</w:compat>
</w:docPr><w:body><wx:sect><w:tbl><w:tblPr><w:tblW w:w="10800" w:type="dxa" /><w:jc w:val="center" />
</w:tblPr><w:tblGrid><w:gridCol w:w="5412" /><w:gridCol w:w="5388" />
</w:tblGrid><w:tr><w:trPr><w:trHeight w:val="795" /><w:jc w:val="center" />
</w:trPr><w:tc><w:tcPr><w:tcW w:w="5412" w:type="dxa" /><w:vmerge w:val="restart" />
</w:tcPr><w:p><w:pPr><w:pStyle w:val="Heading2" />
</w:pPr><w:r><w:t>.:company_name:.</w:t>
</w:r>
</w:p><w:p><w:pPr><w:pStyle w:val="Slogan" />
</w:pPr><w:r><w:t>.:company_slogan:.</w:t>
</w:r>
</w:p><w:p /><w:p><w:r><w:t>.:street:.</w:t>
</w:r>
</w:p><w:p><w:r><w:t>.:city:., .:state:. .:zip:.</w:t>
</w:r>
</w:p><w:p><w:r><w:t>.:phone:.</w:t>
</w:r><w:r><w:fldChar w:fldCharType="begin" />
</w:r><w:r><w:fldChar w:fldCharType="end" />
</w:r><w:r><w:t>.:fax:.</w:t>
</w:r><w:r><w:fldChar w:fldCharType="begin" />
</w:r><w:r><w:fldChar w:fldCharType="end" />
</w:r>
</w:p>
</w:tc><w:tc><w:tcPr><w:tcW w:w="5388" w:type="dxa" />
</w:tcPr><w:p><w:pPr><w:pStyle w:val="Heading1" />
</w:pPr><w:r><w:t>INVOICE</w:t>
</w:r>
</w:p>
</w:tc>
</w:tr><w:tr><w:trPr><w:trHeight w:val="795" /><w:jc w:val="center" />
</w:trPr><w:tc><w:tcPr><w:tcW w:w="5412" w:type="dxa" /><w:vmerge />
</w:tcPr><w:p><w:pPr><w:pStyle w:val="Heading2" />
</w:pPr>
</w:p>
</w:tc><w:tc><w:tcPr><w:tcW w:w="5388" w:type="dxa" /><w:vAlign w:val="bottom" />
</w:tcPr><w:p><w:pPr><w:pStyle w:val="Labels" />
</w:pPr><w:r><w:t>Invoice # .:invoice_number:.</w:t>
</w:r><w:r><w:fldChar w:fldCharType="begin" />
</w:r><w:r><w:instrText>.:invoice_nbr:.</w:instrText>
</w:r><w:r><w:fldChar w:fldCharType="end" />
</w:r>
</w:p><w:p><w:pPr><w:pStyle w:val="Labels" /><w:rPr><w:b /><w:b-cs />
</w:rPr>
</w:pPr><w:r><w:t>Date: .:invoice_date:.</w:t>
</w:r><w:r><w:fldChar w:fldCharType="begin" />
</w:r><w:r><w:instrText>.:invoice_date:.</w:instrText>
</w:r><w:r><w:fldChar w:fldCharType="separate" />
</w:r><w:r><w:rPr><w:noProof />
</w:rPr>
</w:r><w:r><w:fldChar w:fldCharType="end" />
</w:r>
</w:p>
</w:tc>
</w:tr>
</w:tbl><w:p /><w:tbl><w:tblPr><w:tblW w:w="10800" w:type="dxa" /><w:jc w:val="center" />
</w:tblPr><w:tblGrid><w:gridCol w:w="5400" /><w:gridCol w:w="5400" />
</w:tblGrid><w:tr><w:trPr><w:trHeight w:val="1440" /><w:jc w:val="center" />
</w:trPr><w:tc><w:tcPr><w:tcW w:w="5400" w:type="dxa" />
</w:tcPr><w:p><w:pPr><w:pStyle w:val="Heading3" />
</w:pPr><w:r><w:t>To:</w:t>
</w:r>
</w:p>
<w:p><w:r><w:t>.:to_name:.</w:t></w:r></w:p>
<w:p><w:r><w:t>.:to_company:.</w:t></w:r></w:p>
<w:p><w:r><w:t>.:to_street:.</w:t></w:r></w:p>
<w:p><w:r><w:t>.:to_city:., .:to_state:. .:to_zip:.</w:t></w:r></w:p>
<w:p><w:r><w:t>.:to_phone:.</w:t></w:r></w:p>
</w:tc><w:tc><w:tcPr><w:tcW w:w="5400" w:type="dxa" />
</w:tcPr><w:p><w:pPr><w:pStyle w:val="Heading3" />
</w:pPr><w:r><w:t>Ship To:</w:t>
</w:r>
</w:p>
<w:p><w:r><w:t>.:shpto_name:.</w:t></w:r></w:p>
<w:p><w:r><w:t>.:shpto_company:.</w:t></w:r></w:p>
<w:p><w:r><w:t>.:shpto_street:.</w:t></w:r></w:p>
<w:p><w:r><w:t>.:shpto_city:., .:shpto_state:. .:shpto_zip:.</w:t></w:r></w:p>
<w:p><w:r><w:t>.:shpto_phone:.</w:t></w:r></w:p>
</w:tc>
</w:tr><w:tr><w:trPr><w:trHeight w:val="1152" /><w:jc w:val="center" />
</w:trPr><w:tc><w:tcPr><w:tcW w:w="10800" w:type="dxa" /><w:gridSpan w:val="2" />
</w:tcPr><w:p><w:pPr><w:pStyle w:val="Heading3" />
</w:pPr>
</w:p><w:p><w:pPr><w:pStyle w:val="Heading3" />
</w:pPr><w:r><w:t>Comments or special instructions:</w:t>
<w:instrText>.:comments:.</w:instrText>
</w:r>
</w:p>
</w:tc>
</w:tr>
</w:tbl><w:p /><w:tbl><w:tblPr><w:tblW w:w="10800" w:type="dxa" /><w:jc w:val="center" /><w:tblBorders><w:top
w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto" /><w:left
w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto" /><w:bottom
w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto" /><w:right
w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto" /><w:insideH
w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto" /><w:insideV
w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto" />
</w:tblBorders><w:tblCellMar><w:top w:w="43" w:type="dxa" /><w:left w:w="115" w:type="dxa" /><w:bottom
w:w="43" w:type="dxa" /><w:right w:w="115" w:type="dxa" />
</w:tblCellMar>
</w:tblPr><w:tblGrid><w:gridCol w:w="1890" /><w:gridCol w:w="2295" /><w:gridCol w:w="2295" /><w:gridCol
w:w="1440" /><w:gridCol w:w="1440" /><w:gridCol w:w="1440" />
</w:tblGrid><w:tr><w:trPr><w:cantSplit /><w:trHeight w:val="288" /><w:jc w:val="center" />
</w:trPr><w:tc><w:tcPr><w:tcW w:w="1890" w:type="dxa" /><w:tcBorders><w:top w:val="single" w:sz="12"
wx:bdrwidth="30" w:space="0" w:color="auto" />
</w:tcBorders><w:shd w:val="clear" w:color="auto" w:fill="auto" /><w:vAlign w:val="center" />
</w:tcPr><w:p><w:pPr><w:pStyle w:val="ColumnHeadings" />
</w:pPr><w:r><w:t>SALESPERSON</w:t>
</w:r>
</w:p>
</w:tc><w:tc><w:tcPr><w:tcW w:w="2295" w:type="dxa" /><w:tcBorders><w:top w:val="single" w:sz="12"
wx:bdrwidth="30" w:space="0" w:color="auto" />
</w:tcBorders><w:shd w:val="clear" w:color="auto" w:fill="auto" /><w:vAlign w:val="center" />
</w:tcPr><w:p><w:pPr><w:pStyle w:val="ColumnHeadings" />
</w:pPr><w:r><w:t>P.O. NUMBER</w:t>
</w:r>
</w:p>
</w:tc><w:tc><w:tcPr><w:tcW w:w="2295" w:type="dxa" /><w:tcBorders><w:top w:val="single" w:sz="12"
wx:bdrwidth="30" w:space="0" w:color="auto" />
</w:tcBorders><w:vAlign w:val="center" />
</w:tcPr><w:p><w:pPr><w:pStyle w:val="ColumnHeadings" />
</w:pPr><w:r><w:t>REQUISITIONER</w:t>
</w:r>
</w:p>
</w:tc><w:tc><w:tcPr><w:tcW w:w="1440" w:type="dxa" /><w:tcBorders><w:top w:val="single" w:sz="12"
wx:bdrwidth="30" w:space="0" w:color="auto" />
</w:tcBorders><w:vAlign w:val="center" />
</w:tcPr><w:p><w:pPr><w:pStyle w:val="ColumnHeadings" />
</w:pPr><w:r><w:t>SHIPPED VIA</w:t>
</w:r>
</w:p>
</w:tc><w:tc><w:tcPr><w:tcW w:w="1440" w:type="dxa" /><w:tcBorders><w:top w:val="single" w:sz="12"
wx:bdrwidth="30" w:space="0" w:color="auto" />
</w:tcBorders><w:vAlign w:val="center" />
</w:tcPr><w:p><w:pPr><w:pStyle w:val="ColumnHeadings" />
</w:pPr><w:r><w:t>F.O.B. POINT</w:t>
</w:r>
</w:p>
</w:tc><w:tc><w:tcPr><w:tcW w:w="1440" w:type="dxa" /><w:tcBorders><w:top w:val="single" w:sz="12"
wx:bdrwidth="30" w:space="0" w:color="auto" />
</w:tcBorders><w:vAlign w:val="center" />
</w:tcPr><w:p><w:pPr><w:pStyle w:val="ColumnHeadings" />
</w:pPr><w:r><w:t>TERMS</w:t>
</w:r>
</w:p>
</w:tc>
</w:tr><w:tr><w:trPr><w:cantSplit /><w:trHeight w:val="288" /><w:jc w:val="center" />
</w:trPr><w:tc><w:tcPr><w:tcW w:w="1890" w:type="dxa" /><w:shd w:val="clear" w:color="auto"
w:fill="auto" /><w:vAlign w:val="center" />
</w:tcPr><w:p><w:pPr><w:pStyle w:val="Centered" />
</w:pPr><w:r><w:t>.:salesperson:.</w:t>
</w:r>
</w:p>
</w:tc><w:tc><w:tcPr><w:tcW w:w="2295" w:type="dxa" /><w:shd w:val="clear" w:color="auto"
w:fill="auto" /><w:vAlign w:val="center" />
</w:tcPr><w:p><w:pPr><w:pStyle w:val="Centered" />
</w:pPr><w:r><w:t>.:ponumber:.</w:t>
</w:r>
</w:p>
</w:tc><w:tc><w:tcPr><w:tcW w:w="2295" w:type="dxa" /><w:vAlign w:val="center" />
</w:tcPr><w:p><w:pPr><w:pStyle w:val="Centered" />
</w:pPr><w:r><w:t>.:requisitioner:.</w:t>
</w:r>
</w:p>
</w:tc><w:tc><w:tcPr><w:tcW w:w="1440" w:type="dxa" /><w:vAlign w:val="center" />
</w:tcPr><w:p><w:pPr><w:pStyle w:val="Centered" />
</w:pPr><w:r><w:t>.:shipped_via:.</w:t>
</w:r>
</w:p>
</w:tc><w:tc><w:tcPr><w:tcW w:w="1440" w:type="dxa" /><w:vAlign w:val="center" />
</w:tcPr><w:p><w:pPr><w:pStyle w:val="Centered" />
</w:pPr><w:r><w:t>.:fob:.</w:t>
</w:r>
</w:p>
</w:tc><w:tc><w:tcPr><w:tcW w:w="1440" w:type="dxa" /><w:vAlign w:val="center" />
</w:tcPr><w:p><w:pPr><w:pStyle w:val="Centered" />
</w:pPr><w:r><w:t>Due on receipt</w:t>
</w:r>
</w:p>
</w:tc>
</w:tr>
</w:tbl><w:p /><w:p /><w:tbl><w:tblPr><w:tblW w:w="10800" w:type="dxa" /><w:jc w:val="center" /><w:tblBorders><w:top
w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto" /><w:left
w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto" /><w:bottom
w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto" /><w:right
w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto" /><w:insideH
w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto" /><w:insideV
w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto" />
</w:tblBorders><w:tblCellMar><w:top w:w="43" w:type="dxa" /><w:left w:w="115" w:type="dxa" /><w:bottom
w:w="43" w:type="dxa" /><w:right w:w="115" w:type="dxa" />
</w:tblCellMar>
</w:tblPr><w:tblGrid><w:gridCol w:w="1890" /><w:gridCol w:w="4557" /><w:gridCol w:w="1484" /><w:gridCol
w:w="1464" /><w:gridCol w:w="1405" />
</w:tblGrid><w:tr><w:trPr><w:cantSplit /><w:trHeight w:val="288" /><w:jc w:val="center" />
</w:trPr><w:tc><w:tcPr><w:tcW w:w="1890" w:type="dxa" /><w:tcBorders><w:top w:val="single" w:sz="12"
wx:bdrwidth="30" w:space="0" w:color="auto" /><w:bottom w:val="single" w:sz="4"
wx:bdrwidth="10" w:space="0" w:color="auto" />
</w:tcBorders><w:vAlign w:val="center" />
</w:tcPr><w:p><w:pPr><w:pStyle w:val="ColumnHeadings" />
</w:pPr><w:r><w:t>QUANTITY</w:t>
</w:r>
</w:p>
</w:tc><w:tc><w:tcPr><w:tcW w:w="6041" w:type="dxa" /><w:gridSpan w:val="2" /><w:tcBorders><w:top
w:val="single" w:sz="12" wx:bdrwidth="30" w:space="0" w:color="auto" /><w:bottom
w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto" />
</w:tcBorders><w:vAlign w:val="center" />
</w:tcPr><w:p><w:pPr><w:pStyle w:val="ColumnHeadings" />
</w:pPr><w:r><w:t>DESCRIPTION</w:t>
</w:r>
</w:p>
</w:tc><w:tc><w:tcPr><w:tcW w:w="1464" w:type="dxa" /><w:tcBorders><w:top w:val="single" w:sz="12"
wx:bdrwidth="30" w:space="0" w:color="auto" /><w:bottom w:val="single" w:sz="4"
wx:bdrwidth="10" w:space="0" w:color="auto" />
</w:tcBorders><w:vAlign w:val="center" />
</w:tcPr><w:p><w:pPr><w:pStyle w:val="ColumnHeadings" />
</w:pPr><w:r><w:t>UNIT PRICE</w:t>
</w:r>
</w:p>
</w:tc><w:tc><w:tcPr><w:tcW w:w="1405" w:type="dxa" /><w:tcBorders><w:top w:val="single" w:sz="12"
wx:bdrwidth="30" w:space="0" w:color="auto" /><w:bottom w:val="single" w:sz="4"
wx:bdrwidth="10" w:space="0" w:color="auto" />
</w:tcBorders><w:vAlign w:val="center" />
</w:tcPr><w:p><w:pPr><w:pStyle w:val="ColumnHeadings" />
</w:pPr><w:r><w:t>TOTAL</w:t>
</w:r>
</w:p>
</w:tc>
</w:tr>
::line_item
<w:tr><w:trPr><w:cantSplit /><w:trHeight w:val="288" /><w:jc w:val="center" />
</w:trPr><w:tc><w:tcPr><w:tcW w:w="1890" w:type="dxa" /><w:tcBorders><w:top w:val="single" w:sz="4"
wx:bdrwidth="10" w:space="0" w:color="auto" /><w:left w:val="single" w:sz="4"
wx:bdrwidth="10" w:space="0" w:color="auto" /><w:bottom w:val="nil" /><w:right
w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto" />
</w:tcBorders><w:vAlign w:val="center" />
</w:tcPr><w:p><w:r><w:t>.:qty:.</w:t>
</w:r>
</w:p>
</w:tc><w:tc><w:tcPr><w:tcW w:w="6041" w:type="dxa" /><w:gridSpan w:val="2" /><w:tcBorders><w:top
w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto" /><w:left
w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto" /><w:bottom
w:val="nil" /><w:right w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0"
w:color="auto" />
</w:tcBorders><w:tcMar><w:left w:w="216" w:type="dxa" /><w:right w:w="216" w:type="dxa" />
</w:tcMar><w:vAlign w:val="center" />
</w:tcPr><w:p><w:r><w:t>.:descr:.</w:t>
</w:r>
</w:p>
</w:tc><w:tc><w:tcPr><w:tcW w:w="1464" w:type="dxa" /><w:tcBorders><w:top w:val="single" w:sz="4"
wx:bdrwidth="10" w:space="0" w:color="auto" /><w:left w:val="single" w:sz="4"
wx:bdrwidth="10" w:space="0" w:color="auto" /><w:bottom w:val="nil" /><w:right
w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto" />
</w:tcBorders><w:tcMar><w:left w:w="216" w:type="dxa" /><w:right w:w="216" w:type="dxa" />
</w:tcMar><w:vAlign w:val="center" />
</w:tcPr><w:p><w:pPr><w:jc w:val="right" />
</w:pPr><w:r><w:t>.:unit_price:.</w:t>
</w:r>
</w:p>
</w:tc><w:tc><w:tcPr><w:tcW w:w="1405" w:type="dxa" /><w:tcBorders><w:top w:val="single" w:sz="4"
wx:bdrwidth="10" w:space="0" w:color="auto" /><w:left w:val="single" w:sz="4"
wx:bdrwidth="10" w:space="0" w:color="auto" /><w:bottom w:val="nil" /><w:right
w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto" />
</w:tcBorders><w:tcMar><w:left w:w="216" w:type="dxa" /><w:right w:w="216" w:type="dxa" />
</w:tcMar><w:vAlign w:val="center" />
</w:tcPr><w:p><w:pPr><w:jc w:val="right" />
</w:pPr><w:r><w:t>.:total:.</w:t></w:r>
</w:p>
</w:tc>
</w:tr>
<!-- end of line item -->
::invoice_end
<w:tr><w:trPr><w:cantSplit /><w:trHeight w:val="288" /><w:jc w:val="center" />
</w:trPr><w:tc><w:tcPr><w:tcW w:w="6447" w:type="dxa" /><w:gridSpan w:val="2" /><w:vmerge
w:val="restart" /><w:tcBorders><w:top w:val="single" w:sz="4" wx:bdrwidth="10"
w:space="0" w:color="auto" /><w:left w:val="nil" /><w:right w:val="nil" />
</w:tcBorders>
</w:tcPr><w:p />
</w:tc><w:tc><w:tcPr><w:tcW w:w="2948" w:type="dxa" /><w:gridSpan w:val="2" /><w:tcBorders><w:top
w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto" /><w:left
w:val="nil" /><w:bottom w:val="nil" /><w:right w:val="single" w:sz="4"
wx:bdrwidth="10" w:space="0" w:color="auto" />
</w:tcBorders><w:tcMar><w:left w:w="216" w:type="dxa" /><w:right w:w="216" w:type="dxa" />
</w:tcMar><w:vAlign w:val="center" />
</w:tcPr><w:p><w:pPr><w:pStyle w:val="Labels" />
</w:pPr><w:r><w:t>SUBTOTAL</w:t>
</w:r>
</w:p>
</w:tc><w:tc><w:tcPr><w:tcW w:w="1405" w:type="dxa" /><w:tcBorders><w:top w:val="single" w:sz="4"
wx:bdrwidth="10" w:space="0" w:color="auto" /><w:left w:val="single" w:sz="4"
wx:bdrwidth="10" w:space="0" w:color="auto" /><w:bottom w:val="nil" /><w:right
w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto" />
</w:tcBorders><w:tcMar><w:left w:w="216" w:type="dxa" /><w:right w:w="216" w:type="dxa" />
</w:tcMar><w:vAlign w:val="center" />
</w:tcPr><w:p><w:pPr><w:jc w:val="right" />
</w:pPr><w:r><w:t>.:subtotal:.</w:t></w:r>
</w:p>
</w:tc>
</w:tr><w:tr><w:trPr><w:cantSplit /><w:trHeight w:val="288" /><w:jc w:val="center" />
</w:trPr><w:tc><w:tcPr><w:tcW w:w="6447" w:type="dxa" /><w:gridSpan w:val="2" /><w:vmerge /><w:tcBorders><w:left
w:val="nil" /><w:right w:val="nil" />
</w:tcBorders>
</w:tcPr><w:p />
</w:tc><w:tc><w:tcPr><w:tcW w:w="2948" w:type="dxa" /><w:gridSpan w:val="2" /><w:tcBorders><w:top
w:val="nil" /><w:left w:val="nil" /><w:bottom w:val="nil" /><w:right
w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto" />
</w:tcBorders><w:tcMar><w:left w:w="216" w:type="dxa" /><w:right w:w="216" w:type="dxa" />
</w:tcMar><w:vAlign w:val="center" />
</w:tcPr><w:p><w:pPr><w:pStyle w:val="Labels" />
</w:pPr><w:r><w:t>SALES TAX</w:t>
</w:r>
</w:p>
</w:tc><w:tc><w:tcPr><w:tcW w:w="1405" w:type="dxa" /><w:tcBorders><w:top w:val="nil" /><w:left
w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto" /><w:bottom
w:val="nil" /><w:right w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0"
w:color="auto" />
</w:tcBorders><w:tcMar><w:left w:w="216" w:type="dxa" /><w:right w:w="216" w:type="dxa" />
</w:tcMar><w:vAlign w:val="center" />
</w:tcPr><w:p><w:pPr><w:jc w:val="right" />
</w:pPr><w:r><w:t>.:salestax:.</w:t></w:r>
</w:p>
</w:tc>
</w:tr><w:tr><w:trPr><w:cantSplit /><w:trHeight w:val="288" /><w:jc w:val="center" />
</w:trPr><w:tc><w:tcPr><w:tcW w:w="6447" w:type="dxa" /><w:gridSpan w:val="2" /><w:vmerge /><w:tcBorders><w:left
w:val="nil" /><w:right w:val="nil" />
</w:tcBorders>
</w:tcPr><w:p />
</w:tc><w:tc><w:tcPr><w:tcW w:w="2948" w:type="dxa" /><w:gridSpan w:val="2" /><w:tcBorders><w:top
w:val="nil" /><w:left w:val="nil" /><w:bottom w:val="nil" /><w:right
w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto" />
</w:tcBorders><w:tcMar><w:left w:w="216" w:type="dxa" /><w:right w:w="216" w:type="dxa" />
</w:tcMar><w:vAlign w:val="center" />
</w:tcPr><w:p><w:pPr><w:pStyle w:val="Labels" />
</w:pPr><w:r><w:t>SHIPPING & HANDLING</w:t>
</w:r>
</w:p>
</w:tc><w:tc><w:tcPr><w:tcW w:w="1405" w:type="dxa" /><w:tcBorders><w:top w:val="nil" /><w:left
w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto" /><w:bottom
w:val="nil" /><w:right w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0"
w:color="auto" />
</w:tcBorders><w:tcMar><w:left w:w="216" w:type="dxa" /><w:right w:w="216" w:type="dxa" />
</w:tcMar><w:vAlign w:val="center" />
</w:tcPr><w:p><w:pPr><w:jc w:val="right" />
</w:pPr><w:r><w:t>.:ship_handle:.</w:t></w:r>
</w:p>
</w:tc>
</w:tr><w:tr><w:trPr><w:cantSplit /><w:trHeight w:val="288" /><w:jc w:val="center" />
</w:trPr><w:tc><w:tcPr><w:tcW w:w="6447" w:type="dxa" /><w:gridSpan w:val="2" /><w:vmerge /><w:tcBorders><w:left
w:val="nil" /><w:bottom w:val="nil" /><w:right w:val="nil" />
</w:tcBorders>
</w:tcPr><w:p />
</w:tc><w:tc><w:tcPr><w:tcW w:w="2948" w:type="dxa" /><w:gridSpan w:val="2" /><w:tcBorders><w:top
w:val="nil" /><w:left w:val="nil" /><w:bottom w:val="nil" /><w:right
w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto" />
</w:tcBorders><w:tcMar><w:left w:w="216" w:type="dxa" /><w:right w:w="216" w:type="dxa" />
</w:tcMar><w:vAlign w:val="center" />
</w:tcPr><w:p><w:pPr><w:pStyle w:val="Labels" />
</w:pPr><w:r><w:t>TOTAL due</w:t>
</w:r>
</w:p>
</w:tc><w:tc><w:tcPr><w:tcW w:w="1405" w:type="dxa" /><w:tcBorders><w:top w:val="single" w:sz="4"
wx:bdrwidth="10" w:space="0" w:color="auto" /><w:left w:val="single" w:sz="4"
wx:bdrwidth="10" w:space="0" w:color="auto" /><w:bottom w:val="single" w:sz="4"
wx:bdrwidth="10" w:space="0" w:color="auto" /><w:right w:val="single" w:sz="4"
wx:bdrwidth="10" w:space="0" w:color="auto" />
</w:tcBorders><w:tcMar><w:left w:w="216" w:type="dxa" /><w:right w:w="216" w:type="dxa" />
</w:tcMar><w:vAlign w:val="center" />
</w:tcPr><w:p><w:pPr><w:jc w:val="right" />
</w:pPr><w:r><w:t>.:total_due:.</w:t></w:r>
</w:p>
</w:tc>
</w:tr>
</w:tbl><w:p /><w:tbl><w:tblPr><w:tblW w:w="10800" w:type="dxa" /><w:jc w:val="center" />
</w:tblPr><w:tblGrid><w:gridCol w:w="10800" />
</w:tblGrid><w:tr><w:trPr><w:trHeight w:val="1667" /><w:jc w:val="center" />
</w:trPr><w:tc><w:tcPr><w:tcW w:w="10800" w:type="dxa" /><w:tcMar><w:top w:w="115" w:type="dxa" /><w:left
w:w="115" w:type="dxa" /><w:bottom w:w="115" w:type="dxa" /><w:right w:w="115"
w:type="dxa" />
</w:tcMar><w:vAlign w:val="bottom" />
</w:tcPr><w:p><w:r><w:t>Make all checks payable to </w:t>
</w:r><w:r><w:t>.:company_name:.</w:t></w:r>
</w:p><w:p><w:r><w:t>If you have any questions concerning this invoice, contact The Mowing Master</w:t>
</w:r><w:r>
</w:r>
</w:p><w:p />
</w:tc>
</w:tr><w:tr><w:trPr><w:trHeight w:val="432" /><w:jc w:val="center" />
</w:trPr><w:tc><w:tcPr><w:tcW w:w="10800" w:type="dxa" /><w:vAlign w:val="center" />
</w:tcPr><w:p><w:pPr><w:pStyle w:val="ColumnHeadings" />
</w:pPr><w:r><w:t>Thank you for your business!</w:t>
</w:r>
</w:p>
</w:tc>
</w:tr>
</w:tbl><w:p /><w:sectPr><w:pgSz w:w="12240" w:h="15840" /><w:pgMar w:top="720" w:right="720"
w:bottom="734" w:left="720" w:header="720" w:footer="720" w:gutter="0" /><w:cols
w:space="720" /><w:docGrid w:line-pitch="360" />
</w:sectPr>
</wx:sect>
</w:body>
</w:wordDocument>