# Endpoints
URL | Description |
---|---|
/api/account-payable/reports | Get reports |
Json structure:
# Endpoints
URL | Description |
---|---|
/api/account-payable/reports | Get reports |
Json structure:
{ | |
"transactions": [ | |
{ | |
"user_id": 15, | |
"month": 4, | |
"year": 2019, | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"id": 10, | |
"details": [ | |
{ | |
"name": "Corbin Wolff", | |
"person_id": 1, | |
"value": 0, | |
"total_invoice": 0, | |
"invoices": [] | |
} | |
] | |
}, | |
{ | |
"user_id": 15, | |
"month": 5, | |
"year": 2019, | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"id": 11, | |
"details": [ | |
{ | |
"name": "Corbin Wolff", | |
"person_id": 1, | |
"value": 0, | |
"total_invoice": 0, | |
"invoices": [] | |
} | |
] | |
}, | |
{ | |
"user_id": 15, | |
"month": 6, | |
"year": 2019, | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"id": 12, | |
"details": [ | |
{ | |
"name": "Corbin Wolff", | |
"person_id": 1, | |
"value": 0, | |
"total_invoice": 0, | |
"invoices": [] | |
} | |
] | |
}, | |
{ | |
"user_id": 15, | |
"month": 7, | |
"year": 2019, | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"id": 13, | |
"details": [ | |
{ | |
"name": "Corbin Wolff", | |
"person_id": 1, | |
"value": 0, | |
"total_invoice": 0, | |
"invoices": [] | |
} | |
] | |
}, | |
{ | |
"user_id": 15, | |
"month": 8, | |
"year": 2019, | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"id": 14, | |
"details": [ | |
{ | |
"name": "Corbin Wolff", | |
"person_id": 1, | |
"value": 0, | |
"total_invoice": 0, | |
"invoices": [] | |
} | |
] | |
}, | |
{ | |
"user_id": 15, | |
"month": 9, | |
"year": 2019, | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"id": 15, | |
"details": [ | |
{ | |
"name": "Corbin Wolff", | |
"person_id": 1, | |
"value": 0, | |
"total_invoice": 0, | |
"invoices": [] | |
} | |
] | |
}, | |
{ | |
"user_id": 15, | |
"month": 10, | |
"year": 2019, | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"id": 16, | |
"details": [ | |
{ | |
"name": "Corbin Wolff", | |
"person_id": 1, | |
"value": 0, | |
"total_invoice": 0, | |
"invoices": [] | |
} | |
] | |
}, | |
{ | |
"user_id": 15, | |
"month": 11, | |
"year": 2019, | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"id": 17, | |
"details": [ | |
{ | |
"name": "Corbin Wolff", | |
"person_id": 1, | |
"value": 0, | |
"total_invoice": 0, | |
"invoices": [] | |
} | |
] | |
}, | |
{ | |
"user_id": 15, | |
"month": 12, | |
"year": 2019, | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"id": 18, | |
"details": [ | |
{ | |
"name": "Corbin Wolff", | |
"person_id": 1, | |
"value": 0, | |
"total_invoice": 0, | |
"invoices": [] | |
} | |
] | |
}, | |
{ | |
"user_id": 15, | |
"month": 4, | |
"year": 2020, | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"id": 1, | |
"details": [ | |
{ | |
"name": "Corbin Wolff", | |
"person_id": 1, | |
"value": 9000, | |
"total_invoice": 10000, | |
"invoices": [ | |
{ | |
"id": 1, | |
"person_id": 1, | |
"invoice_number": "7461", | |
"type": "PAYABLE_ACCOUNT", | |
"value": 5000, | |
"dues_number": 4, | |
"date": "2020-01-29T00:00:00.000000Z", | |
"begin_date": "2020-03-29T00:00:00.000000Z", | |
"end_date": "2020-12-10", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"quotes": [ | |
{ | |
"id": 1, | |
"invoice_id": 1, | |
"date": "2020-03-10T00:00:00.000000Z", | |
"value": 500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
} | |
] | |
}, | |
{ | |
"id": 2, | |
"person_id": 1, | |
"invoice_number": "9777", | |
"type": "PAYABLE_ACCOUNT", | |
"value": 5000, | |
"dues_number": 4, | |
"date": "2020-01-29T00:00:00.000000Z", | |
"begin_date": "2020-03-29T00:00:00.000000Z", | |
"end_date": "2020-12-10", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"quotes": [ | |
{ | |
"id": 5, | |
"invoice_id": 2, | |
"date": "2020-03-10T00:00:00.000000Z", | |
"value": 500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"user_id": 15, | |
"month": 5, | |
"year": 2020, | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"id": 2, | |
"details": [ | |
{ | |
"name": "Corbin Wolff", | |
"person_id": 1, | |
"value": 6000, | |
"total_invoice": 10000, | |
"invoices": [ | |
{ | |
"id": 1, | |
"person_id": 1, | |
"invoice_number": "7461", | |
"type": "PAYABLE_ACCOUNT", | |
"value": 5000, | |
"dues_number": 4, | |
"date": "2020-01-29T00:00:00.000000Z", | |
"begin_date": "2020-03-29T00:00:00.000000Z", | |
"end_date": "2020-12-10", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"quotes": [ | |
{ | |
"id": 1, | |
"invoice_id": 1, | |
"date": "2020-03-10T00:00:00.000000Z", | |
"value": 500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
}, | |
{ | |
"id": 2, | |
"invoice_id": 1, | |
"date": "2020-05-10T00:00:00.000000Z", | |
"value": 1500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
} | |
] | |
}, | |
{ | |
"id": 2, | |
"person_id": 1, | |
"invoice_number": "9777", | |
"type": "PAYABLE_ACCOUNT", | |
"value": 5000, | |
"dues_number": 4, | |
"date": "2020-01-29T00:00:00.000000Z", | |
"begin_date": "2020-03-29T00:00:00.000000Z", | |
"end_date": "2020-12-10", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"quotes": [ | |
{ | |
"id": 5, | |
"invoice_id": 2, | |
"date": "2020-03-10T00:00:00.000000Z", | |
"value": 500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
}, | |
{ | |
"id": 6, | |
"invoice_id": 2, | |
"date": "2020-05-10T00:00:00.000000Z", | |
"value": 1500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"user_id": 15, | |
"month": 6, | |
"year": 2020, | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"id": 3, | |
"details": [ | |
{ | |
"name": "Corbin Wolff", | |
"person_id": 1, | |
"value": 6000, | |
"total_invoice": 10000, | |
"invoices": [ | |
{ | |
"id": 1, | |
"person_id": 1, | |
"invoice_number": "7461", | |
"type": "PAYABLE_ACCOUNT", | |
"value": 5000, | |
"dues_number": 4, | |
"date": "2020-01-29T00:00:00.000000Z", | |
"begin_date": "2020-03-29T00:00:00.000000Z", | |
"end_date": "2020-12-10", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"quotes": [ | |
{ | |
"id": 1, | |
"invoice_id": 1, | |
"date": "2020-03-10T00:00:00.000000Z", | |
"value": 500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
}, | |
{ | |
"id": 2, | |
"invoice_id": 1, | |
"date": "2020-05-10T00:00:00.000000Z", | |
"value": 1500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
} | |
] | |
}, | |
{ | |
"id": 2, | |
"person_id": 1, | |
"invoice_number": "9777", | |
"type": "PAYABLE_ACCOUNT", | |
"value": 5000, | |
"dues_number": 4, | |
"date": "2020-01-29T00:00:00.000000Z", | |
"begin_date": "2020-03-29T00:00:00.000000Z", | |
"end_date": "2020-12-10", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"quotes": [ | |
{ | |
"id": 5, | |
"invoice_id": 2, | |
"date": "2020-03-10T00:00:00.000000Z", | |
"value": 500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
}, | |
{ | |
"id": 6, | |
"invoice_id": 2, | |
"date": "2020-05-10T00:00:00.000000Z", | |
"value": 1500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"user_id": 15, | |
"month": 7, | |
"year": 2020, | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"id": 4, | |
"details": [ | |
{ | |
"name": "Corbin Wolff", | |
"person_id": 1, | |
"value": 1000, | |
"total_invoice": 10000, | |
"invoices": [ | |
{ | |
"id": 1, | |
"person_id": 1, | |
"invoice_number": "7461", | |
"type": "PAYABLE_ACCOUNT", | |
"value": 5000, | |
"dues_number": 4, | |
"date": "2020-01-29T00:00:00.000000Z", | |
"begin_date": "2020-03-29T00:00:00.000000Z", | |
"end_date": "2020-12-10", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"quotes": [ | |
{ | |
"id": 1, | |
"invoice_id": 1, | |
"date": "2020-03-10T00:00:00.000000Z", | |
"value": 500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
}, | |
{ | |
"id": 2, | |
"invoice_id": 1, | |
"date": "2020-05-10T00:00:00.000000Z", | |
"value": 1500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
}, | |
{ | |
"id": 3, | |
"invoice_id": 1, | |
"date": "2020-07-10T00:00:00.000000Z", | |
"value": 2500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
} | |
] | |
}, | |
{ | |
"id": 2, | |
"person_id": 1, | |
"invoice_number": "9777", | |
"type": "PAYABLE_ACCOUNT", | |
"value": 5000, | |
"dues_number": 4, | |
"date": "2020-01-29T00:00:00.000000Z", | |
"begin_date": "2020-03-29T00:00:00.000000Z", | |
"end_date": "2020-12-10", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"quotes": [ | |
{ | |
"id": 5, | |
"invoice_id": 2, | |
"date": "2020-03-10T00:00:00.000000Z", | |
"value": 500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
}, | |
{ | |
"id": 6, | |
"invoice_id": 2, | |
"date": "2020-05-10T00:00:00.000000Z", | |
"value": 1500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
}, | |
{ | |
"id": 7, | |
"invoice_id": 2, | |
"date": "2020-07-10T00:00:00.000000Z", | |
"value": 2500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"user_id": 15, | |
"month": 8, | |
"year": 2020, | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"id": 5, | |
"details": [ | |
{ | |
"name": "Corbin Wolff", | |
"person_id": 1, | |
"value": 1000, | |
"total_invoice": 10000, | |
"invoices": [ | |
{ | |
"id": 1, | |
"person_id": 1, | |
"invoice_number": "7461", | |
"type": "PAYABLE_ACCOUNT", | |
"value": 5000, | |
"dues_number": 4, | |
"date": "2020-01-29T00:00:00.000000Z", | |
"begin_date": "2020-03-29T00:00:00.000000Z", | |
"end_date": "2020-12-10", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"quotes": [ | |
{ | |
"id": 1, | |
"invoice_id": 1, | |
"date": "2020-03-10T00:00:00.000000Z", | |
"value": 500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
}, | |
{ | |
"id": 2, | |
"invoice_id": 1, | |
"date": "2020-05-10T00:00:00.000000Z", | |
"value": 1500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
}, | |
{ | |
"id": 3, | |
"invoice_id": 1, | |
"date": "2020-07-10T00:00:00.000000Z", | |
"value": 2500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
} | |
] | |
}, | |
{ | |
"id": 2, | |
"person_id": 1, | |
"invoice_number": "9777", | |
"type": "PAYABLE_ACCOUNT", | |
"value": 5000, | |
"dues_number": 4, | |
"date": "2020-01-29T00:00:00.000000Z", | |
"begin_date": "2020-03-29T00:00:00.000000Z", | |
"end_date": "2020-12-10", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"quotes": [ | |
{ | |
"id": 5, | |
"invoice_id": 2, | |
"date": "2020-03-10T00:00:00.000000Z", | |
"value": 500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
}, | |
{ | |
"id": 6, | |
"invoice_id": 2, | |
"date": "2020-05-10T00:00:00.000000Z", | |
"value": 1500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
}, | |
{ | |
"id": 7, | |
"invoice_id": 2, | |
"date": "2020-07-10T00:00:00.000000Z", | |
"value": 2500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"user_id": 15, | |
"month": 9, | |
"year": 2020, | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"id": 6, | |
"details": [ | |
{ | |
"name": "Corbin Wolff", | |
"person_id": 1, | |
"value": 1000, | |
"total_invoice": 10000, | |
"invoices": [ | |
{ | |
"id": 1, | |
"person_id": 1, | |
"invoice_number": "7461", | |
"type": "PAYABLE_ACCOUNT", | |
"value": 5000, | |
"dues_number": 4, | |
"date": "2020-01-29T00:00:00.000000Z", | |
"begin_date": "2020-03-29T00:00:00.000000Z", | |
"end_date": "2020-12-10", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"quotes": [ | |
{ | |
"id": 1, | |
"invoice_id": 1, | |
"date": "2020-03-10T00:00:00.000000Z", | |
"value": 500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
}, | |
{ | |
"id": 2, | |
"invoice_id": 1, | |
"date": "2020-05-10T00:00:00.000000Z", | |
"value": 1500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
}, | |
{ | |
"id": 3, | |
"invoice_id": 1, | |
"date": "2020-07-10T00:00:00.000000Z", | |
"value": 2500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
} | |
] | |
}, | |
{ | |
"id": 2, | |
"person_id": 1, | |
"invoice_number": "9777", | |
"type": "PAYABLE_ACCOUNT", | |
"value": 5000, | |
"dues_number": 4, | |
"date": "2020-01-29T00:00:00.000000Z", | |
"begin_date": "2020-03-29T00:00:00.000000Z", | |
"end_date": "2020-12-10", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"quotes": [ | |
{ | |
"id": 5, | |
"invoice_id": 2, | |
"date": "2020-03-10T00:00:00.000000Z", | |
"value": 500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
}, | |
{ | |
"id": 6, | |
"invoice_id": 2, | |
"date": "2020-05-10T00:00:00.000000Z", | |
"value": 1500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
}, | |
{ | |
"id": 7, | |
"invoice_id": 2, | |
"date": "2020-07-10T00:00:00.000000Z", | |
"value": 2500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"user_id": 15, | |
"month": 10, | |
"year": 2020, | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"id": 7, | |
"details": [ | |
{ | |
"name": "Corbin Wolff", | |
"person_id": 1, | |
"value": 1000, | |
"total_invoice": 10000, | |
"invoices": [ | |
{ | |
"id": 1, | |
"person_id": 1, | |
"invoice_number": "7461", | |
"type": "PAYABLE_ACCOUNT", | |
"value": 5000, | |
"dues_number": 4, | |
"date": "2020-01-29T00:00:00.000000Z", | |
"begin_date": "2020-03-29T00:00:00.000000Z", | |
"end_date": "2020-12-10", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"quotes": [ | |
{ | |
"id": 1, | |
"invoice_id": 1, | |
"date": "2020-03-10T00:00:00.000000Z", | |
"value": 500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
}, | |
{ | |
"id": 2, | |
"invoice_id": 1, | |
"date": "2020-05-10T00:00:00.000000Z", | |
"value": 1500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
}, | |
{ | |
"id": 3, | |
"invoice_id": 1, | |
"date": "2020-07-10T00:00:00.000000Z", | |
"value": 2500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
} | |
] | |
}, | |
{ | |
"id": 2, | |
"person_id": 1, | |
"invoice_number": "9777", | |
"type": "PAYABLE_ACCOUNT", | |
"value": 5000, | |
"dues_number": 4, | |
"date": "2020-01-29T00:00:00.000000Z", | |
"begin_date": "2020-03-29T00:00:00.000000Z", | |
"end_date": "2020-12-10", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"quotes": [ | |
{ | |
"id": 5, | |
"invoice_id": 2, | |
"date": "2020-03-10T00:00:00.000000Z", | |
"value": 500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
}, | |
{ | |
"id": 6, | |
"invoice_id": 2, | |
"date": "2020-05-10T00:00:00.000000Z", | |
"value": 1500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
}, | |
{ | |
"id": 7, | |
"invoice_id": 2, | |
"date": "2020-07-10T00:00:00.000000Z", | |
"value": 2500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"user_id": 15, | |
"month": 11, | |
"year": 2020, | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"id": 8, | |
"details": [ | |
{ | |
"name": "Corbin Wolff", | |
"person_id": 1, | |
"value": 1000, | |
"total_invoice": 10000, | |
"invoices": [ | |
{ | |
"id": 1, | |
"person_id": 1, | |
"invoice_number": "7461", | |
"type": "PAYABLE_ACCOUNT", | |
"value": 5000, | |
"dues_number": 4, | |
"date": "2020-01-29T00:00:00.000000Z", | |
"begin_date": "2020-03-29T00:00:00.000000Z", | |
"end_date": "2020-12-10", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"quotes": [ | |
{ | |
"id": 1, | |
"invoice_id": 1, | |
"date": "2020-03-10T00:00:00.000000Z", | |
"value": 500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
}, | |
{ | |
"id": 2, | |
"invoice_id": 1, | |
"date": "2020-05-10T00:00:00.000000Z", | |
"value": 1500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
}, | |
{ | |
"id": 3, | |
"invoice_id": 1, | |
"date": "2020-07-10T00:00:00.000000Z", | |
"value": 2500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
} | |
] | |
}, | |
{ | |
"id": 2, | |
"person_id": 1, | |
"invoice_number": "9777", | |
"type": "PAYABLE_ACCOUNT", | |
"value": 5000, | |
"dues_number": 4, | |
"date": "2020-01-29T00:00:00.000000Z", | |
"begin_date": "2020-03-29T00:00:00.000000Z", | |
"end_date": "2020-12-10", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"quotes": [ | |
{ | |
"id": 5, | |
"invoice_id": 2, | |
"date": "2020-03-10T00:00:00.000000Z", | |
"value": 500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
}, | |
{ | |
"id": 6, | |
"invoice_id": 2, | |
"date": "2020-05-10T00:00:00.000000Z", | |
"value": 1500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
}, | |
{ | |
"id": 7, | |
"invoice_id": 2, | |
"date": "2020-07-10T00:00:00.000000Z", | |
"value": 2500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"user_id": 15, | |
"month": 12, | |
"year": 2020, | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"id": 9, | |
"details": [ | |
{ | |
"name": "Corbin Wolff", | |
"person_id": 1, | |
"value": 0, | |
"total_invoice": 10000, | |
"invoices": [ | |
{ | |
"id": 1, | |
"person_id": 1, | |
"invoice_number": "7461", | |
"type": "PAYABLE_ACCOUNT", | |
"value": 5000, | |
"dues_number": 4, | |
"date": "2020-01-29T00:00:00.000000Z", | |
"begin_date": "2020-03-29T00:00:00.000000Z", | |
"end_date": "2020-12-10", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"quotes": [ | |
{ | |
"id": 1, | |
"invoice_id": 1, | |
"date": "2020-03-10T00:00:00.000000Z", | |
"value": 500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
}, | |
{ | |
"id": 2, | |
"invoice_id": 1, | |
"date": "2020-05-10T00:00:00.000000Z", | |
"value": 1500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
}, | |
{ | |
"id": 3, | |
"invoice_id": 1, | |
"date": "2020-07-10T00:00:00.000000Z", | |
"value": 2500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
}, | |
{ | |
"id": 4, | |
"invoice_id": 1, | |
"date": "2020-12-10T00:00:00.000000Z", | |
"value": 500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
} | |
] | |
}, | |
{ | |
"id": 2, | |
"person_id": 1, | |
"invoice_number": "9777", | |
"type": "PAYABLE_ACCOUNT", | |
"value": 5000, | |
"dues_number": 4, | |
"date": "2020-01-29T00:00:00.000000Z", | |
"begin_date": "2020-03-29T00:00:00.000000Z", | |
"end_date": "2020-12-10", | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z", | |
"quotes": [ | |
{ | |
"id": 5, | |
"invoice_id": 2, | |
"date": "2020-03-10T00:00:00.000000Z", | |
"value": 500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
}, | |
{ | |
"id": 6, | |
"invoice_id": 2, | |
"date": "2020-05-10T00:00:00.000000Z", | |
"value": 1500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
}, | |
{ | |
"id": 7, | |
"invoice_id": 2, | |
"date": "2020-07-10T00:00:00.000000Z", | |
"value": 2500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
}, | |
{ | |
"id": 8, | |
"invoice_id": 2, | |
"date": "2020-12-10T00:00:00.000000Z", | |
"value": 500, | |
"created_at": "2020-07-30T20:33:22.000000Z", | |
"updated_at": "2020-07-30T20:33:22.000000Z" | |
} | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"entities": [ | |
{ | |
"name": "Corbin Wolff", | |
"previous_value": 0, | |
"value": 0, | |
"diff": 0, | |
"diff_percentage": 0, | |
"quote_diff": { | |
"previous_value": 0, | |
"value": 10000, | |
"diff": 10000, | |
"diff_percentage": 100 | |
} | |
} | |
] | |
} |