Read financial year properties
You use this method to read information of a financial year.
Request method
GET
Request url
https://ponte.venice.be/webconnect/api/{DossierId}/{FinancialYear}/Year[/{InformationType}?{Parameters}]
Context identification
Identification | Description |
---|---|
DossierId | The unique identifier of the dossier. |
FinancialYear | The financial year. |
InformationType | Requests a specific type of information. Possible values: |
Parameters
Parameter | Description |
---|---|
Book | The code of the book of which you want to know the final closing date. (optional) |
BookType | A value of the 'eBookType' enumeration. |
TransfertType | A value of the 'eTrnType' enumeration. |
MostRecentDate | If this parameter is set to true the biggest closing date of the journals, on which entries for all books of the given book type can be made, will be returned. If you set this parameter to false the smallest date is returned, i.e. the date on which entries can be made on at least one of the books of the given book type. |
https://ponte.venice.be/WebConnect/api/Demo/2021/YearExample 2: Get the first free date for sales documents of financial year 2021 in dossier 'Demo'.
https://ponte.venice.be/WebConnect/api/Demo/2021/Year/FreeDate?BookType=btSales&MostRecentDate=true
Request header
See request header.
Request body
-Http status
See http status.Response body
You can receive the response in json or xml.
Structure
The structure of the response body depends on the value of the parameter 'informationType'. Parameter 'informationType' is not providedResponse (object)
- Year (object)
Response (object)
- Year (object)
Response (object)
- Year (object)
Response (object)
- Year (object)
Examples
{ "Response": { "Year": { "Name": "2021", "Begin": "2021-01-01", "End": "2021-12-31", "LastClosedVatDate": "2020-12-31" } } }
{ "Response": { "Year": { "FreeDate": "2021-04-01" } } }
<?xml version="1.0" encoding="utf-8"?> <Response> <Year> <Name>2021</Name> <Begin>2021-01-01</Begin> <End>2021-12-31</End> <LastClosedVatDate>2020-12-31</LastClosedVatDate> </Year> </Response>
<?xml version="1.0" encoding="utf-8"?> <Response> <Year> <FreeDate>2021-04-01</FreeDate> </Year> </Response>