All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.oasis-open.ubl.examples.UBL-Order-2.1-Example.json Maven / Gradle / Ivy

Go to download

UBL is designed to provide a universally understood and recognized commercial syntax for legally binding business documents and to operate within a standard business framework such as ISO 15000 (ebXML) to provide a complete, standards-based infrastructure that can extend the benefits of existing EDI systems to businesses of all sizes. UBL is freely available to everyone without legal encumbrance or licensing fees.

There is a newer version: 2.2.0
Show newest version
{"_D":"urn:oasis:names:specification:ubl:schema:xsd:Order-2",
 "_S":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2",
 "_B":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2",
 "Order":[{
 "UBLVersionID":[{"IdentifierContent":"2.1"}],
 "CustomizationID":[{"IdentifierContent":"urn:www.cenbii.eu:transaction:biicoretrdm001:ver1.0"}],
 "ProfileID":[{"IdentifierContent":"urn:www.cenbii.eu:profile:BII01:ver1.0",
  "IdentificationSchemeAgencyIdentifier":"BII",
  "IdentificationSchemeIdentifier":"Profile"}],
 "ID":[{"IdentifierContent":"34"}],
 "IssueDate":[{"DateContent":"2010-01-20"}],
 "IssueTime":[{"TimeContent":"12:30:00"}],
 "Note":[{"TextContent":"Information text for the whole order"}],
 "DocumentCurrencyCode":[{"CodeContent":"SEK"}],
 "AccountingCostCode":[{"CodeContent":"Project123"}],
 "ValidityPeriod":[{
  "EndDate":[{"DateContent":"2010-01-31"}]
 }],
 "QuotationDocumentReference":[{
  "ID":[{"IdentifierContent":"QuoteID123"}]
 }],
 "OrderDocumentReference":[{
  "ID":[{"IdentifierContent":"RjectedOrderID123"}]
 }],
 "OriginatorDocumentReference":[{
  "ID":[{"IdentifierContent":"MAFO"}]
 }],
 "AdditionalDocumentReference":[{
  "ID":[{"IdentifierContent":"Doc1"}],
  "DocumentType":[{"TextContent":"Timesheet"}],
  "Attachment":[{
   "ExternalReference":[{
    "URI":[{"IdentifierContent":"http://www.suppliersite.eu/sheet001.html"}]
   }]
  }]
 },{
  "ID":[{"IdentifierContent":"Doc2"}],
  "DocumentType":[{"TextContent":"Drawing"}],
  "Attachment":[{
   "EmbeddedDocumentBinaryObject":[{"BinaryObjectContent":"UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi",
    "BinaryObjectMimeCode":"application/pdf"}]
  }]
 }],
 "Contract":[{
  "ID":[{"IdentifierContent":"34322"}],
  "ContractType":[{"TextContent":"FrameworkAgreementID123"}]
 }],
 "BuyerCustomerParty":[{
  "Party":[{
   "EndpointID":[{"IdentifierContent":"7300072311115",
    "IdentificationSchemeAgencyIdentifier":"9",
    "IdentificationSchemeIdentifier":"GLN"}],
   "PartyIdentification":[{
    "ID":[{"IdentifierContent":"7300070011115",
     "IdentificationSchemeAgencyIdentifier":"9",
     "IdentificationSchemeIdentifier":"GLN"}]
   },{
    "ID":[{"IdentifierContent":"PartyID123"}]
   }],
   "PartyName":[{
    "Name":[{"TextContent":"Johnssons byggvaror"}]
   }],
   "PostalAddress":[{
    "ID":[{"IdentifierContent":"1234567890123",
     "IdentificationSchemeAgencyIdentifier":"9",
     "IdentificationSchemeIdentifier":"GLN"}],
    "Postbox":[{"TextContent":"PoBox123"}],
    "StreetName":[{"TextContent":"Rådhusgatan"}],
    "AdditionalStreetName":[{"TextContent":"2nd floor"}],
    "BuildingNumber":[{"TextContent":"5"}],
    "Department":[{"TextContent":"Purchasing department"}],
    "CityName":[{"TextContent":"Stockholm"}],
    "PostalZone":[{"TextContent":"11000"}],
    "CountrySubentity":[{"TextContent":"RegionX"}],
    "Country":[{
     "IdentificationCode":[{"CodeContent":"SE"}]
    }]
   }],
   "PartyTaxScheme":[{
    "RegistrationName":[{"TextContent":"Herra Johnssons byggvaror AS"}],
    "CompanyID":[{"IdentifierContent":"SE1234567801"}],
    "RegistrationAddress":[{
     "CityName":[{"TextContent":"Stockholm"}],
     "Country":[{
      "IdentificationCode":[{"CodeContent":"SE"}]
     }]
    }],
    "TaxScheme":[{
     "ID":[{"IdentifierContent":"VAT",
      "IdentificationSchemeIdentifier":"UN/ECE 5153",
      "IdentificationSchemeAgencyIdentifier":"6"}]
    }]
   }],
   "PartyLegalEntity":[{
    "RegistrationName":[{"TextContent":"Johnssons Byggvaror AB"}],
    "CompanyID":[{"IdentifierContent":"5532331183",
     "IdentificationSchemeIdentifier":"SE:ORGNR"}],
    "RegistrationAddress":[{
     "CityName":[{"TextContent":"Stockholm"}],
     "CountrySubentity":[{"TextContent":"RegionX"}],
     "Country":[{
      "IdentificationCode":[{"CodeContent":"SE"}]
     }]
    }]
   }],
   "Contact":[{
    "Telephone":[{"TextContent":"123456"}],
    "Telefax":[{"TextContent":"123456"}],
    "ElectronicMail":[{"TextContent":"[email protected]"}]
   }],
   "Person":[{
    "FirstName":[{"TextContent":"Pelle"}],
    "FamilyName":[{"TextContent":"Svensson"}],
    "MiddleName":[{"TextContent":"X"}],
    "JobTitle":[{"TextContent":"Boss"}]
   }]
  }],
  "DeliveryContact":[{
   "Name":[{"TextContent":"Eva Johnsson"}],
   "Telephone":[{"TextContent":"1234356"}],
   "Telefax":[{"TextContent":"123455"}],
   "ElectronicMail":[{"TextContent":"[email protected]"}]
  }]
 }],
 "SellerSupplierParty":[{
  "Party":[{
   "EndpointID":[{"IdentifierContent":"7302347231111",
    "IdentificationSchemeAgencyIdentifier":"9",
    "IdentificationSchemeIdentifier":"GLN"}],
   "PartyIdentification":[{
    "ID":[{"IdentifierContent":"SellerPartyID123"}]
   }],
   "PartyName":[{
    "Name":[{"TextContent":"Moderna Produkter AB"}]
   }],
   "PostalAddress":[{
    "ID":[{"IdentifierContent":"0987654321123",
     "IdentificationSchemeAgencyIdentifier":"9",
     "IdentificationSchemeIdentifier":"GLN"}],
    "Postbox":[{"TextContent":"321"}],
    "StreetName":[{"TextContent":"Kungsgatan"}],
    "AdditionalStreetName":[{"TextContent":"suite12"}],
    "BuildingNumber":[{"TextContent":"22"}],
    "Department":[{"TextContent":"Sales department"}],
    "CityName":[{"TextContent":"Stockholm"}],
    "PostalZone":[{"TextContent":"11000"}],
    "CountrySubentity":[{"TextContent":"RegionX"}],
    "Country":[{
     "IdentificationCode":[{"CodeContent":"SE"}]
    }]
   }],
   "PartyLegalEntity":[{
    "RegistrationName":[{"TextContent":"Moderna Produkter AB"}],
    "CompanyID":[{"IdentifierContent":"5532332283",
     "IdentificationSchemeIdentifier":"SE:ORGNR"}],
    "RegistrationAddress":[{
     "CityName":[{"TextContent":"Stockholm"}],
     "CountrySubentity":[{"TextContent":"RegionX"}],
     "Country":[{
      "IdentificationCode":[{"CodeContent":"SE"}]
     }]
    }]
   }],
   "Contact":[{
    "Telephone":[{"TextContent":"34557"}],
    "Telefax":[{"TextContent":"3456767"}],
    "ElectronicMail":[{"TextContent":"[email protected]"}]
   }],
   "Person":[{
    "FirstName":[{"TextContent":"Lars"}],
    "FamilyName":[{"TextContent":"Petersen"}],
    "MiddleName":[{"TextContent":"M"}],
    "JobTitle":[{"TextContent":"Sales manager"}]
   }]
  }]
 }],
 "OriginatorCustomerParty":[{
  "Party":[{
   "PartyIdentification":[{
    "ID":[{"IdentifierContent":"0987678321123",
     "IdentificationSchemeAgencyIdentifier":"9",
     "IdentificationSchemeIdentifier":"GLN"}]
   }],
   "PartyName":[{
    "Name":[{"TextContent":"Moderna Produkter AB"}]
   }],
   "Contact":[{
    "Telephone":[{"TextContent":"346788"}],
    "Telefax":[{"TextContent":"8567443"}],
    "ElectronicMail":[{"TextContent":"[email protected]"}]
   }],
   "Person":[{
    "FirstName":[{"TextContent":"Sven"}],
    "FamilyName":[{"TextContent":"Pereson"}],
    "MiddleName":[{"TextContent":"N"}],
    "JobTitle":[{"TextContent":"Stuffuser"}]
   }]
  }]
 }],
 "Delivery":[{
  "DeliveryLocation":[{
   "Address":[{
    "ID":[{"IdentifierContent":"1234567890123",
     "IdentificationSchemeAgencyIdentifier":"9",
     "IdentificationSchemeIdentifier":"GLN"}],
    "Postbox":[{"TextContent":"123"}],
    "StreetName":[{"TextContent":"Rådhusgatan"}],
    "AdditionalStreetName":[{"TextContent":"2nd floor"}],
    "BuildingNumber":[{"TextContent":"5"}],
    "Department":[{"TextContent":"Purchasing department"}],
    "CityName":[{"TextContent":"Stockholm"}],
    "PostalZone":[{"TextContent":"11000"}],
    "CountrySubentity":[{"TextContent":"RegionX"}],
    "Country":[{
     "IdentificationCode":[{"CodeContent":"SE"}]
    }]
   }]
  }],
  "RequestedDeliveryPeriod":[{
   "StartDate":[{"DateContent":"2010-02-10"}],
   "EndDate":[{"DateContent":"2010-02-25"}]
  }],
  "DeliveryParty":[{
   "PartyIdentification":[{
    "ID":[{"IdentifierContent":"67654328394567",
     "IdentificationSchemeAgencyIdentifier":"9",
     "IdentificationSchemeIdentifier":"GLN"}]
   }],
   "PartyName":[{
    "Name":[{"TextContent":"Swedish trucking"}]
   }],
   "Contact":[{
    "Name":[{"TextContent":"Per"}],
    "Telephone":[{"TextContent":"987098709"}],
    "Telefax":[{"TextContent":"34673435"}],
    "ElectronicMail":[{"TextContent":"[email protected]"}]
   }]
  }]
 }],
 "DeliveryTerms":[{
  "ID":[{"IdentifierContent":"FOT",
   "IdentificationSchemeAgencyIdentifier":"6",
   "IdentificationSchemeIdentifier":"IMCOTERM"}],
  "SpecialTerms":[{"TextContent":"CAD"}],
  "DeliveryLocation":[{
   "ID":[{"IdentifierContent":"STO"}]
  }]
 }],
 "AllowanceCharge":[{
  "ChargeIndicator":[{"IndicatorContent":true}],
  "AllowanceChargeReason":[{"TextContent":"Transport documents"}],
  "Amount":[{"AmountContent":100,
   "AmountCurrencyIdentifier":"SEK"}]
 },{
  "ChargeIndicator":[{"IndicatorContent":false}],
  "AllowanceChargeReason":[{"TextContent":"Total order value discount"}],
  "Amount":[{"AmountContent":100,
   "AmountCurrencyIdentifier":"SEK"}]
 }],
 "TaxTotal":[{
  "TaxAmount":[{"AmountContent":100,
   "AmountCurrencyIdentifier":"SEK"}]
 }],
 "AnticipatedMonetaryTotal":[{
  "LineExtensionAmount":[{"AmountContent":6225,
   "AmountCurrencyIdentifier":"SEK"}],
  "AllowanceTotalAmount":[{"AmountContent":100,
   "AmountCurrencyIdentifier":"SEK"}],
  "ChargeTotalAmount":[{"AmountContent":100,
   "AmountCurrencyIdentifier":"SEK"}],
  "PayableAmount":[{"AmountContent":6225,
   "AmountCurrencyIdentifier":"SEK"}]
 }],
 "OrderLine":[{
  "Note":[{"TextContent":"Freetext note on line 1"}],
  "LineItem":[{
   "ID":[{"IdentifierContent":"1"}],
   "Quantity":[{"QuantityContent":120,
    "QuantityUnitCode":"LTR"}],
   "LineExtensionAmount":[{"AmountContent":6000,
    "AmountCurrencyIdentifier":"SEK"}],
   "TotalTaxAmount":[{"AmountContent":10,
    "AmountCurrencyIdentifier":"SEK"}],
   "PartialDeliveryIndicator":[{"IndicatorContent":false}],
   "AccountingCostCode":[{"CodeContent":"ProjectID123"}],
   "Delivery":[{
    "RequestedDeliveryPeriod":[{
     "StartDate":[{"DateContent":"2010-02-10"}],
     "EndDate":[{"DateContent":"2010-02-25"}]
    }]
   }],
   "OriginatorParty":[{
    "PartyIdentification":[{
     "ID":[{"IdentifierContent":"EmployeeXXX",
      "IdentificationSchemeAgencyIdentifier":"ZZZ",
      "IdentificationSchemeIdentifier":"ZZZ"}]
    }],
    "PartyName":[{
     "Name":[{"TextContent":"Josef K."}]
    }]
   }],
   "Price":[{
    "PriceAmount":[{"AmountContent":50,
     "AmountCurrencyIdentifier":"SEK"}],
    "BaseQuantity":[{"QuantityContent":1,
     "QuantityUnitCode":"LTR"}]
   }],
   "Item":[{
    "Description":[{"TextContent":"Red paint"}],
    "Name":[{"TextContent":"Falu Rödfärg"}],
    "SellersItemIdentification":[{
     "ID":[{"IdentifierContent":"SItemNo001"}]
    }],
    "StandardItemIdentification":[{
     "ID":[{"IdentifierContent":"1234567890123",
      "IdentificationSchemeAgencyIdentifier":"6",
      "IdentificationSchemeIdentifier":"GTIN"}]
    }],
    "AdditionalItemProperty":[{
     "Name":[{"TextContent":"Paint type"}],
     "Value":[{"TextContent":"Acrylic"}]
    },{
     "Name":[{"TextContent":"Solvant"}],
     "Value":[{"TextContent":"Water"}]
    }]
   }]
  }]
 },{
  "Note":[{"TextContent":"Freetext note on line 2"}],
  "LineItem":[{
   "ID":[{"IdentifierContent":"2"}],
   "Quantity":[{"QuantityContent":15,
    "QuantityUnitCode":"C62"}],
   "LineExtensionAmount":[{"AmountContent":225,
    "AmountCurrencyIdentifier":"SEK"}],
   "TotalTaxAmount":[{"AmountContent":10,
    "AmountCurrencyIdentifier":"SEK"}],
   "PartialDeliveryIndicator":[{"IndicatorContent":false}],
   "AccountingCostCode":[{"CodeContent":"ProjectID123"}],
   "Delivery":[{
    "RequestedDeliveryPeriod":[{
     "StartDate":[{"DateContent":"2010-02-10"}],
     "EndDate":[{"DateContent":"2010-02-25"}]
    }]
   }],
   "OriginatorParty":[{
    "PartyIdentification":[{
     "ID":[{"IdentifierContent":"EmployeeXXX",
      "IdentificationSchemeAgencyIdentifier":"ZZZ",
      "IdentificationSchemeIdentifier":"ZZZ"}]
    }],
    "PartyName":[{
     "Name":[{"TextContent":"Josef K."}]
    }]
   }],
   "Price":[{
    "PriceAmount":[{"AmountContent":15,
     "AmountCurrencyIdentifier":"SEK"}],
    "BaseQuantity":[{"QuantityContent":1,
     "QuantityUnitCode":"C62"}]
   }],
   "Item":[{
    "Description":[{"TextContent":"Very good pencils for red paint."}],
    "Name":[{"TextContent":"Pensel 20 mm"}],
    "SellersItemIdentification":[{
     "ID":[{"IdentifierContent":"SItemNo011"}]
    }],
    "StandardItemIdentification":[{
     "ID":[{"IdentifierContent":"123452340123",
      "IdentificationSchemeAgencyIdentifier":"6",
      "IdentificationSchemeIdentifier":"GTIN"}]
    }],
    "AdditionalItemProperty":[{
     "Name":[{"TextContent":"Hair color"}],
     "Value":[{"TextContent":"Black"}]
    },{
     "Name":[{"TextContent":"Width"}],
     "Value":[{"TextContent":"20mm"}]
    }]
   }]
  }]
 }]
}]}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy