API - Report Per Country


Resource:
/acumulus/stable/reports/report_per_country.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>
	<countrycode></countrycode>
</myxml>

startdate
Start date. YYYY-MM-DD format. Usually YYYY-01-01 where YYYY is the year of choice. Defaults to current date.

enddate
End date. YYYY-MM-DD format. Usually YYYY-12-31 where YYYY is the year of choice. Defaults to current date.

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

countrycode
Provide optional countrycode in order to limit report to specific country only. Currently only EU-countries are supported.


Response

<?xml version="1.0" encoding="UTF-8"?>
<response>
    <startdate></startdate>
    <enddate></enddate>
    <costcenterid></costcenterid>
    <countries>
 
        <country>
            <countrycode></countrycode>
            <sections>
                <section>
                    <vatrate></vatrate>
                    <turnover></turnover>
                </section>
                <section>
                    <vatrate></vatrate>
                    <turnover></turnover>
                </section>
                <section>
                    ...
                </section>
            </sections>
            <totalturnover></totalturnover>
            <totalvat></totalvat>
        </country>
 
        <country>
            ...
        </country>
 
    </countries>
</response>

countrycode
ISO 3166-1 alpha-2 – two-letter country code.
vatrate
Float. 2 Decimals.
turnover
Float. 2 Decimals. Total turnover for specified vatrate.
totalturnover
Float. 2 Decimals. Total turnover for specified country. Includes all vatrates.
totalvat
Float. 2 Decimals. Total vat for specified country.

startdate
Start date. YYYY-MM-DD format.

enddate
End date. YYYY-MM-DD format.