org.oasis-open.ubl.examples.UBL-DebitNote-2.1-Example.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tradeshift-ubl-examples
Show all versions of tradeshift-ubl-examples
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.
{"_D":"urn:oasis:names:specification:ubl:schema:xsd:DebitNote-2",
"_S":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2",
"_B":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2",
"DebitNote":[{
"UBLVersionID":[{"IdentifierContent":"2.1"}],
"ID":[{"IdentifierContent":"TOSL108"}],
"IssueDate":[{"DateContent":"2009-12-15"}],
"Note":[{"TextContent":"Ordered in our booth at the convention.",
"LanguageIdentifier":"en"}],
"TaxPointDate":[{"DateContent":"2009-11-30"}],
"DocumentCurrencyCode":[{"CodeContent":"EUR",
"CodeListIdentifier":"ISO 4217 Alpha",
"CodeListAgencyIdentifier":"6"}],
"AccountingCost":[{"TextContent":"Project cost code 123"}],
"InvoicePeriod":[{
"StartDate":[{"DateContent":"2009-11-01"}],
"EndDate":[{"DateContent":"2009-11-30"}]
}],
"OrderReference":[{
"ID":[{"IdentifierContent":"123"}]
}],
"ContractDocumentReference":[{
"ID":[{"IdentifierContent":"Contract321"}],
"DocumentType":[{"TextContent":"Framework agreement"}]
}],
"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"}]
}]
}],
"AccountingSupplierParty":[{
"Party":[{
"EndpointID":[{"IdentifierContent":"1234567890123",
"IdentificationSchemeIdentifier":"GLN",
"IdentificationSchemeAgencyIdentifier":"9"}],
"PartyIdentification":[{
"ID":[{"IdentifierContent":"Supp123",
"IdentificationSchemeIdentifier":"ZZZ"}]
}],
"PartyName":[{
"Name":[{"TextContent":"Salescompany ltd."}]
}],
"PostalAddress":[{
"ID":[{"IdentifierContent":"1231412341324",
"IdentificationSchemeIdentifier":"GLN",
"IdentificationSchemeAgencyIdentifier":"9"}],
"Postbox":[{"TextContent":"5467"}],
"StreetName":[{"TextContent":"Main street"}],
"AdditionalStreetName":[{"TextContent":"Suite 123"}],
"BuildingNumber":[{"TextContent":"1"}],
"Department":[{"TextContent":"Revenue department"}],
"CityName":[{"TextContent":"Big city"}],
"PostalZone":[{"TextContent":"54321"}],
"CountrySubentityCode":[{"CodeContent":"RegionA"}],
"Country":[{
"IdentificationCode":[{"CodeContent":"DK",
"CodeListIdentifier":"ISO3166-1",
"CodeListAgencyIdentifier":"6"}]
}]
}],
"PartyTaxScheme":[{
"CompanyID":[{"IdentifierContent":"DK12345",
"IdentificationSchemeIdentifier":"DKVAT",
"IdentificationSchemeAgencyIdentifier":"ZZZ"}],
"TaxScheme":[{
"ID":[{"IdentifierContent":"VAT",
"IdentificationSchemeIdentifier":"UN/ECE 5153",
"IdentificationSchemeAgencyIdentifier":"6"}]
}]
}],
"PartyLegalEntity":[{
"RegistrationName":[{"TextContent":"The Sellercompany Incorporated"}],
"CompanyID":[{"IdentifierContent":"5402697509",
"IdentificationSchemeIdentifier":"CVR",
"IdentificationSchemeAgencyIdentifier":"ZZZ"}],
"RegistrationAddress":[{
"CityName":[{"TextContent":"Big city"}],
"CountrySubentity":[{"TextContent":"RegionA"}],
"Country":[{
"IdentificationCode":[{"CodeContent":"DK"}]
}]
}]
}],
"Contact":[{
"Telephone":[{"TextContent":"4621230"}],
"Telefax":[{"TextContent":"4621231"}],
"ElectronicMail":[{"TextContent":"[email protected]"}]
}],
"Person":[{
"FirstName":[{"TextContent":"Antonio"}],
"FamilyName":[{"TextContent":"M"}],
"MiddleName":[{"TextContent":"Salemacher"}],
"JobTitle":[{"TextContent":"Sales manager"}]
}]
}]
}],
"AccountingCustomerParty":[{
"Party":[{
"EndpointID":[{"IdentifierContent":"1234567987654",
"IdentificationSchemeIdentifier":"GLN",
"IdentificationSchemeAgencyIdentifier":"9"}],
"PartyIdentification":[{
"ID":[{"IdentifierContent":"345KS5324",
"IdentificationSchemeIdentifier":"ZZZ"}]
}],
"PartyName":[{
"Name":[{"TextContent":"Buyercompany ltd"}]
}],
"PostalAddress":[{
"ID":[{"IdentifierContent":"1238764941386",
"IdentificationSchemeIdentifier":"GLN",
"IdentificationSchemeAgencyIdentifier":"9"}],
"Postbox":[{"TextContent":"123"}],
"StreetName":[{"TextContent":"Anystreet"}],
"AdditionalStreetName":[{"TextContent":"Back door"}],
"BuildingNumber":[{"TextContent":"8"}],
"Department":[{"TextContent":"Accounting department"}],
"CityName":[{"TextContent":"Anytown"}],
"PostalZone":[{"TextContent":"101"}],
"CountrySubentity":[{"TextContent":"RegionB"}],
"Country":[{
"IdentificationCode":[{"CodeContent":"BE",
"CodeListIdentifier":"ISO3166-1",
"CodeListAgencyIdentifier":"6"}]
}]
}],
"PartyTaxScheme":[{
"CompanyID":[{"IdentifierContent":"BE54321",
"IdentificationSchemeIdentifier":"BEVAT",
"IdentificationSchemeAgencyIdentifier":"ZZZ"}],
"TaxScheme":[{
"ID":[{"IdentifierContent":"VAT",
"IdentificationSchemeIdentifier":"UN/ECE 5153",
"IdentificationSchemeAgencyIdentifier":"6"}]
}]
}],
"PartyLegalEntity":[{
"RegistrationName":[{"TextContent":"The buyercompany inc."}],
"CompanyID":[{"IdentifierContent":"5645342123",
"IdentificationSchemeAgencyIdentifier":"ZZZ",
"IdentificationSchemeIdentifier":"ZZZ"}],
"RegistrationAddress":[{
"CityName":[{"TextContent":"Mainplace"}],
"CountrySubentity":[{"TextContent":"RegionB"}],
"Country":[{
"IdentificationCode":[{"CodeContent":"BE"}]
}]
}]
}],
"Contact":[{
"Telephone":[{"TextContent":"5121230"}],
"Telefax":[{"TextContent":"5121231"}],
"ElectronicMail":[{"TextContent":"[email protected]"}]
}],
"Person":[{
"FirstName":[{"TextContent":"John"}],
"FamilyName":[{"TextContent":"X"}],
"MiddleName":[{"TextContent":"Doe"}],
"JobTitle":[{"TextContent":"Purchasing manager"}]
}]
}]
}],
"TaxTotal":[{
"TaxAmount":[{"AmountContent":292.20,
"AmountCurrencyIdentifier":"EUR"}],
"TaxSubtotal":[{
"TaxableAmount":[{"AmountContent":1460.5,
"AmountCurrencyIdentifier":"EUR"}],
"TaxAmount":[{"AmountContent":292.1,
"AmountCurrencyIdentifier":"EUR"}],
"TaxCategory":[{
"ID":[{"IdentifierContent":"S",
"IdentificationSchemeIdentifier":"UN/ECE 5305",
"IdentificationSchemeAgencyIdentifier":"6"}],
"Percent":[{"NumericContent":20}],
"TaxScheme":[{
"ID":[{"IdentifierContent":"VAT",
"IdentificationSchemeIdentifier":"UN/ECE 5153",
"IdentificationSchemeAgencyIdentifier":"6"}]
}]
}]
},{
"TaxableAmount":[{"AmountContent":1,
"AmountCurrencyIdentifier":"EUR"}],
"TaxAmount":[{"AmountContent":0.1,
"AmountCurrencyIdentifier":"EUR"}],
"TaxCategory":[{
"ID":[{"IdentifierContent":"AA",
"IdentificationSchemeIdentifier":"UN/ECE 5305",
"IdentificationSchemeAgencyIdentifier":"6"}],
"Percent":[{"NumericContent":10}],
"TaxScheme":[{
"ID":[{"IdentifierContent":"VAT",
"IdentificationSchemeIdentifier":"UN/ECE 5153",
"IdentificationSchemeAgencyIdentifier":"6"}]
}]
}]
},{
"TaxableAmount":[{"AmountContent":-25,
"AmountCurrencyIdentifier":"EUR"}],
"TaxAmount":[{"AmountContent":0,
"AmountCurrencyIdentifier":"EUR"}],
"TaxCategory":[{
"ID":[{"IdentifierContent":"E",
"IdentificationSchemeIdentifier":"UN/ECE 5305",
"IdentificationSchemeAgencyIdentifier":"6"}],
"Percent":[{"NumericContent":0}],
"TaxExemptionReasonCode":[{"CodeContent":"AAM",
"CodeListIdentifier":"CWA 15577",
"CodeListAgencyIdentifier":"ZZZ"}],
"TaxExemptionReason":[{"TextContent":"Exempt New Means of Transport"}],
"TaxScheme":[{
"ID":[{"IdentifierContent":"VAT",
"IdentificationSchemeIdentifier":"UN/ECE 5153",
"IdentificationSchemeAgencyIdentifier":"6"}]
}]
}]
}]
}],
"RequestedMonetaryTotal":[{
"LineExtensionAmount":[{"AmountContent":1436.5,
"AmountCurrencyIdentifier":"EUR"}],
"TaxExclusiveAmount":[{"AmountContent":1436.5,
"AmountCurrencyIdentifier":"EUR"}],
"TaxInclusiveAmount":[{"AmountContent":1729,
"AmountCurrencyIdentifier":"EUR"}],
"AllowanceTotalAmount":[{"AmountContent":100,
"AmountCurrencyIdentifier":"EUR"}],
"ChargeTotalAmount":[{"AmountContent":100,
"AmountCurrencyIdentifier":"EUR"}],
"PrepaidAmount":[{"AmountContent":1000,
"AmountCurrencyIdentifier":"EUR"}],
"PayableRoundingAmount":[{"AmountContent":0.30,
"AmountCurrencyIdentifier":"EUR"}],
"PayableAmount":[{"AmountContent":729,
"AmountCurrencyIdentifier":"EUR"}]
}],
"DebitNoteLine":[{
"ID":[{"IdentifierContent":"1"}],
"Note":[{"TextContent":"Scratch on box"}],
"DebitedQuantity":[{"QuantityContent":1,
"QuantityUnitCode":"C62"}],
"LineExtensionAmount":[{"AmountContent":1273,
"AmountCurrencyIdentifier":"EUR"}],
"AccountingCost":[{"TextContent":"BookingCode001"}],
"TaxTotal":[{
"TaxAmount":[{"AmountContent":254.6,
"AmountCurrencyIdentifier":"EUR"}]
}],
"Item":[{
"Description":[{"TextContent":"Processor: Intel Core 2 Duo SU9400 LV (1.4GHz). RAM:\n\t\t\t\t3MB. Screen 1440x900",
"LanguageIdentifier":"EN"}],
"Name":[{"TextContent":"Labtop computer"}],
"SellersItemIdentification":[{
"ID":[{"IdentifierContent":"JB007"}]
}],
"StandardItemIdentification":[{
"ID":[{"IdentifierContent":"1234567890124",
"IdentificationSchemeIdentifier":"GTIN",
"IdentificationSchemeAgencyIdentifier":"9"}]
}],
"CommodityClassification":[{
"ItemClassificationCode":[{"CodeContent":"12344321",
"CodeListAgencyIdentifier":"113",
"CodeListIdentifier":"UNSPSC"}]
},{
"ItemClassificationCode":[{"CodeContent":"65434568",
"CodeListAgencyIdentifier":"2",
"CodeListIdentifier":"CPV"}]
}],
"ClassifiedTaxCategory":[{
"ID":[{"IdentifierContent":"S",
"IdentificationSchemeIdentifier":"UN/ECE 5305",
"IdentificationSchemeAgencyIdentifier":"6"}],
"Percent":[{"NumericContent":20}],
"TaxScheme":[{
"ID":[{"IdentifierContent":"VAT",
"IdentificationSchemeIdentifier":"UN/ECE 5153",
"IdentificationSchemeAgencyIdentifier":"6"}]
}]
}],
"AdditionalItemProperty":[{
"Name":[{"TextContent":"Color"}],
"Value":[{"TextContent":"black"}]
}]
}],
"Price":[{
"PriceAmount":[{"AmountContent":1273,
"AmountCurrencyIdentifier":"EUR"}],
"BaseQuantity":[{"QuantityContent":1,
"QuantityUnitCode":"C62"}],
"AllowanceCharge":[{
"ChargeIndicator":[{"IndicatorContent":false}],
"AllowanceChargeReason":[{"TextContent":"Contract"}],
"MultiplierFactorNumeric":[{"NumericContent":0.15}],
"Amount":[{"AmountContent":225,
"AmountCurrencyIdentifier":"EUR"}],
"BaseAmount":[{"AmountContent":1500,
"AmountCurrencyIdentifier":"EUR"}]
}]
}]
},{
"ID":[{"IdentifierContent":"2"}],
"Note":[{"TextContent":"Cover is slightly damaged."}],
"DebitedQuantity":[{"QuantityContent":-1,
"QuantityUnitCode":"C62"}],
"LineExtensionAmount":[{"AmountContent":-3.96,
"AmountCurrencyIdentifier":"EUR"}],
"TaxTotal":[{
"TaxAmount":[{"AmountContent":-0.396,
"AmountCurrencyIdentifier":"EUR"}]
}],
"Item":[{
"Name":[{"TextContent":"Returned \"Advanced computing\" book"}],
"SellersItemIdentification":[{
"ID":[{"IdentifierContent":"JB008"}]
}],
"StandardItemIdentification":[{
"ID":[{"IdentifierContent":"1234567890125",
"IdentificationSchemeIdentifier":"GTIN",
"IdentificationSchemeAgencyIdentifier":"9"}]
}],
"CommodityClassification":[{
"ItemClassificationCode":[{"CodeContent":"32344324",
"CodeListAgencyIdentifier":"113",
"CodeListIdentifier":"UNSPSC"}]
},{
"ItemClassificationCode":[{"CodeContent":"65434567",
"CodeListAgencyIdentifier":"2",
"CodeListIdentifier":"CPV"}]
}],
"ClassifiedTaxCategory":[{
"ID":[{"IdentifierContent":"AA",
"IdentificationSchemeIdentifier":"UN/ECE 5305",
"IdentificationSchemeAgencyIdentifier":"6"}],
"Percent":[{"NumericContent":10}],
"TaxScheme":[{
"ID":[{"IdentifierContent":"VAT",
"IdentificationSchemeIdentifier":"UN/ECE 5153",
"IdentificationSchemeAgencyIdentifier":"6"}]
}]
}]
}],
"Price":[{
"PriceAmount":[{"AmountContent":3.96,
"AmountCurrencyIdentifier":"EUR"}],
"BaseQuantity":[{"QuantityContent":1,
"QuantityUnitCode":"C62"}]
}]
},{
"ID":[{"IdentifierContent":"3"}],
"DebitedQuantity":[{"QuantityContent":2,
"QuantityUnitCode":"C62"}],
"LineExtensionAmount":[{"AmountContent":4.96,
"AmountCurrencyIdentifier":"EUR"}],
"TaxTotal":[{
"TaxAmount":[{"AmountContent":0.496,
"AmountCurrencyIdentifier":"EUR"}]
}],
"Item":[{
"Name":[{"TextContent":"\"Computing for dummies\" book"}],
"SellersItemIdentification":[{
"ID":[{"IdentifierContent":"JB009"}]
}],
"StandardItemIdentification":[{
"ID":[{"IdentifierContent":"1234567890126",
"IdentificationSchemeIdentifier":"GTIN",
"IdentificationSchemeAgencyIdentifier":"9"}]
}],
"CommodityClassification":[{
"ItemClassificationCode":[{"CodeContent":"32344324",
"CodeListAgencyIdentifier":"113",
"CodeListIdentifier":"UNSPSC"}]
},{
"ItemClassificationCode":[{"CodeContent":"65434566",
"CodeListAgencyIdentifier":"2",
"CodeListIdentifier":"CPV"}]
}],
"ClassifiedTaxCategory":[{
"ID":[{"IdentifierContent":"AA",
"IdentificationSchemeIdentifier":"UN/ECE 5305",
"IdentificationSchemeAgencyIdentifier":"6"}],
"Percent":[{"NumericContent":10}],
"TaxScheme":[{
"ID":[{"IdentifierContent":"VAT",
"IdentificationSchemeIdentifier":"UN/ECE 5153",
"IdentificationSchemeAgencyIdentifier":"6"}]
}]
}]
}],
"Price":[{
"PriceAmount":[{"AmountContent":2.48,
"AmountCurrencyIdentifier":"EUR"}],
"BaseQuantity":[{"QuantityContent":1,
"QuantityUnitCode":"C62"}],
"AllowanceCharge":[{
"ChargeIndicator":[{"IndicatorContent":false}],
"AllowanceChargeReason":[{"TextContent":"Contract"}],
"MultiplierFactorNumeric":[{"NumericContent":0.1}],
"Amount":[{"AmountContent":0.275,
"AmountCurrencyIdentifier":"EUR"}],
"BaseAmount":[{"AmountContent":2.75,
"AmountCurrencyIdentifier":"EUR"}]
}]
}]
},{
"ID":[{"IdentifierContent":"4"}],
"DebitedQuantity":[{"QuantityContent":-1,
"QuantityUnitCode":"C62"}],
"LineExtensionAmount":[{"AmountContent":-25,
"AmountCurrencyIdentifier":"EUR"}],
"TaxTotal":[{
"TaxAmount":[{"AmountContent":0,
"AmountCurrencyIdentifier":"EUR"}]
}],
"Item":[{
"Name":[{"TextContent":"Returned IBM 5150 desktop"}],
"SellersItemIdentification":[{
"ID":[{"IdentifierContent":"JB010"}]
}],
"StandardItemIdentification":[{
"ID":[{"IdentifierContent":"1234567890127",
"IdentificationSchemeIdentifier":"GTIN",
"IdentificationSchemeAgencyIdentifier":"9"}]
}],
"CommodityClassification":[{
"ItemClassificationCode":[{"CodeContent":"12344322",
"CodeListAgencyIdentifier":"113",
"CodeListIdentifier":"UNSPSC"}]
},{
"ItemClassificationCode":[{"CodeContent":"65434565",
"CodeListAgencyIdentifier":"2",
"CodeListIdentifier":"CPV"}]
}],
"ClassifiedTaxCategory":[{
"ID":[{"IdentifierContent":"E",
"IdentificationSchemeIdentifier":"UN/ECE 5305",
"IdentificationSchemeAgencyIdentifier":"6"}],
"Percent":[{"NumericContent":0}],
"TaxScheme":[{
"ID":[{"IdentifierContent":"VAT",
"IdentificationSchemeIdentifier":"UN/ECE 5153",
"IdentificationSchemeAgencyIdentifier":"6"}]
}]
}]
}],
"Price":[{
"PriceAmount":[{"AmountContent":25,
"AmountCurrencyIdentifier":"EUR"}],
"BaseQuantity":[{"QuantityContent":1,
"QuantityUnitCode":"C62"}]
}]
},{
"ID":[{"IdentifierContent":"5"}],
"DebitedQuantity":[{"QuantityContent":250,
"QuantityUnitCode":"C62"}],
"LineExtensionAmount":[{"AmountContent":187.5,
"AmountCurrencyIdentifier":"EUR"}],
"AccountingCost":[{"TextContent":"BookingCode002"}],
"TaxTotal":[{
"TaxAmount":[{"AmountContent":37.5,
"AmountCurrencyIdentifier":"EUR"}]
}],
"Item":[{
"Name":[{"TextContent":"Network cable"}],
"SellersItemIdentification":[{
"ID":[{"IdentifierContent":"JB011"}]
}],
"StandardItemIdentification":[{
"ID":[{"IdentifierContent":"1234567890128",
"IdentificationSchemeIdentifier":"GTIN",
"IdentificationSchemeAgencyIdentifier":"9"}]
}],
"CommodityClassification":[{
"ItemClassificationCode":[{"CodeContent":"12344325",
"CodeListAgencyIdentifier":"113",
"CodeListIdentifier":"UNSPSC"}]
},{
"ItemClassificationCode":[{"CodeContent":"65434564",
"CodeListAgencyIdentifier":"2",
"CodeListIdentifier":"CPV"}]
}],
"ClassifiedTaxCategory":[{
"ID":[{"IdentifierContent":"S",
"IdentificationSchemeIdentifier":"UN/ECE 5305",
"IdentificationSchemeAgencyIdentifier":"6"}],
"Percent":[{"NumericContent":20}],
"TaxScheme":[{
"ID":[{"IdentifierContent":"VAT",
"IdentificationSchemeIdentifier":"UN/ECE 5153",
"IdentificationSchemeAgencyIdentifier":"6"}]
}]
}],
"AdditionalItemProperty":[{
"Name":[{"TextContent":"Type"}],
"Value":[{"TextContent":"Cat5"}]
}]
}],
"Price":[{
"PriceAmount":[{"AmountContent":0.75,
"AmountCurrencyIdentifier":"EUR"}],
"BaseQuantity":[{"QuantityContent":1,
"QuantityUnitCode":"C62"}]
}]
}]
}]}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy