This function is used by the mass automatic generation of invoices arising from the inter-company stock transfers created using the inter-site transfers function. A stock transfer is identified as inter-company if the original storage site and the destination storage site belong to different companies.

This function is the only one allowing the invoicing of inter-company transfer slips. To be able to invoice a transfer slip, it must not already have been invoiced and it must be invoiceable (a check box in the transfer slip is used to specify whether the slip can be invoiced or not. By default, this box is always checked, i.e. set to Invoiceable.)

You can view the generated invoices in the Invoice function (see the Invoices documentation). You can then validate them one at a time using this function or in batch using the Invoice validation function (see the Invoice validation documentation).

Prerequisites

SEEREFERTTO Refer to documentation Implementation

Screen management

As a function of the criteria entered, the system will look to group in certain cases the inter-company transfer slips to then invoice them together. The different grouping criteria are described below:

Transfer slip grouping

The transfer slips to be invoiced are grouped in the following way according to the function launch criteria.  When one of the parameters in the following tables varies, a new invoice will be created:

One invoice per document :

Sales site

Shipment site

Target site

Product

Slip number

One invoice per project :

Sales site

Shipment site

Target site

Product

Project number

No grouping criteria:

Sales site

Shipment site

Target site

Product

In all the cases described above, the transfer lines referencing the same product code are grouped on the same invoice line. This signifies that the unit used for the invoicing is the stock unit (unit common to all the transfers).

It may happen that within the grouping of slips the number of lines is too great to allow the creation of a single invoice (even though the lines will always be grouped by product code). In this case, the lines on the last processed slip will be carried over to another invoice. The rule being that all the lines on a single advice note must be invoiced together on the same invoice.

In the case of a grouping of advice notes on a single invoice, the information referencing the origin of the invoice in the invoice header will not be filled. However each transfer slip header has available the information on the link to the invoice with a tunnel that can be used to access the invoice. This signifies that a transfer slip can only be invoiced on a single invoice.

The gross price and the discounts are calculated at the time of the creation of each invoice line by taking the invoice date as the reference date. If inter-company price lists have been set up, they can be applied in this context based on their application field.

In no case will the stock transfer price be used to generate the sales invoice. On the other hand, at the time of the purchase invoice validation control associated with the sales invoice and referencing stock transfer slips, if a price variance has been found between the receipt price at the destination site and the price recorded on the supplier invoice, a stock value adjustment can be carried out if the adjustment of the receipt value is set up for the site and product concerned.

Entry screen

The invoices are automatically created based on the selections applied in the screen. The different selection criteria are:

Selection criteria

Sales site

The automatic invoice creation is made for a single sales site at a time (mandatory information). It is therefore necessary to specify the site chosen for the process. By default, it is the sales site associated with operator.

Invoice date

It is possible to choose the invoice date that will be affixed to the documents created by this function. By default, it is the current date that is displayed.

Invoice type

The chosen invoice type will be written on the invoices. It is used to determine a sequence number counter and an automatic journal used in the invoice posting. The type proposed by default comes from the SIVTYP - User invoice type parameter. You can modify it if necessary by choosing an invoice type from the list of invoice types that have been defined. This information is mandatory.

Transfers up to

The invoices that will be created originate necessarily from transfer slips. It is therefore possible to limit the selection of transfers to be processed according to the transfer date. The transfer date is stored on the slip (see the Inter-site transfers documentation). By default, it is initialized to the current date. It is therefore possible to limit the creation of the invoices to all the transfer slips created up to a given date.

Invoicing method

There is the possibility to choose the manner in which the inter-company transfer slips will be invoiced. These possibilities are described in the paragraph above Grouping transfer slips.

Three choices are offered: An invoice per slip, an invoice per project or an invoice for a group of slips corresponding to any criteria entered as described below.

Start/end ranges

Destination site range

It is possible to limit the selection to one or more destination sites by using this selection range. A destination site corresponds to a storage site where the goods are delivered in the case of a transfer slip.

Transfer document number range

It is also possible to limit the selection to a group of transfer slips limited by the number range (transfer slip sequence numbers).

Printing the invoices

You can print the generated invoices. To do so, you need to specify the document to be used (by default, it is the document code associated with the object), the print server, if it exits, and the printer assigned to the printing.

You can only access this option when the Invoice option has previously been selected.

 After the execution of this function, a log file is displayed:
- summarizing all the operations carried out.
- presenting the invoice numbers created and the transfer advice notes that were used in the creation of these invoices.
When the payment terms are SDD-type, the reference of the mandate is mandatory on the invoice. But if no 'Validated' main Mandate has been identified for the [Company ; Pay-by BP] pair, no default mandate reference is initialized on the invoice. This is highlighted by a message in the log file. The invoice is still created but its validation is prohibited as long as the reference of the mandate has not been entered manually on the invoice.

Batch task

This function can be run in batch mode, but no dedicated standard task is delivered to run it.

Specific Buttons

Memo

Recall

Delete Memo

Error messages

In addition to the generic error messages, the following messages can appear during the entry :

Customer BP not authorized for a control account

This message is displayed if the BP control account is not authorized for the control account associated with the bill-to customer (by means of its accounting code). The invoice is not created.

No transfer document processed

This message appears at the end of processing if no inter-company transfer slip has been invoiced.

Tables used

SEEREFERTTO Refer to documentation Implementation