| java.lang.Object | |||
| ↳ | org.mule.modules.quickbooks.windows.schema.CdmObject | ||
| ↳ | org.mule.modules.quickbooks.windows.schema.CdmBase | ||
| ↳ | org.mule.modules.quickbooks.windows.schema.SalesReceipt | ||
Product: QBO Description: SalesReceipt represents the sales receipt that is given to a customer. A sales receipt is similar to an invoice. However, for a sales receipt, payment is received as part of the sale of goods and services. The sales receipt specifies a deposit account where the customer deposits the payment. If the deposit account is not specified, the payment type is classified as Undeposited Account. Endpoint: qbo.intuit.com Business Rules: [li]A sales receipt must have at least one line that describes the item. [/li][li]A sales receipt must have a reference to a customer in the header. [/li][li]If an account is specified in the header, the account must be of the Accounts Receivable (AR) type.[/li] [li]If you submit a query with the filter IncludeDiscountLineDetails, the system retrieves either DiscountAmount or DiscountRatePercent with associated values. [/li] Note: The PONumber field in a sales receipt is removed after synchronization, as QBSDK do not support it. Product: QBW Description: A sales receipt is a financial transaction that represents the sale of goods or services where payment in full is received at the time of purchase. Do not use a sales receipt if customers pay in part at the time of purchase; instead, use an invoice. See Invoice. The Invoice object offers more options than the SalesReceipt, and because a customer name is required for an invoice but not a sales receipt, use the Invoice object to keep track of payments owed on a purchase. Endpoint: services.intuit.com Business Rules: [li]A sales receipt must have at least one line that describes the item. [/li][li]A sales receipt must have a reference to a customer in the header. [/li][li]If an account is specified in the header, the account must be of the Accounts Receivable (AR) type.[/li] [li]If you submit a query with the filter IncludeDiscountLineDetails, the system retrieves either DiscountAmount or DiscountRatePercent with associated values. [/li] Note: The PONumber field in a sales receipt is removed after synchronization, as QBSDK do not support it.
Java class for SalesReceipt complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SalesReceipt">
<complexContent>
<extension base="{http://www.intuit.com/sb/cdm/v2}CdmBase">
<sequence>
<element name="Header" type="{http://www.intuit.com/sb/cdm/v2}SalesReceiptHeader" minOccurs="0"/>
<element name="Line" type="{http://www.intuit.com/sb/cdm/v2}SalesReceiptLine" maxOccurs="unbounded" minOccurs="0"/>
<element name="TaxLine" type="{http://www.intuit.com/sb/cdm/v2}TaxLine" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| header | |||||||||||
| line | |||||||||||
| taxLine | |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.mule.modules.quickbooks.windows.schema.CdmBase
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Gets the value of the header property.
| |||||||||||
Gets the value of the line property.
| |||||||||||
Gets the value of the taxLine property.
| |||||||||||
Sets the value of the header property.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.mule.modules.quickbooks.windows.schema.CdmBase
| |||||||||||
From class
java.lang.Object
| |||||||||||
Gets the value of the header property.
SalesReceiptHeader
Gets the value of the line property.
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the line property.
For example, to add a new item, do as follows:
getLine().add(newItem);
Objects of the following type(s) are allowed in the list
SalesReceiptLine
Gets the value of the taxLine property.
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the taxLine property.
For example, to add a new item, do as follows:
getTaxLine().add(newItem);
Objects of the following type(s) are allowed in the list
TaxLine
Sets the value of the header property.
| value | Allowed object is
SalesReceiptHeader
|
|---|