Supplier Invoice¶
Invoice from supplier.
API Name: SupplierInvoice
Fields¶
| Field | Type | Description |
|---|---|---|
name |
varchar | Invoice number (readOnly) |
automaticReferenceIdentifier |
multiIncrement | Automatic number (PF{YY}-{number}) |
status |
enum | Invoice status |
supplier |
link | Supplier |
originalNumber |
varchar | Original number (max 25) |
dateInvoiced |
date | Issue date (default: today) |
dateOfReceiving |
date | Receiving date (default: today) |
datePaid |
date | Payment date |
dueDate |
date | Due date |
duzp |
date | Tax point date |
bankAccountNumber |
bankAccountNumber | Bank account (max 100) |
bankTransactionNote |
text | Payment note |
amount |
currency | Amount (calculated) |
grandTotalAmount |
floatCurrency | Total amount (calculated) |
paid |
floatCurrency | Paid (calculated) |
remainingToPay |
floatCurrency | Remaining to pay (calculated) |
isOverdue |
bool | Overdue (calculated) |
isDueSoon |
bool | Due soon (calculated) |
numberOfOverdueDays |
int | Days overdue (calculated) |
attachments |
attachmentMultiple | Attachments |
businessUnit |
link | Business unit |
assignedUser |
link | Assigned user |
Enum Values¶
status:
| Value | Description | Color |
|---|---|---|
Draft |
Draft | - |
In Review |
In Review | warning |
Confirmed |
Confirmed | info |
Partially Paid |
Partially Paid | warning |
Paid |
Paid | success |
Rejected |
Rejected | danger |
Relationships¶
| Relationship | Type | Target Entity | Description |
|---|---|---|---|
supplier |
belongsTo | Account | Supplier |
items |
hasMany | SupplierInvoiceItem | Items |
purchaseOrders |
hasMany | PurchaseOrder | Purchase orders |
outgoingPayments |
hasMany | OutgoingPayment | Outgoing payments |
expenseReceipts |
hasChildren | ExpenseReceipt | Expense receipts |