DocumentResponse
The payload aggregate of the UBL ApplicationResponse (MLR carrier).
Definition
DocumentResponse [0..*] groups a cac:Response (header-level outcome, with cbc:ResponseCode), a cac:DocumentReference identifying the document being answered, and optional cac:LineResponse [0..*] for line-level outcomes. It is how a UBL ApplicationResponse expresses a Message Level Response (MLR) such as acceptance, rejection or conditional acceptance of an Invoice or Order.
Origin
Defined in the OASIS Universal Business Language (UBL) v2.1 specification (OASIS Standard, 2013), in the ApplicationResponse document and the CommonAggregateComponents schema.
Example in context
<cac:DocumentResponse><cac:Response><cbc:ResponseCode>AB</cbc:ResponseCode></cac:Response><cac:DocumentReference><cbc:ID>INV-001</cbc:ID></cac:DocumentReference></cac:DocumentResponse>
Related terms
- UBL ApplicationResponse — the document that contains DocumentResponse.
- UBL StatusReasonCode — detailed reason carried alongside a rejection.