{
"data": {
"id": "string",
"type": "sales_invoices",
"attributes": {
"item_type": "invoice",
"description": "EARSIVFATURA",
"issue_date": "2017-09-22",
"due_date": "2017-09-22",
"invoice_series": "A",
"invoice_id": 7,
"currency": "TRL",
"exchange_rate": 0,
"withholding_rate": 0,
"vat_withholding_rate": 0,
"invoice_discount_type": "amount",
"invoice_discount": 0,
"billing_address": "Fatih Mah. Yavuz Sultan Selim Cad. Yanık APT. No:14 Kat:3 Daire:15 Uşak/Merkez",
"billing_phone": "5061450068",
"billing_fax": null,
"tax_office": "Uşak",
"tax_number": "56350555622",
"city": "Uşak",
"district": "Merkez",
"is_abroad": false,
"order_no": "9243f3acea8c4ddcb3a0af83d05c54ea",
"order_date": "2017-09-22",
"shipment_addres": "Fatih Mah. Yavuz Sultan Selim Cad. Yanık APT. No:14 Kat:3 Daire:15 Uşak/Merkez"
},
"relationships": {
"details": {
"data": [
{
"id": "",
"type": "sales_invoice_details",
"attributes": {
"net_total": 5,
"quantity": 1,
"unit_price": 4.2373,
"vat_rate": 18,
"discount_type": "amount",
"discount_value": 0,
"excise_duty_type": "amount",
"excise_duty_value": 0,
"communications_tax_rate": 0,
"description": ""
},
"relationships": {
"product": {
"data": {
"id": "4279051",
"type": "products"
}
}
}
}
]
},
"contact": {
"data": {
"id": "5243405",
"type": "contacts"
}
},
"category": {
"data": {
"id": "1169043",
"type": "item_categories"
}
},
"tags": {
"data": [
{
"id": "89840",
"type": "tags"
}
]
}
}
}
}