<?xml version="1.0" encoding="utf-8"?>
<OptionList ID="/baanerp/td/domains/sls.ivls" xml:lang="en">
   <Header>
      <Title>Invoice Line Status</Title>
   </Header>
   <List>
      <ListItemHead>Free</ListItemHead>
      <ListItem ID="free">
         <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="option">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="option">Free</GUIRef> invoice lines.</Paragraph>
      </ListItem>
      <ListItemHead>Approved</ListItemHead>
      <ListItem ID="approved">
         <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, LN:</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>
      </ListItem>
      <ListItemHead>Released</ListItemHead>
      <ListItem ID="released">
         <Paragraph>The invoice line is released to <GUIRef href="/baanerp/ci" role="package">Invoicing</GUIRef>.</Paragraph>
         <Paragraph>When an invoice line is released to <GUIRef href="/baanerp/ci" role="package">Invoicing</GUIRef>, LN adjusts the <Link href="/baanerp/td/glossary/glossary#OpenBalanc_td" role="glossary">open balance</Link>.</Paragraph>
      </ListItem>
      <ListItemHead>Invoiced</ListItemHead>
      <ListItem ID="invoiced">
         <Paragraph>The invoice line is posted in <GUIRef href="/baanerp/ci" role="package">Invoicing</GUIRef>. As a
		result, LN updates
		invoice-related fields.</Paragraph>
      </ListItem>
      <ListItemHead>Processed</ListItemHead>
      <ListItem ID="processed">
         <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="option">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, LN:</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="option">Processed</GUIRef> invoice lines in the <GUIRef href="/baanerp/td/sls/tdsls4224m000" role="session">Delete Sales Orders (tdsls4224m000)</GUIRef> session.</Paragraph>
      </ListItem>
   </List>
</OptionList>