Rebilling customers
Certain purchase documents contain costs that must be passed on to your customers. Instead of having to retype the purchase document into sales documents, you can use the rebilling feature in Continia Document Capture to automatically create the required sales documents when you post the purchase document.
When enabled, rebilling creates one sales document per customer from a single captured purchase document – with your markup, and each customer's currency and VAT setup applied. Non-billable lines can be marked as such, so they're not included in any sales documents.
Purchase invoices create sales invoices, while purchase credit memos create sales credit memos. Cancelling a posted purchase document also cancels the related sales documents, and purchase documents with an unresolved customer or line can still be registered and posted.
Considerations
Due to limitations related to standard Microsoft Dynamics 365 Business Central, cancelling posted purchase documents with related rebilling sales documents must be done manually in the following scenarios.
- One or more items from a posted purchase invoice have been sold.
- An approval flow is active for purchase credit memos.
Prerequisites
Before you can set up rebilling, make sure the Advanced Capture module is activated on the Continia Solution Management page.
To enable rebilling
- Search () for and select Continia Feature Management.
- Enable Rebilling.
Note
Enabling rebilling initiates its assisted setup guide, unless the feature was previously set up.
To set up rebilling
Rebilling suggests customers based on detected values in purchase invoices. The company-wide setup applies to every template, so it's recommended that you go through it before you set up your first template.
- Search () for and select Rebilling Setup.
- If the Rebilling Assisted Setup doesn't open automatically, click Assisted Setup on the action bar. Click Next.
- Set Suggestion Dimension Code to the dimension that links your customers to the identifiers on their invoices – such as a project dimension. Click Next.
- Optional: select the table that Document Capture should use to search for matches when the dimension code doesn't suffice. Rows are tried in order, from top to bottom (see below for examples). When you're done, click Next.
Note
GUIDs field can only be matched using the Exact match type.
- By default, you receive a warning when a value is marked as non-billable and a line with this value is translated to an inventory item. If this isn't desirable, disable this setting.
- Review the settings and, when you're done, click Finish.
To set up a template for rebilling
- Search () for and select Document Categories.
- Select the PURCHASE line (not the PURCHASE code itself) and click Edit on the action bar.
- On the Templates FastTab, select the template you want to set up for rebilling and, on the action bar, click Edit
- On the Rebilling FastTab, enable Create Sales Document.
- Optional: to automatically post sales documents created with rebilling, enable Auto-post Sales Document.
- Define the posting date for documents created with rebilling.
- To allow each purchase line to use its own G/L account, set Mapping Mode to Line Mapping. When set to Header Mapping, every line uses the fallback account set in Sales G/L Account.
- In Markup Factor, set the fallback markup. E.g.: 1.00 passes the cost through, 1.20 adds 20%. This setting is used for every line you don't map.
- Select a Pricing Method. The default is Markup on Cost. If you select a recommended price method, also select the Recommended Price Field – which must already be captured on the vendor template.
Note
If you don't have permission to post sales documents, sales documents stay in the In Queue status until someone with the required permission posts them from Rebilling Header Links.
To map the customers in a document
- Search () for and select Document Categories.
- Click the PURCHASE code to open the document journal.
- Click the number of the desired document to open the document card.
- On the action bar, click Rebilling > Customer Mapping to initiate the Customer Mapping Assisted Setup.
- Select the capture level, that is, Header if the customer's name is on the header level or Line otherwise. Click Next.
- Select either a field or a label that identifies each customer. To look for a suitable field or label in the PDF file, click Open PDF.
- Review and, if needed, adjust the suggestions made by Document Capture. If one or more recognized customers shouldn't be billed, select the corresponding checkbox under the Not Billable column.
- Click Finish.
With the customer mapping done, later invoices with the same values are filled out automatically.
To map the lines and pricing in a document
- Search () for and select Document Categories.
- Click the PURCHASE code to open the document journal.
- Click the number of the desired document to open its document card.
- On the Lines FastTab, click Rebilling > Line Mapping and Pricing on the action bar.
- Review the group All customers (general setup), which applies to every customer. Then, review the individual customer groups with their own lines.
- For each purchase line, set Translate to Type and Translate to No.. To pass the cost of the same item or account, leave the number blank.
- Optional: to override the markup factor and pricing method configured on the company level, set different values per line for the corresponding fields.
- Optional: set the Purchase Type to item, resource, or fixed asset. If the vendor number exists as that number, the Purchase No. and Sales No. are automatically filled out.
- Optional: to give one customer its own setup for a line, select the customer's group and, on the action bar, click New Customer Line. To set a markup and pricing method for everything rebilled to one customer, edit the customer's group header row accordingly.
- Optional: to apply the same setting to other customers, select the desired lines and, on the action bar, click Copy to Other Customers.
- When you're done reviewing the mapping, click Save Changes.
Note
Document Capture doesn't create sales documents for unmapped lines without a fallback account. Instead, it flags these lines with a comment.
To preview and post sales documents
To see the sales documents to be created, grouped by customer:
- Search () for and select Purchase Invoices.
- Click the number of the desired purchase invoice.
- On the General FastTab, click the value of the Rebilling Sales Preview field. Alternatively, click Actions > Preview Rebilling Sales on the action bar.
- Post the purchase document. A sales document is either drafted for each customer or, if Auto-post Sales Document is enabled on the template level, posted immediately.
- To see the sales documents created, open the posted document and, on the General FastTab, click the value of the Related Rebilling Invoices field.
- To see every pairing of purchase and sales documents with its posting status, click Home > Find entries on the posted document. Then, click Rebilling Header Link.
Review and post draft sales documents as you would any other sales document. To post a draft from the links list instead, select it in Rebilling Header Links, then click Post.
Important
It's not possible to use the Correct action on a document that has related sales documents, as this would create a corrective document and leave the sales documents behind.