Catalogue
Base Catalogue example
Sample origin: https://github.com/OpenPEPPOL/poacc-upgrade-3/blob/master/rules/examples/Catalogue_Example.xml
{
"Catalogue": {
"$": {
"xmlns:cac": "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2",
"xmlns:cbc": "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2",
"xmlns": "urn:oasis:names:specification:ubl:schema:xsd:Catalogue-2"
},
"cbc:CustomizationID": [
{
"_": "urn:fdc:peppol.eu:poacc:trns:catalogue:3"
}
],
"cbc:ProfileID": [
{
"_": "urn:fdc:peppol.eu:poacc:bis:catalogue_only:3"
}
],
"cbc:ID": [
{
"_": "1387"
}
],
"cbc:ActionCode": [
{
"_": "Add"
}
],
"cbc:Name": [
{
"_": "Spring Catalogue"
}
],
"cbc:IssueDate": [
{
"_": "2016-08-01"
}
],
"cbc:VersionID": [
{
"_": "2.0"
}
],
"cac:ValidityPeriod": [
{
"cbc:StartDate": [
{
"_": "2018-09-01"
}
],
"cbc:EndDate": [
{
"_": "2019-08-31"
}
]
}
],
"cac:ReferencedContract": [
{
"cbc:ID": [
{
"_": "CRT1387"
}
]
}
],
"cac:SourceCatalogueReference": [
{
"cbc:ID": [
{
"_": "1.0"
}
]
}
],
"cac:ProviderParty": [
{
"cbc:EndpointID": [
{
"_": "987654325",
"$": {
"schemeID": "0192"
}
}
],
"cac:PartyIdentification": [
{
"cbc:ID": [
{
"_": "5790000435951",
"$": {
"schemeID": "0088"
}
}
]
}
],
"cac:PostalAddress": [
{
"cbc:StreetName": [
{
"_": "Sinsenveien 40"
}
],
"cbc:AdditionalStreetName": [
{
"_": "Oppgang B"
}
],
"cbc:CityName": [
{
"_": "Oslo"
}
],
"cbc:PostalZone": [
{
"_": "0501"
}
],
"cbc:CountrySubentity": [
{
"_": "Region"
}
],
"cac:AddressLine": [
{
"cbc:Line": [
{
"_": "Address Line 3"
}
]
}
],
"cac:Country": [
{
"cbc:IdentificationCode": [
{
"_": "NO"
}
]
}
]
}
],
"cac:PartyLegalEntity": [
{
"cbc:RegistrationName": [
{
"_": "Helseforetak AS"
}
],
"cbc:CompanyID": [
{
"_": "123456785",
"$": {
"schemeID": "0192"
}
}
],
"cac:RegistrationAddress": [
{
"cbc:CityName": [
{
"_": "Oslo"
}
],
"cac:Country": [
{
"cbc:IdentificationCode": [
{
"_": "NO"
}
]
}
]
}
]
}
]
}
],
"cac:ReceiverParty": [
{
"cbc:EndpointID": [
{
"_": "987654325",
"$": {
"schemeID": "0192"
}
}
],
"cac:PartyIdentification": [
{
"cbc:ID": [
{
"_": "5790000435944",
"$": {
"schemeID": "0088"
}
}
]
}
],
"cac:PostalAddress": [
{
"cbc:StreetName": [
{
"_": "Storgt. 12"
}
],
"cbc:AdditionalStreetName": [
{
"_": "4. etasje"
}
],
"cbc:CityName": [
{
"_": "Oslo"
}
],
"cbc:PostalZone": [
{
"_": "0585"
}
],
"cbc:CountrySubentity": [
{
"_": "Region"
}
],
"cac:AddressLine": [
{
"cbc:Line": [
{
"_": "Address Line 3"
}
]
}
],
"cac:Country": [
{
"cbc:IdentificationCode": [
{
"_": "NO"
}
]
}
]
}
],
"cac:PartyLegalEntity": [
{
"cbc:RegistrationName": [
{
"_": "Medical AS"
}
],
"cbc:CompanyID": [
{
"_": "123456785",
"$": {
"schemeID": "0192"
}
}
],
"cac:RegistrationAddress": [
{
"cbc:CityName": [
{
"_": "Oslo"
}
],
"cac:Country": [
{
"cbc:IdentificationCode": [
{
"_": "NO"
}
]
}
]
}
]
}
]
}
],
"cac:SellerSupplierParty": [
{
"cac:Party": [
{
"cbc:EndpointID": [
{
"_": "987654325",
"$": {
"schemeID": "0192"
}
}
],
"cac:PartyIdentification": [
{
"cbc:ID": [
{
"_": "5790000435951",
"$": {
"schemeID": "0088"
}
}
]
}
],
"cac:PartyName": [
{
"cbc:Name": [
{
"_": "Medical"
}
]
}
],
"cac:PostalAddress": [
{
"cbc:StreetName": [
{
"_": "Storgt. 12"
}
],
"cbc:AdditionalStreetName": [
{
"_": "4. etasje"
}
],
"cbc:CityName": [
{
"_": "Oslo"
}
],
"cbc:PostalZone": [
{
"_": "0585"
}
],
"cbc:CountrySubentity": [
{
"_": "Region"
}
],
"cac:AddressLine": [
{
"cbc:Line": [
{
"_": "Address Line 3"
}
]
}
],
"cac:Country": [
{
"cbc:IdentificationCode": [
{
"_": "NO"
}
]
}
]
}
],
"cac:Contact": [
{
"cbc:Name": [
{
"_": "Nils Nilsen"
}
],
"cbc:Telephone": [
{
"_": "22150510"
}
],
"cbc:ElectronicMail": [
{
"_": "[email protected]"
}
]
}
]
}
]
}
],
"cac:ContractorCustomerParty": [
{
"cac:Party": [
{
"cbc:EndpointID": [
{
"_": "123456785",
"$": {
"schemeID": "0192"
}
}
],
"cac:PartyIdentification": [
{
"cbc:ID": [
{
"_": "5790000435951",
"$": {
"schemeID": "0088"
}
}
]
}
],
"cac:PartyName": [
{
"cbc:Name": [
{
"_": "Medical"
}
]
}
],
"cac:Contact": [
{
"cbc:Name": [
{
"_": "Nils Nilsen"
}
],
"cbc:Telephone": [
{
"_": "22150510"
}
],
"cbc:ElectronicMail": [
{
"_": "[email protected]"
}
]
}
]
}
]
}
],
"cac:TradingTerms": [
{
"cbc:Information": [
{
"_": "Net within 30 days"
}
]
}
],
"cac:CatalogueLine": [
{
"cbc:ID": [
{
"_": "1"
}
],
"cbc:ActionCode": [
{
"_": "Update"
}
],
"cbc:OrderableIndicator": [
{
"_": "true"
}
],
"cbc:OrderableUnit": [
{
"_": "LBR"
}
],
"cbc:ContentUnitQuantity": [
{
"_": "10",
"$": {
"unitCode": "C62"
}
}
],
"cbc:OrderQuantityIncrementNumeric": [
{
"_": "1"
}
],
"cbc:MinimumOrderQuantity": [
{
"_": "1",
"$": {
"unitCode": "LBR"
}
}
],
"cbc:MaximumOrderQuantity": [
{
"_": "100",
"$": {
"unitCode": "LBR"
}
}
],
"cbc:WarrantyInformation": [
{
"_": "text"
}
],
"cbc:PackLevelCode": [
{
"_": "TU"
}
],
"cac:LineValidityPeriod": [
{
"cbc:StartDate": [
{
"_": "2018-09-26"
}
],
"cbc:EndDate": [
{
"_": "2019-08-31"
}
]
}
],
"cac:ItemComparison": [
{
"cbc:PriceAmount": [
{
"_": "9.00",
"$": {
"currencyID": "EUR"
}
}
],
"cbc:Quantity": [
{
"_": "1",
"$": {
"unitCode": "LBR"
}
}
]
}
],
"cac:ComponentRelatedItem": [
{
"cbc:ID": [
{
"_": "2345"
}
],
"cbc:Quantity": [
{
"_": "1",
"$": {
"unitCode": "LBR"
}
}
]
}
],
"cac:AccessoryRelatedItem": [
{
"cbc:ID": [
{
"_": "54584"
}
],
"cbc:Quantity": [
{
"_": "1",
"$": {
"unitCode": "LBR"
}
}
]
}
],
"cac:RequiredRelatedItem": [
{
"cbc:ID": [
{
"_": "5564540"
}
],
"cbc:Quantity": [
{
"_": "1",
"$": {
"unitCode": "LBR"
}
}
]
}
],
"cac:RequiredItemLocationQuantity": [
{
"cbc:LeadTimeMeasure": [
{
"_": "2",
"$": {
"unitCode": "DAY"
}
}
],
"cbc:MinimumQuantity": [
{
"_": "1",
"$": {
"unitCode": "LBR"
}
}
],
"cbc:MaximumQuantity": [
{
"_": "10",
"$": {
"unitCode": "LBR"
}
}
],
"cac:ApplicableTerritoryAddress": [
{
"cbc:StreetName": [
{
"_": "Storgt. 12"
}
],
"cbc:AdditionalStreetName": [
{
"_": "4. etasje"
}
],
"cbc:CityName": [
{
"_": "Oslo"
}
],
"cbc:PostalZone": [
{
"_": "0585"
}
],
"cbc:CountrySubentity": [
{
"_": "Region"
}
],
"cac:AddressLine": [
{
"cbc:Line": [
{
"_": "Address Line 3"
}
]
}
],
"cac:Country": [
{
"cbc:IdentificationCode": [
{
"_": "NO"
}
]
}
]
}
],
"cac:Price": [
{
"cbc:PriceAmount": [
{
"_": "10.00",
"$": {
"currencyID": "EUR"
}
}
],
"cbc:BaseQuantity": [
{
"_": "1",
"$": {
"unitCode": "C62"
}
}
],
"cbc:PriceType": [
{
"_": "AAA"
}
],
"cbc:OrderableUnitFactorRate": [
{
"_": "1"
}
],
"cac:ValidityPeriod": [
{
"cbc:StartDate": [
{
"_": "2018-10-01"
}
],
"cbc:EndDate": [
{
"_": "2018-12-31"
}
]
}
]
}
]
}
],
"cac:Item": [
{
"cbc:Description": [
{
"_": "Photo copy paper 80g A4, package of 500 sheets."
}
],
"cbc:PackQuantity": [
{
"_": "1",
"$": {
"unitCode": "LBR"
}
}
],
"cbc:PackSizeNumeric": [
{
"_": "10"
}
],
"cbc:Name": [
{
"_": "Copy paper"
}
],
"cbc:Keyword": [
{
"_": "text"
}
],
"cbc:BrandName": [
{
"_": "text"
}
],
"cac:SellersItemIdentification": [
{
"cbc:ID": [
{
"_": "MNTR011"
}
]
}
],
"cac:ManufacturersItemIdentification": [
{
"cbc:ID": [
{
"_": "MNTR01349087911"
}
]
}
],
"cac:StandardItemIdentification": [
{
"cbc:ID": [
{
"_": "1234567890114",
"$": {
"schemeID": "0160"
}
}
]
}
],
"cac:ItemSpecificationDocumentReference": [
{
"cbc:ID": [
{
"_": "12345"
}
],
"cac:Attachment": [
{
"cbc:EmbeddedDocumentBinaryObject": [
{
"_": "UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi",
"$": {
"mimeCode": "image/png",
"filename": "image1.png"
}
}
],
"cac:ExternalReference": [
{
"cbc:URI": [
{
"_": "http://www.supplier.com/image1.png"
}
]
}
]
}
]
}
],
"cac:OriginCountry": [
{
"cbc:IdentificationCode": [
{
"_": "NO"
}
]
}
],
"cac:CommodityClassification": [
{
"cbc:ItemClassificationCode": [
{
"_": "20101601",
"$": {
"listID": "MP",
"listVersionID": "19.0501",
"name": "Office furniture"
}
}
]
}
],
"cac:TransactionConditions": [
{
"cbc:ActionCode": [
{
"_": "CT"
}
]
}
],
"cac:HazardousItem": [
{
"cbc:UNDGCode": [
{
"_": "ADR"
}
],
"cbc:HazardClassID": [
{
"_": "Code"
}
]
}
],
"cac:ClassifiedTaxCategory": [
{
"cbc:ID": [
{
"_": "S"
}
],
"cbc:Percent": [
{
"_": "18"
}
],
"cac:TaxScheme": [
{
"cbc:ID": [
{
"_": "VAT"
}
]
}
]
}
],
"cac:AdditionalItemProperty": [
{
"cbc:Name": [
{
"_": "Paper weight in grams"
}
],
"cbc:NameCode": [
{
"_": "test",
"$": {
"listID": "NN"
}
}
],
"cbc:Value": [
{
"_": "18"
}
],
"cbc:ValueQuantity": [
{
"_": "18",
"$": {
"unitCode": "GRM"
}
}
],
"cbc:ValueQualifier": [
{
"_": "text"
}
]
}
],
"cac:ManufacturerParty": [
{
"cac:PartyName": [
{
"cbc:Name": [
{
"_": "Manufacturer AS"
}
]
}
]
}
],
"cac:ItemInstance": [
{
"cbc:BestBeforeDate": [
{
"_": "2018-12-31"
}
],
"cac:LotIdentification": [
{
"cbc:LotNumberID": [
{
"_": "123456789"
}
]
}
]
}
],
"cac:Certificate": [
{
"cbc:ID": [
{
"_": "123450"
}
],
"cbc:CertificateTypeCode": [
{
"_": "NA"
}
],
"cbc:CertificateType": [
{
"_": "Environmental"
}
],
"cbc:Remarks": [
{
"_": "tekst"
}
],
"cac:IssuerParty": [
{
"cac:PartyName": [
{
"cbc:Name": [
{
"_": "NA"
}
]
}
]
}
]
}
],
"cac:Dimension": [
{
"cbc:AttributeID": [
{
"_": "LN"
}
],
"cbc:Measure": [
{
"_": "0.1",
"$": {
"unitCode": "MTR"
}
}
]
}
]
}
]
},
{
"cbc:ID": [
{
"_": "2"
}
],
"cac:RequiredItemLocationQuantity": [
{
"cac:Price": [
{
"cbc:PriceAmount": [
{
"_": "90.00",
"$": {
"currencyID": "EUR"
}
}
],
"cbc:BaseQuantity": [
{
"_": "1",
"$": {
"unitCode": "C62"
}
}
]
}
]
}
],
"cac:Item": [
{
"cbc:Description": [
{
"_": "Photo copy paper 80g A4, carton of 10 units with 500 sheets each"
}
],
"cbc:Name": [
{
"_": "Copy paper"
}
],
"cac:SellersItemIdentification": [
{
"cbc:ID": [
{
"_": "MNTR012"
}
]
}
],
"cac:ManufacturersItemIdentification": [
{
"cbc:ID": [
{
"_": "MNTR01349087912"
}
]
}
],
"cac:StandardItemIdentification": [
{
"cbc:ID": [
{
"_": "1234567890124",
"$": {
"schemeID": "0160"
}
}
]
}
],
"cac:CommodityClassification": [
{
"cbc:ItemClassificationCode": [
{
"_": "20101601",
"$": {
"listID": "MP",
"listVersionID": "19.0501"
}
}
]
}
],
"cac:ClassifiedTaxCategory": [
{
"cbc:ID": [
{
"_": "S"
}
],
"cbc:Percent": [
{
"_": "18"
}
],
"cac:TaxScheme": [
{
"cbc:ID": [
{
"_": "VAT"
}
]
}
]
}
],
"cac:AdditionalItemProperty": [
{
"cbc:Name": [
{
"_": "Paper weight in grams"
}
],
"cbc:Value": [
{
"_": "18"
}
]
}
]
}
]
}
]
}
}
Last updated
Was this helpful?