{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Fees and treasury","description":"Welcome to the Upvest API documentation. Here you will find all the information you need to integrate with our API.","siteUrl":"https://docs.upvest.co/","image":"/assets/upvest-logo-card.4392cabdb0463526fa85c697d9398297a98ceda81cdf97414a14b08828ba1b01.925ff8b2.png","keywords":"documentation, api","lang":"en-US","meta":[{"name":"description","content":"Welcome to the Upvest API documentation. Here you will find all the information you need to integrate with our API."},{"name":"image","content":"/assets/upvest-logo-card.4392cabdb0463526fa85c697d9398297a98ceda81cdf97414a14b08828ba1b01.925ff8b2.png"},{"name":"twitter:card","content":"summary_large_image"},{"name":"twitter:title","content":"Welcome to the Upvest API Documentation"},{"name":"twitter:image","content":"/assets/upvest-logo-card.4392cabdb0463526fa85c697d9398297a98ceda81cdf97414a14b08828ba1b01.925ff8b2.png"},{"name":"twitter:description","content":"Welcome to the Upvest API documentation. Here you will find all the information you need to integrate with our API."},{"name":"og:url","content":"https://docs.upvest.co/"},{"name":"og:title","content":"Welcome to the Upvest API Documentation"},{"name":"og:description","content":"Welcome to the Upvest API documentation. Here you will find all the information you need to integrate with our API."},{"name":"og:image","content":"/assets/upvest-logo-card.4392cabdb0463526fa85c697d9398297a98ceda81cdf97414a14b08828ba1b01.925ff8b2.png"}],"llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"fees-and-treasury","__idx":0},"children":["Fees and treasury"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"transaction-fees-in-treasury-reports-pre-funding-clients-only","__idx":1},"children":["Transaction fees in treasury reports (pre-funding clients only)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Once transaction fees are collected, Upvest generates a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Transaction fee execution report"]}," on the treasury reporting side. We send the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TREASURY_REPORT.CREATED"]}," webhook event  with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["object.type"]}," set to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TRANSACTION_FEE"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Example webhook payload (Treasury report) for pre-funding clients"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"id\": \"a1b2c3d4-...\",\n  \"created_at\": \"2024-03-15T09:00:00.00Z\",\n  \"type\": \"TREASURY_REPORT.CREATED\",\n  \"object\": {\n    \"id\": \"r9s8t7u6-...\",\n    \"type\": \"TRANSACTION_FEE\",\n    \"currency\": \"EUR\",\n    \"settlement_amount\": \"45.00\",\n    \"report_date\": \"2024-03-15\",\n    \"direction\": \"INCOMING\",\n    \"filename\": \"Transaction_fee_execution_2024-03-15.csv\"\n  },\n  \"webhook_id\": \"wh-001\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The full CSV sample of the Transaction fee execution report is available in the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/upvestco/documentation_assets/blob/main/treasury_report_samples/Transaction_fee_execution.csv"},"children":["Upvest documentation assets repository"]},"."]}]},"headings":[{"value":"Fees and treasury","id":"fees-and-treasury","depth":1},{"value":"Transaction fees in treasury reports (pre-funding clients only)","id":"transaction-fees-in-treasury-reports-pre-funding-clients-only","depth":2}],"frontmatter":{"seo":{"title":"Fees and treasury"}},"lastModified":"2026-04-16T07:48:07.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/tol/guides/fees/fees_treasury","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}