<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tf/onlinemanual/000476" xml:lang="en">
   <Header>
      <Title>To use payment calendars</Title>
      <Keyword type="header" order="d1e1962679">
         <Level1>payment calendar</Level1>
      </Keyword>
   </Header>
   <GeneralSection>
      <Paragraph>You can optionally use payment calendars to determine the due
		dates for sales invoices and purchase invoices. On the payment calendar, you
		can indicate bank holidays and other periods during which your company or an
		pay-by business partner cannot make payments.</Paragraph>
      <Paragraph>If you use a payment calendar and the calculated due day is a
		day marked as <GUIRef href="/baanerp/tc/domains/ccp.dfca#non.avail" role="option">Non-Available Day</GUIRef> on the payment calendar, ERP Enterprise changes the due
		date to the previous working day or, in some situations, to the next working
		day.</Paragraph>
      <Note>
         <SectionTitle>Note</SectionTitle>
         <Paragraph>To determine whether a payment calendar is used, ERP Enterprise checks whether the <GUIRef href="/baanerp/tf/acr/tfacr0100s000#tfacr000.atyp" role="manual">Availability Type</GUIRef> field in the <GUIRef href="/baanerp/tf/acr/tfacr0100s000" role="session">ACR Parameters (tfacr0100s000)</GUIRef> session or the <GUIRef href="/baanerp/tf/acp/tfacp0100m000" role="session">ACP Parameters (tfacp0100m000)</GUIRef> session is filled.</Paragraph>
      </Note>
   </GeneralSection>
   <GeneralSection>
      <SectionTitle>To determine the due date on the payment
		calendar</SectionTitle>
      <List>
         <ListIntro>After calculating the due date as described in <Link href="/baanerp/tf/onlinemanual/000105" role="manual">Due date calculation</Link>, ERP Enterprise uses the following algorithm to determine the payment
		  day:</ListIntro>
         <ListItem>If no payment calendar is used, the actual due date is the
		  calculated due date.</ListItem>
         <ListItem>If a payment calendar is used, check whether the calculated due
		  date is available for payments. If this is the case, the actual due date is the
		  calculated due date.</ListItem>
         <ListItem>If a the calculated due date is not available for payments,
		  find the previous day on the calendar which is available for payments. If the
		  number of days between the calculated due date and the day found on the
		  calendar is within the tolerance for due date of the payment terms, the actual
		  due date is the day found on the calendar.</ListItem>
         <ListItem>If the number of days between the calculated due date and the
		  day found on the calendar exceeds the tolerance for due date of the payment
		  terms, the actual due date is the first day on the calendar which follows the
		  calculated due date and is available for payment.</ListItem>
      </List>
   </GeneralSection>
   <RelatedTopics>
      <SectionTitle>Related topics</SectionTitle>
      <RelTopic>
         <Link href="/baanerp/tf/onlinemanual/000489" role="manual">To set up payment calendars</Link>
      </RelTopic>
      <RelTopic>
         <Link href="/baanerp/tf/onlinemanual/000105" role="manual">Due date calculation</Link>
      </RelTopic>
   </RelatedTopics>
</ManualTopic>