CatalogueResponse

Base Catalogue example

Sample origin: https://github.com/OpenPEPPOL/poacc-upgrade-3/blob/master/rules/examples/CatalogueResponse_Example.xml

{
    "ApplicationResponse": {
        "$": {
            "xmlns": "urn:oasis:names:specification:ubl:schema:xsd:ApplicationResponse-2",
            "xmlns:cac": "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2",
            "xmlns:cbc": "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
        },
        "cbc:CustomizationID": [
            {
                "_": "urn:fdc:peppol.eu:poacc:trns:catalogue_response:3"
            }
        ],
        "cbc:ProfileID": [
            {
                "_": "urn:fdc:peppol.eu:poacc:bis:catalogue_only:3"
            }
        ],
        "cbc:ID": [
            {
                "_": "imrid001"
            }
        ],
        "cbc:IssueDate": [
            {
                "_": "2017-12-01"
            }
        ],
        "cbc:IssueTime": [
            {
                "_": "12:00:00"
            }
        ],
        "cbc:Note": [
            {
                "_": "text"
            }
        ],
        "cac:SenderParty": [
            {
                "cbc:EndpointID": [
                    {
                        "_": "5798000012349",
                        "$": {
                            "schemeID": "0088"
                        }
                    }
                ],
                "cac:PartyIdentification": [
                    {
                        "cbc:ID": [
                            {
                                "_": "DK88776655",
                                "$": {
                                    "schemeID": "0184"
                                }
                            }
                        ]
                    }
                ],
                "cac:PartyLegalEntity": [
                    {
                        "cbc:RegistrationName": [
                            {
                                "_": "Buyer organization"
                            }
                        ]
                    }
                ]
            }
        ],
        "cac:ReceiverParty": [
            {
                "cbc:EndpointID": [
                    {
                        "_": "7330001000000",
                        "$": {
                            "schemeID": "0088"
                        }
                    }
                ],
                "cac:PartyIdentification": [
                    {
                        "cbc:ID": [
                            {
                                "_": "987654325",
                                "$": {
                                    "schemeID": "0192"
                                }
                            }
                        ]
                    }
                ],
                "cac:PartyLegalEntity": [
                    {
                        "cbc:RegistrationName": [
                            {
                                "_": "Seller company"
                            }
                        ]
                    }
                ]
            }
        ],
        "cac:DocumentResponse": [
            {
                "cac:Response": [
                    {
                        "cbc:ResponseCode": [
                            {
                                "_": "AP"
                            }
                        ]
                    }
                ],
                "cac:DocumentReference": [
                    {
                        "cbc:ID": [
                            {
                                "_": "Cat-1"
                            }
                        ],
                        "cbc:VersionID": [
                            {
                                "_": "2.0"
                            }
                        ]
                    }
                ]
            }
        ]
    }
}

Last updated

Was this helpful?