Label in Fledge: Handmatige factuurregels: Handmatige verkoopfactuurregels
| URL | https://odata-api.fledge.nl/v2-8/ManualInvoiceLines |
|---|---|
| Key | administration_idmanual_invoice_line_idmanual_sales_invoice_id |
| Administration | Rows belong to one administration: always filter on administration_id. |
| Operations | GET listGET onePOSTPATCHDELETE |
| Read licenses | FINANCIEEL |
| Write licenses | FINANCIEEL |
| 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/ManualInvoiceLines" \
--data-urlencode '$filter=administration_id eq 1' \
--data-urlencode '$select=manual_invoice_line_id,manual_sales_invoice_id,amount,description,cost_center_id' \
--data-urlencode '$top=50' \
-H "Authorization: Bearer $TOKEN"const url = new URL('https://odata-api.fledge.nl/v2-8/ManualInvoiceLines');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'manual_invoice_line_id,manual_sales_invoice_id,amount,description,cost_center_id');
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/ManualInvoiceLines" + "?" + string.Join("&",
"$filter=" + Uri.EscapeDataString("administration_id eq 1"),
"$select=" + Uri.EscapeDataString("manual_invoice_line_id,manual_sales_invoice_id,amount,description,cost_center_id"),
"$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/ManualInvoiceLines(administration_id=1,manual_invoice_line_id={manual_invoice_line_id},manual_sales_invoice_id={manual_sales_invoice_id})Fields
| Field | Type | Description |
|---|---|---|
administration_idkey | Int32 | Administratienummer |
manual_sales_invoice_idkey | Int32 | Volgnummer |
manual_invoice_line_idkey | Int32 | Factuurregelnummer |
amount | Decimal | Bedrag |
cost_center_id | Int32 | Kostenplaatsnummer |
general_ledger_id | String | Grootboekrekeningnummer |
description | String | Omschrijving |