API Docs

Rest Invoice Line

Overview

An invoice line.

Data Dictionary

Click here to download rest_invoice_line.xsd

invoice_line

Description: Invoice line Object.

FieldTypeDescription
idstring
Unique identifier of the invoice line. Output parameter. Should be used in subsequent queries regarding the line.
typestring with attr.
The type of invoice line. Possible codes are listed in 'InvoiceLinesTypes' code table. Default is 'Regular'.

The valid values for this parameter are controlled by the code-table: InvoiceLinesTypes. These are the currently defined values for your institution:
CodeDescription
numberstring
The invoice line number. Optional. If not supplied in POST action, Alma will generate it. Cannot be updated by the PUT action.
statusstring with attr.
The invoice line status. Output parameter.
Possible codes are listed in 'InvoiceLineStatus' code table.

The valid values for this parameter are controlled by the code-table: InvoiceLineStatus. These are the currently defined values for your institution:
CodeDescription
po_linestring
The number of the PO line which is connected to the invoice line. Optional.
pricedecimal
The price of the invoice line. Default is the PO line price.
price_notestringThe price note of the invoice line.
total_pricedecimal
The total price of the specific invoice line. Output parameter.
quantityint
The quantity for the invoice line. Default is the PO line quantity.
vat_notestring
VAT related note. Relevant only if VAT is defined at the invoice level.
check_subscription_date_overlapboolean
Indication whether Alma should check if the subscription date overlaps with those of any other lines. Relevant only when a continuous PO line is selected. Default is true.
fully_invoicedboolean
Indication whether the PO line has been fully invoiced. This creates a disencumbrance transaction for any encumbered amounts. Relevant only when a one-time PO line is selected. Default is false.
subscription_from_datedate
The date from which the invoice line is covered. Relevant only when a continuous PO line is selected. Mandatory if check_subscription_date_overlap is true.
subscription_to_datedate
The date to which the invoice line is covered. Relevant only when a continuous PO line is selected. Mandatory if check_subscription_date_overlap is true.
additional_infostring
A note. Relevant only when a continuous PO line is selected. Mandatory if the Subscription from date and Subscription to date fields are empty.
release_remaining_encumbranceboolean
Indication whether Alma should create a disencumbrance transaction to release encumbrance amounts that remain after paying an invoice. Relevant only when a continuous PO line is selected. Relevant only when the total invoice line price is lower than the PO line price. Default is false.
reporting_codestring with attr.
The main Reporting Codes. Possible values are listed in 'HFundsTransactionItem.reportingCode' code table.

The valid values for this parameter are controlled by the code-table: HFundsTransactionItem.reportingCode. These are the currently defined values for your institution:
CodeDescription
secondary_reporting_codestring with attr.
Secondary reporting code. Possible values are listed in 'SecondReportingCode' code table.

The valid values for this parameter are controlled by the code-table: SecondReportingCode. These are the currently defined values for your institution:
CodeDescription
tertiary_reporting_codestring with attr.
Tertiary reporting code. Possible values are listed in 'ThirdReprotingCode' code table.

The valid values for this parameter are controlled by the code-table: ThirdReprotingCode. These are the currently defined values for your institution:
CodeDescription
notestringFree text note.
invoice_line_vatinvoice_line_vat
VAT charge that is included in the invoice line. Relevant only if the invoice is defined as 'vat_per_invoice_line'.
fund_distributionsfund_distributions
The Fund Distributions list. Mandatory for processing the invoice line. see Get funds API.

 

fund_distributions

Description:
The Fund Distributions list. Mandatory for processing the invoice line. Get funds API.

FieldTypeDescription
fund_distributionfund_distributionSpecific Fund Distributions.

 

fund_distribution

Description: Specific Fund Distribution.

FieldTypeDescription
fund_codestring with attr. The fund code.
percentdecimal
Percentage which is to be paid by the fund. In POST and PUT actions, percentage or vat_amount should be supplied, but not both.
amountdecimal
The amount which is to be paid by the fund. In POST and PUT actions, percentage or vat_amount should be supplied, but not both.

 

invoice_line_vat

Description:
VAT charge that is included in the invoice line. Relevant only if the invoice is defined as 'vat_per_invoice_line'.

FieldTypeDescription
vat_codestring with attr.
VAT code to assign to the invoice. If supplied, percentage and vat_amount will be defined accordingly. Possible values are according to the VATCodes_MT mapping table.
percentagedecimal
VAT Percentage of the invoice line price. In POST and PUT actions, percentage or vat_amount should be supplied, but not both. If vat_code is defined, percentage and vat_amount should be left empty in these actions.
vat_amountdecimal
Amount of VAT to be paid on the invoice line. In POST and PUT actions, percentage or vat_amount should be supplied, but not both. If vat_code is defined, percentage and vat_amount should be left empty in these actions.

 

Samples

XML
JSON
__