Get offer by id
The offer row only, plus the offer editor's net and gross totals. Line items (including packages) are GET /offer/{offerId}/items; offer-level discounts are GET /offer/{offerId}/discounts.
Request
- Base URLhttps://api3.autarc.energy/v1
- AuthAPI key in header X-Api-Key
Path parameters
ID of the offer to fetch
Response
A single offer
Set on a supplementary offer (Nachtragsangebot) to the id of the main offer it supplements. Null on every other document.
The supplement's number within its main offer (1 for N1, 2 for N2, …). Null unless parent_offer_id is set.
When true, the offer total is the typed lump sum rather than the sum of line items.
Lump-sum amount in cents. Net or gross depending on lump_sum_vat_mode.
The offer's net total as the offer editor shows it, in the major currency unit (e.g. 1234.56 means 1,234.56 EUR) — not cents, and not a percentage of the line items. Computed by the same pricing engine as the app: it accounts for per-line VAT rates, quantity and document discounts, packages, optional items and lump sums, so do not recompute it from the line items. Returned by GET /offer and GET /offer/{offerId}; the PATCH /offer/{offerId} response does not include it.
The offer's gross total (net plus VAT) as the offer editor shows it, in the major currency unit — not cents, and not a percentage of the line items. Computed by the same pricing engine as net; for a lump-sum offer it is derived from the lump sum and its VAT mode. Returned by GET /offer and GET /offer/{offerId}; the PATCH /offer/{offerId} response does not include it.
Changes
No recorded changes to this operation across all 1 revision of this API.