Invoice

Invoice – invoice-v2009.2.xml

Tag

Description

Req

<?xml version="1.0" encoding="UTF-8"?>

XML declaration

X

<NAMM_Invoice version="2009.2">

File-level Start tag

X

<InvoiceHeader>

Start tag

X

<Id/>

Document ID

X

<Timestamp/>

Date/time stamp for this document

X

<SoldTo>

Start tag

X

<PartyId/>

Buyer GLN/NAMM ID

X

<Name/>

Buyer company name

 

</SoldTo>

End tag

X

<InvoiceId/>

Vendor invoice number

X

<InvoiceType/>

Invoice type

X

<Supplier>

Start tag

X

<PartyId/>

Supplier GLN/NAMM ID

X

<Name/>

Supplier company name

 

<Address>

Start tag

 

<Attn/>

Supplier contact person

 

<Address1/>

Supplier address line 1

 

<Address2/>

Supplier address line 2

 

<Address3/>

Supplier address line 3

 

<City/>

Supplier city

 

<State/>

Supplier state

 

<PostalCode/>

Supplier postal code

 

<Country/>

Supplier country

 

<CountryCode/>

Supplier country code

 

</Address>

End tag

 

</Supplier>

End tag

X

<RemitTo>

Start tag

X

<PartyId/>

Payee GLN/NAMM ID

X

<Name/>

Payee company name

 

<Address>

Start tag

 

<Attn/>

Payee contact person

 

<Address1/>

Payee address line 1

 

<Address2/>

Payee address line 2

 

<Address3/>

Payee address line 3

 

<City/>

Payee city

 

<State/>

Payee state

 

<PostalCode/>

Payee postal code

 

<Country/>

Payee country

 

<CountryCode/>

Payee country code

 

</Address>

End tag

 

</RemitTo>

End tag

X

<BillTo>

Start tag

X

<PartyId/>

Payor GLN/NAMM ID

X

<Name/>

Payor company name

 

<Address>

Start tag

 

<Attn/>

Payor contact person

 

<Address1/>

Payor address line 1

 

<Address2/>

Payor address line 2

 

<Address3/>

Payor address line 3

 

<City/>

Payor city

 

<State/>

Payor state

 

<PostalCode/>

Payor postal code

 

<Country/>

Payor country

 

<CountryCode/>

Payor country code

 

</Address>

End tag

 

</BillTo>

End tag

X

<ShipTo>

Start tag

X

<PartyId/>

Receiver GLN/NAMM ID

X

<Name/>

Receiver company name

 

<Address>

Start tag

 

<Attn/>

Receiver contact person

 

<Address1/>

Receiver address line 1

 

<Address2/>

Receiver address line 2

 

<Address3/>

Receiver address line 3

 

<City/>

Receiver city

 

<State/>

Receiver state

 

<PostalCode/>

Receiver postal code

 

<Country/>

Receiver country

 

<CountryCode/>

Receiver country code

 

</Address>

End tag

 

</ShipTo>

End tag

X

<TermsCode/>

Terms code (1)

X

<TermsDays/>

Number of days for payment

 

<TermsDate/>

Date payment is due

 

<TermsPercent/>

Percentage terms

 

<TermsPercentDays/>

Number of days for percentage terms

 

<ShipInstructions/>

Shipping instructions

 

<TranspCode/>

Transport method code (1)

 

<TranspDesc/>

Transport description (1)

 

<TranspCarrier/>

Transport carrier name

 

<TranspTime/>

Expected transport time

 

<TranspTerms/>

Transport terms

 

<IncoTermsCode/>

International terms code (1)

 

<IncoTermsDesc/>

International terms description (1)

 

<InvoiceDate/>

Invoice date

X

<InvoiceDueDate/>

Date payment is due

X

<BuyerName/>

Buyer company name

 

<SalesRep/>

Supplier sales representative name

 

<Comments/>

Comments

 

</InvoiceHeader>

End tag

X

<InvoiceSummary>

Start tag

X

<TotalItemLines/>

Invoice number of item lines

X

<TotalItemQty/>

Invoice item quantity

X

<LineTotal/>

Value of all item lines

X

<FreightTotal/>

Freight total amount

X

<SalesTax/>

Sales tax amount

X

<MiscCharge/>

Miscellaneous charges

X

<InvoiceTotal/>

Total invoice amount

X

</InvoiceSummary>

End tag

X

<InvoiceDetail>

Start tag

X

<Items>

Start tag

X

<Item>

Start tag

X

<BuyerOrderId/>

Buyer order ID

X

<SupplierOrderId/>

Supplier order ID

X

<InvoiceLineNbr/>

Invoice item line number

X

<POLineNbr/>

Purchase Order line number

X

<BuyerItemId/>

Buyer item ID

X

<Qty/>

Quantity

X

<QtyUOM/>

Quantity unit of measure (1)

X

<UCValue/>

Unit cost

X

<UCCurrencyCode/>

Unit cost currency code

X

<ExtendedCostValue/>

Extended cost

X

<ExtendedCurrencyCode/>

Extended cost currency code

X

<RetailValue/>

Unit retail value

 

<RetailCurrencyCode/>

Retail value currency code

 

<SupplierItemId/>

Supplier item ID

X

<SupplierItemDesc/>

Supplier item description

X

<PackListNbr/>

Packing list number

 

<ShipmentIds>

Start tag

X

<ShipmentId/>

Shipment ID

X

</ShipmentIds>

End tag

X

<DateShipped/>

Date of shipment

X

<BarCodeId/>

Digital barcode representation

X

<BarCodeType/>

Barcode type

X

</Item>

End tag

X

</Items>

End tag

X

</InvoiceDetail>

End tag

X

</NAMM_Invoice>

End tag

X

(1) See Appendix A, "Codes Tables".