Report Filing Service

<back to all web services

CreateDac6Xml

Generate XMLDAC6Sync

Represents a request to generate an ELMA-compatible XML content from a DAC6 data model.

Requires Authentication
The following routes are available for this service:
POST/sync/elma/dac6/xml
System.NotSupportedException: Unknown language 'mjs', Supported languages: csharp, typescript, dart, java, kotlin, python, swift, vbnet, fsharp
   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

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /sync/elma/dac6/xml HTTP/1.1 
Host: reportfiling.staging.pwc.de 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	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
				}
			]
		}
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

(string)