WriteOffInvoiceInput Class

Contains invoice details that are used for the request to write off an invoice.

Namespace 

InvoiceWriteOff

WriteOffInvoiceInput Constructors 

Learn more about the constructors available with the WriteOffInvoiceInput class.

The WriteOffInvoiceInput class includes these constructors.

WriteOffInvoiceInput(invoiceId, reasonCode, reason) 

Initializes the WriteOffInvoiceInput class that stores the invoice details and reason for writing off invoices.

Signature 

public WriteOffInvoiceInput(String invoiceId, String reasonCode, String reason)

Parameters 

invoiceId

Type: String

ID of the invoice record that you want to write off.

reasonCode

Type: String

Code 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).

reason

Type: String

Reason for writing off invoices.

WriteOffInvoiceInput() 

Initializes the WriteOffInvoiceInput class.

Signature 

public WriteOffInvoiceInput()

WriteOffInvoiceInput Properties 

Learn more about the properties available with the WriteOffInvoiceInput class.

The WriteOffInvoiceInput class includes these properties.

  • invoiceId

    Sets the ID of the invoice record that must be written off.

  • reason

    Sets the reason for writing off invoices.

  • reasonCode

    Sets the code that categorizes the write-off reason.

invoiceId 

Sets the ID of the invoice record that must be written off.

Signature 

public String invoiceId {get; set;}

Property Value 

Type: String

reason 

Sets the reason for writing off invoices.

Signature 

public String reason {get; set;}

Property Value 

Type: String

reasonCode 

Sets the code that categorizes the write-off reason.

Signature 

public String reasonCode {get; set;}

Property Value 

Type: String