POST api/v1/finance/processopenamounts
Sync open amounts for invoice, prepayments and credit notes
Request Information
URI Parameters
None.
Body Parameters
ProcessOpenAmountsParameter| Name | Description | Type | Additional information |
|---|---|---|---|
| CloseExportedButNotOpen |
set to true will close all exported invoice which are not in the open amount list |
boolean |
Required |
| OpenAmountList |
List of open amounts for sync |
Collection of OpenAmountItem |
Required |
Request Formats
application/json, text/json
Sample:
{
"CloseExportedButNotOpen": true,
"OpenAmountList": [
{
"Number": 1,
"OpenAmount": 2.0,
"DateOfLastPayment": "2025-11-07T06:04:59.7396003+00:00"
},
{
"Number": 1,
"OpenAmount": 2.0,
"DateOfLastPayment": "2025-11-07T06:04:59.7396003+00:00"
}
]
}
application/xml, text/xml
Sample:
<ProcessOpenAmountsParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Promidata.PromotionalOffice.Library.Models.InvoiceManagement">
<CloseExportedButNotOpen>true</CloseExportedButNotOpen>
<OpenAmountList>
<OpenAmountItem>
<DateOfLastPayment>2025-11-07T06:04:59.7396003+00:00</DateOfLastPayment>
<Number>1</Number>
<OpenAmount>2</OpenAmount>
</OpenAmountItem>
<OpenAmountItem>
<DateOfLastPayment>2025-11-07T06:04:59.7396003+00:00</DateOfLastPayment>
<Number>1</Number>
<OpenAmount>2</OpenAmount>
</OpenAmountItem>
</OpenAmountList>
</ProcessOpenAmountsParameter>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ProcessOpenAmountsResult| Name | Description | Type | Additional information |
|---|---|---|---|
| ProcessResultList |
List of result for the sync |
Collection of ProcessResultItem |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.