POST | /sync/elma/dac6/xml/file |
---|
System.IO.InvalidDataException: MetaData is potentially malicious. Expected scalar value, Received: RegistriernummerAngabe im Format CCAYYYYMMDDXXXXXX <CC><A><YYYYMMDD><Bezeichner> CC enthält den ISO Staatencode des Mitgliedstaates in dem die erste Mitteilung zur Gestaltung erfolgt ist. Zulässige Werte sind: AT, BE, BG, CY, CZ, DE, DK, EE, ES, FI, FR, GB, GR, HR, HU, IE, IT, LT, LU, LV, MT, NL, PL, PT, RO, SE, SI, SK A enthält den Buchstaben "A" (Arrangement/Gestaltung) YYYYMMDD enthält das Ausgabedatum der Registriernummer XXXXXX ist eine Kombination aus Großbuchstaben (A-Z) und Ziffern (0-9) at ServiceStack.NativeTypes.VbNet.VbNetGeneratorExtensions.SafeValue(String value) in /home/runner/work/ServiceStack/ServiceStack/ServiceStack/src/ServiceStack/NativeTypes/VbNet/VbNetGenerator.cs:line 790 at ServiceStack.NativeTypes.VbNet.VbNetGeneratorExtensions.QuotedSafeValue(String value) in /home/runner/work/ServiceStack/ServiceStack/ServiceStack/src/ServiceStack/NativeTypes/VbNet/VbNetGenerator.cs:line 795 at ServiceStack.NativeTypes.VbNet.VbNetGenerator.TypeValue(String type, String value) in /home/runner/work/ServiceStack/ServiceStack/ServiceStack/src/ServiceStack/NativeTypes/VbNet/VbNetGenerator.cs:line 573 at ServiceStack.NativeTypes.VbNet.VbNetGenerator.AppendAttributes(StringBuilderWrapper sb, List`1 attributes) in /home/runner/work/ServiceStack/ServiceStack/ServiceStack/src/ServiceStack/NativeTypes/VbNet/VbNetGenerator.cs:line 561 at ServiceStack.NativeTypes.VbNet.VbNetGenerator.AddProperties(StringBuilderWrapper sb, MetadataType type, Boolean includeResponseStatus) in /home/runner/work/ServiceStack/ServiceStack/ServiceStack/src/ServiceStack/NativeTypes/VbNet/VbNetGenerator.cs:line 483 at ServiceStack.NativeTypes.VbNet.VbNetGenerator.AppendType(StringBuilderWrapper& sb, MetadataType type, String lastNS, List`1 allTypes, CreateTypeOptions options) at ServiceStack.NativeTypes.VbNet.VbNetGenerator.GetCode(MetadataTypes metadata, IRequest request, INativeTypesMetadata nativeTypes) in /home/runner/work/ServiceStack/ServiceStack/ServiceStack/src/ServiceStack/NativeTypes/VbNet/VbNetGenerator.cs:line 269 at ServiceStack.NativeTypes.LangGeneratorExtensions.GenerateSourceCode(MetadataTypes metadataTypes, MetadataTypesConfig typesConfig, String lang, IRequest req, Action`1 configure) in /home/runner/work/ServiceStack/ServiceStack/ServiceStack/src/ServiceStack/NativeTypes/ILangGenerator.cs:line 53 at ServiceStack.Metadata.BaseMetadataHandler.ProcessOperationsAsync(Stream writer, IRequest httpReq, IResponse httpRes) in /home/runner/work/ServiceStack/ServiceStack/ServiceStack/src/ServiceStack/Metadata/BaseMetadataHandler.cs:line 207
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /sync/elma/dac6/xml/file HTTP/1.1
Host: reportfiling.staging.pwc.de
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
fileId: String,
authSteuernummer: String,
accountId: String,
kundeneigeneId: String,
elmakomVersion: String,
stagingEnabled: False,
dataModel:
{
version: String,
sprache: AA,
dac6Arrangement:
{
version: String,
header:
{
receivingCountries:
[
AF
],
messageRefId: String,
timestamp: 0001-01-01
},
arrangementID: String,
dac6Disclosure:
{
disclosureID: String,
refDisclosureID: String,
language: AA,
disclosing:
{
id:
{
individual:
{
individualName:
{
precedingTitle: String,
title: String,
firstName: String,
middleName: String,
namePrefix: String,
lastName: String,
generationIdentifier: String,
suffix: String,
generalSuffix: String
},
birthDate: 0001-01-01,
birthPlace: String,
tiNs:
[
{
issuedBy: AF,
value: String
}
],
address:
{
street: String,
buildingIdentifier: String,
suiteIdentifier: String,
floorIdentifier: String,
districtName: String,
pob: String,
postCode: String,
city: String,
country: AF
},
emailAddress: String,
resCountryCodes:
[
AF
]
},
organisation:
{
organisationNames:
[
{
language: AA,
value: String
}
],
tiNs:
[
{
issuedBy: AF,
value: String
}
],
address:
{
street: String,
buildingIdentifier: String,
suiteIdentifier: String,
floorIdentifier: String,
districtName: String,
pob: String,
postCode: String,
city: String,
country: AF
},
emailAddress: String,
resCountryCodes:
[
AF
]
}
},
liability:
{
intermediaryDiscloser:
{
intermediaryNexus: INEXa,
capacity: DAC61101
},
relevantTaxpayerDiscloser:
{
relevantTaxpayerNexus: RTNEXa,
capacity: DAC61104
}
}
},
initialDisclosureMA: False,
relevantTaxPayers:
[
{
id:
{
individual:
{
individualName:
{
precedingTitle: String,
title: String,
firstName: String,
middleName: String,
namePrefix: String,
lastName: String,
generationIdentifier: String,
suffix: String,
generalSuffix: String
},
birthDate: 0001-01-01,
birthPlace: String,
tiNs:
[
{
issuedBy: AF,
value: String
}
],
address:
{
street: String,
buildingIdentifier: String,
suiteIdentifier: String,
floorIdentifier: String,
districtName: String,
pob: String,
postCode: String,
city: String,
country: AF
},
emailAddress: String,
resCountryCodes:
[
AF
]
},
organisation:
{
organisationNames:
[
{
language: AA,
value: String
}
],
tiNs:
[
{
issuedBy: AF,
value: String
}
],
address:
{
street: String,
buildingIdentifier: String,
suiteIdentifier: String,
floorIdentifier: String,
districtName: String,
pob: String,
postCode: String,
city: String,
country: AF
},
emailAddress: String,
resCountryCodes:
[
AF
]
}
},
taxpayerImplementingDate: 0001-01-01,
associatedEnterprises:
[
{
associatedEnterpriseID:
{
individual:
{
individualName:
{
precedingTitle: String,
title: String,
firstName: String,
middleName: String,
namePrefix: String,
lastName: String,
generationIdentifier: String,
suffix: String,
generalSuffix: String
},
birthDate: 0001-01-01,
birthPlace: String,
tiNs:
[
{
issuedBy: AF,
value: String
}
],
address:
{
street: String,
buildingIdentifier: String,
suiteIdentifier: String,
floorIdentifier: String,
districtName: String,
pob: String,
postCode: String,
city: String,
country: AF
},
emailAddress: String,
resCountryCodes:
[
AF
]
},
organisation:
{
organisationNames:
[
{
language: AA,
value: String
}
],
tiNs:
[
{
issuedBy: AF,
value: String
}
],
address:
{
street: String,
buildingIdentifier: String,
suiteIdentifier: String,
floorIdentifier: String,
districtName: String,
pob: String,
postCode: String,
city: String,
country: AF
},
emailAddress: String,
resCountryCodes:
[
AF
]
}
},
affectedPerson: False
}
]
}
],
intermediaries:
[
{
id:
{
individual:
{
individualName:
{
precedingTitle: String,
title: String,
firstName: String,
middleName: String,
namePrefix: String,
lastName: String,
generationIdentifier: String,
suffix: String,
generalSuffix: String
},
birthDate: 0001-01-01,
birthPlace: String,
tiNs:
[
{
issuedBy: AF,
value: String
}
],
address:
{
street: String,
buildingIdentifier: String,
suiteIdentifier: String,
floorIdentifier: String,
districtName: String,
pob: String,
postCode: String,
city: String,
country: AF
},
emailAddress: String,
resCountryCodes:
[
AF
]
},
organisation:
{
organisationNames:
[
{
language: AA,
value: String
}
],
tiNs:
[
{
issuedBy: AF,
value: String
}
],
address:
{
street: String,
buildingIdentifier: String,
suiteIdentifier: String,
floorIdentifier: String,
districtName: String,
pob: String,
postCode: String,
city: String,
country: AF
},
emailAddress: String,
resCountryCodes:
[
AF
]
}
},
capacity: DAC61101,
nationalExemption:
{
exemption: False,
countryExemptions:
{
countryExemptions:
[
AF
]
}
}
}
],
affectedPersons:
[
{
affectedPersonID:
{
individual:
{
individualName:
{
precedingTitle: String,
title: String,
firstName: String,
middleName: String,
namePrefix: String,
lastName: String,
generationIdentifier: String,
suffix: String,
generalSuffix: String
},
birthDate: 0001-01-01,
birthPlace: String,
tiNs:
[
{
issuedBy: AF,
value: String
}
],
address:
{
street: String,
buildingIdentifier: String,
suiteIdentifier: String,
floorIdentifier: String,
districtName: String,
pob: String,
postCode: String,
city: String,
country: AF
},
emailAddress: String,
resCountryCodes:
[
AF
]
},
organisation:
{
organisationNames:
[
{
language: AA,
value: String
}
],
tiNs:
[
{
issuedBy: AF,
value: String
}
],
address:
{
street: String,
buildingIdentifier: String,
suiteIdentifier: String,
floorIdentifier: String,
districtName: String,
pob: String,
postCode: String,
city: String,
country: AF
},
emailAddress: String,
resCountryCodes:
[
AF
]
}
}
}
],
disclosureInformation:
{
implementingDate: 0001-01-01,
reason: DAC6701,
summary:
{
disclosure_Name: String,
disclosure_Descriptions:
[
{
language: AA,
value: String
}
]
},
nationalProvision:
{
texts:
[
{
language: AA,
value: String
}
],
country: AF
},
amount:
{
currCode: AED,
value: 0
},
arrangementChart:
{
id:
{
individual:
{
individualName:
{
precedingTitle: String,
title: String,
firstName: String,
middleName: String,
namePrefix: String,
lastName: String,
generationIdentifier: String,
suffix: String,
generalSuffix: String
},
birthDate: 0001-01-01,
birthPlace: String,
tiNs:
[
{
issuedBy: AF,
value: String
}
],
address:
{
street: String,
buildingIdentifier: String,
suiteIdentifier: String,
floorIdentifier: String,
districtName: String,
pob: String,
postCode: String,
city: String,
country: AF
},
emailAddress: String,
resCountryCodes:
[
AF
]
},
organisation:
{
organisationNames:
[
{
language: AA,
value: String
}
],
tiNs:
[
{
issuedBy: AF,
value: String
}
],
address:
{
street: String,
buildingIdentifier: String,
suiteIdentifier: String,
floorIdentifier: String,
districtName: String,
pob: String,
postCode: String,
city: String,
country: AF
},
emailAddress: String,
resCountryCodes:
[
AF
]
}
},
ownership: 0,
investAmount:
{
currCode: AED,
value: 0
},
otherInfos:
[
{
language: AA,
value: String
}
],
listChilds:
[
{
id:
{
individual:
{
individualName:
{
precedingTitle: String,
title: String,
firstName: String,
middleName: String,
namePrefix: String,
lastName: String,
generationIdentifier: String,
suffix: String,
generalSuffix: String
},
birthDate: 0001-01-01,
birthPlace: String,
tiNs:
[
{
issuedBy: AF,
value: String
}
],
address:
{
street: String,
buildingIdentifier: String,
suiteIdentifier: String,
floorIdentifier: String,
districtName: String,
pob: String,
postCode: String,
city: String,
country: AF
},
emailAddress: String,
resCountryCodes:
[
AF
]
},
organisation:
{
organisationNames:
[
{
language: AA,
value: String
}
],
tiNs:
[
{
issuedBy: AF,
value: String
}
],
address:
{
street: String,
buildingIdentifier: String,
suiteIdentifier: String,
floorIdentifier: String,
districtName: String,
pob: String,
postCode: String,
city: String,
country: AF
},
emailAddress: String,
resCountryCodes:
[
AF
]
}
},
ownership: 0,
investAmount:
{
currCode: AED,
value: 0
},
otherInfos:
[
{
language: AA,
value: String
}
],
listChilds:
[
{
id:
{
individual:
{
individualName:
{
precedingTitle: String,
title: String,
firstName: String,
middleName: String,
namePrefix: String,
lastName: String,
generationIdentifier: String,
suffix: String,
generalSuffix: String
},
birthDate: 0001-01-01,
birthPlace: String,
tiNs:
[
{
issuedBy: AF,
value: String
}
],
address:
{
street: String,
buildingIdentifier: String,
suiteIdentifier: String,
floorIdentifier: String,
districtName: String,
pob: String,
postCode: String,
city: String,
country: AF
},
emailAddress: String,
resCountryCodes:
[
AF
]
},
organisation:
{
organisationNames:
[
{
language: AA,
value: String
}
],
tiNs:
[
{
issuedBy: AF,
value: String
}
],
address:
{
street: String,
buildingIdentifier: String,
suiteIdentifier: String,
floorIdentifier: String,
districtName: String,
pob: String,
postCode: String,
city: String,
country: AF
},
emailAddress: String,
resCountryCodes:
[
AF
]
}
},
ownership: 0,
investAmount:
{
currCode: AED,
value: 0
},
otherInfos:
[
{
language: AA,
value: String
}
],
listChilds:
[
{
id:
{
individual:
{
individualName:
{
precedingTitle: String,
title: String,
firstName: String,
middleName: String,
namePrefix: String,
lastName: String,
generationIdentifier: String,
suffix: String,
generalSuffix: String
},
birthDate: 0001-01-01,
birthPlace: String,
tiNs:
[
{
issuedBy: AF,
value: String
}
],
address:
{
street: String,
buildingIdentifier: String,
suiteIdentifier: String,
floorIdentifier: String,
districtName: String,
pob: String,
postCode: String,
city: String,
country: AF
},
emailAddress: String,
resCountryCodes:
[
AF
]
},
organisation:
{
organisationNames:
[
{
language: AA,
value: String
}
],
tiNs:
[
{
issuedBy: AF,
value: String
}
],
address:
{
street: String,
buildingIdentifier: String,
suiteIdentifier: String,
floorIdentifier: String,
districtName: String,
pob: String,
postCode: String,
city: String,
country: AF
},
emailAddress: String,
resCountryCodes:
[
AF
]
}
},
ownership: 0,
investAmount:
{
currCode: AED,
value: 0
},
otherInfos:
[
{
language: AA,
value: String
}
]
}
]
}
]
}
]
},
concernedMSs:
[
AT
],
mainBenefitTest1: False,
hallmarks:
{
listHallmarks:
{
hallmarks:
[
DAC6A1
]
},
daC6D1OtherInfos:
[
{
language: AA,
value: String
}
]
}
}
}
},
dac6Verarbeitungsprotokoll:
{
version: String,
messageType: DAC6,
lieferungsdetails:
{
verfahren: DAC6,
offenlegungsnummer: String,
registriernummer: String,
bezugsoffenlegung: String,
eingabedateiname: String,
erstellungsdatum: 0001-01-01,
messageRefId: String,
ausgabedateiname: String,
protokollerstellungsdatum: 0001-01-01
},
protokolleintraege:
[
{
eintragArt: HINWEIS,
eintragCode: String,
eintragText: String
}
]
}
}
}