Concepts
A short description of the main concepts that ReglaWebService works with.
Dimension
There are four dimensions available in Regla.
The first dimension is reserved for department, but the others are customizable.
An invoice entry always gets its department (first dimension) from the enclosing invoice.
The other three dimensions, of an invoice entry, can either come from the invoice (default), or be set individually.
A product can require certain dimensions.
If that is the case and the invoice entry/invoice lacks that dimension, an invoice is created, returning a comment about this.
Trying to set a dimension with a wrong group id (group id for dimension one is not one etc.) results is removal of that dimension.
Invoice
An invoice is addressed to a customer.
The invoice contains one or more invoice entries.
Handling of bookings, emails and bank claims is based on customer settings; payment method, invoice email, whether to send electronically (xml) etc.
Invoice Entry
An invoice entry belongs to an invoice.
The invoice entry contains Product, Quantity, Dimensions etc.
Subscription
A subscription is a category or a template for keeping and managing subscription entries.
The subscription and its subscription entries are used to create the same type of invoices repeatedly, on a regular basis.
Subscription Entry
A subscription entry belongs to a subscription.
The subscription entry contains a customer, and optionally a different recipient, p and quantity.
A customer is the one that pays for a product; a recipient is the one the product is sent to.
If a recipient is not registered the customer both payd and receives the product.
Creation of an invoice leads to an ectual sale but the creation of a subscription entry is meant for later creation of an invoice.
Project Accounting Entry
A project accounting entry belongs to a project and keeps information about employee's worked hours; start time, quantity, whether it is charged or not etc.
Transaction
An accounting transaction contains one or more transaction entries.
Transactions are grouped by transaction categories, stating their origin.
Transaction entries are grouped by accounting keys.
Files can be attached to a transaction.
A transaction is identified by transaction category, serial and year.