Posted Invoice Write-Off Input

Input representation of the details of the request to write off a posted invoice. This representation includes invoice details such as invoice ID and reason for writing off invoices.

JSON Example 

1{
2  "invoices": [
3    {
4      "invoiceId": "3ttxx00000000cjAAA",
5      "reasonCode": "Bad Debt",
6      "description": "Bad Debt"
7    },
8    {
9      "invoiceId": "3ttxx00000000cjAAA",
10      "reasonCode": "Concession",
11      "description": "Concession"
12    }
13  ]
14}

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
invoiceIdStringID of the invoice record that you want to write off.Required64.0
reasonStringReason for writing off invoices.Optional64.0
reason​CodeStringCode that categorizes the write-off reason. For example, if the reason for the invoice write-off is a disputed amount, the reason code can be Disputed Amount (DA).Required64.0