Post payroll and generate vendor invoices

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2

This topic explains how to post payroll and generate the required vendor invoices.

When you post payroll, the accounting distributions that are specified on each pay statement line determine the offset accounts to use. When each line has a balanced transaction, all transactions for the pay statement can be entered in the general ledger.

Note

Offset accounts are determined by the posting definitions that are assigned to pay statements in the Transaction posting definitions form. When you post a pay statement, all lines must be successfully posted or no lines are posted. Similarly, when you post multiple pay statements and one fails, no pay statements are posted.

After you post payroll, you should generate vendor invoices for the payables that resulted from the pay period that you posted. This process combines the amounts from all the pay statements that were posted for the period and uses the benefit and tax setup information to create an invoice for each vendor. The totals and their corresponding accounting distributions from the original pay statement lines are used to create the invoices.

What do you want to do?

This task is part of a bigger process

Prerequisites

Post pay statements and generate vendor invoices for a single pay period

Post a pay statement for an individual worker and submit it for payment

Generate vendor invoices for a specific benefit plan

Generate multiple invoices for the same vendor

Technical information for system administrators

This task is part of a bigger process

This illustration shows how this topic fits into the larger picture of payroll processing.

For an overview of the process, see Processing payroll.

Basic steps for processing earnings

Back to top

Prerequisites

The following table shows the prerequisites that must be in place before you start.

Category

Prerequisite

Version

Microsoft Dynamics AX 2012 R2 or Microsoft Dynamics AX 2012 R3 Cumulative Update 8

Country/region

(USA) The primary address for the legal entity must be in the following countries/regions: United States

Related configuration tasks

You must complete these tasks before you can post payroll and generate vendor invoices:

Back to top

Post pay statements and generate vendor invoices for a single pay period

After you review pay statement for a specific pay period, you post the pay statements to the general ledger and generate vendor invoices for the same pay period.

Tip

Any pay statements that must be recalculated are ignored by the posting process. Therefore, we recommend that you view the Pay statements to recalculate list page to verify that no pay statements must be recalculated before you complete this process. For more information, see “Modify pay statements” in Work with pay statements.

To post pay statements and generate vendor invoices for a pay period, follow these steps:

  1. Post the pay statements:

    • Click Payroll > Periodic > Pay statement processing > Post pay statements.

    • In the Pay cycle field, select the pay cycle to post pay statements for.

    • In the Pay period field, select the pay period to post pay statements for. The pay periods that are displayed are available for the pay cycle. The default pay period is the first open pay period, but you can select any open pay period from the list.

    • Click OK.

  2. Generate the vendor invoices:

    • Click Payroll > Periodic > Pay statement processing > Generate vendor invoices.

    • In the Pay cycle field, select the pay cycle to generate vendor invoices for.

    • In the Pay period field, select the same pay period that you posted the pay statements for.

    • Select All invoices.

    • Click OK. You can’t delete or recalculate the invoices.

  3. Double-click the pay statement to open the Pay statement detail form, and then verify this information:

    • If the pay statement was posted successfully, Posted is displayed in the pay statement header.

    • If the vendor invoice was generated successfully, the check box in the Included in invoice column is selected on some pay statement lines.

Back to top

Post a pay statement for an individual worker and submit it for payment

To post a pay statement for a specific worker to the general ledger and submit it for payment, follow these steps:

  1. Click Payroll > Common > Pay statements > All pay statements.

  2. Select the pay statement for the specific worker and pay period.

  3. On the Financials tab, in the Accounting group, click Post.

  4. Select the Submit for payment after posting check box. For more information about this check box, see Issue worker payments.

  5. In the Post the selected pay statement form, click Post. A message is displayed to indicate that the pay statement was posted successfully. You can’t delete or recalculate the invoice.

    Tip

    To verify that the pay statement was posted, double-click the pay statement to open the Pay statement detail form. Posted is displayed in the pay statement header.

Back to top

Generate vendor invoices for a specific benefit plan

After pay statements for a specific cycle and pay period are posted to the general ledger, you generate vendor invoices for a specific benefit plan for the pay period. To do so, follow these steps:

  1. Click Payroll > Periodic > Pay statement processing > Generate vendor invoices.

  2. In the Pay cycle field, select the pay cycle to generate vendor invoices for.

  3. In the Pay period field, select the pay period to post pay statements for. The pay periods that are displayed are available for the pay cycle. The default pay period is the first open pay period, but you can select any open pay period from the list.

  4. Select Benefit plan invoice and select the benefit plan to generate invoices for.

  5. Click OK.

  6. To verify that at least one vendor invoice was generated, double-click the pay statement to open the Pay statement detail form. A check mark appears in the Included in invoice column of the benefit plan statement line.

    You can also verify that a new vendor invoice was created and posted for the vendor.

Back to top

Generate multiple invoices for the same vendor

After pay statements for a specific pay cycle and pay period have been posted to the general ledger, you generate all the vendor invoices for a specific vendor. These include multiple invoices for several benefit plans.

To generate multiple invoices for one vendor, follow these steps:

  1. Click Payroll > Periodic > Pay statement processing > Generate vendor invoices.

  2. In the Pay cycle field, select the pay cycle to generate vendor invoices for.

  3. In the Pay period field, select the pay period to post pay statements for. The pay periods that are displayed are available for the pay cycle. The default pay period is the first open pay period, but you can select any open pay period from the list.

  4. Select Vendor invoice and select the vendor to generate invoices for.

  5. Click OK.

  6. To verify that the vendor invoice was generated, double-click the pay statement to open the Pay statement detail form. Verify that the pay statement lines for the benefits that are associated with the vendor have a check mark in the Included in invoice column.

    You can also verify that at least one vendor invoice was created for the vendor.

Back to top

Technical information for system administrators

If you don't have access to the pages that are used to complete this task, contact your system administrator and provide the information that is shown in the following table.

Category

Prerequisite

Configuration keys

Payroll - USA

Important

When you use Payroll, we highly recommend that you turn off the Payroll information configuration key under the Human resource I configuration key. The forms and tables that are enabled by that configuration key are not used by Payroll. If Payroll is installed and the configuration key is enabled, it might be difficult to make sure that your data is entered and tracked correctly.

Security roles and duties

To post payroll and generate vendor invoices, you must be a member of a security role that includes this duty:

  • Post pay statements (PayrollJournalizePayStatementMaintain)

Security roles and privileges

To post payroll and generate vendor invoices, you must be a member of a security role that includes these privileges:

  • View budget check errors or warnings inquiry (BudgetCheckResultsView)

  • Create vendor invoices for payroll (PayrollGenerateVendorInvoice)

  • Process payroll posting (PayrollJournalizePayStatement)

Back to top