Skip to main content
Server path: /harvest-invoicing | Type: Application | PCID required: Yes

Tools

ToolDescription
harvest_invoicing_create_estimateCreate an estimate
harvest_invoicing_create_estimate_item_categoryCreate an estimate item category
harvest_invoicing_create_estimate_messageCreate an estimate message or change estimate status
harvest_invoicing_create_invoiceCreate an invoice
harvest_invoicing_create_invoice_item_categoryCreate an invoice item category
harvest_invoicing_create_invoice_messageCreate and send an invoice message
harvest_invoicing_create_invoice_paymentCreate an invoice payment
harvest_invoicing_delete_estimateDelete an estimate
harvest_invoicing_delete_estimate_item_categoryDelete an estimate item category
harvest_invoicing_delete_estimate_messageDelete an estimate message
harvest_invoicing_delete_invoiceDelete an invoice
harvest_invoicing_delete_invoice_item_categoryDelete an invoice item category
harvest_invoicing_delete_invoice_messageDelete an invoice message
harvest_invoicing_delete_invoice_paymentDelete an invoice payment
harvest_invoicing_list_estimate_item_categoriesList all estimate item categories
harvest_invoicing_list_estimatesList all estimates
harvest_invoicing_list_invoice_item_categoriesList all invoice item categories
harvest_invoicing_list_invoicesList all invoices
harvest_invoicing_list_messages_for_estimateList all messages for an estimate
harvest_invoicing_list_messages_for_invoiceList all messages for an invoice
harvest_invoicing_list_payments_for_invoiceList all payments for an invoice
harvest_invoicing_retrieve_estimateRetrieve an estimate
harvest_invoicing_retrieve_estimate_item_categoryRetrieve an estimate item category
harvest_invoicing_retrieve_invoiceRetrieve an invoice
harvest_invoicing_retrieve_invoice_item_categoryRetrieve an invoice item category
harvest_invoicing_retrieve_invoice_message_subject_and_body_for_specific_invoiceRetrieve invoice message subject and body for specific invoice
harvest_invoicing_update_estimateUpdate an estimate
harvest_invoicing_update_estimate_item_categoryUpdate an estimate item category
harvest_invoicing_update_invoiceUpdate an invoice
harvest_invoicing_update_invoice_item_categoryUpdate an invoice item category

harvest_invoicing_create_estimate

Create an estimate Parameters:
ParameterTypeRequiredDefaultDescription
client_idintegerYesThe ID of the client this estimate belongs to.
currencystringNoThe currency used by the estimate. If not provided, the client’s currency will be used. See a list of supported currencies
discountnumberNoThis percentage is subtracted from the subtotal. Example: use 10.0 for 10.0%.
issue_datestringNoDate the estimate was issued. Defaults to today’s date.
line_itemsobject[]NoArray of line item parameters
notesstringNoAny additional notes to include on the estimate.
numberstringNoIf no value is set, the number will be automatically generated.
purchase_orderstringNoThe purchase order number.
subjectstringNoThe estimate subject.
taxnumberNoThis percentage is applied to the subtotal, including line items and discounts. Example: use 10.0 for 10.0%.
tax2numberNoThis percentage is applied to the subtotal, including line items and discounts. Example: use 10.0 for 10.0%.

harvest_invoicing_create_estimate_item_category

Create an estimate item category Parameters:
ParameterTypeRequiredDefaultDescription
namestringYesThe name of the estimate item category.

harvest_invoicing_create_estimate_message

Create an estimate message or change estimate status Parameters:
ParameterTypeRequiredDefaultDescription
estimateIdstringYesEstimate Id
bodystringNoThe message body.
event_typestringNoIf provided, runs an event against the estimate. Options: “accept”, “decline”, “re-open”, or “send”.
recipientsobject[]NoArray of recipient parameters. See below for details.
send_me_a_copybooleanNoIf set to true, a copy of the message email will be sent to the current user. Defaults to false.
subjectstringNoThe message subject.

harvest_invoicing_create_invoice

Create an invoice Parameters:
ParameterTypeRequiredDefaultDescription
client_idintegerYesThe ID of the client this invoice belongs to.
currencystringNoThe currency used by the invoice. If not provided, the client’s currency will be used. See a list of supported currencies
discountnumberNoThis percentage is subtracted from the subtotal. Example: use 10.0 for 10.0%.
due_datestringNoDate the invoice is due. Defaults to the issue_date if no payment_term is specified. To set a custom due_date the payment_term must also be set to custom, otherwise the value supplied in the request for due_date will be ignored and the due_date will be calculated using the issue_date and the payment_term.
estimate_idintegerNoThe ID of the estimate associated with this invoice.
issue_datestringNoDate the invoice was issued. Defaults to today’s date.
line_itemsobject[]NoArray of line item parameters
line_items_importobjectNoAn line items import object
notesstringNoAny additional notes to include on the invoice.
numberstringNoIf no value is set, the number will be automatically generated.
payment_optionsstring[]NoThe payment options available to pay the invoice. Your account must be configured with the appropriate options under Settings > Integrations > Online payment to assign them. Options: [ach, credit_card, paypal]
payment_termstringNoThe timeframe in which the invoice should be paid. Defaults to custom. Options: upon receipt, net 15, net 30, net 45, net 60, or custom.
purchase_orderstringNoThe purchase order number.
retainer_idintegerNoThe ID of the retainer you want to add funds to with this invoice. Note: retainers cannot be fully used (created, drawn against, closed, etc.) via the API at this time. The only available action is to add funds.
subjectstringNoThe invoice subject.
taxnumberNoThis percentage is applied to the subtotal, including line items and discounts. Example: use 10.0 for 10.0%.
tax2numberNoThis percentage is applied to the subtotal, including line items and discounts. Example: use 10.0 for 10.0%.

harvest_invoicing_create_invoice_item_category

Create an invoice item category Parameters:
ParameterTypeRequiredDefaultDescription
namestringYesThe name of the invoice item category.

harvest_invoicing_create_invoice_message

Create and send an invoice message Parameters:
ParameterTypeRequiredDefaultDescription
invoiceIdstringYesInvoice Id
attach_pdfbooleanNoIf set to true, a PDF of the invoice will be attached to the message email. Defaults to false.
bodystringNoThe message body.
event_typestringNoOmit when intending to create and send a message. If omitted, the default value is null and the message will be sent. See other sections below for including this parameter with the following options: close, draft, re-open, or send (which marks a draft invoice as sent, it does not send the message).
include_link_to_client_invoicebooleanNoDEPRECATED A link to the client invoice URL will be automatically included in the message email if payment_options have been assigned to the invoice. Setting to true will be ignored. Setting to false will clear all payment_options on the invoice.
recipientsobject[]NoArray of recipient parameters. See below for more details.
send_me_a_copybooleanNoIf set to true, a copy of the message email will be sent to the current user. Defaults to false.
subjectstringNoThe message subject.
thank_youbooleanNoIf set to true, a thank you message email will be sent. Defaults to false.

harvest_invoicing_create_invoice_payment

Create an invoice payment Parameters:
ParameterTypeRequiredDefaultDescription
invoiceIdstringYesInvoice Id
amountnumberYesThe amount of the payment.
notesstringNoAny notes to be associated with the payment.
paid_atstringNoDate and time the payment was made. Pass either paid_at or paid_date, but not both.
paid_datestringNoDate the payment was made. Pass either paid_at or paid_date, but not both.
send_thank_youbooleanNoWhether or not to send a thank you email (if enabled for your account in Invoices > Configure > Messages). Only sends an email if the invoice will be fully paid after creating this payment. Defaults to true.

harvest_invoicing_delete_estimate

Delete an estimate Parameters:
ParameterTypeRequiredDefaultDescription
estimateIdstringYesEstimate Id

harvest_invoicing_delete_estimate_item_category

Delete an estimate item category Parameters:
ParameterTypeRequiredDefaultDescription
estimateItemCategoryIdstringYesEstimate Item Category Id

harvest_invoicing_delete_estimate_message

Delete an estimate message Parameters:
ParameterTypeRequiredDefaultDescription
estimateIdstringYesEstimate Id
messageIdstringYesMessage Id

harvest_invoicing_delete_invoice

Delete an invoice Parameters:
ParameterTypeRequiredDefaultDescription
invoiceIdstringYesInvoice Id

harvest_invoicing_delete_invoice_item_category

Delete an invoice item category Parameters:
ParameterTypeRequiredDefaultDescription
invoiceItemCategoryIdstringYesInvoice Item Category Id

harvest_invoicing_delete_invoice_message

Delete an invoice message Parameters:
ParameterTypeRequiredDefaultDescription
invoiceIdstringYesInvoice Id
messageIdstringYesMessage Id

harvest_invoicing_delete_invoice_payment

Delete an invoice payment Parameters:
ParameterTypeRequiredDefaultDescription
invoiceIdstringYesInvoice Id
paymentIdstringYesPayment Id

harvest_invoicing_list_estimate_item_categories

List all estimate item categories Parameters:
ParameterTypeRequiredDefaultDescription
updated_sincestringNoOnly return estimate item categories that have been updated since the given date and time.
pageintegerNoDEPRECATED The page number to use in pagination. For instance, if you make a list request and receive 2000 records, your subsequent call can include page=2 to retrieve the next page of the list. (Default: 1)
cursorstringNoPagination cursor
per_pageintegerNoThe number of records to return per page. Can range between 1 and 2000. (Default: 2000)

harvest_invoicing_list_estimates

List all estimates Parameters:
ParameterTypeRequiredDefaultDescription
client_idintegerNoOnly return estimates belonging to the client with the given ID.
updated_sincestringNoOnly return estimates that have been updated since the given date and time.
fromstringNoOnly return estimates with an issue_date on or after the given date.
tostringNoOnly return estimates with an issue_date on or before the given date.
statestringNoOnly return estimates with a state matching the value provided. Options: draft, sent, accepted, or declined.
pageintegerNoThe page number to use in pagination. For instance, if you make a list request and receive 2000 records, your subsequent call can include page=2 to retrieve the next page of the list. (Default: 1)
per_pageintegerNoThe number of records to return per page. Can range between 1 and 2000. (Default: 2000)

harvest_invoicing_list_invoice_item_categories

List all invoice item categories Parameters:
ParameterTypeRequiredDefaultDescription
updated_sincestringNoOnly return invoice item categories that have been updated since the given date and time.
pageintegerNoDEPRECATED The page number to use in pagination. For instance, if you make a list request and receive 2000 records, your subsequent call can include page=2 to retrieve the next page of the list. (Default: 1)
cursorstringNoPagination cursor
per_pageintegerNoThe number of records to return per page. Can range between 1 and 2000. (Default: 2000)

harvest_invoicing_list_invoices

List all invoices Parameters:
ParameterTypeRequiredDefaultDescription
client_idintegerNoOnly return invoices belonging to the client with the given ID.
project_idintegerNoOnly return invoices associated with the project with the given ID.
updated_sincestringNoOnly return invoices that have been updated since the given date and time.
fromstringNoOnly return invoices with an issue_date on or after the given date.
tostringNoOnly return invoices with an issue_date on or before the given date.
statestringNoOnly return invoices with a state matching the value provided. Options: draft, open, paid, or closed.
pageintegerNoThe page number to use in pagination. For instance, if you make a list request and receive 100 records, your subsequent call can include page=2 to retrieve the next page of the list. (Default: 1)
per_pageintegerNoThe number of records to return per page. Can range between 1 and 2000. (Default: 100)

harvest_invoicing_list_messages_for_estimate

List all messages for an estimate Parameters:
ParameterTypeRequiredDefaultDescription
estimateIdstringYesEstimate Id
updated_sincestringNoOnly return estimate messages that have been updated since the given date and time.
pageintegerNoDEPRECATED The page number to use in pagination. For instance, if you make a list request and receive 2000 records, your subsequent call can include page=2 to retrieve the next page of the list. (Default: 1)
cursorstringNoPagination cursor
per_pageintegerNoThe number of records to return per page. Can range between 1 and 2000. (Default: 2000)

harvest_invoicing_list_messages_for_invoice

List all messages for an invoice Parameters:
ParameterTypeRequiredDefaultDescription
invoiceIdstringYesInvoice Id
updated_sincestringNoOnly return invoice messages that have been updated since the given date and time.
pageintegerNoDEPRECATED The page number to use in pagination. For instance, if you make a list request and receive 2000 records, your subsequent call can include page=2 to retrieve the next page of the list. (Default: 1)
cursorstringNoPagination cursor
per_pageintegerNoThe number of records to return per page. Can range between 1 and 2000. (Default: 2000)

harvest_invoicing_list_payments_for_invoice

List all payments for an invoice Parameters:
ParameterTypeRequiredDefaultDescription
invoiceIdstringYesInvoice Id
updated_sincestringNoOnly return invoice payments that have been updated since the given date and time.
pageintegerNoDEPRECATED The page number to use in pagination. For instance, if you make a list request and receive 2000 records, your subsequent call can include page=2 to retrieve the next page of the list. (Default: 1)
cursorstringNoPagination cursor
per_pageintegerNoThe number of records to return per page. Can range between 1 and 2000. (Default: 2000)

harvest_invoicing_retrieve_estimate

Retrieve an estimate Parameters:
ParameterTypeRequiredDefaultDescription
estimateIdstringYesEstimate Id

harvest_invoicing_retrieve_estimate_item_category

Retrieve an estimate item category Parameters:
ParameterTypeRequiredDefaultDescription
estimateItemCategoryIdstringYesEstimate Item Category Id

harvest_invoicing_retrieve_invoice

Retrieve an invoice Parameters:
ParameterTypeRequiredDefaultDescription
invoiceIdstringYesInvoice Id

harvest_invoicing_retrieve_invoice_item_category

Retrieve an invoice item category Parameters:
ParameterTypeRequiredDefaultDescription
invoiceItemCategoryIdstringYesInvoice Item Category Id

harvest_invoicing_retrieve_invoice_message_subject_and_body_for_specific_invoice

Retrieve invoice message subject and body for specific invoice Parameters:
ParameterTypeRequiredDefaultDescription
invoiceIdstringYesInvoice Id
thank_youbooleanNoSet to true to return the subject and body of a thank-you invoice message for the specific invoice.
reminderbooleanNoSet to true to return the subject and body of a reminder invoice message for the specific invoice.

harvest_invoicing_update_estimate

Update an estimate Parameters:
ParameterTypeRequiredDefaultDescription
estimateIdstringYesEstimate Id
client_idintegerNoThe ID of the client this estimate belongs to.
currencystringNoThe currency used by the estimate. If not provided, the client’s currency will be used. See a list of supported currencies
discountnumberNoThis percentage is subtracted from the subtotal. Example: use 10.0 for 10.0%.
issue_datestringNoDate the estimate was issued.
line_itemsobject[]NoArray of line item parameters
notesstringNoAny additional notes to include on the estimate.
numberstringNoIf no value is set, the number will be automatically generated.
purchase_orderstringNoThe purchase order number.
subjectstringNoThe estimate subject.
taxnumberNoThis percentage is applied to the subtotal, including line items and discounts. Example: use 10.0 for 10.0%.
tax2numberNoThis percentage is applied to the subtotal, including line items and discounts. Example: use 10.0 for 10.0%.

harvest_invoicing_update_estimate_item_category

Update an estimate item category Parameters:
ParameterTypeRequiredDefaultDescription
estimateItemCategoryIdstringYesEstimate Item Category Id
namestringNoThe name of the estimate item category.

harvest_invoicing_update_invoice

Update an invoice Parameters:
ParameterTypeRequiredDefaultDescription
invoiceIdstringYesInvoice Id
client_idintegerNoThe ID of the client this invoice belongs to.
currencystringNoThe currency used by the invoice. If not provided, the client’s currency will be used. See a list of supported currencies
discountnumberNoThis percentage is subtracted from the subtotal. Example: use 10.0 for 10.0%.
due_datestringNoDate the invoice is due.
estimate_idintegerNoThe ID of the estimate associated with this invoice.
issue_datestringNoDate the invoice was issued.
line_itemsobject[]NoArray of line item parameters
notesstringNoAny additional notes to include on the invoice.
numberstringNoIf no value is set, the number will be automatically generated.
payment_optionsstring[]NoThe payment options available to pay the invoice. Your account must be configured with the appropriate options under Settings > Integrations > Online payment to assign them. Options: [ach, credit_card, paypal]
payment_termstringNoThe timeframe in which the invoice should be paid. Options: upon receipt, net 15, net 30, net 45, or net 60.
purchase_orderstringNoThe purchase order number.
retainer_idintegerNoThe ID of the retainer associated with this invoice.
subjectstringNoThe invoice subject.
taxnumberNoThis percentage is applied to the subtotal, including line items and discounts. Example: use 10.0 for 10.0%.
tax2numberNoThis percentage is applied to the subtotal, including line items and discounts. Example: use 10.0 for 10.0%.

harvest_invoicing_update_invoice_item_category

Update an invoice item category Parameters:
ParameterTypeRequiredDefaultDescription
invoiceItemCategoryIdstringYesInvoice Item Category Id
namestringNoThe name of the invoice item category.