Salaryatsea Documentation
Overview MyPaymentvault is a secure payment and payroll documentation system designed to support Salaryatsea operations. It centralizes crew payment records, payroll processing, and payment history for seafarers and shore-based payroll staff. The system emphasizes security, traceability, compliance with maritime payroll regulations, and ease of access for authorized users.
Key features
- Centralized payroll records: Store contracts, pay rates, allowances, deductions, and signed authorizations for each seafarer.
- Multi-currency support: Handle payments in multiple currencies, with exchange rate records and conversion logs.
- Payment scheduling: Configure recurring salary cycles, advances, and final settlements for contract completions or repatriations.
- Audit trail and versioning: Track edits to payroll entries and documents with timestamps, user IDs, and change comments.
- Role-based access control (RBAC): Granular permissions for crew, payroll officers, accountants, HR, and auditors.
- Document management: Upload and manage payslips, contracts, tax forms, bank details, and receipts; support for PDF and common image formats.
- Secure data handling: Encryption at rest and in transit, secure key management, and optional two-factor authentication (2FA).
- Reporting and exports: Generate payroll summaries, tax reports, voyage-specific disbursements, and export to CSV, XLSX, or PDF.
- Notifications and alerts: Email/SMS alerts for payment completions, failed transfers, upcoming contract ends, and missing documents.
- Integration APIs: RESTful endpoints for crew management, accounting systems, and bank transfer providers; webhook support for payment events.
- Compliance toolkit: Templates and configuration for common maritime payroll rules, tax withholding, and social contributions by flag/state.
User roles and permissions
- Crew (Seafarer): View personal payslips, contract details, payment history, and submit banking updates or claims.
- Payroll Officer: Create and edit payroll runs, approve payslips, schedule payments, and manage allowances/deductions.
- Accountant: Access financial summaries, reconcile bank statements, export ledgers, and manage tax reporting.
- HR Manager: Manage contracts, onboard/offboard crew, request payments for crew-related expenses, and access personnel documents.
- Auditor: Read-only access to full audit trails, historical payroll runs, and compliance reports.
- Administrator: Configure system settings, user accounts, RBAC policies, currency/exchange settings, and integrations.
Data model (high level)
- CrewProfile: ID, name, nationality, rank, contract start/end, bank details, tax residency, allowances, and dependent data.
- Contract: Contract ID, vessel ID, pay rate, pay period, allowances, overtime rules, special entitlements, and signed documents.
- PayrollRun: Run ID, period start/end, currency, exchange rates used, run status (draft/approved/processed), approver ID, and totals.
- PaymentEntry: Entry ID, crew ID, gross pay, deductions, net pay, payment method, scheduled date, status, transaction reference.
- Document: Doc ID, owner ID, type (payslip/contract/ID), upload timestamp, storage location, checksum, and version history.
- AuditLog: Log ID, actor ID, action, target resource, timestamp, previous value, new value, and comment.
Payroll processing flow
- Onboard/Update crew profiles: Ensure bank details, tax residency, and signed contract are on file.
- Configure payroll parameters: Set pay period, currency, allowances, tax rules, and exchange rates.
- Create payroll run: Add crew and calculate gross pay based on contract terms, overtime, and voyage-related entitlements.
- Review and approve: Payroll officer reviews draft; approver (accountant/HR) confirms totals and compliance.
- Process payments: Export payment file or trigger bank transfer API/webhook; mark entries as paid when transaction confirmed.
- Issue payslips: Generate payslips and notify crew via preferred channel.
- Reconciliation and reporting: Reconcile bank statements with payroll runs and produce statutory reports.
Security and compliance
- Authentication: Support for SSO (SAML/OAuth2) and 2FA for sensitive roles.
- Authorization: RBAC with least-privilege principle and session/timeout controls.
- Encryption: TLS for in-transit data; AES-256 (or equivalent) for data at rest and for stored bank details.
- Secrets management: Centralized key management and rotation schedule.
- Data retention and deletion: Configurable retention policies for payslips and personal data in line with GDPR and maritime recordkeeping requirements.
- Logging and monitoring: Centralized logs, alerting for suspicious activity, and regular penetration testing.
- Regulatory compliance: Tools to assist with tax withholding, social security contributions, and country-specific reporting; configurable for varying flags and jurisdictions.
APIs and integration
- Authentication: OAuth2 client credentials and token-based user authentication.
- Endpoints (examples):
- GET /api/crew/{id} — retrieve crew profile
- POST /api/payroll/runs — create payroll run
- GET /api/payroll/runs/{id}/report — download payroll report
- POST /api/payments/transfer — initiate bank transfer
- GET /api/documents/{id} — download document
- Webhooks:
- payroll_run.completed — when a payroll run is processed
- payment.updated — payment status change (pending/failed/paid)
- document.uploaded — new document available for a crew member
- Idempotency: Payment endpoints should support idempotency keys to avoid duplicate transfers.
Payslips and document templates
- Payslip contents: Employer details, crew details, pay period, gross pay breakdown, allowances, deductions, taxes withheld, net pay, currency, payment method, bank/transaction reference, and signature/verification code.
- Template language: Support for multilingual templates (English, Filipino, Russian, etc.) and customizable branding.
- Accessibility: Downloadable PDF and mobile-friendly HTML versions.
Error handling and exceptions
- Validation: Clear validation messages for missing bank details, invalid tax IDs, or currency mismatches.
- Rollback: Ability to revert payroll runs in draft stage and to create reversing entries for processed payments when refunds are required.
- Failed payments: Automatic retries, notifications to payroll staff, and manual override options for emergency transfers.
Operational considerations
- Backup and disaster recovery: Regular backups, offsite replication, and tested recovery procedures.
- Performance: Scalable architecture to handle multiple vessels and thousands of crew records, with batch processing for payroll runs.
- Localization: Date, number, and currency formats configurable per user/region.
- Support and SLAs: Define support tiers, incident response times, and escalation paths for critical payroll failures.
Deployment and architecture
- Recommended deployment: Cloud-hosted (managed) or private cloud options; containerized microservices for modularity.
- Data partitioning: Separate production environment per client or strong multi-tenancy isolation for data security.
- Monitoring: Health checks, metrics (payment throughput, failed transfers), and alerting integrated with PagerDuty or similar tools.
Examples and templates
- Sample payslip: Include a concise example showing gross salary, allowances, deductions, taxes, and net pay with transaction reference.
- Payroll run checklist: Onboard verification, exchange rate confirmation, allowance rules applied, variance checking, and approver sign-off.
- API call example: cURL snippet for creating a payroll run and for initiating a payment transfer (include authentication and expected responses).
Best practices
- Keep contracts and bank details up to date before payroll cutoff.
- Use idempotency keys for all payment-initiating API calls.
- Maintain a clear approval workflow with dual authorization for large payouts.
- Regularly reconcile payments and maintain a monthly audit trail.
- Configure retention to meet legal requirements but avoid retaining sensitive bank details longer than necessary.
Support and contact
- Provide a support portal with FAQs, user guides, and how-to videos.
- Define contact points for payroll emergencies (24/7 phone/email) and normal support hours for non-critical issues.
- Maintain a knowledge base section for country-specific payroll rules and frequently encountered scenarios.
If you want, I can:
- Produce sample API request/response payloads for common operations (create payroll run, initiate transfer).
- Draft a sample payslip PDF layout and text.
- Create a payroll run checklist or onboarding checklist tailored to your fleet size and jurisdictions. Which would you like next?