POST v1/Invoices/Writeoff

Documentation for 'Writeoff'.

Request Information

Parameters

NameDescriptionAdditional information
invoiceWriteOff
Documentation for 'invoiceWriteOff'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
Click to beautify!
{
  "invoiceId": 1,
  "amount": 2.0,
  "reference": "sample string 3"
}

application/xml, text/xml

Sample:
Click to beautify!
<InvoiceWriteoff xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Post">
  <Amount>2</Amount>
  <InvoiceId>1</InvoiceId>
  <Reference>sample string 3</Reference>
</InvoiceWriteoff>

application/x-www-form-urlencoded

Sample:
Click to beautify!

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
Click to beautify!

Sample not available.