<schemalist gettext-domain="gnucash">
  <schema id="org.gnucash.GnuCash.dialogs.business" path="/org/gnucash/GnuCash/dialogs/business/">
    <child name="customer-search" schema="org.gnucash.GnuCash.dialogs.business.customer-search"/>
    <child name="employee-search" schema="org.gnucash.GnuCash.dialogs.business.employee-search"/>
    <child name="invoice-search" schema="org.gnucash.GnuCash.dialogs.business.invoice-search"/>
    <child name="job-search" schema="org.gnucash.GnuCash.dialogs.business.job-search"/>
    <child name="order-search" schema="org.gnucash.GnuCash.dialogs.business.order-search"/>
    <child name="vendor-search" schema="org.gnucash.GnuCash.dialogs.business.vendor-search"/>
    <child name="invoice" schema="org.gnucash.GnuCash.dialogs.business.invoice"/>
    <child name="bill" schema="org.gnucash.GnuCash.dialogs.business.bill"/>
    <child name="tax-tables" schema="org.gnucash.GnuCash.dialogs.business.tax-tables"/>
  </schema>

  <schema id="org.gnucash.GnuCash.dialogs.business.customer-search" path="/org/gnucash/GnuCash/dialogs/business/customer-search/">
    <key name="last-geometry" type="(iiii)">
      <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 name="search-for-active-only" type="b">
      <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 id="org.gnucash.GnuCash.dialogs.business.employee-search" path="/org/gnucash/GnuCash/dialogs/business/employee-search/">
    <key name="last-geometry" type="(iiii)">
      <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 name="search-for-active-only" type="b">
      <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 id="org.gnucash.GnuCash.dialogs.business.invoice-search" path="/org/gnucash/GnuCash/dialogs/business/invoice-search/">
    <key name="last-geometry" type="(iiii)">
      <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 name="search-for-active-only" type="b">
      <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 id="org.gnucash.GnuCash.dialogs.business.job-search" path="/org/gnucash/GnuCash/dialogs/business/job-search/">
    <key name="last-geometry" type="(iiii)">
      <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 name="search-for-active-only" type="b">
      <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 id="org.gnucash.GnuCash.dialogs.business.order-search" path="/org/gnucash/GnuCash/dialogs/business/order-search/">
    <key name="last-geometry" type="(iiii)">
      <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 name="search-for-active-only" type="b">
      <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 id="org.gnucash.GnuCash.dialogs.business.vendor-search" path="/org/gnucash/GnuCash/dialogs/business/vendor-search/">
    <key name="last-geometry" type="(iiii)">
      <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 name="search-for-active-only" type="b">
      <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 id="org.gnucash.GnuCash.dialogs.business.invoice" path="/org/gnucash/GnuCash/dialogs/business/invoice/">
    <key name="tax-included" type="b">
      <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 name="auto-pay" type="b">
      <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 name="notify-when-due" type="b">
      <default>true</default>
      <summary>Show invoices due reminder at startup</summary>
      <description>If active, at startup GnuCash will check to see whether any invoices 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 invoices.</description>
    </key>
    <key name="days-in-advance" type="d">
      <default>7.0</default>
      <summary>Show invoices due within this many days</summary>
      <description>This field defines the number of days in advance that GnuCash will check for due invoices. Its value is only used if the "Notify when due" setting is active.</description>
    </key>
    <key name="enable-toolbuttons" type="b">
      <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 name="invoice-printreport" type="i">
      <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 name="use-new-window" type="b">
      <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 name="accumulate-splits" type="b">
      <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 id="org.gnucash.GnuCash.dialogs.business.bill" path="/org/gnucash/GnuCash/dialogs/business/bill/">
    <key name="tax-included" type="b">
      <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 name="auto-pay" type="b">
      <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 name="notify-when-due" type="b">
      <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 name="days-in-advance" type="d">
      <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 id="org.gnucash.GnuCash.dialogs.business.tax-tables" path="/org/gnucash/GnuCash/dialogs/business/tax-tables/">
    <key name="last-geometry" type="(iiii)">
      <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>
