List invoice payable specification rows
https://api.light.inc/v1/invoice-payables/{invoicePayableId}/specification-rows
Returns the specification rows of a self-billed invoice payable in print order. They print on the second page of its PDF and never post.
Authorization
Send one of these on every request. See Authentication for how to get credentials.
- API key
Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.
- Bearer token
Path parameters
-
invoicePayableIdstring · uuidrequired
Response
-
idstring · uuidUnique identifier of the specification row
-
positioninteger · int32Zero-based position of the row on the specification, in the order the rows were sent
-
sectionstringHeading of the group the row prints under, such as
Gross revenue per market. Rows with the same section in a run print together under one heading. -
labelstringText the row prints, such as
FCR-D Up -
codestringShort code printed next to the label, such as
fcr_d_up -
periodStartstring · dateFirst day of the period the row covers
-
periodEndstring · dateLast day of the period the row covers
-
quantitynumberQuantity the row covers
-
quantityUnitstringUnit of the quantity, such as
MWh -
unitPricenumberPrice per unit of the quantity
-
volumenumberA second measure printed in its own column, such as capacity in MW
-
volumeUnitstringUnit of the volume, such as
MW -
amountinteger · int64Amount in the smallest denomination of
amountCurrency, when it differs from the bill's currency -
amountCurrencystringCurrency of
amount -
documentAmountinteger · int64Amount in the smallest denomination of the bill's currency
-
documentAmountCurrencystringCurrency of
documentAmount. It follows the bill's currency when that changes -
percentagenumberPercentage the row prints, such as 8 for a share of 8%
-
rowKindstringDETAILfor an ordinary row,SUBTOTALorTOTALfor a row printed in bold. Defaults toDETAIL.⚠️ This enum is not exhaustive; new values may be added in the future.
One of
DETAILSUBTOTALTOTAL