/ubl:ApplicationResponse

Application Response

France | VRBL-Lifecycle-FR-1p0
Download sample files
Context ID APR0001
Usage M

Description

A document to indicate the application's response to a transaction. This may be a business response initiated by a user or a technical response sent automatically by an application.

Child elements
Usage Element Description Cardinality
M cec:UBLExtensions Extensions Group 0..1
M cbc:CustomizationID Customization ID

Identifies a user-defined customization of UBL for a specific use.

0..1
M cbc:ProfileID Profile ID

Identifies a user-defined profile of the customization of UBL being used.

0..1
M cbc:ID Document Number

An identifier for this document, assigned by the sender.

1..1
M cbc:IssueDate Issue Date

The date, assigned by the sender, on which this document was issued.

1..1
M cbc:IssueTime Issue Time

The time, assigned by the sender, at which this document was issued.

0..1
M cac:SenderParty Sender Party Group

The party sending this document.

1..1
M cac:ReceiverParty Receiver Party Group

The party receiving this document.

1..1
M cac:DocumentResponse Document Response Group

A response to a document.

0..n
Details

Example: VRBL_FR_APPLICATIONRESPONSE_CASE19b_SELFBILLING_212.xml

<ubl:ApplicationResponse>
  <ext:UBLExtensions>
    <ext:UBLExtension>
      <ext:ExtensionContent>
        <vrbl:ApplicationResponseExtension>
          <vrbl:RoutingDetails>
            <vrbl:Sender>200000008</vrbl:Sender>
            <vrbl:Receiver>GENERIC_PPF_COMPLIANCE_FR_1p0</vrbl:Receiver>
            <vrbl:ForwardDuplicateIndicator>true</vrbl:ForwardDuplicateIndicator>
          </vrbl:RoutingDetails>
        </vrbl:ApplicationResponseExtension>
      </ext:ExtensionContent>
    </ext:UBLExtension>
  </ext:UBLExtensions>
  <cbc:CustomizationID>urn:vertexinc:vrbl:billing:1#ApplicationResponse#VRBL-Lifecycle-FR-1p0</cbc:CustomizationID>
  <cbc:ProfileID>urn:vertexinc:vrbl:billing:1</cbc:ProfileID>
  <cbc:ID>F202500003_CDAR_212</cbc:ID>
  <cbc:IssueDate>2025-07-01</cbc:IssueDate>
  <cbc:IssueTime>18:10:00</cbc:IssueTime>
  <cac:SenderParty>
    <ext:UBLExtensions>
      <ext:UBLExtension>
        <ext:ExtensionContent>
          <vrbl:SenderPartyExtension>
            <vrbl:PartyRoleCode>SE</vrbl:PartyRoleCode>
          </vrbl:SenderPartyExtension>
        </ext:ExtensionContent>
      </ext:UBLExtension>
    </ext:UBLExtensions>
    <cbc:EndpointID schemeID="0225">100000009_STATUTS</cbc:EndpointID>
    <cac:PartyIdentification>
      <cbc:ID schemeID="0009">10000000912345</cbc:ID>
    </cac:PartyIdentification>
    <cac:PartyName>
      <cbc:Name>VENDEUR</cbc:Name>
    </cac:PartyName>
  </cac:SenderParty>
  <cac:ReceiverParty>
    <ext:UBLExtensions>
      <ext:UBLExtension>
        <ext:ExtensionContent>
          <vrbl:ReceiverPartyExtension>
            <vrbl:PartyRoleCode>BY</vrbl:PartyRoleCode>
          </vrbl:ReceiverPartyExtension>
        </ext:ExtensionContent>
      </ext:UBLExtension>
    </ext:UBLExtensions>
    <cbc:EndpointID schemeID="0225">200000008</cbc:EndpointID>
    <cac:PartyIdentification>
      <cbc:ID schemeID="0002">200000008</cbc:ID>
    </cac:PartyIdentification>
    <cac:PartyName>
      <cbc:Name>ACHETEUR</cbc:Name>
    </cac:PartyName>
  </cac:ReceiverParty>
  <cac:DocumentResponse>
    <cac:Response>
      <ext:UBLExtensions>
        <ext:UBLExtension>
          <ext:ExtensionContent>
            <vrbl:ResponseExtension>
              <vrbl:AdditionalResponseCode>47</vrbl:AdditionalResponseCode>
            </vrbl:ResponseExtension>
          </ext:ExtensionContent>
        </ext:UBLExtension>
      </ext:UBLExtensions>
      <cbc:ResponseCode>VRBL:FR:212</cbc:ResponseCode>
      <cbc:Description>Encaissée</cbc:Description>
      <cbc:EffectiveDate>2025-07-01</cbc:EffectiveDate>
      <cbc:EffectiveTime>18:00:00</cbc:EffectiveTime>
      <cac:Status>
        <ext:UBLExtensions>
          <ext:UBLExtension>
            <ext:ExtensionContent>
              <vrbl:StatusExtension>
                <vrbl:AdditionalStatusProperty>
                  <vrbl:Amount currencyID="EUR">12000</vrbl:Amount>
                  <vrbl:FunctionCode>VRBL:FR:MEN</vrbl:FunctionCode>
                  <vrbl:ModificationIndicator>false</vrbl:ModificationIndicator>
                  <cbc:Percent>20</cbc:Percent>
                </vrbl:AdditionalStatusProperty>
                <cbc:SequenceID>1</cbc:SequenceID>
              </vrbl:StatusExtension>
            </ext:ExtensionContent>
          </ext:UBLExtension>
        </ext:UBLExtensions>
      </cac:Status>
    </cac:Response>
    <cac:DocumentReference>
      <ext:UBLExtensions>
        <ext:UBLExtension>
          <ext:ExtensionContent>
            <vrbl:DocumentReferenceExtension>
              <vrbl:ReceiptDate>2025-07-01</vrbl:ReceiptDate>
              <vrbl:ReceiptTime>16:10:00</vrbl:ReceiptTime>
            </vrbl:DocumentReferenceExtension>
          </ext:ExtensionContent>
        </ext:UBLExtension>
      </ext:UBLExtensions>
      <cbc:ID>F202500003</cbc:ID>
      <cbc:IssueDate>2025-07-01</cbc:IssueDate>
      <cbc:IssueTime>00:00:00</cbc:IssueTime>
      <cbc:DocumentTypeCode>389</cbc:DocumentTypeCode>
      <cac:IssuerParty>
        <cac:PartyIdentification>
          <cbc:ID schemeID="0002">200000008</cbc:ID>
        </cac:PartyIdentification>
      </cac:IssuerParty>
    </cac:DocumentReference>
  </cac:DocumentResponse>
</ubl:ApplicationResponse>
Rules
Rule ID Error Message
VRBL-APR-FR-1p0-12 For outbound messages, the Document Number must exist within the Application Response.
VRBL-APR-FR-1p0-1 For outbound messages, the Issue Time must exist within the Application Response.
VRBL-APR-CORE-3 The Routing Details must exist within the Application Response.
VRBL-APR-CORE-4 The Customization ID must exist within the Application Response.
VRBL-APR-CORE-5 The Profile ID must exist within the Application Response.
VRBL-APR-CORE-6 The Issue Date must exist within the Application Response.