An AP recurring bill provides the ability to schedule and automate the process of creating AP bills. It is commonly used for regularly-recurring, fixed-amount bills.


List Recurring Bills

readByQuery

<readByQuery>
    <object>APRECURBILL</object>
    <fields>*</fields>
    <query></query>
    <pagesize>100</pagesize>
</readByQuery>

Parameters

Name Required Type Description
object Required string Use APRECURBILL
fields Optional string Comma-separated list of fields on the object to list. For best performance and predictability, limit the number of fields. To return all fields, omit the element or provide * for the value.
query Required string SQL-like query based on fields on the object. Illegal XML characters must be properly encoded. The following SQL operators are supported: <, >, >=, <=, =, like, not like, in, not in. When doing NULL comparisons: IS NOT NULL, IS NULL. Multiple fields may be matched using the AND and OR operators. Joins are not supported. Single quotes in any operands must be escaped with a backslash - For example, the value Erik's Deli would become 'Erik\'s Deli'.
pagesize Optional integer Set a custom page size between 1 and 1000 items (Default: 100)

Get Recurring Bill

read

<read>
    <object>APRECURBILL</object>
    <keys>1</keys>
    <fields>*</fields>
</read>

Parameters

Name Required Type Description
object Required string Use APRECURBILL
keys Required string The recurring bill RECORDNO to get
fields Optional string Comma-separated list of fields on the object to get. For best performance and predictability, limit the number of fields. To return all fields, omit the element or provide * for the value.

Create Recurring Bill (Legacy)

create_recurringbill

<create_recurringbill>
    <vendorid>V1234</vendorid>
    <datecreated>
        <year>2017</year>
        <month>04</month>
        <day>10</day>
    </datecreated>
    <recordid>Recurring Rent</recordid>
    <docnumber>5678</docnumber>
    <description>Monthly rent</description>
    <termname>Net 10</termname>
    <startdate>
        <year>2017</year>
        <month>01</month>
        <day>01</day>
    </startdate>
    <ending>
        <occur>12</occur>
    </ending>
    <modenew>Months</modenew>
    <interval>12</interval>
    <eom>true</eom>
    <recurbillitems>
        <recurlineitem>
            <glaccountno>6500</glaccountno>
            <amount>1000.00</amount>
            <locationid>LAX-US</locationid>
            <departmentid>ADM</departmentid>
        </recurlineitem>
    </recurbillitems>
</create_recurringbill>

Parameters

Name Required Type Description
vendorid Required string Vendor ID
datecreated Required object Transaction date. Make this match Start date.
recordid Required string Bill sequence number
docnumber Optional string Reference number
description Optional string Description
contractid Optional string Contract ID
contractdesc Optional string Contract description
termname Required string Payment term
currency Optional string Transaction currency code
exchratedate Optional object Exchange rate date.
exchratetype Optional string Exchange rate type. Do not use if exchrate is set. (Leave blank to use Intacct Daily Rate)
exchrate Optional currency Exchange rate value. Do not use if exchangeratetype is set.
status Optional string Status. Use active or inactive. (Default: active)
supdocid Optional string Attachments ID
paytocontactname Optional string Pay to contact name
returntocontactname Optional string Return to contact name
startdate Required object Start date
ending Optional object Ending on. Leave element out to Never end.
modenew Optional string Repeat mode. Use None, Days, Weeks, Months, or Years. (Default: None)
interval Optional integer Repeat interval. Required when Repeat mode is not set to None.
eom Optional boolean End of month. Only used when Repeat mode is set to Months. Use either true or false. (Default: false)
recurbillitems Required recurlineitem[] Bill lines, must have at least 1.

datecreated

Name Required Type Description
year Required string Year yyyy
month Required string Month mm
day Required string Day dd

exchratedate

Name Required Type Description
year Required string Year yyyy
month Required string Month mm
day Required string Day dd

startdate

Name Required Type Description
year Required string Year yyyy
month Required string Month mm
day Required string Day dd

recurlineitem

Name Required Type Description
glaccountno Optional string GL account number. Required if not using accountlabel.
accountlabel Optional string AP account label. Required if not using glaccountno.
form1099 Optional boolean Form 1099. Use false for No, true for Yes. Vendor must be setup for 1099s.
amount Required currency Transaction amount
memo Optional string Memo
locationid Optional string Location ID
departmentid Optional string Department ID
projectid Optional string Project ID
customerid Optional string Customer ID
vendorid Optional string Vendor ID
employeeid Optional string Employee ID
itemid Optional string Item ID
classid Optional string Class ID
contractid Optional string Contract ID
warehouseid Optional string Warehouse ID
billable Optional boolean Billable. Use false for No, true for Yes. (Default: false)
customfields Optional customfield[] Custom fields

List Recurring Bill Lines

readByQuery

<readByQuery>
    <object>APRECURBILLENTRY</object>
    <fields>*</fields>
    <query></query>
    <pagesize>100</pagesize>
</readByQuery>

Parameters

Name Required Type Description
object Required string Use APRECURBILLENTRY
fields Optional string Comma-separated list of fields on the object to list. For best performance and predictability, limit the number of fields. To return all fields, omit the element or provide * for the value.
query Required string SQL-like query based on fields on the object. Illegal XML characters must be properly encoded. The following SQL operators are supported: <, >, >=, <=, =, like, not like, in, not in. When doing NULL comparisons: IS NOT NULL, IS NULL. Multiple fields may be matched using the AND and OR operators. Joins are not supported. Single quotes in any operands must be escaped with a backslash - For example, the value Erik's Deli would become 'Erik\'s Deli'.
pagesize Optional integer Set a custom page size between 1 and 1000 items (Default: 100)

Get Recurring Bill Line

read

<readByQuery>
    <object>APRECURBILLENTRY</object>
    <fields>*</fields>
    <query></query>
    <pagesize>100</pagesize>
</readByQuery>

Parameters

Name Required Type Description
object Required string Use APRECURBILLENTRY
keys Required string The object line RECORDNO to get
fields Optional string Comma-separated list of fields on the object to get. For best performance and predictability, limit the number of fields. To return all fields, omit the element or provide * for the value.

Provide feedback