API - Tax


Resource:
/acumulus/stable/reports/report_tax.php
Since API:
Available for authenticated:
API gebruiker
Available for authenticated:
API beheerder
Communication:
Basic submit, including below structure


Submit

<?xml version="1.0" encoding="UTF-8"?>
<myxml>
	<startdate></startdate>
	<enddate></enddate>
	<costcenterid></costcenterid>
</myxml>

startdate
Start date. YYYY-MM-DD format. Defaults to current date.

enddate
End date. YYYY-MM-DD format. Defaults to current date.

costcenterid
Provide costcenterid in order to limit tax calculations against specific costcenter.


Response

<?xml version="1.0" encoding="UTF-8"?>
<response>
    <country>
        <countrycode></countrycode>
        <sections>
            < country specific section identifier >
                <turnover></turnover>
                <vat></vat>
            < country specific section identifier >
        </sections>
        <totals>
            <vat>></vat>
            <paid>></paid>
        </totals>
    </country>
 
    <country>
        ...
    </country>
</response>

countrycode
ISO 3166-1 alpha-2 – two-letter country code.
turnover
Float. 2 Decimals.
vat
Float. 2 Decimals.
paid
Float. 2 Decimals. Availabilty depending on country

startdate
Start date. YYYY-MM-DD format.

enddate
End date. YYYY-MM-DD format.


Note: Please note that sections may have different xml-nodes and availability is depending on country.