FINANCIAL_PAYROLL_PAY_CREATE_EXPENSES FINANCIAL Endpoint
  /rpc/financial/?method=FINANCIAL_PAYROLL_PAY_CREATE_EXPENSES  
  This method allows for the creation of Expenses, and optionally Payments, for a Payroll Period.
  Uses Profile Setting 315 to determine the Expense Payment Method
  PARAMETERS TYPE  
  Period Numeric Mandatory
  CONFIGURATION  
  Salary Expense Type Profile Attribute 24
  Allowances Expense Type Profile Attribute 26
  Superannuation Expense Type Profile Attribute 27
  Tax Expense Type EWTAccount as configured for Tax, which comes from Profile Attribute 25 by default
  Default Superannuation Contact Business Profile Attribute 74
  Create Expenses Profile Attribute 58. Y [default]/N
  Create Payments Profile Attribute 283. Y [default]/N
  Expenses Classic Compatible Profile Attribute 526. Y / N [default]. If set to Y you get an expense with two lines items - Salary and Tax. If N, you get an Expense with the Salary, and a General Journal with the tax
  RETURN