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

Tools

ToolDescription
xero_invoicing_create_credit_note_allocationCreates allocation for a specific credit note
xero_invoicing_create_credit_notesCreates a new credit note
xero_invoicing_create_invoicesCreates one or more sales invoices or purchase bills
xero_invoicing_create_quotesCreate one or more quotes
xero_invoicing_create_repeating_invoicesCreates one or more repeating invoice templates
xero_invoicing_delete_credit_note_allocationsDeletes an Allocation from a Credit Note
xero_invoicing_email_invoiceSends a copy of a specific invoice to related contact via email
xero_invoicing_get_credit_noteRetrieves a specific credit note using a unique credit note Id
xero_invoicing_get_credit_note_as_pdfRetrieves credit notes as PDF files
xero_invoicing_get_credit_notesRetrieves any credit notes
xero_invoicing_get_invoiceRetrieves a specific sales invoice or purchase bill using a unique invoice Id
xero_invoicing_get_invoice_as_pdfRetrieves invoices or purchase bills as PDF files
xero_invoicing_get_invoicesRetrieves sales invoices or purchase bills
xero_invoicing_get_online_invoiceRetrieves a URL to an online invoice
xero_invoicing_get_quoteRetrieves a specific quote using a unique quote Id
xero_invoicing_get_quote_as_pdfRetrieves a specific quote as a PDF file using a unique quote Id
xero_invoicing_get_quotesRetrieves sales quotes
xero_invoicing_get_repeating_invoiceRetrieves a specific repeating invoice by using a unique repeating invoice Id
xero_invoicing_get_repeating_invoicesRetrieves repeating invoices
xero_invoicing_update_credit_noteUpdates a specific credit note
xero_invoicing_update_invoiceUpdates a specific sales invoices or purchase bills
xero_invoicing_update_or_create_credit_notesUpdates or creates one or more credit notes
xero_invoicing_update_or_create_invoicesUpdates or creates one or more sales invoices or purchase bills
xero_invoicing_update_or_create_quotesUpdates or creates one or more quotes
xero_invoicing_update_or_create_repeating_invoicesCreates or deletes one or more repeating invoice templates
xero_invoicing_update_quoteUpdates a specific quote
xero_invoicing_update_repeating_invoiceDeletes a specific repeating invoice template

xero_invoicing_create_credit_note_allocation

Creates allocation for a specific credit note Parameters:
ParameterTypeRequiredDefaultDescription
xero-tenant-idstringYesXero identifier for Tenant
CreditNoteIDstringYesUnique identifier for a Credit Note
summarizeErrorsbooleanNoIf false return 200 OK and mix of successfully created objects and any with validation errors
Idempotency-KeystringNoThis allows you to safely retry requests without the risk of duplicate processing. 128 character max.
Allocationsobject[]NoThe allocations value

xero_invoicing_create_credit_notes

Creates a new credit note Parameters:
ParameterTypeRequiredDefaultDescription
xero-tenant-idstringYesXero identifier for Tenant
summarizeErrorsbooleanNoIf false return 200 OK and mix of successfully created objects and any with validation errors
unitdpintegerNoe.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
Idempotency-KeystringNoThis allows you to safely retry requests without the risk of duplicate processing. 128 character max.
CreditNotesobject[]NoCredit Notes
paginationobjectNoThe pagination value
Warningsobject[]NoDisplays array of warning messages from the API

xero_invoicing_create_invoices

Creates one or more sales invoices or purchase bills Parameters:
ParameterTypeRequiredDefaultDescription
xero-tenant-idstringYesXero identifier for Tenant
summarizeErrorsbooleanNoIf false return 200 OK and mix of successfully created objects and any with validation errors
unitdpintegerNoe.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
Idempotency-KeystringNoThis allows you to safely retry requests without the risk of duplicate processing. 128 character max.
Invoicesobject[]NoThe invoices value
paginationobjectNoThe pagination value
Warningsobject[]NoDisplays array of warning messages from the API

xero_invoicing_create_quotes

Create one or more quotes Parameters:
ParameterTypeRequiredDefaultDescription
xero-tenant-idstringYesXero identifier for Tenant
summarizeErrorsbooleanNoIf false return 200 OK and mix of successfully created objects and any with validation errors
Idempotency-KeystringNoThis allows you to safely retry requests without the risk of duplicate processing. 128 character max.
Quotesobject[]NoThe quotes value

xero_invoicing_create_repeating_invoices

Creates one or more repeating invoice templates Parameters:
ParameterTypeRequiredDefaultDescription
xero-tenant-idstringYesXero identifier for Tenant
summarizeErrorsbooleanNoIf false return 200 OK and mix of successfully created objects and any with validation errors
Idempotency-KeystringNoThis allows you to safely retry requests without the risk of duplicate processing. 128 character max.
RepeatingInvoicesobject[]NoRepeating Invoices

xero_invoicing_delete_credit_note_allocations

Deletes an Allocation from a Credit Note Parameters:
ParameterTypeRequiredDefaultDescription
xero-tenant-idstringYesXero identifier for Tenant
CreditNoteIDstringYesUnique identifier for a Credit Note
AllocationIDstringYesUnique identifier for Allocation object

xero_invoicing_email_invoice

Sends a copy of a specific invoice to related contact via email Parameters:
ParameterTypeRequiredDefaultDescription
xero-tenant-idstringYesXero identifier for Tenant
Idempotency-KeystringNoThis allows you to safely retry requests without the risk of duplicate processing. 128 character max.
InvoiceIDstringYesUnique identifier for an Invoice
StatusstringNoNeed at least one field to create an empty JSON payload

xero_invoicing_get_credit_note

Retrieves a specific credit note using a unique credit note Id Parameters:
ParameterTypeRequiredDefaultDescription
xero-tenant-idstringYesXero identifier for Tenant
CreditNoteIDstringYesUnique identifier for a Credit Note
unitdpintegerNoe.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts

xero_invoicing_get_credit_note_as_pdf

Retrieves credit notes as PDF files Parameters:
ParameterTypeRequiredDefaultDescription
xero-tenant-idstringYesXero identifier for Tenant
CreditNoteIDstringYesUnique identifier for a Credit Note

xero_invoicing_get_credit_notes

Retrieves any credit notes Parameters:
ParameterTypeRequiredDefaultDescription
xero-tenant-idstringYesXero identifier for Tenant
If-Modified-SincestringNoOnly records created or modified since this timestamp will be returned
wherestringNoFilter by an any element
orderstringNoOrder by an any element
pageintegerNoe.g. page=1 – Up to 100 credit notes will be returned in a single API call with line items shown for each credit note
unitdpintegerNoe.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
pageSizeintegerNoNumber of records to retrieve per page

xero_invoicing_get_invoice

Retrieves a specific sales invoice or purchase bill using a unique invoice Id Parameters:
ParameterTypeRequiredDefaultDescription
xero-tenant-idstringYesXero identifier for Tenant
InvoiceIDstringYesUnique identifier for an Invoice
unitdpintegerNoe.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts

xero_invoicing_get_invoice_as_pdf

Retrieves invoices or purchase bills as PDF files Parameters:
ParameterTypeRequiredDefaultDescription
xero-tenant-idstringYesXero identifier for Tenant
InvoiceIDstringYesUnique identifier for an Invoice

xero_invoicing_get_invoices

Retrieves sales invoices or purchase bills Parameters:
ParameterTypeRequiredDefaultDescription
xero-tenant-idstringYesXero identifier for Tenant
If-Modified-SincestringNoOnly records created or modified since this timestamp will be returned
wherestringNoFilter by an any element
orderstringNoOrder by an any element
IDsstring[]NoFilter by a comma-separated list of InvoicesIDs.
InvoiceNumbersstring[]NoFilter by a comma-separated list of InvoiceNumbers.
ContactIDsstring[]NoFilter by a comma-separated list of ContactIDs.
Statusesstring[]NoFilter by a comma-separated list Statuses. For faster response times we recommend using these explicit parameters instead of passing OR conditions into the Where filter.
pageintegerNoe.g. page=1 – Up to 100 invoices will be returned in a single API call with line items shown for each invoice
includeArchivedbooleanNoe.g. includeArchived=true - Invoices with a status of ARCHIVED will be included in the response
createdByMyAppbooleanNoWhen set to true you’ll only retrieve Invoices created by your app
unitdpintegerNoe.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
summaryOnlybooleanNoUse summaryOnly=true in GET Contacts and Invoices endpoint to retrieve a smaller version of the response object. This returns only lightweight fields, excluding computation-heavy fields from the response, making the API calls quick and efficient.
pageSizeintegerNoNumber of records to retrieve per page
searchTermstringNoSearch parameter that performs a case-insensitive text search across the fields e.g. InvoiceNumber, Reference.

xero_invoicing_get_online_invoice

Retrieves a URL to an online invoice Parameters:
ParameterTypeRequiredDefaultDescription
xero-tenant-idstringYesXero identifier for Tenant
InvoiceIDstringYesUnique identifier for an Invoice

xero_invoicing_get_quote

Retrieves a specific quote using a unique quote Id Parameters:
ParameterTypeRequiredDefaultDescription
xero-tenant-idstringYesXero identifier for Tenant
QuoteIDstringYesUnique identifier for an Quote

xero_invoicing_get_quote_as_pdf

Retrieves a specific quote as a PDF file using a unique quote Id Parameters:
ParameterTypeRequiredDefaultDescription
xero-tenant-idstringYesXero identifier for Tenant
QuoteIDstringYesUnique identifier for an Quote

xero_invoicing_get_quotes

Retrieves sales quotes Parameters:
ParameterTypeRequiredDefaultDescription
xero-tenant-idstringYesXero identifier for Tenant
If-Modified-SincestringNoOnly records created or modified since this timestamp will be returned
DateFromstringNoFilter for quotes after a particular date
DateTostringNoFilter for quotes before a particular date
ExpiryDateFromstringNoFilter for quotes expiring after a particular date
ExpiryDateTostringNoFilter for quotes before a particular date
ContactIDstringNoFilter for quotes belonging to a particular contact
StatusstringNoFilter for quotes of a particular Status
pageintegerNoe.g. page=1 – Up to 100 Quotes will be returned in a single API call with line items shown for each quote
orderstringNoOrder by an any element
QuoteNumberstringNoFilter by quote number (e.g. GET https://…/Quotes?QuoteNumber=QU-0001)

xero_invoicing_get_repeating_invoice

Retrieves a specific repeating invoice by using a unique repeating invoice Id Parameters:
ParameterTypeRequiredDefaultDescription
xero-tenant-idstringYesXero identifier for Tenant
RepeatingInvoiceIDstringYesUnique identifier for a Repeating Invoice

xero_invoicing_get_repeating_invoices

Retrieves repeating invoices Parameters:
ParameterTypeRequiredDefaultDescription
xero-tenant-idstringYesXero identifier for Tenant
wherestringNoFilter by an any element
orderstringNoOrder by an any element

xero_invoicing_update_credit_note

Updates a specific credit note Parameters:
ParameterTypeRequiredDefaultDescription
xero-tenant-idstringYesXero identifier for Tenant
CreditNoteIDstringYesUnique identifier for a Credit Note
unitdpintegerNoe.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
Idempotency-KeystringNoThis allows you to safely retry requests without the risk of duplicate processing. 128 character max.
CreditNotesobject[]NoCredit Notes
paginationobjectNoThe pagination value
Warningsobject[]NoDisplays array of warning messages from the API

xero_invoicing_update_invoice

Updates a specific sales invoices or purchase bills Parameters:
ParameterTypeRequiredDefaultDescription
xero-tenant-idstringYesXero identifier for Tenant
InvoiceIDstringYesUnique identifier for an Invoice
unitdpintegerNoe.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
Idempotency-KeystringNoThis allows you to safely retry requests without the risk of duplicate processing. 128 character max.
Invoicesobject[]NoThe invoices value
paginationobjectNoThe pagination value
Warningsobject[]NoDisplays array of warning messages from the API

xero_invoicing_update_or_create_credit_notes

Updates or creates one or more credit notes Parameters:
ParameterTypeRequiredDefaultDescription
xero-tenant-idstringYesXero identifier for Tenant
summarizeErrorsbooleanNoIf false return 200 OK and mix of successfully created objects and any with validation errors
unitdpintegerNoe.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
Idempotency-KeystringNoThis allows you to safely retry requests without the risk of duplicate processing. 128 character max.
CreditNotesobject[]NoCredit Notes
paginationobjectNoThe pagination value
Warningsobject[]NoDisplays array of warning messages from the API

xero_invoicing_update_or_create_invoices

Updates or creates one or more sales invoices or purchase bills Parameters:
ParameterTypeRequiredDefaultDescription
xero-tenant-idstringYesXero identifier for Tenant
summarizeErrorsbooleanNoIf false return 200 OK and mix of successfully created objects and any with validation errors
unitdpintegerNoe.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
Idempotency-KeystringNoThis allows you to safely retry requests without the risk of duplicate processing. 128 character max.
Invoicesobject[]NoThe invoices value
paginationobjectNoThe pagination value
Warningsobject[]NoDisplays array of warning messages from the API

xero_invoicing_update_or_create_quotes

Updates or creates one or more quotes Parameters:
ParameterTypeRequiredDefaultDescription
xero-tenant-idstringYesXero identifier for Tenant
summarizeErrorsbooleanNoIf false return 200 OK and mix of successfully created objects and any with validation errors
Idempotency-KeystringNoThis allows you to safely retry requests without the risk of duplicate processing. 128 character max.
Quotesobject[]NoThe quotes value

xero_invoicing_update_or_create_repeating_invoices

Creates or deletes one or more repeating invoice templates Parameters:
ParameterTypeRequiredDefaultDescription
xero-tenant-idstringYesXero identifier for Tenant
summarizeErrorsbooleanNoIf false return 200 OK and mix of successfully created objects and any with validation errors
Idempotency-KeystringNoThis allows you to safely retry requests without the risk of duplicate processing. 128 character max.
RepeatingInvoicesobject[]NoRepeating Invoices

xero_invoicing_update_quote

Updates a specific quote Parameters:
ParameterTypeRequiredDefaultDescription
xero-tenant-idstringYesXero identifier for Tenant
Idempotency-KeystringNoThis allows you to safely retry requests without the risk of duplicate processing. 128 character max.
QuoteIDstringYesUnique identifier for an Quote
Quotesobject[]NoThe quotes value

xero_invoicing_update_repeating_invoice

Deletes a specific repeating invoice template Parameters:
ParameterTypeRequiredDefaultDescription
xero-tenant-idstringYesXero identifier for Tenant
Idempotency-KeystringNoThis allows you to safely retry requests without the risk of duplicate processing. 128 character max.
RepeatingInvoiceIDstringYesUnique identifier for a Repeating Invoice
RepeatingInvoicesobject[]NoRepeating Invoices