<?xml version="1.0" encoding="UTF-8"?>
<schemalist gettext-domain="gnucash">
  <schema path="/org/gnucash/dialogs/business/" id="org.gnucash.dialogs.business">
    <child schema="org.gnucash.dialogs.business.customer-search" name="customer-search"/>
    <child schema="org.gnucash.dialogs.business.employee-search" name="employee-search"/>
    <child schema="org.gnucash.dialogs.business.invoice-search" name="invoice-search"/>
    <child schema="org.gnucash.dialogs.business.job-search" name="job-search"/>
    <child schema="org.gnucash.dialogs.business.order-search" name="order-search"/>
    <child schema="org.gnucash.dialogs.business.vendor-search" name="vendor-search"/>
    <child schema="org.gnucash.dialogs.business.invoice" name="invoice"/>
    <child schema="org.gnucash.dialogs.business.bill" name="bill"/>
    <child schema="org.gnucash.dialogs.business.tax-tables" name="tax-tables"/>
  </schema>

  <schema path="/org/gnucash/dialogs/business/customer-search/" id="org.gnucash.dialogs.business.customer-search">
    <key type="(iiii)" name="last-geometry">
      <default>(-1,-1,-1,-1)</default>
      <summary>Last window position and size</summary>
      <description>This setting describes the size and position of the window when it was last closed.
        The numbers are the X and Y coordinates of the top left corner of the window
        followed by the width and height of the window.</description>
    </key>
    <key type="b" name="search-for-active-only">
      <default>false</default>
      <summary>Search only in active items</summary>
      <description>If active, only the 'active' items in the current class will be searched. Otherwise all items in the current class will be searched.</description>
    </key>
  </schema>

  <schema path="/org/gnucash/dialogs/business/employee-search/" id="org.gnucash.dialogs.business.employee-search">
    <key type="(iiii)" name="last-geometry">
      <default>(-1,-1,-1,-1)</default>
      <summary>Last window position and size</summary>
      <description>This setting describes the size and position of the window when it was last closed.
        The numbers are the X and Y coordinates of the top left corner of the window
        followed by the width and height of the window.</description>
    </key>
    <key type="b" name="search-for-active-only">
      <default>false</default>
      <summary>Search only in active items</summary>
      <description>If active, only the 'active' items in the current class will be searched. Otherwise all items in the current class will be searched.</description>
    </key>
  </schema>

  <schema path="/org/gnucash/dialogs/business/invoice-search/" id="org.gnucash.dialogs.business.invoice-search">
    <key type="(iiii)" name="last-geometry">
      <default>(-1,-1,-1,-1)</default>
      <summary>Last window position and size</summary>
      <description>This setting describes the size and position of the window when it was last closed.
        The numbers are the X and Y coordinates of the top left corner of the window
        followed by the width and height of the window.</description>
    </key>
    <key type="b" name="search-for-active-only">
      <default>false</default>
      <summary>Search only in active items</summary>
      <description>If active, only the 'active' items in the current class will be searched. Otherwise all items in the current class will be searched.</description>
    </key>
  </schema>

  <schema path="/org/gnucash/dialogs/business/job-search/" id="org.gnucash.dialogs.business.job-search">
    <key type="(iiii)" name="last-geometry">
      <default>(-1,-1,-1,-1)</default>
      <summary>Last window position and size</summary>
      <description>This setting describes the size and position of the window when it was last closed.
        The numbers are the X and Y coordinates of the top left corner of the window
        followed by the width and height of the window.</description>
    </key>
    <key type="b" name="search-for-active-only">
      <default>false</default>
      <summary>Search only in active items</summary>
      <description>If active, only the 'active' items in the current class will be searched. Otherwise all items in the current class will be searched.</description>
    </key>
  </schema>

  <schema path="/org/gnucash/dialogs/business/order-search/" id="org.gnucash.dialogs.business.order-search">
    <key type="(iiii)" name="last-geometry">
      <default>(-1,-1,-1,-1)</default>
      <summary>Last window position and size</summary>
      <description>This setting describes the size and position of the window when it was last closed.
        The numbers are the X and Y coordinates of the top left corner of the window
        followed by the width and height of the window.</description>
    </key>
    <key type="b" name="search-for-active-only">
      <default>false</default>
      <summary>Search only in active items</summary>
      <description>If active, only the 'active' items in the current class will be searched. Otherwise all items in the current class will be searched.</description>
    </key>
  </schema>

  <schema path="/org/gnucash/dialogs/business/vendor-search/" id="org.gnucash.dialogs.business.vendor-search">
    <key type="(iiii)" name="last-geometry">
      <default>(-1,-1,-1,-1)</default>
      <summary>Last window position and size</summary>
      <description>This setting describes the size and position of the window when it was last closed.
        The numbers are the X and Y coordinates of the top left corner of the window
        followed by the width and height of the window.</description>
    </key>
    <key type="b" name="search-for-active-only">
      <default>false</default>
      <summary>Search only in active items</summary>
      <description>If active, only the 'active' items in the current class will be searched. Otherwise all items in the current class will be searched.</description>
    </key>
  </schema>

  <schema path="/org/gnucash/dialogs/business/invoice/" id="org.gnucash.dialogs.business.invoice">
    <key type="b" name="tax-included">
      <default>true</default>
      <summary>Is tax included in this type of business entry?</summary>
      <description>If set to active then tax is included by default in entries of this type. This setting is inherited by new customers and vendors.</description>
    </key>
    <key type="b" name="auto-pay">
      <default>false</default>
      <summary>Auto pay when posting.</summary>
      <description>At post time, automatically attempt to pay customer documents with outstanding pre-payments and counter documents. The pre-payments and documents obviously have to be against the same customer. Counter documents are documents with opposite sign. For example for an invoice, customer credit notes and negative invoices are considered counter documents.</description>
    </key>
    <key type="b" name="enable-toolbuttons">
      <default>false</default>
      <summary>Enable extra toolbar buttons for business</summary>
      <description>If active, extra toolbar buttons for common business functions are shown as well. Otherwise they are not shown.</description>
    </key>
    <key type="i" name="invoice-printreport">
      <default>0</default>
      <summary>The invoice report to be used for printing.</summary>
      <description>The name of the report to be used for invoice printing.</description>
    </key>
    <key type="b" name="use-new-window">
      <default>false</default>
      <summary>Open new invoice in new window</summary>
      <description>If active, each new invoice will be opened in a new window. Otherwise a new invoice will be opened as a tab in the main window.</description>
    </key>
    <key type="b" name="accumulate-splits">
      <default>true</default>
      <summary>Accumulate multiple splits into one</summary>
      <description>If this field is active then multiple entries in an invoice that transfer to the same account will be accumulated into a single split. This field can be overridden per invoice in the Posting dialog.</description>
    </key>
  </schema>
  <schema path="/org/gnucash/dialogs/business/bill/" id="org.gnucash.dialogs.business.bill">
    <key type="b" name="tax-included">
      <default>true</default>
      <summary>Is tax included in this type of business entry?</summary>
      <description>If set to active then tax is included by default in entries of this type. This setting is inherited by new customers and vendors.</description>
    </key>
    <key type="b" name="auto-pay">
      <default>false</default>
      <summary>Auto pay when posting.</summary>
      <description>At post time, automatically attempt to pay vendor documents with outstanding pre-payments and counter documents. The pre-payments and documents obviously have to be against the same vendor. Counter documents are documents with opposite sign. For example for a bill, vendor credit notes and negative bills are considered counter documents.</description>
    </key>
    <key type="b" name="notify-when-due">
      <default>true</default>
      <summary>Show bills due reminder at startup</summary>
      <description>If active, at startup GnuCash will check to see whether any bills will become due soon. If so, it will present the user with a reminder dialog. The definition of "soon" is controlled by the "Days in Advance" setting. Otherwise GnuCash does not check for due bills.</description>
    </key>
    <key type="d" name="days-in-advance">
      <default>7.0</default>
      <summary>Show bills due within this many days</summary>
      <description>This field defines the number of days in advance that GnuCash will check for due bills. Its value is only used if the "Notify when due" setting is active.</description>
    </key>
  </schema>

  <schema path="/org/gnucash/dialogs/business/tax-tables/" id="org.gnucash.dialogs.business.tax-tables">
    <key type="(iiii)" name="last-geometry">
      <default>(-1,-1,-1,-1)</default>
      <summary>Last window position and size</summary>
      <description>This setting describes the size and position of the window when it was last closed.
        The numbers are the X and Y coordinates of the top left corner of the window
        followed by the width and height of the window.</description>
    </key>
  </schema>
</schemalist>