--- title: "sprEDCodes" slug: "spredcodes" updated: 2025-03-31T10:50:37Z published: 2025-03-31T10:50:37Z canonical: "instrukcijos.softera.lt/spredcodes" --- > ## Documentation Index > Fetch the complete documentation index at: https://instrukcijos.softera.lt/llms.txt > Use this file to discover all available pages before exploring further. # sprEDCodes Represents earnings/deductions codes (spr) in Business Central. ## Methods | Method | Return Type | Description | | --- | --- | --- | | GET sprEDCodes | Collection(sprEDCode) | Gets a collection of sprEDCode objects. | | DELETE sprEDCode | none | Deletes a sprEDCode object. | | POST sprEDCode | sprEDCode | Creates a sprEDCode object. | | PATCH sprEDCode | sprEDCode | Updates a sprEDCode object. | ## Properties | Property | Type | Description | | --- | --- | --- | | id | Guid | Specifies the earnings/deductions code's ID. Non-editable. | | code | String[10] | Specifies the earnings/deductions code's code. | | description | String[50] | Specifies the earnings/deductions code's description. | | edType | NAV.spredType | Specifies the earnings/deductions code's type. It can be: 0- " " 1- Advance 2- Earnings 3- Deduction 4- Earn. Comp. 5- Deduct. Comp. 6- Income in Kind | | lastModifiedDateTime | DateTimeOffset | Specifies the earnings/deductions code's last modified date. Read-Only. | ## Examples ### Get sprEDCodes with filtering GET `URI: /companies({{companyId}})/sprEDCodes({{edId}})/`