|
1 | 1 | { |
2 | | - "id": 191, |
3 | | - "client": { |
4 | | - "id": 60, |
5 | | - "first_name": "Ana", |
6 | | - "last_name": "Oliver", |
7 | | - |
8 | | - "role_type": "Tutor", |
9 | | - "url": "https://secure.tutorcruncher.com/api/contractors/60/" |
10 | | - }, |
11 | | - "created": "2025-09-25T09:55:20.489121+01:00", |
| 2 | + "id": 182, |
| 3 | + "created": "2025-09-30T15:03:58.676657+01:00", |
12 | 4 | "creator": { |
13 | 5 | "id": 6, |
14 | 6 | "first_name": "Thomas", |
15 | 7 | "last_name": "Jackson", |
16 | 8 | |
17 | 9 | "role_type": "Administrator" |
18 | 10 | }, |
19 | | - "credit_amount": "135.00", |
20 | | - "description": "Payment Order raised", |
| 11 | + "credit_amount": "-567.50", |
| 12 | + "description": "Invoice raised", |
21 | 13 | "method": "auto", |
22 | 14 | "method_display": "System Generated", |
23 | 15 | "related_item": { |
24 | | - "id": 46, |
25 | | - "display_id": "PO-46", |
26 | | - "date_sent": "2025-09-25T09:55:20.442900+01:00", |
27 | | - "amount": "135.00", |
28 | | - "payee": { |
29 | | - "id": 60, |
30 | | - "first_name": "Ana", |
31 | | - "last_name": "Oliver", |
32 | | - |
33 | | - "role_type": "Tutor", |
34 | | - "url": "https://secure.tutorcruncher.com/api/contractors/60/" |
| 16 | + "id": 54, |
| 17 | + "display_id": "INV-54", |
| 18 | + "date_sent": "2025-09-30T15:03:58.623171+01:00", |
| 19 | + "gross": "567.50", |
| 20 | + "net": "472.92", |
| 21 | + "tax": "94.58", |
| 22 | + "client": { |
| 23 | + "id": 42, |
| 24 | + "first_name": "Nicole", |
| 25 | + "last_name": "Beggs", |
| 26 | + |
| 27 | + "role_type": "Client", |
| 28 | + "url": "https://secure.tutorcruncher.com/api/clients/42/" |
35 | 29 | }, |
36 | 30 | "status": "unpaid", |
37 | | - "url": "https://secure.tutorcruncher.com/api/payment-orders/46/" |
| 31 | + "url": "https://secure.tutorcruncher.com/api/invoices/54/" |
| 32 | + }, |
| 33 | + "role": { |
| 34 | + "id": 42, |
| 35 | + "first_name": "Nicole", |
| 36 | + "last_name": "Beggs", |
| 37 | + |
| 38 | + "role_type": "Client", |
| 39 | + "url": "https://secure.tutorcruncher.com/api/clients/42/" |
38 | 40 | }, |
39 | | - "update_type": "po_creation", |
40 | | - "update_type_display": "Payment Order Creation" |
| 41 | + "update_type": "invoice_creation", |
| 42 | + "update_type_display": "Invoice Creation" |
41 | 43 | } |
42 | | - |
|
0 commit comments