Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
api:api_invoices [2014/07/24 11:44] – external edit 127.0.0.1api:api_invoices [2023/09/21 20:31] (current) – [Parameters] Lauri Elevant
Line 14: Line 14:
  
 ^ Name ^  ^ Description ^ Notes ^ ^ Name ^  ^ Description ^ Notes ^
 +| ''byIssuedSince'' | Optional | ISO 8601 datetime. Only show invoices issued after this. | |
 +| ''byCollectedSince'' | Optional | ISO 8601 datetime. Only show invoices collected after this. | |
 | ''byApplicantIDs'' | Optional | List of [[api:api_applicants|applicant ID-s]] | [1] | | ''byApplicantIDs'' | Optional | List of [[api:api_applicants|applicant ID-s]] | [1] |
 | ''bySerieIDs'' | Optional | List of [[api:api_invoices_series|serie ID-s]] | [1] | | ''bySerieIDs'' | Optional | List of [[api:api_invoices_series|serie ID-s]] | [1] |
Line 37: Line 39:
         "issued": "2014-07-12T12:09:42+00:00",         "issued": "2014-07-12T12:09:42+00:00",
         "delivered": "2014-07-12T12:09:57+00:00",         "delivered": "2014-07-12T12:09:57+00:00",
 +        "deadline": "2019-09-17"
         "reminded": null,         "reminded": null,
         "collected": null,         "collected": null,
Line 45: Line 48:
                 "qty": "1",                 "qty": "1",
                 "unit": "-"                 "unit": "-"
 +            }
 +        ],
 +        "collections": [
 +            {
 +                "inserted": "2014-07-12T12:09:42+00:00",
 +                "collected": "2014-07-12",
 +                "amount": "50.55",
 +                "administrator": "/api/administrators/123"
             }             }
         ],         ],
Line 56: Line 67:
         "issued": "2014-07-17T10:54:19+00:00",         "issued": "2014-07-17T10:54:19+00:00",
         "delivered": "2014-07-17T10:54:19+00:00",         "delivered": "2014-07-17T10:54:19+00:00",
 +        "deadline": "2019-09-17"
         "reminded": null,         "reminded": null,
         "collected": null,         "collected": null,
Line 66: Line 78:
             }             }
         ],         ],
 +        "collections": [],
         "currency": "EUR",         "currency": "EUR",
         "instructions": "",         "instructions": "",