Create financial document
You use this method to create a new financial document.
Request method
POST
Request url
https://ponte.venice.be/webconnect/api/{DossierId}/{FinancialYear}/Financial
Context identification
| Identification | Description |
|---|---|
| DossierId | The unique identifier of the dossier. |
| FinancialYear | The financial year. |
https://ponte.venice.be/webconnect/api/Demo/2021/Financial
Request header
See request header.
Request body
Structure
Request (object)
- Financials (array)
- Financial (limited to one) (array item)
- Fields (object)
- Entries (array)
- Entry (array item)
- Fields (object)
- AnalyticalCentres (array)
- AnalyticalCentre (array item)
- Fields (object)
- AnalyticalUnits (array)
- AnalyticalUnit (array item)
- Fields (object)
Examples
{
"Request": {
"Financials": {
"Financial": [
{
"Fields": {
"TotalDocC": "100.00",
"BookDate": "2021-03-14",
"DocDate": "2021-03-14",
"Book": "ING",
"Currency": "EUR",
"DocNum": "6"
},
"Entries": {
"Entry": [
{
"Fields": {
"AmountDocC": "-100.00",
"Account": "400000000001",
"AmountDetC": "-100.00",
"DetC": "EUR"
}
}
]
}
}
]
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<Request>
<Financials>
<Financial>
<Fields>
<TotalDocC>100.00</TotalDocC>
<BookDate>2021-03-14</BookDate>
<DocDate>2021-03-14</DocDate>
<Book>ING</Book>
<Currency>EUR</Currency>
<DocNum>6</DocNum>
</Fields>
<Entries>
<Entry>
<Fields>
<AmountDocC>-100.00</AmountDocC>
<Account>400000000001</Account>
<AmountDetC>-100.00</AmountDetC>
<DetC>EUR</DetC>
</Fields>
</Entry>
</Entries>
</Financial>
</Financials>
</Request>
Http status
See http status.Response body
You can receive the response in json or xml.
Structure
Response (object)
- System number
Examples
{
"Response": {
"SystemNumber": "5"
}
}
<?xml version="1.0" encoding="utf-8"?> <Response> <SystemNumber>5</SystemNumber> </Response>