{
  "data": {
    "id": "string",
    "type": "sales_invoices",
    "attributes": {
      "item_type": "invoice",
      "description": "string",
      "issue_date": "2017-07-28",
      "due_date": "2017-07-28",
      "invoice_series": "string",
      "invoice_id": 1,
      "currency": "TRL",
      "exchange_rate": 0,
      "withholding_rate": 0,
      "vat_withholding_rate": 0,
      "invoice_discount_type": "amount",
      "invoice_discount": 0,
      "billing_address": "string",
      "billing_phone": "string",
      "billing_fax": "string",
      "tax_office": "string",
      "tax_number": "string",
      "city": "string",
      "district": "string",
      "is_abroad": "string",
      "order_no": "string",
      "order_date": "2017-07-28",
      "shipment_addres": "string"
    },
    "relationships": {
      "details": {
        "data": [
          {
            "id": "",
            "type": "sales_invoice_details",
            "attributes": {
              "net_total": 0,
              "quantity": 0,
              "unit_price": 0,
              "vat_rate": 0,
              "discount_type": "amount",
              "discount_value": 0,
              "excise_duty_type": "amount",
              "excise_duty_value": 0,
              "communications_tax_rate": 0,
              "description": "string"
            },
            "relationships": {
              "product": {
                "data": {
                  "id": "4279051",
                  "type": "products"
                }
              }
            }
          }
        ]
      },
      "contact": {
        "data": {
          "id": "3447246",
          "type": "contacts"
        }
      },
      "category": {
        "data": {
          "id": "1169043",
          "type": "item_categories"
        }
      },
      "tags": {
        "data": [
          {
            "id": "89840",
            "type": "tags"
          }
        ]
      }
    }
  }
}