← all demos
Invoice(xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2")
  UBLVersionID = 2.1
  ID = TOSL108
  IssueDate = 2009-12-15
  InvoiceTypeCode(listAgencyID="6", listID="UN/ECE 1001 Subset") = 380
  Note(languageID="en") = Ordered in our booth at the convention.
  TaxPointDate = 2009-11-30
  DocumentCurrencyCode(listAgencyID="6", listID="ISO 4217 Alpha") = EUR
  AccountingCost = Project cost code 123
  InvoicePeriod
    StartDate = 2009-11-01
    EndDate = 2009-11-30
  OrderReference
    ID = 123
  ContractDocumentReference
    ID = Contract321
    DocumentType = Framework agreement
  AdditionalDocumentReference
    ID = Doc1
    DocumentType = Timesheet
    Attachment
      ExternalReference
        URI = http://www.suppliersite.eu/sheet001.html
  AdditionalDocumentReference
    ID = Doc2
    DocumentType = Drawing
    Attachment
      EmbeddedDocumentBinaryObject(mimeCode="application/pdf") = UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi
  AccountingSupplierParty
    Party
      EndpointID(schemeAgencyID="9", schemeID="GLN") = 1234567890123
      PartyIdentification
        ID(schemeID="ZZZ") = Supp123
      PartyName
        Name = Salescompany ltd.
      PostalAddress
        ID(schemeAgencyID="9", schemeID="GLN") = 1231412341324
        Postbox = 5467
        StreetName = Main street
        AdditionalStreetName = Suite 123
        BuildingNumber = 1
        Department = Revenue department
        CityName = Big city
        PostalZone = 54321
        CountrySubentityCode = RegionA
        Country
          IdentificationCode(listAgencyID="6", listID="ISO3166-1") = DK
      PartyTaxScheme
        CompanyID(schemeAgencyID="ZZZ", schemeID="DKVAT") = DK12345
        TaxScheme
          ID(schemeAgencyID="6", schemeID="UN/ECE 5153") = VAT
      PartyLegalEntity
        RegistrationName = The Sellercompany Incorporated
        CompanyID(schemeAgencyID="ZZZ", schemeID="CVR") = 5402697509
        RegistrationAddress
          CityName = Big city
          CountrySubentity = RegionA
          Country
            IdentificationCode = DK
      Contact
        Telephone = 4621230
        Telefax = 4621231
        ElectronicMail = antonio@salescompany.dk
      Person
        FirstName = Antonio
        FamilyName = M
        MiddleName = Salemacher
        JobTitle = Sales manager
  AccountingCustomerParty
    Party
      EndpointID(schemeAgencyID="9", schemeID="GLN") = 1234567987654
      PartyIdentification
        ID(schemeID="ZZZ") = 345KS5324
      PartyName
        Name = Buyercompany ltd
      PostalAddress
        ID(schemeAgencyID="9", schemeID="GLN") = 1238764941386
        Postbox = 123
        StreetName = Anystreet
        AdditionalStreetName = Back door
        BuildingNumber = 8
        Department = Accounting department
        CityName = Anytown
        PostalZone = 101
        CountrySubentity = RegionB
        Country
          IdentificationCode(listAgencyID="6", listID="ISO3166-1") = BE
      PartyTaxScheme
        CompanyID(schemeAgencyID="ZZZ", schemeID="BEVAT") = BE54321
        TaxScheme
          ID(schemeAgencyID="6", schemeID="UN/ECE 5153") = VAT
      PartyLegalEntity
        RegistrationName = The buyercompany inc.
        CompanyID(schemeAgencyID="ZZZ", schemeID="ZZZ") = 5645342123
        RegistrationAddress
          CityName = Mainplace
          CountrySubentity = RegionB
          Country
            IdentificationCode = BE
      Contact
        Telephone = 5121230
        Telefax = 5121231
        ElectronicMail = john@buyercompany.eu
      Person
        FirstName = John
        FamilyName = X
        MiddleName = Doe
        JobTitle = Purchasing manager
  PayeeParty
    PartyIdentification
      ID(schemeAgencyID="9", schemeID="GLN") = 098740918237
    PartyName
      Name = Ebeneser Scrooge Inc.
    PartyLegalEntity
      CompanyID(schemeAgencyID="ZZZ", schemeID="UK:CH") = 6411982340
  Delivery
    ActualDeliveryDate = 2009-12-15
    DeliveryLocation
      ID(schemeAgencyID="9", schemeID="GLN") = 6754238987648
      Address
        StreetName = Deliverystreet
        AdditionalStreetName = Side door
        BuildingNumber = 12
        CityName = DeliveryCity
        PostalZone = 523427
        CountrySubentity = RegionC
        Country
          IdentificationCode = BE
  PaymentMeans
    PaymentMeansCode(listID="UN/ECE 4461") = 31
    PaymentDueDate = 2009-12-31
    PaymentChannelCode = IBAN
    PaymentID = Payref1
    PayeeFinancialAccount
      ID = DK1212341234123412
      FinancialInstitutionBranch
        FinancialInstitution
          ID = DKDKABCD
  PaymentTerms
    Note = Penalty percentage 10% from due date
  AllowanceCharge
    ChargeIndicator = true
    AllowanceChargeReason = Packing cost
    Amount(currencyID="EUR") = 100
  AllowanceCharge
    ChargeIndicator = false
    AllowanceChargeReason = Promotion discount
    Amount(currencyID="EUR") = 100
  TaxTotal
    TaxAmount(currencyID="EUR") = 292.20
    TaxSubtotal
      TaxableAmount(currencyID="EUR") = 1460.5
      TaxAmount(currencyID="EUR") = 292.1
      TaxCategory
        ID(schemeAgencyID="6", schemeID="UN/ECE 5305") = S
        Percent = 20
        TaxScheme
          ID(schemeAgencyID="6", schemeID="UN/ECE 5153") = VAT
    TaxSubtotal
      TaxableAmount(currencyID="EUR") = 1
      TaxAmount(currencyID="EUR") = 0.1
      TaxCategory
        ID(schemeAgencyID="6", schemeID="UN/ECE 5305") = AA
        Percent = 10
        TaxScheme
          ID(schemeAgencyID="6", schemeID="UN/ECE 5153") = VAT
    TaxSubtotal
      TaxableAmount(currencyID="EUR") = -25
      TaxAmount(currencyID="EUR") = 0
      TaxCategory
        ID(schemeAgencyID="6", schemeID="UN/ECE 5305") = E
        Percent = 0
        TaxExemptionReasonCode(listAgencyID="ZZZ", listID="CWA 15577") = AAM
        TaxExemptionReason = Exempt New Means of Transport
        TaxScheme
          ID(schemeAgencyID="6", schemeID="UN/ECE 5153") = VAT
  LegalMonetaryTotal
    LineExtensionAmount(currencyID="EUR") = 1436.5
    TaxExclusiveAmount(currencyID="EUR") = 1436.5
    TaxInclusiveAmount(currencyID="EUR") = 1729
    AllowanceTotalAmount(currencyID="EUR") = 100
    ChargeTotalAmount(currencyID="EUR") = 100
    PrepaidAmount(currencyID="EUR") = 1000
    PayableRoundingAmount(currencyID="EUR") = 0.30
    PayableAmount(currencyID="EUR") = 729
  InvoiceLine
    ID = 1
    Note = Scratch on box
    InvoicedQuantity(unitCode="C62") = 1
    LineExtensionAmount(currencyID="EUR") = 1273
    AccountingCost = BookingCode001
    OrderLineReference
      LineID = 1
    AllowanceCharge
      ChargeIndicator = false
      AllowanceChargeReason = Damage
      Amount(currencyID="EUR") = 12
    AllowanceCharge
      ChargeIndicator = true
      AllowanceChargeReason = Testing
      Amount(currencyID="EUR") = 10
    TaxTotal
      TaxAmount(currencyID="EUR") = 254.6
    Item
      Description(languageID="EN") =
        | Processor: Intel Core 2 Duo SU9400 LV (1.4GHz). RAM:
        | 				3MB. Screen 1440x900
      Name = Labtop computer
      SellersItemIdentification
        ID = JB007
      StandardItemIdentification
        ID(schemeAgencyID="9", schemeID="GTIN") = 1234567890124
      CommodityClassification
        ItemClassificationCode(listAgencyID="113", listID="UNSPSC") = 12344321
      CommodityClassification
        ItemClassificationCode(listAgencyID="2", listID="CPV") = 65434568
      ClassifiedTaxCategory(
          xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2")
        ID(schemeAgencyID="6", schemeID="UN/ECE 5305") = S
        Percent = 20
        TaxScheme
          ID(schemeAgencyID="6", schemeID="UN/ECE 5153") = VAT
      AdditionalItemProperty
        Name = Color
        Value = black
    Price
      PriceAmount(currencyID="EUR") = 1273
      BaseQuantity(unitCode="C62") = 1
      AllowanceCharge
        ChargeIndicator = false
        AllowanceChargeReason = Contract
        MultiplierFactorNumeric = 0.15
        Amount(currencyID="EUR") = 225
        BaseAmount(currencyID="EUR") = 1500
  InvoiceLine
    ID = 2
    Note = Cover is slightly damaged.
    InvoicedQuantity(unitCode="C62") = -1
    LineExtensionAmount(currencyID="EUR") = -3.96
    OrderLineReference
      LineID = 5
    TaxTotal
      TaxAmount(currencyID="EUR") = -0.396
    Item
      Name = Returned "Advanced computing" book
      SellersItemIdentification
        ID = JB008
      StandardItemIdentification
        ID(schemeAgencyID="9", schemeID="GTIN") = 1234567890125
      CommodityClassification
        ItemClassificationCode(listAgencyID="113", listID="UNSPSC") = 32344324
      CommodityClassification
        ItemClassificationCode(listAgencyID="2", listID="CPV") = 65434567
      ClassifiedTaxCategory(
          xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2")
        ID(schemeAgencyID="6", schemeID="UN/ECE 5305") = AA
        Percent = 10
        TaxScheme
          ID(schemeAgencyID="6", schemeID="UN/ECE 5153") = VAT
    Price
      PriceAmount(currencyID="EUR") = 3.96
      BaseQuantity(unitCode="C62") = 1
  InvoiceLine
    ID = 3
    InvoicedQuantity(unitCode="C62") = 2
    LineExtensionAmount(currencyID="EUR") = 4.96
    OrderLineReference
      LineID = 3
    TaxTotal
      TaxAmount(currencyID="EUR") = 0.496
    Item
      Name = "Computing for dummies" book
      SellersItemIdentification
        ID = JB009
      StandardItemIdentification
        ID(schemeAgencyID="9", schemeID="GTIN") = 1234567890126
      CommodityClassification
        ItemClassificationCode(listAgencyID="113", listID="UNSPSC") = 32344324
      CommodityClassification
        ItemClassificationCode(listAgencyID="2", listID="CPV") = 65434566
      ClassifiedTaxCategory(
          xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2")
        ID(schemeAgencyID="6", schemeID="UN/ECE 5305") = AA
        Percent = 10
        TaxScheme
          ID(schemeAgencyID="6", schemeID="UN/ECE 5153") = VAT
    Price
      PriceAmount(currencyID="EUR") = 2.48
      BaseQuantity(unitCode="C62") = 1
      AllowanceCharge
        ChargeIndicator = false
        AllowanceChargeReason = Contract
        MultiplierFactorNumeric = 0.1
        Amount(currencyID="EUR") = 0.275
        BaseAmount(currencyID="EUR") = 2.75
  InvoiceLine
    ID = 4
    InvoicedQuantity(unitCode="C62") = -1
    LineExtensionAmount(currencyID="EUR") = -25
    OrderLineReference
      LineID = 2
    TaxTotal
      TaxAmount(currencyID="EUR") = 0
    Item
      Name = Returned IBM 5150 desktop
      SellersItemIdentification
        ID = JB010
      StandardItemIdentification
        ID(schemeAgencyID="9", schemeID="GTIN") = 1234567890127
      CommodityClassification
        ItemClassificationCode(listAgencyID="113", listID="UNSPSC") = 12344322
      CommodityClassification
        ItemClassificationCode(listAgencyID="2", listID="CPV") = 65434565
      ClassifiedTaxCategory(
          xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2")
        ID(schemeAgencyID="6", schemeID="UN/ECE 5305") = E
        Percent = 0
        TaxScheme
          ID(schemeAgencyID="6", schemeID="UN/ECE 5153") = VAT
    Price
      PriceAmount(currencyID="EUR") = 25
      BaseQuantity(unitCode="C62") = 1
  InvoiceLine
    ID = 5
    InvoicedQuantity(unitCode="C62") = 250
    LineExtensionAmount(currencyID="EUR") = 187.5
    AccountingCost = BookingCode002
    OrderLineReference
      LineID = 4
    TaxTotal
      TaxAmount(currencyID="EUR") = 37.5
    Item
      Name = Network cable
      SellersItemIdentification
        ID = JB011
      StandardItemIdentification
        ID(schemeAgencyID="9", schemeID="GTIN") = 1234567890128
      CommodityClassification
        ItemClassificationCode(listAgencyID="113", listID="UNSPSC") = 12344325
      CommodityClassification
        ItemClassificationCode(listAgencyID="2", listID="CPV") = 65434564
      ClassifiedTaxCategory(
          xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2")
        ID(schemeAgencyID="6", schemeID="UN/ECE 5305") = S
        Percent = 20
        TaxScheme
          ID(schemeAgencyID="6", schemeID="UN/ECE 5153") = VAT
      AdditionalItemProperty
        Name = Type
        Value = Cat5
    Price
      PriceAmount(currencyID="EUR") = 0.75
      BaseQuantity(unitCode="C62") = 1