[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"docs:api\u002FQuittio\u002FCore\u002FCalculation\u002FDeclaredAmountsMode":3},{"versions":4,"version":26,"nav":28,"path":106,"kind":107,"page":108},[5,10,13,16,18,20,22,24],{"name":6,"label":7,"prefix":8,"channel":9},"0.7","0.7 (latest)","","latest",{"name":11,"label":12,"prefix":11,"channel":11},"next","next (unreleased)",{"name":14,"label":14,"prefix":14,"channel":15},"0.6","old",{"name":17,"label":17,"prefix":17,"channel":15},"0.5",{"name":19,"label":19,"prefix":19,"channel":15},"0.4",{"name":21,"label":21,"prefix":21,"channel":15},"0.3",{"name":23,"label":23,"prefix":23,"channel":15},"0.2",{"name":25,"label":25,"prefix":25,"channel":15},"0.1",{"name":6,"label":7,"prefix":8,"channel":9,"base":27},"\u002Fdocs",[29,33,36,39,42,45,48,51,54,57,60,63,66,69,72,75,78,81,84,87,91,94,97,100,103],{"slug":30,"title":31,"preview":32},"index","Home",false,{"slug":34,"title":35,"preview":32},"getting-started","Getting started",{"slug":37,"title":38,"preview":32},"concepts","E-invoicing basics",{"slug":40,"title":41,"preview":32},"examples","Examples",{"slug":43,"title":44,"preview":32},"building-invoices","Building invoices",{"slug":46,"title":47,"preview":32},"formats","Formats and profiles",{"slug":49,"title":50,"preview":32},"validation","Validation",{"slug":52,"title":53,"preview":32},"templates","Templates and design",{"slug":55,"title":56,"preview":32},"documents","Quotes and other documents",{"slug":58,"title":59,"preview":32},"reading","Reading incoming invoices",{"slug":61,"title":62,"preview":32},"laravel","Laravel integration",{"slug":64,"title":65,"preview":32},"configuration","Configuration",{"slug":67,"title":68,"preview":32},"commands","Artisan commands",{"slug":70,"title":71,"preview":32},"testing","Testing",{"slug":73,"title":74,"preview":32},"country-packs","Country packs",{"slug":76,"title":77,"parent":74,"preview":32},"country-at","Austria",{"slug":79,"title":80,"parent":74,"preview":32},"country-be","Belgium",{"slug":82,"title":83,"parent":74,"preview":32},"country-ch","Switzerland",{"slug":85,"title":86,"parent":74,"preview":32},"country-fr","France",{"slug":88,"title":89,"preview":90},"managed","Managed layer (preview)",true,{"slug":92,"title":93,"preview":32},"troubleshooting","Troubleshooting",{"slug":95,"title":96,"preview":32},"faq","FAQ",{"slug":98,"title":99,"preview":32},"compatibility","Versioning and compatibility",{"slug":101,"title":102,"preview":32},"field-reference","Field reference",{"slug":104,"title":105,"preview":32},"ai","AI assistants","api\u002FQuittio\u002FCore\u002FCalculation\u002FDeclaredAmountsMode","api",{"title":109,"description":110,"html":111,"headings":112},"DeclaredAmountsMode","What the calculator does with the declared amounts of an existing document (line net amounts BT-131 and VAT breakdown BT-116, BT-117 that another system rounded differently, see Meta::FLAG_DECLARED_AMOUNTS).","\u003Cp class=\"q-api-crumbs\">\u003Ca href=\"\u002Fdocs\u002Fapi\">API reference\u003C\u002Fa> \u002F \u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\">Quittio\u003C\u002Fa> \\ \u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FCore\">Core\u003C\u002Fa> \\ \u003Ca href=\"\u002Fdocs\u002Fapi\u002FQuittio\u002FCore\u002FCalculation\">Calculation\u003C\u002Fa>\u003C\u002Fp>\n\u003Ch1>DeclaredAmountsMode\u003C\u002Fh1>\n\u003Cp class=\"q-api-facts\">\u003Cspan class=\"q-api-badge q-api-badge-kind\">string-backed enum\u003C\u002Fspan> in \u003Cspan class=\"q-api-badge\">quittio\u002Fcore\u003C\u002Fspan>\u003C\u002Fp>\n\u003Cp class=\"q-api-name\">\u003Ccode>Quittio\\Core\\Calculation\\DeclaredAmountsMode\u003C\u002Fcode> · \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FQuittio\u002Fquittio\u002Fblob\u002Fv0.7.1\u002Fpackages\u002Fcore\u002Fsrc\u002FCalculation\u002FDeclaredAmountsMode.php#L12\">Source\u003C\u002Fa>\u003C\u002Fp>\n\n\u003Cp class=\"q-doc-lead\">What the calculator does with the declared amounts of an existing document (line net amounts BT-131 and VAT breakdown BT-116, BT-117 that another system rounded differently, see Meta::FLAG_DECLARED_AMOUNTS).\u003C\u002Fp>\n\n\u003Ch2 id=\"cases\">Cases\u003Ca class=\"q-doc-anchor\" href=\"#cases\" aria-label=\"Link to this section\">#\u003C\u002Fa>\u003C\u002Fh2>\n\u003Ctable class=\"q-doc-table q-stack-table\">\u003Cthead>\u003Ctr>\u003Cth>Case\u003C\u002Fth>\u003Cth>Value\u003C\u002Fth>\u003Cth>Description\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\n\u003Ctr id=\"case-Keep\">\u003Ctd>\u003Ccode>Keep\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd data-label=\"Value\">\u003Ccode>'keep'\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd data-label=\"Description\">Keeps declared amounts within the tolerances of EN 16931 and Peppol, so that foreign rounding is reversed exactly; amounts outside the tolerances are recalculated and reported (QUITTIO-DECLARED-AMOUNTS).\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr id=\"case-Recalculate\">\u003Ctd>\u003Ccode>Recalculate\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd data-label=\"Value\">\u003Ccode>'recalculate'\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd data-label=\"Description\">Recalculates every amount and reports that declared amounts were replaced (QUITTIO-DECLARED-AMOUNTS). Partial cancellations aligned with the earlier ones keep their VAT, otherwise cumulative rounding would no longer reverse the original.\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr id=\"case-Reject\">\u003Ctd>\u003Ccode>Reject\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd data-label=\"Value\">\u003Ccode>'reject'\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd data-label=\"Description\">Like Keep, but declared amounts outside the tolerances throw a CalculationException instead of being recalculated.\u003C\u002Ftd>\u003C\u002Ftr>\n\u003C\u002Ftbody>\u003C\u002Ftable>",[113],{"id":114,"text":115,"level":116},"cases","Cases",2]