Keep every string field within 255 characters.Field lengths: Remove leading and trailing spaces from every string field.String trimming: Use a maximum of 24 digits in total, with 4 decimal places.value precision: Send all entries for the same combination ofBatching: ,year ,month , andunitId in a single request.ledger Use consistent values — always provide a value, or always leave it empty, for the same business case.partner:
When you send data for a (Delete-insert logic: ,year ,month ,unitId ) combination, the API deletesledger existing data for that combination and replaces it with the new data.all You must send all entries for the same (Batching limitation: ,year ,month ,unitId ) combination together in one request. If you split them across requests, you lose data.ledger If you do not provideEmpty partner: , the API automatically stores an empty string.partner Strings that exceed 255 characters cause database errors.No automatic length check: Very large requests (more than 50,000 entries) can run into timeouts.No enforced request limit:
POST | |
/api/dataInput | |
application/json |
/datasourceshttps://<tenant>.gtc-tax-data-hub.api.<region>.lucanet.cloud/datasources
x-api-key: <api-key> |
DECIMAL(24,4) |
must be a four-digit number, for exampleyear: .2025 must be a number from 1 to 12.month: must be a decimal number with a maximum of 24 digits, of which 4 are decimal places.value:
DECIMAL(24,4)
999999999999999999.9999 | |
1000.50 | |
-2500.7500 | |
9999999999999999999.9999 |
0nullnull
Always provide a value forOption 1: , for example a default such aspartner when no partner applies.NONE Always leaveOption 2: empty, but do so consistently for the same business case.partner
"DE001"" DE001 ""DE001 "
\n\t\r
409
200 | [] |
401 | |
409 | |
500 |
Check that you copied the API key correctly from .Tax Administration Make sure that the prefix precedes the key (on-premises/Azure mode).BearerCheck that the API key is still active. Generate a new API key if needed.
Analyze the fields in the response.errorMessage Correct the faulty entries. Resend only the corrected entries, or all entries for the affected ( ,year ,month ,unitId ) combination.ledger
Repeat the request after a short wait. Contact support if the error recurs. Check whether the data contains unusually large values or special characters.
Last updated on Jun 22, 2026