-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
002ed00
commit 5da854b
Showing
1 changed file
with
140 additions
and
0 deletions.
There are no files selected for viewing
140 changes: 140 additions & 0 deletions
140
file-formats/edcc/examples/z_aff_example_edcc.edcc.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,140 @@ | ||
{\rtf1\ansi\ansicpg1252\cocoartf2761 | ||
\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\froman\fcharset0 Times-Roman;} | ||
{\colortbl;\red255\green255\blue255;\red0\green0\blue0;} | ||
{\*\expandedcolortbl;;\cssrgb\c0\c0\c0;} | ||
\paperw11900\paperh16840\margl1440\margr1440\vieww11520\viewh8400\viewkind0 | ||
\deftab720 | ||
\pard\pardeftab720\sa240\partightenfactor0 | ||
|
||
\f0\fs24 \cf0 \expnd0\expndtw0\kerning0 | ||
\{\ | ||
"formatVersion": "1",\ | ||
"header": \{\ | ||
"description": "Example Scenario",\ | ||
"originalLanguage": "en",\ | ||
"abapLanguageVersion": "cloudDevelopment"\ | ||
\},\ | ||
"country": "ES",\ | ||
"taxauthMessages": [\ | ||
\{\ | ||
"messageType": "TaxAuthorityInvPull",\ | ||
"messageTypeDescription": "Pull Data from Tax Authority",\ | ||
"taxauthDocumenttype": "ES_IN_V_DOC1",\ | ||
"originalLanguage": "en"\ | ||
\}\ | ||
],\ | ||
"taxauthTables": [\ | ||
\{\ | ||
"tableName": "ES_TAXAUTH_TABLE"\ | ||
\}\ | ||
],\ | ||
"comparisonTypes": [\ | ||
\{\ | ||
"comparisonType": "TaxAuthVeDoc",\ | ||
"description": "Compare Tax Authority Invoice with eDocument",\ | ||
"positionNumber": "1",\ | ||
"className": "CL_EDC_EXAMPLE_CLASS",\ | ||
"dataSource": "I_EDC_EXAMPLE",\ | ||
"existenceCheck": \{\ | ||
"checkId": "Existence",\ | ||
"description": "Example existence check",\ | ||
"fieldName": "EDCEXIST",\ | ||
"fieldValue": "X",\ | ||
"resultProcess": "ZMISSING1"\ | ||
\},\ | ||
"statusCheck": [\ | ||
\{\ | ||
"checkId": "Example 1",\ | ||
"description": "Example Status check",\ | ||
"sequenceNumber": "1",\ | ||
"sourceFieldname1": "InvoiceReportingStatus",\ | ||
"sourceFieldvalue1": "ACCEPT",\ | ||
"sourceFieldname2": "ACRStatus",\ | ||
"sourceFieldvalue2": "REJECT",\ | ||
"resultProcess": "ZPROCESS1"\ | ||
\},\ | ||
\{\ | ||
"checkId": "Example 2",\ | ||
"description": "Example Status check",\ | ||
"sequenceNumber": "2",\ | ||
"sourceFieldname1": "InvoiceSubmissionStatus",\ | ||
"sourceFieldvalue1": "ACCEPT",\ | ||
"sourceFieldname2": "eDocumentStatus",\ | ||
"sourceFieldvalue2": "REJECT",\ | ||
"resultProcess": "ZPROCESS2"\ | ||
\}\ | ||
],\ | ||
"contentCheck": [\ | ||
\{\ | ||
"checkId": "ExampleContentCheck1",\ | ||
"description": "Content check of Invoices",\ | ||
"checkNumber": "1",\ | ||
"contentComparisonFieldgroup": [\ | ||
\{\ | ||
"fieldGroup": "InvoiceHeaderFields",\ | ||
"description": "Example",\ | ||
"fieldGroupLevel": "header",\ | ||
"checkFormula": "field",\ | ||
"resultProcess": "ZCONTENT1",\ | ||
"comparisonField": [\ | ||
\{\ | ||
"representationType": "EDOCUMENT",\ | ||
"fieldName": "TotalAmount",\ | ||
"comparisonSequence": "1"\ | ||
\},\ | ||
\{\ | ||
"representationType": "TAXAUTHDOC",\ | ||
"fieldName": "TotalAmount",\ | ||
"comparisonSequence": "2"\ | ||
\}\ | ||
]\ | ||
\}\ | ||
]\ | ||
\}\ | ||
],\ | ||
"checkAttributes": [\ | ||
\{\ | ||
"checkId": "Existence",\ | ||
"positionNumber": "1",\ | ||
"executionSequence": "1",\ | ||
"executionControl": "proceed",\ | ||
"checkFilter": [\ | ||
\{\ | ||
"filterOperation": "and",\ | ||
"comparisonOperator": "equal",\ | ||
"expressionIndicator": "beginof"\ | ||
\}\ | ||
]\ | ||
\},\ | ||
\{\ | ||
"checkId": "Example 1",\ | ||
"positionNumber": "2",\ | ||
"executionSequence": "2",\ | ||
"executionControl": "proceed"\ | ||
\},\ | ||
\{\ | ||
"checkId": "Example 2",\ | ||
"positionNumber": "3",\ | ||
"executionSequence": "3",\ | ||
"executionControl": "proceed"\ | ||
\},\ | ||
\{\ | ||
"checkId": "ExampleContentCheck1",\ | ||
"positionNumber": "4",\ | ||
"executionSequence": "4",\ | ||
"executionControl": "noProceed"\ | ||
\}\ | ||
],\ | ||
"representationTypes": [\ | ||
\{\ | ||
"representationType": "EDOCUMENT",\ | ||
"description": "example eDocument"\ | ||
\},\ | ||
\{\ | ||
"representationType": "TAXAUTHDOC",\ | ||
"description": "Tax Authority Document"\ | ||
\}\ | ||
]\ | ||
\}\ | ||
]\ | ||
\}} |