Nastavenie mass invoicing of instalments with services

Mass Document Numbers

Numeric series for mass invoices/credit notes are set up in Contract with Service Settings. The settings described in PD Business Settings and PD Product.

In Contract with Service Settings, numeric hints are set for:

On the Financing Models screen, the following settings are set:

Check for the difference between the payment calendar and invoice lines

 

When posting by batch task, the system checks the amount of the payment (individual fields) and OneCore Posting Settings. If it finds a difference (the posting settings are missing, or the posting settings are duplicated), it posts the difference to the set account in the Contract with Service Settings, as well as to the invoice lines. The amount of the payment in the payment calendar will be equal to the Total Value in the invoice.

Description in Nastavení Business .

Contract Dimension Value

Value Dimension 2 for a mass invoice that can contain multiple contracts.

This dimension is used on the posted invoice header for the accounts receivable (Customer Ledger Entry) account.

On the lines of the posted invoice, there are posted contract numbers in the dimension.

The dimension value for Dimension 2 (Contract) is selected from the Dimension Values code list

Ak je nastavená dimenzi na zákazníkovi.

At the same time, on the contract.

The Mass Task fulfills the 1st global dimension set on the customer when selecting the Invoicing Method Bulk for... (all mass invoices).

Non-global dimensions are populated from the customer.

Setting Texts and Text Variables

A description of setting up the text to invoice lines is described in PD Financial settings in the section Standardní texty a rozšířené texty and Proměnné standardních textů

Customer Card

On the customer card, under the Customer option, the Invoice Sending Methods button sets how the system should send posted invoices in bulk and what structured attachments should be attached.

The bulk task looks for the Payment value in the Invoicing Type field, then automatically sends and suspends the invoice according to the set values. 

Detailed description in Adresář .

Maturity date

On the customer card, on the Operative leasing tab, the following is set:

Payment Billing Method

The setting determines how each invoiced payment will be combined into each invoice. 

The values of the field are:

For all these settings at the same time, only contracts in the same currency are always included in the invoice. If the customer has contracts in different currencies, invoices are created for each currency separately.

Report/Automatic Invoice Sending Setup

Task after posting, when conditions are met automatically sends invoices with attachments according to the settings.

Invoicing Task Post Financing Payments with Services

!!! When calculating the payment calendar, the system checks the completion of all posting groups in the payment calendars of services, insurance, customer (total payment calendar). If there is no posting group, the system does not calculate the payment calendar, it will display a message to the User when the contract is activated or the payment calendar is calculated. If the combination of posting groups for VAT calculation is not in the VAT posting setup, the system will not post the invoice, it will display a message to the User.

The Post Financing Payments (with Services) task is used for mass payment posting.

The task is located in the OneCore Role Center – Financing (All products), on the Actions tab > Invoicing, but it can be searched via the main search (magnifying glass in the top bar on the right).

The job handles contracts that:

This designation is transferred to the contract when it is created from the Financing Product Type

Contracts are not included in the task:

The selection of contracts included in processing may be further limited by a user filter.

After running the Post Financing Payments (with services) job, the system opens a dialog window that has the Options and Advanced tabs and also contains filters for the Customer, header and lines of the Financing Contract.

Required fields:

On the Options tab, you can enter the Posting Date and VAT Date that the task inserts into the invoice. When you run a job, the system prompts you to set a working date that you can override.

Posting Date a Datum DPH sú povinnéé pole, ak nebude plnia, úloha skončilí na chybovou mlášku.  

On the Filter: Financing Contract Lines tab, the user selects the period (Posting date of payments) that he wants to post (e.g. From 1.3.2022..31.3.2022). The User can enter a specific Posting Date (e.g. 1.3.2022) or a period "until the date" (e.g. 31.03.22) or "from date" (e.g. 01.03.22..)

If the period is not specified, an error message is displayed when the job starts.

image-20240621-194948.png

Optional fields:

On the Options tab, click the Tlač faktur Select or post invoices should be pushed out at the same time when posting installments.

On the Filter: Customer tab, you can filter contract payments for specific customers. The user can use a preset filter for Customer No. and Payment Billing Method, but it is also possible to add other fields from the Customer Card to the filter.

On the Filter: Financing Contract Header tab, it is possible to filter specifically Financing Contracts. The user can apply a preset filter to Financing Contract No., Calculation Type and Framework Agreement No., but it is possible to add other fields from the Financing Contract to the filter.

The user has the option to run the task:

After Successful When the job is completed, the system writes a record of success to the Job Queue Log Entries, and also writes the duration of the entire job.

At Failed While the job is running, the system writes an error to the record, changing Status=Error.

In Log Entries, the user can see the reason for the error.

The user has the option to interrupt Entering a job from the Job Queue Entries list or from the card using the Set On Hold button. When the button is triggered, the status of the card switches from Ready to On Hold in the Status field.

After starting invoicing, fill in the dialog window, confirm with the OK to open a window

image-20240621-195237.png

Invoices the lines of contract payment calendars corresponding to the specified period and filters, namely:

Posting of a single line and buffer are logged to the posting error log. Sending an e-mail with attachments is also logged separately.

When creating an invoice line, the system checks whether the combination Gen. Bus. Posting Group), Gen. Prod. Posting Group and is not blocked for the given invoice line. If the setting does not exist, then the error is written in the Posting Log and continues to the next contract.

image-20240621-200526.png

image-20240621-200540.png

After sending, ak on the customer card was set in the field Mass Sending Sale Documents = Mass Invoice je:

image-20240621-200806.png

Example 1: Posting the difference between a payment calendar and invoice lines

If there is a difference in group 1 (principal, interest), group 2 (insurance), group 3 (services) 3 lines would be created in the invoice lines, which would be posted to the same account, with the same VAT (one setting for all groups).

Contract with Service Setup

Changing OC Posting Settings

If the system finds a difference, it will display a system message (when manually posting an installment from the payment calendar)

image-20240621-200848.png

The invoice has been posted.

The system also changes the value of the Reference Date field in the contract header to the current system date.

In the function on Mass posting, it has been added - if det. If the contract status has Allow Posting from Payment Cal = N and Allow Down Payment Posting = A, the rows will be filtered to those with the flag Down Payment = A. Similarly, the combination of Allow Posting from Payment Cal = N and Allow Posting Partial Credit = A will run a filter on rows where Partial Credit Memo = A.

If it also finds contracts, the job looks for records matching the filter specified when the job was run.

Creates a posted individual credit memo, which is numbered according to the settings on the Contract model. It automatically sends according to the settings on the Customer card. When sending only for credit memos, it does not check the condition of filling in the External Order Number.

 

When sending, it takes into account the settings in the Invoicing Print Settings, where it searches for the report for the document, the body of the mail, the subject and the Job responsiibility.

Subsequently, he checks the table on the Customer card Method of sending customer invoices, where he searches for Invoicing Type: Payment, Document Type: depending on whether it is an invoice, or a credit note. From the given line, when the specified one generates an external structured attachment and the name of the attachment. 

Once shipped, it has:

An e-mail with an invoice and a separate credit note will be sent to the e-mail.

image-20240621-201238.png

image-20240621-201248.png

image-20240621-201257.png

When the invoicing job ends, the system opens a message about X successfully and Y unsuccessfully posted invoices. You want to open the Posting Log. If you select Yes, the Posting Log will be opened with a filter for the records created during the job run.

image-20240621-201312.png

Posting Error Log

The system writes the posting result to the Posting Error Log, which can be opened from the menu (Actions> Invoicing> Posting Error Log)

The log contains information: who started the task, method of invoicing payments, customer number, date and time of invoicing and result of invoicing (Success - the invoice was posted, Error - invoicing ended on an error and the invoice was not generated).

If bulk invoicing ended with an error and an invoice was not generated, you need to fix the errors and start invoicing again.

For a more detailed description, see the chapter Posting Error Log.

Posted "Bulk" Sales Invoice for Payments 

If invoicing is successful, one or more posted Sales Invoices will be generated, depending on the customer's invoicing type that has been set.

Filling in the individual fields on the invoice header depends on the invoicing method used.

If the payments were invoiced "in bulk" (for a contract, for a customer, for a business location, for a type of calculation, for a framework agreement), the data are filled in as follows: 

The reason code on the posted sales invoice is non-editable and cannot be changed by the user.

Invoice Details Tab

At mass Invoicing data from Customer cards, if applicable, from a framework agreement, the information stated in the Financing Contract does not apply. On the Invoice Details FastTab, these fields include Payment Terms Code (which affects the calculation of the Due Date), Payment Method Code, VAT Bus. Posting Group (has an impact on taxation) and Customer Posting Group (has an effect on the posting of the receivable)

Field Currency It is responsible for the currency of the contract. Only contracts in the same currency can be included in the invoice.

Afield Contract Code (Global Dimension 2) does not populate a specific contract, but the system uses the replacement dimension according to the Contract with Service Settings.

To press the invoice, the field is filled in Typ tlače faktury = Installment. According to this type, the system selects Invoicing Printout Settings, described in Chapter II. Print and send saleable documents.   

In bulk invoicing, fields that are not visible to the user on the invoice are also filled in. This is an array Mass invoicing and Customer Business Place No..

For mass invoicing, the Mass invoicing field is set to Yes, for individual invoicing for contracts, the value is set to No.

The customer's business location number is filled in only if mass invoicing for the customer's business places has passed. In this case, the common Business Place from the Financing Contracts is filled in this field.

 

Payments tab

On the Payments tab, the system inserts the bank account set up in the Company Information window.

Variable Symbol is always generated from the Invoice No. for mass invoicing, it is not possible to use the contract number (according to the settings), as is the case with invoicing separately for the contract.

 

Rows Tab

The Description from the set Standard Sales Code is transferred to the first line and the Text from the Extended Text lines is transferred to the next lines. In the text, it is possible to set variables from tables according to a set scheme of variables, which the invoicing task will automatically complete. 

Bills For posting of individual components of the payment, they are set in the OneCore Posting Settings table, where the descriptions of the lines that are filled into the invoice are also set. In the description, it is possible to set variables, e.g. Posted Contract Number.

Sums are transferred from the payment schedules of the posted contract, as well as VAT Product Posting Groups.

Global Dimension (Contract Code, Centre Code) are for lines on which the financial account is filled in, transferred from the Financing Contract.

Other non-global dimensions transferred from the contract are available by the Dimensions button on the Lines tab.

The task according to the settings in OneCore Settings, the VAT Rounding Code field and the Rounding setting on the Contract Model and according to the General Ledger Total Payment Setup creates rounding lines for the contract in the invoice lines.

Customer Balance

When you post an invoice, a Customer Ledger Entry is created on the balance in the total amount of the invoice. In the Contract Code dimension, the dimension from the invoice header is filled in. At the same time, this receivable is marked Mass Invoicing = Yes.

Changes in the payment schedule

After posting the payment, the following data are updated in the payment calendar: Posting Date, VAT Date, Due Date, Document No., Mass invoice =Y, Posted =Y

After cancelling a payment (invoice), the following appears in the line of the payment calendar:

Scheduler

The task can be run via the scheduler. See chap. Invoicing task – Post financing payments with services.