This object provides needed information about the customer's account for an invoice, including payment terms, payment type, due date, and so on.
This object is used in the query call.
In addition to the following fields, zObject contributes additional fields. For information on the field types, see Field Types.
Name | Required? | Type | Allowable Values | Description |
---|---|---|---|---|
AccountID | Yes | zns: ID | A valid account number | The customer account identification number. This is the same as the AccountNumber for the Account object for this customer. |
Amount | Yes | double | A valid currency amount | The amount of the invoice. |
Balance | Yes | double | A valid currency amount | The balance due on the invoice after the Amount is applied. |
Body | No | string | A Base64-encoded PDF | The body can be a PDF file. You can only query one invoice at a time if querying on the Body field. You cannot filter on Body. For that reason, if you query on Body, you must also query and filter on ID (inherited from zObject). |
DueDate | Yes | dateTime | A valid dateTime value | The date by which the payment for this invoice is due. |
InvoiceDate | Yes | dateTime | A valid dateTime value | The date on which the invoice is being generated. |
InvoiceNumber | Yes | sequence | This is automatically generated | A unique identification number for this invoice; returned as a string. |
Status | Yes | string (enum) | Canceled, Draft, Error, Posted | The status of the invoice. These statuses are determined by the system. |
TargetDate | Yes | dateTime | A valid dateTime value | The invoice is generated as of this date. |
Copyright © 2008-2009 Zuora, Inc.