# Save the structure of an end-of-year statement **PUT /api-v1/e-bilan-report/structure/{reportType}** Admin only. Writes the GLOBAL tree: lines, nesting, order, qname, position_reference, translations and calculation membership. Affects every organization, which is why it is a separate endpoint from the account mapping rather than a flag on one payload. ## Servers - Generated server url: https://wyzio.app (Generated server url) ## Parameters ### Headers - **WEAL-TOKEN** () API token (can be retrieved from account settings) - **TARGET-ORGANIZATION-ID** () ID of organization, for which the operation must be performed ### Path parameters - **reportType** (string) ### Body: application/json (array[object]) - **id** (integer(int64)) - **parentId** (integer(int64)) - **position** (integer(int32)) - **qname** (string) - **positionReference** (string) - **reportType** (string) - **lineType** (string) - **lineSign** (string) - **localizations** (object) - **accountIds** (array[integer(int64)]) - **memberIds** (array[integer(int64)]) - **children** (array[object]) ## Responses ### 200 OK ### 400 400 Bad Request ### 401 401 Unauthorized ### 403 403 Access Denied ### 404 404 Not Found ### 500 500 Internal Server Error [Powered by Bump.sh](https://bump.sh)