frappe / erpnext

Free and Open Source Enterprise Resource Planning (ERP)
https://erpnext.com
GNU General Public License v3.0
21.89k stars 7.34k forks source link

[Feature Request] UK PAYE Real Time Information (RTI) #21723

Closed nameduser0 closed 2 years ago

nameduser0 commented 4 years ago

Pledge your support for this project here!

This integration will allow ERPNext to be published as HMRC Recognised Software on their website.

Pre-requisites

SOAP library XML support Company and Employee identifier doctype such as the Registration doctype (see below)

Feature Goals (Use cases & Requirements)

This is a proposal for integration of ERPNext HR payroll with the UK tax office to issue realtime payroll information. Support for:

Authentication is achieved using Online Services Username and Password (Government Gateway ID and password)

ERPNext considerations:

Recommendations

Additional DocTypes and fields (with fieldtype, etc) if any

Doctype Section Field Type Mandatory Details
Registration Head  Document Type Link Yes Company or Employee doctype
Registration Head  Document Name Link Yes Company or Employee instance
Registration Head  Type Select Yes e.g. Company Registration, Government ID, Goods and Services Tax, Income Tax, Corporate Tax, Social Insurance Tax, Customs Tax, Excise Tax
Registration Head  Title Data Yes User defined name
Registration Data  Value Data Yes Employer Reference = 123/A45678Government Gateway ID = 12-digit numberGovernment Gateway password = textFor authentication. The service generates tokens with 4 hour expiry. Since it is necessary for notifications to be checked (and possibly RTI data submitted) on a schedule unattended, it is necessary to store passwords for automatic token generation.RTI User Key: NINO AB123456C
Registration Data  Hide Value Check No For hiding password values

Discovery (how will the user find the feature you are building)

Screen Mockups with buttons and any custom UI (TBD)

Business Logic

Validations

Company and Employee details required for submissions

Calculations

None

Logs

Activity Log

Links to existing DocTypes

See table above

Reports

None

Rationale

It does not seem necessary to create doctypes for all HMRC functionality because the data is generally stored elsewhere in ERPNext, and for cleanliness, bloat, etc Further information: General HMRC RTI Information HMRC Basic Software Guide HMRC DPS HMRC Transaction Engine

nameduser0 commented 4 years ago

Just reading the proposal guidelines and looks like I should request a review. @Anurag810 as HRMS maintainer, could you comment please?

stale[bot] commented 2 years ago

This issue has been automatically marked as inactive because it has not had recent activity and it wasn't validated by maintainer team. It will be closed within a week if no further activity occurs.