WriteOffInvoiceInput Class

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

InvoiceWriteOff

Learn more about the constructors available with the WriteOffInvoiceInput class.

The WriteOffInvoiceInput class includes these constructors.

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

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

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.

Initializes the WriteOffInvoiceInput class.

public WriteOffInvoiceInput()

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.

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

public String invoiceId {get; set;}

Type: String

Sets the reason for writing off invoices.

public String reason {get; set;}

Type: String

Sets the code that categorizes the write-off reason.

public String reasonCode {get; set;}

Type: String