<?xml version="1.0" encoding="utf-8"?>
<OptionList ID="/baanerp/td/domains/sls.ivls" xml:lang="en">
	<Header>
		<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Invoice Line Status</Title>
	</Header>
	<ListValue ID="free"><Value>Free</Value>
		<Paragraph>The invoice line is just created and can be updated. If an invoice line has the <GUIRef href="/baanerp/td/domains/sls.ivls#free" role="enum">Free</GUIRef> status, the invoice quantity is always equal to the delivered quantity.</Paragraph>
		<Paragraph>You can delete <GUIRef href="/baanerp/td/domains/sls.ivls#free" role="enum">Free</GUIRef> invoice lines.</Paragraph>
	</ListValue>
	<ListValue ID="approved"><Value>Approved</Value>
		<Paragraph>The invoice line is approved. After approval, you can no longer update the invoice line.</Paragraph>
		<List><ListIntro>When an invoice line is approved, SSA ERP:</ListIntro>
			<ListItem>Creates financial transactions.</ListItem>
			<ListItem>Updates the cost of goods sold.</ListItem>
			<ListItem>Creates a sales return order, if applicable.</ListItem>
			<ListItem>Creates a new sales invoice line, if applicable.</ListItem>
			<ListItem>Creates history for sales order lines.</ListItem>
		</List>
	</ListValue>
	<ListValue ID="released"><Value>Released</Value>
		<Paragraph>The invoice line is released to <GUIRef href="/baanerp/ci" role="package">Central Invoicing</GUIRef>.</Paragraph>
		<Paragraph>When an invoice line is released to <GUIRef href="/baanerp/ci" role="package">Central Invoicing</GUIRef>, SSA ERP adjusts the <Link href="/baanerp/td/glossary/glossary#OpenBalanc.td" role="glossary">open balance</Link>.</Paragraph>
	</ListValue>
	<ListValue ID="invoiced"><Value>Invoiced</Value>
		<Paragraph>The invoice line is posted in <GUIRef href="/baanerp/ci" role="package">Central Invoicing</GUIRef>. As a result, SSA ERP updates invoice-related fields.</Paragraph>
	</ListValue>
	<ListValue ID="processed"><Value>Processed</Value>
		<Paragraph>The invoice line is processed as a result of processing the delivered sales order in the <GUIRef href="/baanerp/td/sls/tdsls4223m000" role="session">Process Delivered Sales Orders (tdsls4223m000)</GUIRef> session.</Paragraph>
		<Paragraph>Processing a delivered sales order can only be performed if the complete delivered quantity minus the rejected quantity matches the invoice quantity and is invoiced completely. All invoice lines for a sales order must have the <GUIRef href="/baanerp/td/domains/sls.ivls#invoiced" role="enum">Invoiced</GUIRef> status and the invoice quantity plus the rejected quantity must be equal to the delivered quantity.</Paragraph>
		<List><ListIntro>When an invoice line is processed, SSA ERP:</ListIntro>
			<ListItem>Inserts a turnover record in the sales order line history.</ListItem>
			<ListItem>Updates contract data.</ListItem>
		</List>
		<Paragraph>You can delete <GUIRef href="/baanerp/td/domains/sls.ivls#processed" role="enum">Processed</GUIRef> invoice lines in the <GUIRef href="/baanerp/td/sls/tdsls4224m000" role="session">Delete Sales Orders (tdsls4224m000)</GUIRef> session.</Paragraph>
	</ListValue>
</OptionList>
