Data models
The 11 principal entities of NextUp ERP, with their field structure, JSON examples and the relationships between them.
Relational diagram
Entity list
| Entity | Used in | Page |
|---|---|---|
Article | Product / service catalog | Article |
Partner | Clients / suppliers | Partner |
SaleOrder | Sales orders | SaleOrder |
SaleInvoice | Sales invoices | SaleInvoice |
Receipt | Receipts | Receipt |
DeliveryNote | Delivery notes | DeliveryNote |
DocumentLine | A line on any document | DocumentLine |
Stock | Stock per article × warehouse | Stock |
DocumentSeries | Document series (FAC, CHI, AVZ, COM, NIR) | DocumentSeries |
VATRate | VAT rates | VATRate |
Warehouse | Warehouses | Warehouse |
NextUp type conventions
| NextUp type | OpenAPI | JavaScript | Notes |
|---|---|---|---|
| Integer | integer | number | IDs, whole quantities |
| Decimal | number | number | Monetary values, fractional quantities |
| String | string | string | UTF-8 |
| Date | string, format date | string 'YYYY-MM-DD' | No timezone |
| DateTime | string, format date-time | string ISO 8601 or 'YYYYMMDDhhmmss' (legacy) | Varies per method |
| Boolean | boolean | boolean | |
| Guid | string, format uuid | string | Tokens, company IDs |