<IntlRateV2Request USERID="{{userID}}">{{#if revision}}
  <Revision>{{revision}}</Revision>{{/if}}{{#each package}}
  <Package ID="{{@index}}">
    <Pounds>{{this.pounds}}</Pounds>
    <Ounces>{{this.ounces}}</Ounces>{{#if this.machinable}}
    <Machinable>{{this.machinable}}</Machinable>{{/if}}
    <MailType>{{this.mailType}}</MailType>{{#if this.gxg}}
    <GXG>
       <POBoxFlag>{{this.gxg.poBoxFlag}}</POBoxFlag>
       <GiftFlag>{{this.gxg.giftFlag}}</GiftFlag>
    </GXG>{{/if}}
    <ValueOfContents>{{this.valueOfContents}}</ValueOfContents>
    <Country>{{this.country}}</Country>
    <Container>{{this.container}}</Container>
    <Size>{{this.size}}</Size>
    <Width>{{this.width}}</Width>
    <Length>{{this.length}}</Length>
    <Height>{{this.height}}</Height>
    <Girth>{{this.girth}}</Girth>
    <OriginZip>{{this.originZip}}</OriginZip>{{#if this.commercialFlag}}
    <CommercialFlag>{{this.commercialFlag}}</CommercialFlag>{{/if}}{{#if this.commercialPlusFlag}}
    <CommercialPlusFlag>{{this.commercialPlusFlag}}</CommercialPlusFlag>{{/if}}{{#if this.acceptanceDateTime}}
    <AcceptanceDateTime>{{this.acceptanceDateTime}}</AcceptanceDateTime>{{/if}}{{#if this.extraServices}}
    <ExtraServices>{{#each this.extraServices}}
      <ExtraService>{{this}}</ExtraService>{{/each}}
    </ExtraServices>{{/if}}{{#if this.destinationPostalCode}}
    <DestinationPostalCode>{{this.destinationPostalCode}}</DestinationPostalCode>{{/if}}{{#if this.content}}
    <Content>
       <ContentType>{{this.content.contentType}}</ContentType>{{#if this.content.contentDescription}}
       <ContentDescription>{{this.content.contentDescription}}</ContentDescription>{{/if}}
    </Content>{{/if}}
  </Package>{{/each}}
</IntlRateV2Request>