{"service":"HALOWERK finopswerk","endpoint":"/v1/discounted-tax-basis-transcript","method":"POST","content_type":"application/json","inputSchema":{"type":"object","properties":{"default_rates":{"type":"object","properties":{"inclusive_bp":{"anyOf":[{"type":"integer","minimum":0,"maximum":10000},{"type":"null"}]},"exclusive_bp":{"anyOf":[{"type":"integer","minimum":0,"maximum":10000},{"type":"null"}]}},"required":["inclusive_bp","exclusive_bp"],"additionalProperties":false},"exemption":{"enum":["none","exempt","reverse"]},"lines":{"type":"array","items":{"type":"object","properties":{"amount_minor":{"type":"integer","minimum":0,"maximum":1000000},"discount_bp":{"type":"integer","minimum":0,"maximum":10000},"rates":{"anyOf":[{"type":"object","properties":{"inclusive_bp":{"anyOf":[{"type":"integer","minimum":0,"maximum":10000},{"type":"null"}]},"exclusive_bp":{"anyOf":[{"type":"integer","minimum":0,"maximum":10000},{"type":"null"}]}},"required":["inclusive_bp","exclusive_bp"],"additionalProperties":false},{"type":"null"}]}},"required":["amount_minor","discount_bp","rates"],"additionalProperties":false},"minItems":1,"maxItems":4},"report":{"type":"object","properties":{"lines":{"type":"array","items":{"type":"object","properties":{"net":{"anyOf":[{"type":"object","properties":{"n":{"type":"string","pattern":"^-?(0|[1-9][0-9]{0,63})$","maxLength":65},"d":{"type":"string","pattern":"^[1-9][0-9]{0,63}$","maxLength":64}},"required":["n","d"],"additionalProperties":false},{"type":"null"}]},"included_tax":{"anyOf":[{"type":"object","properties":{"n":{"type":"string","pattern":"^-?(0|[1-9][0-9]{0,63})$","maxLength":65},"d":{"type":"string","pattern":"^[1-9][0-9]{0,63}$","maxLength":64}},"required":["n","d"],"additionalProperties":false},{"type":"null"}]},"exclusive_tax":{"anyOf":[{"type":"object","properties":{"n":{"type":"string","pattern":"^-?(0|[1-9][0-9]{0,63})$","maxLength":65},"d":{"type":"string","pattern":"^[1-9][0-9]{0,63}$","maxLength":64}},"required":["n","d"],"additionalProperties":false},{"type":"null"}]},"total":{"anyOf":[{"type":"object","properties":{"n":{"type":"string","pattern":"^-?(0|[1-9][0-9]{0,63})$","maxLength":65},"d":{"type":"string","pattern":"^[1-9][0-9]{0,63}$","maxLength":64}},"required":["n","d"],"additionalProperties":false},{"type":"null"}]}},"required":["net","included_tax","exclusive_tax","total"],"additionalProperties":false},"minItems":1,"maxItems":4},"total":{"anyOf":[{"type":"object","properties":{"n":{"type":"string","pattern":"^-?(0|[1-9][0-9]{0,63})$","maxLength":65},"d":{"type":"string","pattern":"^[1-9][0-9]{0,63}$","maxLength":64}},"required":["n","d"],"additionalProperties":false},{"type":"null"}]}},"required":["lines","total"],"additionalProperties":false}},"required":["default_rates","exemption","lines","report"],"additionalProperties":false},"requestExample":{"default_rates":{"inclusive_bp":500,"exclusive_bp":700},"exemption":"exempt","lines":[{"amount_minor":500,"discount_bp":1000,"rates":{"inclusive_bp":0,"exclusive_bp":1900}},{"amount_minor":1000,"discount_bp":2500,"rates":{"inclusive_bp":1000,"exclusive_bp":500}}],"report":{"lines":[{"net":{"n":"450","d":"1"},"included_tax":{"n":"0","d":"1"},"exclusive_tax":{"n":"0","d":"1"},"total":{"n":"450","d":"1"}},{"net":{"n":"7500","d":"11"},"included_tax":{"n":"0","d":"1"},"exclusive_tax":{"n":"0","d":"1"},"total":{"n":"7500","d":"11"}}],"total":{"n":"12450","d":"11"}}},"operations":[{"method":"POST","inputSchema":{"type":"object","properties":{"default_rates":{"type":"object","properties":{"inclusive_bp":{"anyOf":[{"type":"integer","minimum":0,"maximum":10000},{"type":"null"}]},"exclusive_bp":{"anyOf":[{"type":"integer","minimum":0,"maximum":10000},{"type":"null"}]}},"required":["inclusive_bp","exclusive_bp"],"additionalProperties":false},"exemption":{"enum":["none","exempt","reverse"]},"lines":{"type":"array","items":{"type":"object","properties":{"amount_minor":{"type":"integer","minimum":0,"maximum":1000000},"discount_bp":{"type":"integer","minimum":0,"maximum":10000},"rates":{"anyOf":[{"type":"object","properties":{"inclusive_bp":{"anyOf":[{"type":"integer","minimum":0,"maximum":10000},{"type":"null"}]},"exclusive_bp":{"anyOf":[{"type":"integer","minimum":0,"maximum":10000},{"type":"null"}]}},"required":["inclusive_bp","exclusive_bp"],"additionalProperties":false},{"type":"null"}]}},"required":["amount_minor","discount_bp","rates"],"additionalProperties":false},"minItems":1,"maxItems":4},"report":{"type":"object","properties":{"lines":{"type":"array","items":{"type":"object","properties":{"net":{"anyOf":[{"type":"object","properties":{"n":{"type":"string","pattern":"^-?(0|[1-9][0-9]{0,63})$","maxLength":65},"d":{"type":"string","pattern":"^[1-9][0-9]{0,63}$","maxLength":64}},"required":["n","d"],"additionalProperties":false},{"type":"null"}]},"included_tax":{"anyOf":[{"type":"object","properties":{"n":{"type":"string","pattern":"^-?(0|[1-9][0-9]{0,63})$","maxLength":65},"d":{"type":"string","pattern":"^[1-9][0-9]{0,63}$","maxLength":64}},"required":["n","d"],"additionalProperties":false},{"type":"null"}]},"exclusive_tax":{"anyOf":[{"type":"object","properties":{"n":{"type":"string","pattern":"^-?(0|[1-9][0-9]{0,63})$","maxLength":65},"d":{"type":"string","pattern":"^[1-9][0-9]{0,63}$","maxLength":64}},"required":["n","d"],"additionalProperties":false},{"type":"null"}]},"total":{"anyOf":[{"type":"object","properties":{"n":{"type":"string","pattern":"^-?(0|[1-9][0-9]{0,63})$","maxLength":65},"d":{"type":"string","pattern":"^[1-9][0-9]{0,63}$","maxLength":64}},"required":["n","d"],"additionalProperties":false},{"type":"null"}]}},"required":["net","included_tax","exclusive_tax","total"],"additionalProperties":false},"minItems":1,"maxItems":4},"total":{"anyOf":[{"type":"object","properties":{"n":{"type":"string","pattern":"^-?(0|[1-9][0-9]{0,63})$","maxLength":65},"d":{"type":"string","pattern":"^[1-9][0-9]{0,63}$","maxLength":64}},"required":["n","d"],"additionalProperties":false},{"type":"null"}]}},"required":["lines","total"],"additionalProperties":false}},"required":["default_rates","exemption","lines","report"],"additionalProperties":false},"requestExample":{"default_rates":{"inclusive_bp":500,"exclusive_bp":700},"exemption":"exempt","lines":[{"amount_minor":500,"discount_bp":1000,"rates":{"inclusive_bp":0,"exclusive_bp":1900}},{"amount_minor":1000,"discount_bp":2500,"rates":{"inclusive_bp":1000,"exclusive_bp":500}}],"report":{"lines":[{"net":{"n":"450","d":"1"},"included_tax":{"n":"0","d":"1"},"exclusive_tax":{"n":"0","d":"1"},"total":{"n":"450","d":"1"}},{"net":{"n":"7500","d":"11"},"included_tax":{"n":"0","d":"1"},"exclusive_tax":{"n":"0","d":"1"},"total":{"n":"7500","d":"11"}}],"total":{"n":"12450","d":"11"}}}}]}