Invoices
Create, update, delete, and query the invoices saved in the SuiteCRM
Table Specific Information
Select
You can query the Invoices table using any criteria in the WHERE clause. The driver will use the SuiteCRM API to filter the results.
SELECT * FROM Invoices WHERE Name = 'test'
Insert
Create an Invoice by specifying any writable column.
INSERT INTO Invoices (Id, Name) VALUES ('id', 'Energy')
Update
You can update any Invoice column that is writable, by specifying the Id.
UPDATE Invoices SET Name = 'new name', Description = 'Desc' WHERE Id = 'Test123'
Delete
Delete an Invoice by specifying the Id.
DELETE FROM Invoices WHERE Id = '10003'
Columns
Name | Type | ReadOnly | Description |
Id [KEY] | String | False |
The unique identifier of the invoice. |
Name | String | False |
|
DateEntered | Datetime | False |
The date the record was created. |
DateModified | Datetime | False |
The date the record was last modified. |
ModifiedUserId | String | False |
The Id of the user who last modified the record. |
ModifiedByName | String | True |
The name of the user who last modified the record. |
CreatedBy | String | False |
The Id of the user who created the record. |
CreatedByName | String | True |
The name of the user who created the record. |
Description | String | False |
Description provided for the |
Deleted | Bool | False |
The record deletion indicator. |
CreatedByLink | String | True |
Link to the record who created it |
ModifiedUserLink | String | True |
Link to the record who modified it. |
AssignedUserId | String | False |
The Id of the user assigned to the record. |
AssignedUserName | String | True |
|
AssignedUserLink | String | True |
Link to the user which the record has been assigned to |
SecurityGroups | String | True |
The security group associated with the record. |
BillingAccountId | String | False |
Id of the billing account |
BillingAccount | String | True |
|
BillingContactId | String | False |
Id of the billing contact |
BillingContact | String | True |
|
BillingAddressStreet | String | False |
The first line of the billing address. |
BillingAddressCity | String | False |
The city used for the billing address. |
BillingAddressState | String | False |
The state used for the billing address. |
BillingAddressPostalcode | String | False |
The postal code used for the billing address. |
BillingAddressCountry | String | False |
The country used for the billing address. |
ShippingAddressStreet | String | False |
The first line of the shipping address. |
ShippingAddressCity | String | False |
The city used for the shipping address. |
ShippingAddressState | String | False |
The state used for the shipping address. |
ShippingAddressPostalcode | String | False |
The ZIP code used for the shipping address. |
ShippingAddressCountry | String | False |
The country used for the shipping address. |
Number | String | False |
|
LineItems | String | False |
The invoice's list of line items |
TotalAmt | String | False |
|
TotalAmtUsdollar | String | False |
|
SubtotalAmount | String | False |
|
SubtotalAmountUsdollar | String | False |
|
DiscountAmount | String | False |
|
DiscountAmountUsdollar | String | False |
|
TaxAmount | String | False |
|
TaxAmountUsdollar | String | False |
|
ShippingAmount | String | False |
|
ShippingAmountUsdollar | String | False |
|
ShippingTax | String | False |
Shipping tax costs |
ShippingTaxAmt | String | False |
|
ShippingTaxAmtUsdollar | String | False |
|
TotalAmount | String | False |
|
TotalAmountUsdollar | String | False |
|
CurrencyId | String | False |
|
QuoteNumber | String | False |
Number of the invoice quote |
QuoteDate | String | False |
Date of the invoice quote |
InvoiceDate | String | False |
Date the invoice was issued |
DueDate | String | False |
Due date of the invoice |
Status | String | False |
The status of the record. |
TemplateDdownC | String | False |
|
SubtotalTaxAmount | String | False |
Subtotal and tax amount in the invoice in the system's default currency |
SubtotalTaxAmountUsdollar | String | False |
|
Accounts | String | True |
The accounts associated with the record |
Contacts | String | True |
The contacts associated with the record |
AosQuotesAosInvoices | String | True |
|
AosProductsQuotes | String | True |
|
AosLineItemGroups | String | True |
|