InvoiceAdjustment
Invoice Adjustment is deprecated on Production in WSDL version 64.0. Zuora recommends that you use the Invoice Item Adjustment to adjust invoices. If you have the Invoice Settlement feature enabled, this object is deprecated and only available for backward compatibility.
An invoice adjustment modifies an existing invoice. You use an invoice adjustment to change the entire invoice. For example, you can apply a late fee to the invoice balance.
An invoice adjustment differs from an invoice item adjustment. An invoice item adjustment affects an individual charge or line item on an invoice. An invoice adjustment affects the invoice at the header-level.
Both adjustments can affect the invoice balance.
These are the characteristics of an invoice item adjustment:
- Always for a charge in an invoice
- Tied to all accounting and revenue recognition information associated with the charge
- Only one invoice item adjustment to one charge
- Named with prefix, IILA-
These are the characteristics of an invoice adjustment:
- Always for an invoice
- Only on accounting code for an invoice
- Multiple adjustments to one invoice
- Named with prefix, IA-
Use the InvoiceAdjustment
object to apply an adjustment to an Invoice
object.
Supported calls
You can use this object with the following calls:
Field Descriptions
All field names are case sensitive. Check enumerated values in descriptions to confirm capitalization and spacing. See Field Types for additional information.
Name |
Required to Create? |
Allowed Operations |
Description |
---|---|---|---|
AccountId | optional |
Query |
The ID of the account that owns the invoice. Type: zns:ID |
AccountingCode | optional | Create Query Filter |
The accounting code for the invoice adjustment. Accounting codes group transactions that contain similar accounting attributes. Type: string |
AdjustmentDate | optional | Create Query Filter |
The date when the invoice adjustment is applied. This date must be the same as the invoice's date or later. Type:
Character limit: 29 |
AdjustmentNumber | optional |
Query |
A unique string to identify an individual invoice adjustment. Type: string |
Amount | required | Create Query Filter |
The amount of the invoice adjustment. Type: decimal (currency) |
CancelledById | optional |
Query |
The ID of the Zuora user who canceled the invoice adjustment. Zuora generates this read-only field only if the adjustment is canceled. Type: zns:ID |
CancelledOn | optional |
Query |
The date when the invoice adjustment is canceled. Zuora generates this read-only field if this adjustment is canceled. Type: dateTime |
Comments | optional | Create Query Filter |
Use this field to record comments about the invoice adjustment. Type: string |
CreatedById | optional |
Query |
The user ID of the person who created the invoice adjustment. Type: zns:ID |
CreatedDate | optional |
Query |
The date the invoice adjustment was created. Type: dateTime |
CustomerName | optional |
Query |
The name of the account that owns the associated invoice. Type: string Note: This value changes if Account.Name is updated. The values of UpdatedById and UpdatedDate for the InvoiceAdjustment do not change when Account.Name is updated. |
CustomerNumber | optional |
Query |
The unique account number of the customer's account. Type: string Note: This value changes if Account.AccountNumber is updated. The values of UpdatedById and UpdatedDate for the InvoiceAdjustment do not change when Account.AccountNumber is updated. |
Id | optional | Query Filter |
The ID of this object. Upon creation, the ID for this object is Type: zns:ID |
ImpactAmount | optional |
Query |
The amount that changes the balance of the associated invoice. Type: decimal (currency) |
InvoiceId | optional | Create Query Filter |
The ID of the invoice associated with the adjustment. This field is required if you don't specify a value for the Type: zns:ID |
InvoiceNumber | optional | Create Query Filter |
The unique identification number for the associated invoice. This field is required if you don't specify a value for the Type: string |
ReasonCode | optional | Create Query Update Filter |
A code identifying the reason for the transaction. Must be an existing reason code or empty. If you do not specify a value, Zuora uses the default reason code. Type: string |
ReferenceId | optional | Create Query Filter |
A code to reference an object external to Zuora. For example, you can use this field to reference a case number in an external system. Type: string |
Status | optional |
Query |
The status of the invoice adjustment. This field is required in Type: string (enum) |
TransferredToAccounting | optional |
Query |
Indicates the status of the adjustment's transfer to an external accounting system, such as NetSuite. Type: string (enum) |
Type | required | Create Query Filter |
Indicates whether the adjustment credits or debits the invoice amount. Type: string (enum) |
UpdatedById | optional |
Query |
The ID of the user who last updated the invoice. Type: zns:ID |
UpdatedDate | optional |
Query |
The date when the invoice was last updated. Type: dateTime |
Additional Field Detail
Id
The ID of this object. Every object has a unique identifier that Zuora automatically assigns upon creation. You use this ID later when you work with the object. For example, if you send an amend()
call to modify an existing subscription, then you need to include the specific Subscription
object's ID with the call.
The ID for the InvoiceAdjustment
object is InvoiceAdjustmentId
.
Type
Indicates whether the adjustment credits or debits the invoice amount. Set the value to Credit
to create a credit memo, which gives a credit on the invoice balance or lowers its total. Set the value to Charge
to create a debit memo, which increases the balance.