Add function to retrieve company address as JSON and update invoice procedures

- Created a new function `fds__getCompanyAddressJson` to return a company's postal address as a structured JSON object.
- Modified stored procedures `fds__createInvoice`, `fds__setInvoice`, and `fds__prepInvoice` to include a new parameter `@SendToAddressJson` for handling the address data.
- Updated the invoice table and user-defined types to accommodate the new `SendToAddressJson` field.
- Ensured that the address data is properly retrieved and stored in the invoice records.
This commit is contained in:
2026-07-18 18:01:24 +02:00
parent 5ccd85c38f
commit 628802db19
45 changed files with 1892 additions and 26 deletions
+9
View File
@@ -69,6 +69,15 @@
"Telemetry": {
"Enabled": true,
"OtlpEndpoint": ""
},
"ERechnung": {
"Enabled": false,
"Profile": "EN16931",
"Validation": {
"Enabled": false,
"ServiceUrl": "",
"FailOnError": false
}
}
},
"Fds": {