> ## Documentation Index
> Fetch the complete documentation index at: https://docs.maesn.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get invoice document

## Field support per integration

<AccordionGroup>
  <Note>
    Please note that the content in output is base64-encoded.
  </Note>

  <Accordion title="BuchhaltungsButler" icon={<svg width="24" height="24" transform="translate(-7,-4)" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 320 320" enable-background="new 0 0 320 320" xml:space="preserve"> <path fill="#090F1D" opacity="1.000000" stroke="none" d=" M1.000000,320.000000 C1.000000,213.715073 1.000000,107.430153 1.000000,1.072614 C107.569649,1.072614 214.139359,1.072614 321.000000,1.072614 C321.000000,107.021255 321.000000,213.042786 320.532166,319.531860 C213.709534,319.999634 107.354767,319.999817 1.000000,320.000000 M100.015656,188.534164 C114.008392,181.544174 128.023163,174.597626 141.972809,167.522690 C144.377289,166.303207 146.095871,165.986008 148.665451,167.686722 C155.538101,172.235458 162.917404,172.254745 169.773849,167.676697 C172.361496,165.948944 174.070099,166.311905 176.456604,167.514618 C194.284012,176.498947 212.154770,185.397369 230.025208,194.296066 C236.791397,197.665329 239.195618,196.221893 239.204880,188.715775 C239.235962,163.567444 239.230240,138.419022 239.207550,113.270660 C239.200684,105.672722 236.848709,104.190361 230.107758,107.543480 C212.378860,116.362274 194.651993,125.185760 176.976196,134.110153 C174.299469,135.461624 172.352112,135.951080 169.415070,134.012405 C162.717224,129.591309 155.450394,129.748260 148.735046,134.138031 C146.241974,135.767731 144.549057,135.684647 142.083984,134.436356 C124.126389,125.342743 106.109474,116.365875 88.088036,107.398888 C81.734055,104.237335 79.185379,105.849953 79.150314,113.027451 C79.100685,123.186485 79.137314,133.345947 79.138046,143.505234 C79.139145,158.660873 79.108109,173.816635 79.157204,188.972122 C79.180290,196.098526 81.696793,197.587830 88.175026,194.431046 C91.914825,192.608688 95.628021,190.731735 100.015656,188.534164 M174.392242,204.374756 C169.338501,196.542511 161.586014,193.768585 153.902512,197.043274 C146.923782,200.017593 142.940536,207.672760 144.561874,214.994431 C146.572220,224.072769 155.393127,229.538208 164.231216,227.181549 C173.880188,224.608643 178.274033,215.394440 174.392242,204.374756 z"/> <path fill="#2C2F3E" opacity="1.000000" stroke="none" d=" M1.000000,320.500000 C107.354767,319.999817 213.709534,319.999634 320.532166,319.999725 C319.500000,320.333313 318.000153,320.957550 316.499969,320.958374 C232.333344,321.005188 148.166702,321.000000 64.000046,321.000000 C43.000031,321.000000 22.000015,321.000000 1.000000,320.500000 z"/> <path fill="#FCFDFD" opacity="1.000000" stroke="none" d=" M99.684418,188.706757 C95.628021,190.731735 91.914825,192.608688 88.175026,194.431046 C81.696793,197.587830 79.180290,196.098526 79.157204,188.972122 C79.108109,173.816635 79.139145,158.660873 79.138046,143.505234 C79.137314,133.345947 79.100685,123.186485 79.150314,113.027451 C79.185379,105.849953 81.734055,104.237335 88.088036,107.398888 C106.109474,116.365875 124.126389,125.342743 142.083984,134.436356 C144.549057,135.684647 146.241974,135.767731 148.735046,134.138031 C155.450394,129.748260 162.717224,129.591309 169.415070,134.012405 C172.352112,135.951080 174.299469,135.461624 176.976196,134.110153 C194.651993,125.185760 212.378860,116.362274 230.107758,107.543480 C236.848709,104.190361 239.200684,105.672722 239.207550,113.270660 C239.230240,138.419022 239.235962,163.567444 239.204880,188.715775 C239.195618,196.221893 236.791397,197.665329 230.025208,194.296066 C212.154770,185.397369 194.284012,176.498947 176.456604,167.514618 C174.070099,166.311905 172.361496,165.948944 169.773849,167.676697 C162.917404,172.254745 155.538101,172.235458 148.665451,167.686722 C146.095871,165.986008 144.377289,166.303207 141.972809,167.522690 C128.023163,174.597626 114.008392,181.544174 99.684418,188.706757 z"/> <path fill="#F9F9FA" opacity="1.000000" stroke="none" d=" M174.586151,204.717316 C178.274033,215.394440 173.880188,224.608643 164.231216,227.181549 C155.393127,229.538208 146.572220,224.072769 144.561874,214.994431 C142.940536,207.672760 146.923782,200.017593 153.902512,197.043274 C161.586014,193.768585 169.338501,196.542511 174.586151,204.717316 z"/></svg>}>
    Supported Response Fields:

    <ResponseField name="id" type="string" />

    <ResponseField name="fileName" type="string" />

    <ResponseField name="contentType" type="string" />

    <ResponseField name="base64Encoded" type="boolean" />

    <ResponseField name="content" type="string" />
  </Accordion>

  <Accordion title="Lexware Office" icon={<svg width="24" height="24" transform="translate(-7,-4)" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 476 476" enable-background="new 0 0 476 476" xml:space="preserve"> <path fill="#FFFFFF" opacity="1.000000" stroke="none" d=" M477.000000,189.000000 C477.000000,285.308167 477.000000,381.116333 477.000000,476.962250 C318.400177,476.962250 159.800308,476.962250 1.100232,476.962250 C1.100232,318.441864 1.100232,159.883652 1.100232,1.162721 C159.666534,1.162721 318.333252,1.162721 477.000000,1.162721 C477.000000,63.532967 477.000000,126.016479 477.000000,189.000000 M446.995667,21.494019 C432.466522,8.986734 415.185760,3.189814 396.446228,3.135990 C295.961365,2.847371 195.475250,2.979640 94.989624,3.042453 C87.891098,3.046890 80.777168,3.464551 73.697624,4.030548 C53.210831,5.668432 36.344028,14.396834 22.628456,29.766514 C9.308527,44.692833 3.199280,62.425301 3.139154,81.873207 C2.835702,180.024948 2.972577,278.178162 3.043210,376.330780 C3.049997,385.762329 3.313016,395.221771 4.069869,404.618896 C5.702843,424.894073 14.409182,441.637695 29.634809,455.248077 C44.828835,468.830139 62.862339,474.841370 82.692390,474.888306 C184.677277,475.129669 286.663025,475.014343 388.648468,474.958130 C393.747284,474.955292 398.849792,474.394135 403.943665,474.002869 C424.643127,472.412781 441.651276,463.655182 455.463043,448.128998 C468.627167,433.330902 474.791534,415.753876 474.852203,396.487854 C475.169250,295.836517 475.019653,195.183655 474.957428,94.531364 C474.953156,87.599487 474.517944,80.653847 473.973846,73.738945 C472.330414,52.852646 463.415985,35.624752 446.995667,21.494019 z"/> <path fill="#FF4554" opacity="1.000000" stroke="none" d=" M447.251953,21.749489 C463.415985,35.624752 472.330414,52.852646 473.973846,73.738945 C474.517944,80.653847 474.953156,87.599487 474.957428,94.531364 C475.019653,195.183655 475.169250,295.836517 474.852203,396.487854 C474.791534,415.753876 468.627167,433.330902 455.463043,448.128998 C441.651276,463.655182 424.643127,472.412781 403.943665,474.002869 C398.849792,474.394135 393.747284,474.955292 388.648468,474.958130 C286.663025,475.014343 184.677277,475.129669 82.692390,474.888306 C62.862339,474.841370 44.828835,468.830139 29.634809,455.248077 C14.409182,441.637695 5.702843,424.894073 4.069869,404.618896 C3.313016,395.221771 3.049997,385.762329 3.043210,376.330780 C2.972577,278.178162 2.835702,180.024948 3.139154,81.873207 C3.199280,62.425301 9.308527,44.692833 22.628456,29.766514 C36.344028,14.396834 53.210831,5.668432 73.697624,4.030548 C80.777168,3.464551 87.891098,3.046890 94.989624,3.042453 C195.475250,2.979640 295.961365,2.847371 396.446228,3.135990 C415.185760,3.189814 432.466522,8.986734 447.251953,21.749489 M245.830063,196.670471 C229.240814,176.236420 212.603531,155.840958 196.125214,135.317841 C194.140945,132.846481 192.173462,131.909119 189.025299,131.925995 C164.531158,132.057373 140.035980,131.998642 115.541115,131.998672 C114.312561,131.998672 113.084007,131.998657 110.948524,131.998657 C140.137726,168.006500 168.637009,203.163269 197.279678,238.496902 C168.580673,273.907013 140.030655,309.133270 110.960907,345.000824 C138.221222,345.000824 164.377075,345.057922 190.531189,344.872437 C192.276718,344.860077 194.487534,343.400391 195.675735,341.952362 C212.476944,321.476807 229.147781,300.894135 245.830566,280.321533 C257.047455,266.489288 268.233368,252.631958 279.667694,238.495834 C268.439850,224.630234 257.348236,210.932877 245.830063,196.670471 M321.500000,131.997894 C310.669128,131.997894 299.835327,132.140366 289.009125,131.915695 C285.521240,131.843307 283.174988,132.786209 280.975769,135.572678 C271.688568,147.339783 262.272736,159.009521 252.678162,170.526764 C250.478699,173.166977 250.711716,174.762390 252.776138,177.243301 C261.405884,187.614075 269.824463,198.160416 278.333435,208.631821 C282.506378,213.767136 286.707794,218.879288 291.182983,224.352509 C316.193787,193.499420 340.854492,163.078232 366.049530,131.997894 C350.801788,131.997894 336.650909,131.997894 321.500000,131.997894 M281.165253,341.494324 C282.854797,344.413147 285.376343,345.092468 288.683350,345.074127 C312.820404,344.940186 336.958496,345.006805 361.096283,344.989197 C362.464722,344.988190 363.833038,344.803009 365.791565,344.660614 C340.728668,313.754456 316.129791,283.420532 291.373047,252.891907 C290.647675,253.558655 290.119812,253.936844 289.724365,254.422806 C277.225006,269.783569 264.790314,285.197479 252.198013,300.481567 C250.158096,302.957520 251.066422,304.396515 252.713669,306.404053 C262.108368,317.853607 271.392456,329.393951 281.165253,341.494324 z"/> <path fill="#FFFEFE" opacity="1.000000" stroke="none" d=" M246.043335,196.953003 C257.348236,210.932877 268.439850,224.630234 279.667694,238.495834 C268.233368,252.631958 257.047455,266.489288 245.830566,280.321533 C229.147781,300.894135 212.476944,321.476807 195.675735,341.952362 C194.487534,343.400391 192.276718,344.860077 190.531189,344.872437 C164.377075,345.057922 138.221222,345.000824 110.960907,345.000824 C140.030655,309.133270 168.580673,273.907013 197.279678,238.496902 C168.637009,203.163269 140.137726,168.006500 110.948524,131.998657 C113.084007,131.998657 114.312561,131.998672 115.541115,131.998672 C140.035980,131.998642 164.531158,132.057373 189.025299,131.925995 C192.173462,131.909119 194.140945,132.846481 196.125214,135.317841 C212.603531,155.840958 229.240814,176.236420 246.043335,196.953003 z"/> <path fill="#FFFEFE" opacity="1.000000" stroke="none" d=" M322.000000,131.997894 C336.650909,131.997894 350.801788,131.997894 366.049530,131.997894 C340.854492,163.078232 316.193787,193.499420 291.182983,224.352509 C286.707794,218.879288 282.506378,213.767136 278.333435,208.631821 C269.824463,198.160416 261.405884,187.614075 252.776138,177.243301 C250.711716,174.762390 250.478699,173.166977 252.678162,170.526764 C262.272736,159.009521 271.688568,147.339783 280.975769,135.572678 C283.174988,132.786209 285.521240,131.843307 289.009125,131.915695 C299.835327,132.140366 310.669128,131.997894 322.000000,131.997894 z"/> <path fill="#FFFEFE" opacity="1.000000" stroke="none" d=" M280.939697,341.198853 C271.392456,329.393951 262.108368,317.853607 252.713669,306.404053 C251.066422,304.396515 250.158096,302.957520 252.198013,300.481567 C264.790314,285.197479 277.225006,269.783569 289.724365,254.422806 C290.119812,253.936844 290.647675,253.558655 291.373047,252.891907 C316.129791,283.420532 340.728668,313.754456 365.791565,344.660614 C363.833038,344.803009 362.464722,344.988190 361.096283,344.989197 C336.958496,345.006805 312.820404,344.940186 288.683350,345.074127 C285.376343,345.092468 282.854797,344.413147 280.939697,341.198853 z"/></svg>}>
    Supported Response Fields:

    <ResponseField name="fileName" type="string" />

    <ResponseField name="contentType" type="string" />

    <ResponseField name="base64Encoded" type="boolean" />

    <ResponseField name="content" type="string" />
  </Accordion>

  <Accordion title="Qonto" icon={<svg width="80" height="50" viewBox="200 500 2900 1750"> <g transform="scale(0.14, -0.14) translate(0, -10000)"><path d="M1990 6372 c0 -25 29 -217 40 -267 23 -101 83 -262 138 -370 217 -425 615 -740 1072 -848 121 -29 171 -37 230 -37 l60 0 0 33 c0 50 -31 216 -58 317 -96 353 -351 704 -668 919 -63 42 -253 143 -289 153 -11 3 -51 17 -88 31 -90 34 -170 53 -296 72 -133 19 -141 19 -141 -3z"/><path d="M5110 6375 c-94 -15 -203 -40 -265 -60 -270 -89 -526 -255 -709 -460 -224 -252 -356 -532 -411 -872 -23 -140 -25 -133 44 -133 104 0 360 62 481 116 324 146 539 325 728 604 89 132 154 270 208 440 27 85 64 285 64 342 0 44 0 44 -140 23z"/><path d="M3375 4659 c-373 -68 -668 -221 -917 -475 -43 -44 -98 -106 -123 -139 -24 -33 -49 -65 -54 -71 -58 -70 -169 -297 -216 -439 -31 -94 -73 -315 -75 -387 0 -23 41 -23 160 -4 416 69 765 272 1024 596 104 129 161 225 239 400 23 51 73 207 86 265 6 28 15 71 21 97 5 26 10 74 10 107 l0 61 -52 -1 c-29 -1 -75 -5 -103 -10z"/><path d="M3710 4648 c0 -32 25 -180 45 -263 105 -455 429 -871 841 -1078 104 -53 170 -80 274 -113 82 -26 288 -64 344 -64 35 0 36 1 36 36 0 53 -38 259 -61 334 -141 457 -446 814 -869 1017 -169 81 -432 153 -560 153 -45 0 -50 -2 -50 -22z"/><path d="M1830 2227 c-105 -32 -174 -72 -247 -145 -203 -203 -244 -515 -104 -789 65 -129 222 -248 377 -287 67 -17 233 -21 280 -7 16 5 49 15 74 22 25 7 60 21 78 31 l33 18 82 -39 c88 -42 175 -68 199 -58 26 10 40 164 16 171 -7 3 -34 10 -59 17 -26 7 -55 18 -64 25 -16 12 -15 17 21 70 21 32 51 92 67 133 26 65 30 93 34 196 4 90 1 138 -11 190 -52 220 -218 397 -426 454 -104 29 -248 28 -350 -2z m300 -169 c59 -18 104 -44 158 -93 95 -85 142 -200 142 -344 0 -92 -14 -152 -56 -237 -42 -86 -49 -87 -104 -26 -26 29 -69 91 -95 138 -26 46 -51 87 -55 89 -7 5 -35 -6 -132 -48 -16 -7 -28 -18 -28 -25 0 -33 101 -194 174 -276 14 -16 26 -33 26 -37 0 -18 -81 -31 -171 -27 -115 4 -182 32 -262 107 -96 91 -137 192 -137 341 0 146 34 233 127 331 105 110 265 151 413 107z"/><path d="M4466 2055 c-10 -26 -7 -743 3 -812 17 -118 76 -210 162 -253 29 -15 58 -20 123 -20 46 0 91 3 100 6 13 5 16 23 16 89 l0 83 -68 -1 c-83 -1 -129 21 -155 76 -15 33 -17 63 -15 240 l3 202 118 3 118 3 -3 82 -3 82 -115 5 -115 5 -5 110 -5 110 -76 3 c-63 2 -78 0 -83 -13z"/><path d="M3020 1839 c-213 -58 -357 -284 -319 -505 29 -172 140 -300 308 -353 59 -19 214 -14 283 10 98 33 177 96 230 184 41 69 53 122 52 240 0 101 -3 115 -31 175 -78 167 -225 261 -407 259 -45 0 -97 -5 -116 -10z m228 -192 c53 -24 96 -66 124 -121 32 -60 31 -185 -1 -241 -55 -96 -127 -138 -236 -139 -80 0 -130 21 -181 76 -56 59 -69 94 -69 188 0 75 3 91 27 131 73 124 207 166 336 106z"/><path d="M5226 1829 c-184 -63 -296 -224 -296 -424 0 -196 103 -347 283 -414 82 -30 232 -30 314 0 127 47 215 136 262 262 30 81 29 218 -2 304 -44 126 -144 226 -270 270 -83 30 -208 31 -291 2z m250 -179 c126 -54 188 -213 134 -345 -41 -102 -128 -158 -245 -158 -106 -1 -188 53 -232 151 -99 224 119 448 343 352z"/><path d="M3647 1813 c-4 -3 -7 -195 -7 -425 l0 -418 85 0 85 0 0 251 c0 152 4 268 11 295 43 169 314 196 388 38 20 -41 21 -62 21 -314 l0 -271 88 3 87 3 3 250 c3 264 -4 335 -40 413 -28 58 -91 119 -158 151 -47 22 -69 26 -150 26 -90 0 -99 -2 -166 -37 -40 -20 -75 -34 -78 -31 -3 4 -6 21 -6 40 l0 33 -78 0 c-43 0 -82 -3 -85 -7z"/></g></svg>}>
    <Note>
      Please note that the content in output is the url to download the document.
    </Note>

    Supported Response Fields:

    <ResponseField name="id" type="string" />

    <ResponseField name="base64Encoded" type="boolean" />

    <ResponseField name="content" type="string" />

    <ResponseField name="contentType" type="string" />

    <ResponseField name="fileName" type="string" />
  </Accordion>

  <Accordion title="Sage Active" icon={<svg width="24" height="24" version="1.1" viewBox="0 0 64.916 36.474" transform="translate(-7, -4)" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><g transform="translate(-2.537 -2.8329)"> <path id="sagebrilliantgreen" d="m42.319 39.26c-3.0104-0.40304-5.5018-2.3048-6.3487-4.8463-0.7115-2.1351-0.29178-3.7854 0.99978-3.931 0.5839-0.0658 0.96322 0.0395 1.3276 0.36876 0.37332 0.33727 0.47035 0.58805 0.55232 1.4275 0.23999 2.4579 2.0531 4.1078 4.5142 4.1078 0.88774 0 1.4409-0.12 2.1886-0.4748 1.4464-0.68633 2.2122-1.9936 2.126-3.6289-0.0578-1.0949-0.51205-1.9292-1.4237-2.6145-0.71222-0.53539-1.6947-0.98461-3.5466-1.6216-2.5625-0.8814-3.7248-1.4462-4.8169-2.3406-2.0308-1.6631-2.7999-4.7189-1.9042-7.5653 0.38225-1.2147 0.88948-2.0471 1.8226-2.9912 1.3922-1.4084 3.2044-2.1325 5.3309-2.1301 3.8368 4e-3 6.9493 2.3836 7.6514 5.8486 0.10943 0.54004 0.13188 0.94847 0.0949 1.7257-0.0763 1.6019-0.47182 2.7477-1.1998 3.4757-0.81819 0.81819-2.0739 0.67324-2.5635-0.29591-0.24407-0.48315-0.23774-0.77166 0.0307-1.3996 0.40037-0.93635 0.54077-1.4792 0.54077-2.0908 0-1.1749-0.39365-2.1581-1.2005-2.9983-0.59144-0.61592-1.2515-0.99028-2.152-1.2206-2.3152-0.59214-4.5572 0.583-5.2915 2.7735-0.26089 0.77834-0.26172 1.9594-2e-3 2.6895 0.24387 0.68523 0.69844 1.3238 1.271 1.7854 0.64509 0.52009 2.0705 1.2074 3.6495 1.7599 2.5504 0.89231 3.415 1.2957 4.4994 2.0993 1.1089 0.8218 1.7792 1.7719 2.2021 3.1214 0.17061 0.54446 0.1981 0.80796 0.19846 1.902 3.4e-4 1.0684-0.03 1.3748-0.19097 1.9303-0.7533 2.5991-2.7651 4.4237-5.5256 5.0114-0.75112 0.1599-2.1148 0.21884-2.8343 0.12251zm-33.521-11.343c-3.049-0.48096-5.3665-2.4127-6.0762-5.0648-0.22532-0.842-0.24381-2.341-0.0392-3.1786 0.29877-1.2232 1.0201-2.2799 1.7121-2.5083 0.58548-0.19323 1.3566 0.0701 1.742 0.59482 0.30023 0.40877 0.28982 0.89449-0.03722 1.7364-0.36488 0.9393-0.43625 1.4377-0.31475 2.1982 0.24708 1.5464 1.3442 2.7377 2.9579 3.2117 0.64754 0.1902 1.8839 0.17828 2.5352-0.0244 2.2832-0.71061 3.3018-3.1729 2.1872-5.2872-0.54776-1.0391-1.791-1.8348-4.3292-2.7709-2.7129-1.0005-3.7219-1.5558-4.8368-2.662-0.87184-0.86499-1.284-1.5567-1.5738-2.6416-0.2512-0.94017-0.25117-2.5946 5.6e-5 -3.5391 0.5163-1.9412 1.8012-3.5094 3.606-4.4011 1.0912-0.53915 2.0321-0.74909 3.3485-0.74716 2.277 3e-3 3.9801 0.68226 5.4617 2.1773 1.1699 1.1806 1.7179 2.3034 1.8981 3.8892 0.17539 1.5435-0.39973 2.3207-1.6581 2.2405-0.81229-0.0517-1.3284-0.53213-1.422-1.3235-0.16631-1.4064-0.47266-2.1456-1.1838-2.8568-1.3863-1.3863-3.7741-1.632-5.4339-0.55927-1.6969 1.0968-2.1418 3.6062-0.9224 5.2032 0.63522 0.83192 1.7106 1.4449 4.2535 2.4246 1.9708 0.7593 2.6712 1.0863 3.5409 1.6532 1.2764 0.832 2.1119 1.8419 2.5368 3.0664 0.94507 2.7234 0.08103 5.873-2.0988 7.6505-0.66808 0.54479-1.8546 1.1349-2.7284 1.357-0.78267 0.19891-2.3694 0.28104-3.1255 0.16178zm16.311-9e-3c-2.3563-0.33788-4.6348-2.0486-5.6474-4.2402-0.50472-1.0924-0.67087-1.893-0.66369-3.1982 0.0075-1.3608 0.17347-2.099 0.73294-3.2597 0.7369-1.5288 1.913-2.6877 3.4841-3.4333 1.1264-0.53453 1.7306-0.6798 3.048-0.73282 1.7075-0.0687 3.0086 0.23471 4.3068 1.0044 0.64242 0.38091 1.6782 1.3214 2.1238 1.9285 0.4591 0.62544 0.97497 1.7389 1.2138 2.6199 0.21906 0.80799 0.2211 0.84397 0.25212 4.4491 0.0279 3.2472 0.0161 3.6742-0.1109 4.0068-0.44995 1.1782-2.3323 1.2526-2.9126 0.11514-0.14813-0.29035-0.1635-0.58589-0.19664-3.7817-0.03-2.893-0.0595-3.5566-0.17828-4.0096-0.35944-1.371-1.2008-2.4807-2.2857-3.0146-2.6097-1.2843-5.6341 0.29019-6.1957 3.2254-0.15345 0.80202-0.15265 1.1093 5e-3 1.8561 0.17024 0.80723 0.55624 1.5573 1.1083 2.1536 1.1151 1.2045 2.3277 1.5784 4.1446 1.2783 0.87556-0.14465 1.2229-0.0771 1.6378 0.31857 0.87671 0.83611 0.54387 1.9958-0.70714 2.4639-0.88408 0.33077-1.9882 0.41827-3.1592 0.25036zm34.085 6e-3c-2.6759-0.39254-4.9226-2.0585-6.0099-4.4564-0.82735-1.8247-0.80936-4.2211 0.0456-6.0715 0.93364-2.0207 2.6711-3.5034 4.8371-4.1279 0.91987-0.26518 3.0432-0.28385 4.0217-0.0354 3.2358 0.82177 5.3345 3.2765 5.3634 6.2734 7e-3 0.69047-0.0159 0.80451-0.24065 1.2148-0.14928 0.27255-0.38973 0.55031-0.60403 0.69775-0.64979 0.44707-1.0686 0.50046-3.9259 0.50046-2.5179 0-2.5992-5e-3 -2.9618-0.1905-0.4987-0.25483-0.69897-0.55062-0.74285-1.0972-0.0295-0.36804-5.9e-4 -0.49951 0.16208-0.73656 0.43816-0.63841 0.43651-0.638 2.7933-0.68512 1.9934-0.0398 2.125-0.0523 2.2424-0.21166 0.25707-0.349-0.0913-1.2568-0.72562-1.8912-0.77239-0.7724-1.8998-1.2008-3.1506-1.1971-1.3155 4e-3 -2.2288 0.37482-3.1204 1.2674-1.8314 1.8333-1.8687 4.7102-0.0847 6.5289 0.91091 0.92862 1.9348 1.3456 3.3038 1.3456 1.3574 0 1.9015-0.18457 4.0198-1.3637 1.8553-1.0327 3.2856 0.8794 1.7396 2.3255-1.5662 1.465-4.5035 2.2709-6.9623 1.9102z" fill="#00d639" stroke-width=".084667"/></g></svg>}>
    <Note>
      If you're not using the [Interactive Authentication Flow](/authentication#interactive-authentication-flow), make sure the query parameters `environmentName` and `companyId` are correctly populated.
      You can obtain these values by using the `GET Companies` endpoint available under the Authentication section. Please use the id field as the companyId and the environmentId field as the environmentName.
    </Note>

    Supported Response Fields:

    <ResponseField name="fileName" type="string" />

    <ResponseField name="contentType" type="string" />

    <ResponseField name="base64Encoded" type="boolean" />

    <ResponseField name="content" type="string" />
  </Accordion>

  <Accordion title="Sevdesk" icon={<svg width="24" height="24" transform="translate(-7,-4)" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"> <g clip-path="url(https://mintlify.s3.us-west-1.amazonaws.com/maesn/api-reference/accounting-endpoints/invoices#clip0_515_31)"> <g clip-path="url(https://mintlify.s3.us-west-1.amazonaws.com/maesn/api-reference/accounting-endpoints/invoices#clip1_515_31)"> <path d="M10.3995 32C3.46576 32 0 28.5345 0 21.6012V10.401C0 3.46552 3.46576 0 10.3995 0H21.6005C28.5342 0 32 3.46552 32 10.3988V21.599C32 28.5323 28.5342 31.9978 21.6005 31.9978H10.3995V32Z" fill="#FB523B"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M22.4444 7.55556C21.524 7.55556 20.7778 8.30175 20.7778 9.22222V21.6667C20.7778 22.5871 21.524 23.3333 22.4444 23.3333C23.3649 23.3333 24.1111 22.5871 24.1111 21.6667V9.22222C24.1111 8.30175 23.3649 7.55556 22.4444 7.55556ZM14.3333 13.8889C14.3333 12.9684 15.0795 12.2222 16 12.2222C16.9205 12.2222 17.6667 12.9684 17.6667 13.8889V21.6667C17.6667 22.5871 16.9205 23.3333 16 23.3333C15.0795 23.3333 14.3333 22.5871 14.3333 21.6667V13.8889ZM7.88889 17.8889C7.88889 16.9684 8.63508 16.2222 9.55555 16.2222C10.476 16.2222 11.2222 16.9684 11.2222 17.8889V21.6667C11.2222 22.5871 10.476 23.3333 9.55555 23.3333C8.63508 23.3333 7.88889 22.5871 7.88889 21.6667V17.8889Z" fill="white"/> </g> </g> <defs> <clipPath id="clip0_515_31"> <rect width="32" height="32" fill="white"/> </clipPath> <clipPath id="clip1_515_31"> <rect width="32" height="32" fill="white"/> </clipPath> </defs> </svg>}>
    Supported Response Fields:

    <ResponseField name="fileName" type="string" />

    <ResponseField name="contentType" type="string" />

    <ResponseField name="base64Encoded" type="boolean" />

    <ResponseField name="content" type="string" />
  </Accordion>

  <Accordion title="weclapp" icon={<svg width="24" height="24" viewBox="0 0 150 150" transform="translate(-7, -4)" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill="none" d="M0,0H150V150H0V0Z"/><g><path fill="#12da9d" d="M44.89,32.82l-9.81,64.58c-.36,11.47-16.99,11.46-17.34,0h0L8.15,32.82c-1.68-5.73,2.72-11.72,8.67-11.87h19.4c5.97,.14,10.34,6.15,8.67,11.87Z"/><path fill="#12da9d" d="M141.88,32.82l-9.58,64.58c-1.6,10.04-16.2,9.81-17.34,0l-9.81-64.58c-1.68-5.73,2.72-11.72,8.67-11.87h19.4c5.97,.14,10.34,6.15,8.67,11.87Z"/><path fill="#12da9d" d="M56.53,122.28l9.81-64.81c1.6-9.81,16.2-9.58,17.34,0l9.81,64.81c1.32,5.72-3.04,11.41-8.9,11.64h-19.17c-5.87-.22-10.21-5.92-8.9-11.64Z"/></g></svg>}>
    Supported Response Fields:

    <ResponseField name="fileName" type="string" />

    <ResponseField name="contentType" type="string" />

    <ResponseField name="base64Encoded" type="boolean" />

    <ResponseField name="content" type="string" />
  </Accordion>

  <Accordion title="Xentral" icon={<svg width="24" height="24" viewBox="0 0 90 90" xmlns="http://www.w3.org/2000/svg" transform="translate(-7,-4)"><g fill="none"><path d="M44.993 31.714h-.186c-6.85 0-12.898-5.129-17.342-9.64l-4.443-4.45a4.5 4.5 0 0 1 .123-6.364c1.728-1.668 4.506-1.668 6.234 0l4.443 4.45c3.024 3.027 7.406 6.982 10.985 6.982h.186c3.58 0 8.023-4.017 10.985-6.983l4.443-4.449a4.485 4.485 0 0 1 6.357.124c1.666 1.73 1.666 4.51 0 6.24l-4.443 4.45c-4.444 4.511-10.492 9.64-17.342 9.64Z" fill="#E66DCB"/><path d="M63.569 79.852a4.537 4.537 0 0 1-3.148-1.297l-4.443-4.388c-3.024-3.028-7.406-6.983-10.985-6.983h-.186c-3.58 0-8.023 4.017-10.985 6.983l-4.443 4.45a4.485 4.485 0 0 1-6.357.123 4.5 4.5 0 0 1-.124-6.365l.124-.123 4.443-4.45c4.506-4.51 10.492-9.64 17.404-9.64h.062c6.85 0 12.898 5.13 17.342 9.64l4.443 4.45c1.728 1.73 1.728 4.572 0 6.364a4.65 4.65 0 0 1-3.147 1.236Z" fill="#26E3E4"/><path d="M14.505 68.111c-2.468 0-4.505-2.039-4.505-4.51 0-1.175.494-2.349 1.296-3.152l4.444-4.45c3.024-3.027 7.035-7.477 6.973-11.06v-.063c0-3.645-3.95-8.033-6.973-11.06l-4.444-4.45c-1.666-1.792-1.605-4.635.185-6.303a4.505 4.505 0 0 1 6.233 0l4.444 4.449c4.443 4.45 9.628 10.505 9.566 17.426-.062 6.921-5.123 12.977-9.628 17.426l-4.382 4.45c-.864.865-1.974 1.297-3.209 1.297Z" fill="#5B64EE"/><path d="M75.295 68.111a4.537 4.537 0 0 1-3.148-1.297l-4.443-4.45c-4.505-4.51-9.628-10.567-9.628-17.426 0-6.859 5.123-12.977 9.628-17.488l4.443-4.449c1.605-1.916 4.444-2.101 6.295-.494 1.852 1.606 2.099 4.449.494 6.303-.062.123-.185.185-.247.309l-.247.247L74 33.816c-3.024 3.027-7.036 7.415-6.974 11.06v.062c0 3.584 3.95 8.034 6.974 11.061l4.443 4.45c1.728 1.792 1.728 4.634 0 6.365a4.537 4.537 0 0 1-3.147 1.297Z" fill="#27E7A2"/></g></svg>}>
    Supported Response Fields:

    <ResponseField name="fileName" type="string" />

    <ResponseField name="contentType" type="string" />

    <ResponseField name="base64Encoded" type="boolean" />

    <ResponseField name="content" type="string" />
  </Accordion>

  <Accordion title="Xero" icon={<svg width="24" height="24" viewBox="0 0 45 46" xmlns="http://www.w3.org/2000/svg" transform="translate(-7,-4)"><path fill="#13B5EA" d="M22.457 45.49c12.402 0 22.456-10.072 22.456-22.495C44.913 10.57 34.86.5 22.457.5 10.054.5 0 10.57 0 22.995 0 35.418 10.054 45.49 22.457 45.49"/><path class="logo-xero-blue__text" fill="#fff" d="M10.75 22.935l3.832-3.85a.688.688 0 0 0-.977-.965l-3.83 3.833-3.845-3.84a.687.687 0 0 0-.966.979l3.832 3.837-3.83 3.84a.688.688 0 1 0 .964.981l3.84-3.842 3.825 3.827a.685.685 0 0 0 1.184-.473.68.68 0 0 0-.2-.485l-3.83-3.846m22.782.003c0 .69.56 1.25 1.25 1.25a1.25 1.25 0 0 0-.001-2.5c-.687 0-1.246.56-1.246 1.25m-2.368 0c0-1.995 1.62-3.62 3.614-3.62 1.99 0 3.613 1.625 3.613 3.62s-1.622 3.62-3.613 3.62a3.62 3.62 0 0 1-3.614-3.62m-1.422 0c0 2.78 2.26 5.044 5.036 5.044s5.036-2.262 5.036-5.043c0-2.78-2.26-5.044-5.036-5.044a5.046 5.046 0 0 0-5.036 5.044m-.357-4.958h-.21c-.635 0-1.247.2-1.758.595a.696.696 0 0 0-.674-.54.68.68 0 0 0-.68.684l.002 8.495a.687.687 0 0 0 1.372-.002v-5.224c0-1.74.16-2.444 1.648-2.63.14-.017.288-.014.29-.014.406-.015.696-.296.696-.675a.69.69 0 0 0-.69-.688m-13.182 4.127c0-.02.002-.04.003-.058a3.637 3.637 0 0 1 7.065.055H16.2zm8.473-.13c-.296-1.403-1.063-2.556-2.23-3.296a5.064 5.064 0 0 0-5.61.15 5.098 5.098 0 0 0-1.973 5.357 5.08 5.08 0 0 0 4.274 3.767c.608.074 1.2.04 1.81-.12a4.965 4.965 0 0 0 1.506-.644c.487-.313.894-.727 1.29-1.222.006-.01.014-.017.022-.027.274-.34.223-.826-.077-1.056-.254-.195-.68-.274-1.014.156-.072.104-.153.21-.24.315-.267.295-.598.58-.994.802-.506.27-1.08.423-1.69.427-1.998-.023-3.066-1.42-3.447-2.416a3.716 3.716 0 0 1-.153-.58l-.01-.105h7.17c.982-.022 1.51-.717 1.364-1.51z"/></svg>}>
    Supported Response Fields:

    <ResponseField name="fileName" type="string" />

    <ResponseField name="contentType" type="string" />

    <ResponseField name="base64Encoded" type="boolean" />

    <ResponseField name="content" type="string" />
  </Accordion>
</AccordionGroup>


## OpenAPI

````yaml get /accounting/invoices/{invoiceId}/document
openapi: 3.0.0
info:
  title: Maesn unified API
  description: The Maesn unified API description
  version: '1.0'
  contact: {}
servers:
  - url: https://api.maesn.dev
security: []
tags:
  - name: maesn
    description: ''
paths:
  /accounting/invoices/{invoiceId}/document:
    get:
      tags:
        - accounting
      operationId: getInvoiceDocument
      parameters:
        - name: invoiceId
          required: true
          in: path
          schema:
            type: string
        - name: X-API-KEY
          description: API key
          in: header
          schema:
            type: string
          required: true
        - name: X-ACCOUNT-KEY
          description: Account key
          in: header
          schema:
            type: string
          required: true
        - name: companyId
          required: false
          in: query
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/BaseResponseDto'
                  - properties:
                      data:
                        $ref: '#/components/schemas/DocumentResponseDto'
                        type: object
components:
  schemas:
    BaseResponseDto:
      type: object
      properties:
        meta:
          $ref: '#/components/schemas/MetaResponse'
        data:
          oneOf:
            - type: object
            - type: array
    DocumentResponseDto:
      type: object
      properties:
        id:
          type: string
          example: document id
        base64Encoded:
          type: boolean
          example: true
        content:
          type: string
          example: content
        contentType:
          type: string
          example: application/pdf
        fileName:
          type: string
          example: invoice.pdf
    MetaResponse:
      type: object
      properties:
        warnings:
          type: array
          items:
            type: string
            example: Field not used by target system
        pagination:
          $ref: '#/components/schemas/PaginationResponse'
    PaginationResponse:
      type: object
      properties:
        total:
          type: number
          example: 125
        perPage:
          type: number
          example: 50
        currentPage:
          type: number
          example: 1
        totalPages:
          type: number
          example: 3

````