Automatic Invoice¶
Recurring invoicing template.
API Name: AutomaticInvoice
Fields¶
| Field | Type | Description |
|---|---|---|
name |
varchar | Name (required, max 150) |
account |
link | Customer |
billingContact |
link | Billing contact (required) |
shippingContact |
link | Shipping contact |
startInvoicing |
date | Start invoicing (required, default: today) |
endInvoicing |
date | End invoicing (default: +1 month) |
nextInvoiceDate |
date | Next invoice (default: today) |
invoicePeriod |
enum | Invoicing period (required, default: 1 month) |
dueDateDays |
int | Due days (required, default: 14, min: 0) |
discount |
percentage | Discount |
amount |
currency | Amount (calculated) |
grandTotalAmount |
floatCurrency | Total amount (calculated) |
quote |
link | Quote |
salesOrder |
link | Sales order |
description |
text | Description |
assignedUser |
link | Assigned user |
Enum Values¶
invoicePeriod:
| Value | Description |
|---|---|
1 day |
Daily |
1 week |
Weekly |
2 weeks |
Biweekly |
1 month |
Monthly |
3 months |
Quarterly |
6 months |
Semi-annually |
1 year |
Annually |
Relationships¶
| Relationship | Type | Target Entity | Description |
|---|---|---|---|
account |
belongsTo | Account | Customer |
items |
hasMany | AutomaticInvoiceItem | Items |
invoices |
hasMany | Invoice | Generated invoices |
quote |
belongsTo | Quote | Quote |
salesOrder |
belongsTo | SalesOrder | Sales order |