Label in Fledge: Ink.fac. boekingsvrstel versch: Inkoopfactuur boekingsvoorstel verschillen
| URL | https://odata-api.fledge.nl/v2-8/PurchaseInvoiceProposalDifferences |
|---|---|
| Key | administration_idbooking_proposal_idfallback_account_id |
| Administration | Rows belong to one administration: always filter on administration_id. |
| Operations | GET listGET onePOSTPATCHDELETE |
| Read licenses | INKOOPFINANCIEEL |
| Write licenses | INKOOPFINANCIEEL |
| Scopes | FLEDGE_PORTAL |
Example requests
A page of rows, with only the fields you need. See Authentication for the token.
curl -G "https://odata-api.fledge.nl/v2-8/PurchaseInvoiceProposalDifferences" \
--data-urlencode '$filter=administration_id eq 1' \
--data-urlencode '$select=booking_proposal_id,fallback_account_id,datetime_created,amount_foreign,amount_local' \
--data-urlencode '$top=50' \
-H "Authorization: Bearer $TOKEN"const url = new URL('https://odata-api.fledge.nl/v2-8/PurchaseInvoiceProposalDifferences');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'booking_proposal_id,fallback_account_id,datetime_created,amount_foreign,amount_local');
url.searchParams.set('$top', '50');
const response = await fetch(url, { headers: { Authorization: `Bearer ${token}` } });
const { value } = await response.json();var url = "https://odata-api.fledge.nl/v2-8/PurchaseInvoiceProposalDifferences" + "?" + string.Join("&",
"$filter=" + Uri.EscapeDataString("administration_id eq 1"),
"$select=" + Uri.EscapeDataString("booking_proposal_id,fallback_account_id,datetime_created,amount_foreign,amount_local"),
"$top=" + Uri.EscapeDataString("50"));
http.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token);
var json = await http.GetStringAsync(url);One row by its key:
GET https://odata-api.fledge.nl/v2-8/PurchaseInvoiceProposalDifferences(administration_id=1,booking_proposal_id='{booking_proposal_id}',fallback_account_id={fallback_account_id})Fields
| Field | Type | Description |
|---|---|---|
administration_idkey | Int32 | Administratienummer |
booking_proposal_idkey | String | Boekingsvoorstelnummer |
fallback_account_idkey | Int32 | Uitwijkrekening |
datetime_created | DateTimeOffset | Aangemaakt: Datumtijd aanmaak |
amount_foreign | Decimal | Bedrag vv: Bedrag in vreemde valuta |
amount_local | Decimal | Bedrag |
datetime_modified | DateTimeOffset | Gewijzigd: Datumtijd wijzig |
status | Int32 | Status |
user_created | Int32 | User aanmaak |
user_modified | Int32 | User wijzig |
vat_rubric | String | Rubriek BTW omzet aangifte |