Payslip object

{
  "type": "string",
  "date": "2019-08-24",
  "payment_method": "string",
  "working_hours": 0,
  "gross_pay": {
    "amount": 0,
    "currency": "string"
  },
  "net_pay": {
    "amount": 0,
    "currency": "string"
  },
  "earnings": [
    {
      "type": "string",
      "name": "string",
      "amount": 0,
      "currency": "string"
    }
  ],
  "deductions": [
    {
      "type": "string",
      "name": "string",
      "amount": 0,
      "currency": "string"
    }
  ],
  "taxes": [
    {
      "type": "string",
      "name": "string",
      "amount": 0,
      "currency": "string"
    }
  ],
  "person_id": "f44f491f-40a2-43f4-9e5c-b56edd4f2ebb",
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "payments": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "payslip_id": "4c69b385-5dae-4225-8596-911518500e4c",
      "status": "string",
      "components": [
        "string"
      ],
      "date_requested": "2019-08-24T14:15:22Z",
      "date_approved": "2019-08-24T14:15:22Z",
      "payer": "symmetrical",
      "bank_account": "string",
      "currency": "string"
    }
  ]
}