# Apr 20, 2022

## 1.6.1

### Change #223ba3cd

**Breaking**

### API structure has changed

4 structure changes including:

#### 4 Modifications

- **Modified** 4
- **Breaking**

`GET /api/v1/invoices`
- **Response**  
  - 200 response  
    - Modified  
      - id property

`GET /api/v1/invoices/{invoice_id}`
- **Body**  
  - content type Modified  
    - invoice property  
- **Response**  
  - 200 response  
    - Modified  
      - id property

`POST /api/v1/invoices`
- **Body**  
  - content type Modified  
    - contractor, gross_pay, job, paycycle_enddate, paycycle_startdate properties  
    - Removed created, id, premium_due properties
- **Response**  
  - 200 response Removed  
  - 201 response Added

`PUT /api/v1/invoices/{invoice_id}`
- **Body**  
  - content type Modified  
    - id property  
- **Response**  
  - 200 response  
    - Modified  
      - id property
