Context
TR
/ubl:ApplicationResponse
VRBL-ApplicationResponse-TR-1p2 - Application Response
Türkiye |
VRBL-ApplicationResponse-TR-1p2
| Context ID | APR0001 |
| Usage | M |
| Usage Description | The message |
| Final Format Path | /ApplicationResponse |
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 |
| O | 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:UUID |
UUID
A universally unique identifier for an instance of this document. |
0..1 |
| M | cbc:IssueDate |
Issue Date
The date, assigned by the sender, on which this document was issued. |
1..1 |
| O | 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_ApplicationResponse_TR_Accept.xml
<ubl:ApplicationResponse>
<ext:UBLExtensions>
<ext:UBLExtension>
<ext:ExtensionContent>
<vrbl:ApplicationResponseExtension>
<vrbl:DocumentSubtypeCode>VRBL:TR:TICARIFATURA</vrbl:DocumentSubtypeCode>
<vrbl:RoutingDetails>
<vrbl:Sender>GENERIC_TR_UBL_1p2</vrbl:Sender>
<vrbl:Receiver>9999999999</vrbl:Receiver>
</vrbl:RoutingDetails>
</vrbl:ApplicationResponseExtension>
</ext:ExtensionContent>
</ext:UBLExtension>
</ext:UBLExtensions>
<cbc:CustomizationID>urn:vertexinc:vrbl:billing:1#ApplicationResponse#VRBL-ApplicationResponse-TR-1p2</cbc:CustomizationID>
<cbc:ProfileID>urn:vertexinc:vrbl:billing:1</cbc:ProfileID>
<cbc:ID>c3173268-2a56-48e7-a7c5-e8344cf283df</cbc:ID>
<cbc:UUID>b1a8387a-3e55-4204-8bf4-86d3c3b736a3</cbc:UUID>
<cbc:IssueDate>2013-06-27</cbc:IssueDate>
<cbc:IssueTime>09:56:08</cbc:IssueTime>
<cac:SenderParty>
<cac:PartyName>
<cbc:Name>e-Fatura Deneme A.Ş.</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:Room>1</cbc:Room>
<cbc:StreetName>Etlik Caddesi</cbc:StreetName>
<cbc:BuildingName>Gelir İdaresi Ek. Hizmet Binası</cbc:BuildingName>
<cbc:BuildingNumber>16</cbc:BuildingNumber>
<cbc:CitySubdivisionName>Altındağ</cbc:CitySubdivisionName>
<cbc:CityName>Ankara</cbc:CityName>
<cbc:PostalZone>06110</cbc:PostalZone>
<cbc:Region>Dışkapı</cbc:Region>
<cac:Country/>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<cbc:CompanyID>9999999999</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
</cac:SenderParty>
<cac:ReceiverParty>
<cac:PartyName>
<cbc:Name>e-Fatura Deneme A.Ş.</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:Room>1</cbc:Room>
<cbc:StreetName>Etlik Caddesi</cbc:StreetName>
<cbc:BuildingName>Gelir İdaresi Ek. Hizmet Binası</cbc:BuildingName>
<cbc:BuildingNumber>16</cbc:BuildingNumber>
<cbc:CitySubdivisionName>Altındağ</cbc:CitySubdivisionName>
<cbc:CityName>Ankara</cbc:CityName>
<cbc:PostalZone>06110</cbc:PostalZone>
<cbc:Region>Dışkapı</cbc:Region>
<cac:Country/>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<cbc:CompanyID>9999999999</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
</cac:ReceiverParty>
<cac:DocumentResponse>
<cac:Response>
<cbc:ReferenceID>9841ffd6-3b85-4da5-926c-b60939ff1cda</cbc:ReferenceID>
<cbc:ResponseCode>VRBL:TR:KABUL</cbc:ResponseCode>
<cbc:Description>Fatura kabul edildi.</cbc:Description>
</cac:Response>
<cac:DocumentReference>
<cbc:ID>2d07cab5-bf97-4af5-96f8-ab45671a5e2e</cbc:ID>
<cbc:IssueDate>2013-06-19</cbc:IssueDate>
<cbc:DocumentTypeCode>VRBL:TR:SATIS</cbc:DocumentTypeCode>
</cac:DocumentReference>
<cac:LineResponse>
<cac:LineReference>
<cbc:LineID/>
</cac:LineReference>
<cac:Response>
<cbc:ReferenceID>5d441fa2-a1b5-42dc-b9e2-39200192836c</cbc:ReferenceID>
<cbc:ResponseCode>VRBL:TR:KABUL</cbc:ResponseCode>
<cbc:Description>Fatura kabul edildi.</cbc:Description>
</cac:Response>
</cac:LineResponse>
</cac:DocumentResponse>
</ubl:ApplicationResponse>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-APR-TR-1p2-3 | The Issue Date must follow the format YYYY-MM-DD. |
| VRBL-APR-TR-1p2-4 | The Issue Time must exist within the Application Response. |
| VRBL-APR-TR-1p2-7 | The Application Response expects one Document Response Group. |
| 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. |