Skip to main content

Sage Accounting Connector

Sage Accounting Manage contacts and others connected to your Sage account.

Connections

OAuth 2.0

OAuth 2.0 Connection for Sage

This connection uses OAuth 2.0, a common authentication mechanism for integrations. Read about how OAuth 2.0 works here.

InputCommentsDefault
ScopesSpace separated OAuth 2.0 permission scopes for Sagefull_access
Client IDClient Identifier of your app for Sage
Client SecretClient Secret of your app for Sage

Actions

Create Contact

Create a new contact

InputCommentsDefault
Connection
NameProvide a string value for a name.
Contact Type IdsFor each list item, provide an Id of a contact type
ReferenceProvide a string value for the reference of the contact.
Default Sales Ledger IdProvide the unique identifier of the default sales ledger.
Default Sales Tax Rate IdProvide the unique identifier of the sales tax rate for the contact.
Default Purchase Ledger IdProvide the unique identifier of the default purchase ledger for the contact.
Tax NumberProvide a string value for the VAT registration number for the contact.
NotesProvide a string value for notes.
Credit LimitProvide a number value for the credit limit of the contact.
Credit DaysProvide a number value for the credit days of the contact.
Source GUIDProvide a valid GUID, used for importing/exporting contacts from 3rd party services.
Currency IdProvide the unique identifier of the currency type.
Address NameProvide a string value for a name.
Address Line 1Provide a valid street address
Address Line 2Provide a string value for the 2nd address line.
CityProvide a string value for the city of the address.
Country IdProvide a unique identifier for the contact's country.
Postal CodeProvide a value for the postal code.
Bank Account IdProvide a value for the postal code.
Address Type IdProvide a unique identifier for the address type
RegionProvide a valid region for the contact.
Delivery Address NameProvide a string value for a name.
Delivery Address RegionProvide a valid region for the contact.
Is Main AddressThis flag will determine if this is the contacts main address.false
Delivery Address Line 1Provide a valid street address
Delivery Address Line 2Provide a string value for the 2nd address line.
Delivery Address CityProvide a string value for the city of the address.
Delivery Address Postal CodeProvide a value for the postal code.
Delivery Address Country IdProvide a unique identifier for the contact's country.
Delivery Address Bank Account IdProvide a value for the postal code.
Delivery Address Type IdProvide a unique identifier for the address type
Is Main AddressThis flag will determine if this is the contacts main address.false
Account NameProvide a string value for the name of the bank account.
Account NumberProvide a valid bank account number.
Sort CodeProvide a sort code for the bank account.
BICProvide a valid BIC for the bank account.
IBANProvide a valid IBAN for the bank account.

Create Ledger Account

Create a new Ledger account

InputCommentsDefault
Connection
Ledger Account Type IdProvide the unique identifier of a ledger account type.
Include In ChartThis flag determines if the account will be included in the chart of accounts.false
NameProvide a string value for a name.
Display NameProvide a string value for the display name.
Nominal CodeProvide an unique integer value for the nominal code of the ledger account.
Tax Rate IdProvide the unique identifier of a tax rate id.

Create Purchase Invoice

Create a new purchase invoice

InputCommentsDefault
Connection
Contact IdProvide the unique identifier of a contact.
DateProvide a valid date value.
Invoice LinesProvide a list of javascript objects, each containing information of an an invoice line item.
[
{
"description": "string",
"ledger_account_id": "string",
"unit_price": 0,
"product_id": "string",
"service_id": "string",
"quantity": 0,
}
]
Total AmountProvide a total amount for the invoice.
Due DateProvide a valid date value for the due date of the invoice.

Create Sales Invoice

Create a new sales invoice

InputCommentsDefault
Connection
Contact IdProvide the unique identifier of a contact.
DateProvide a valid date value.
Invoice LinesProvide a list of javascript objects, each containing information of an an invoice line item.
[
{
"description": "string",
"ledger_account_id": "string",
"unit_price": 0,
"product_id": "string",
"service_id": "string",
"quantity": 0,
}
]
Total AmountProvide a total amount for the invoice.

Delete Contact

Delete an existing contact by Id

InputCommentsDefault
Connection
Contact IdProvide the unique identifier of a contact.

Delete Contact Person

Delete an existing contact person by Id

InputCommentsDefault
Connection
Contact Person IdProvide the unique identifier of a contact person.

Delete Purchase Invoice

Delete the information and metadata of a purchase invoice by Id

InputCommentsDefault
Connection
Purchase Invoice IdProvide the unique identifier of a purchase invoice id.

Delete Sales Invoice

Delete the information and metadata of a sales invoice by Id

InputCommentsDefault
Connection
Sales Invoice IdProvide the unique identifier of a sales invoice id.

Get Contact

Get the information and metadata of a contact by Id

InputCommentsDefault
Connection
Contact IdProvide the unique identifier of a contact.

Get Contact Person

Get the information and metadata of a contact person by Id

InputCommentsDefault
Connection
Contact Person IdProvide the unique identifier of a contact person.

Get Ledger Account

Get the information and metadata of a Ledger account

InputCommentsDefault
Connection
Ledger Account IdProvide the unique identifier of a ledger account.

Get Purchase Invoice

Get the information and metadata of a purchase invoice by Id

InputCommentsDefault
Connection
Purchase Invoice IdProvide the unique identifier of a purchase invoice id.

Get Sales Invoice

Get the information and metadata of a sales invoice by Id

InputCommentsDefault
Connection
Sales Invoice IdProvide the unique identifier of a sales invoice id.

List Address Types

List all address types

InputCommentsDefault
Connection
Items Per PageProvide a value for the amount of items to be returned in the response.
PageProvide a value for the page of results you would like to be returned.

List Contact People

List all contact people

| Input | Comments | Default | | ----------------------- | -------------------------------------------------------------------------------------------- | ---------------------------------------------------- | -------------------------------------------- | --- | | Connection | | | | Items Per Page | Provide a value for the amount of items to be returned in the response. | | | Page | Provide a value for the page of results you would like to be returned. | | | Update or Created Since | Use this to limit the response to Contacts changed since a given date (format: YYYY-MM-DDT(+ | -)hh:mm) or date-time (format: YYYY-MM-DDThh:mm:ss(+ | -)hh:mm). Inclusive of the passed timestamp. | |

List Contacts

List all contacts

| Input | Comments | Default | | ----------------------- | -------------------------------------------------------------------------------------------- | ---------------------------------------------------- | -------------------------------------------- | --- | | Connection | | | | Items Per Page | Provide a value for the amount of items to be returned in the response. | | | Page | Provide a value for the page of results you would like to be returned. | | | Update or Created Since | Use this to limit the response to Contacts changed since a given date (format: YYYY-MM-DDT(+ | -)hh:mm) or date-time (format: YYYY-MM-DDThh:mm:ss(+ | -)hh:mm). Inclusive of the passed timestamp. | |

List Contact Types

List all contact types

InputCommentsDefault
Connection
Items Per PageProvide a value for the amount of items to be returned in the response.
PageProvide a value for the page of results you would like to be returned.

List Countries

List all countries

InputCommentsDefault
Connection
Items Per PageProvide a value for the amount of items to be returned in the response.
PageProvide a value for the page of results you would like to be returned.

List Currencies

List all currencies

InputCommentsDefault
Connection
Items Per PageProvide a value for the amount of items to be returned in the response.
PageProvide a value for the page of results you would like to be returned.

List Ledger Accounts

List all Ledger accounts

| Input | Comments | Default | | ----------------------- | -------------------------------------------------------------------------------------------- | ---------------------------------------------------- | -------------------------------------------- | --- | | Connection | | | | Items Per Page | Provide a value for the amount of items to be returned in the response. | | | Page | Provide a value for the page of results you would like to be returned. | | | Update or Created Since | Use this to limit the response to Contacts changed since a given date (format: YYYY-MM-DDT(+ | -)hh:mm) or date-time (format: YYYY-MM-DDThh:mm:ss(+ | -)hh:mm). Inclusive of the passed timestamp. | |

List Ledger Account Types

List all Ledger account types

InputCommentsDefault
Connection
Items Per PageProvide a value for the amount of items to be returned in the response.
PageProvide a value for the page of results you would like to be returned.

List Purchase Invoices

List all purchase invoices

| Input | Comments | Default | | ----------------------- | -------------------------------------------------------------------------------------------- | ---------------------------------------------------- | -------------------------------------------- | --- | | Connection | | | | Items Per Page | Provide a value for the amount of items to be returned in the response. | | | Page | Provide a value for the page of results you would like to be returned. | | | Update or Created Since | Use this to limit the response to Contacts changed since a given date (format: YYYY-MM-DDT(+ | -)hh:mm) or date-time (format: YYYY-MM-DDThh:mm:ss(+ | -)hh:mm). Inclusive of the passed timestamp. | |

List Sales Invoices

List all sales invoices

| Input | Comments | Default | | ----------------------- | -------------------------------------------------------------------------------------------- | ---------------------------------------------------- | -------------------------------------------- | --- | | Connection | | | | Items Per Page | Provide a value for the amount of items to be returned in the response. | | | Page | Provide a value for the page of results you would like to be returned. | | | Update or Created Since | Use this to limit the response to Contacts changed since a given date (format: YYYY-MM-DDT(+ | -)hh:mm) or date-time (format: YYYY-MM-DDThh:mm:ss(+ | -)hh:mm). Inclusive of the passed timestamp. | |

Raw Request

Send raw HTTP request to Sage Accounting

InputCommentsDefault
Connection
URLInput the path only (/contacts), The base URL is already included (https://api.accounting.sage.com/v3.1). For example, to connect to https://api.accounting.sage.com/v3.1/contacts, only /contacts is entered in this field.
MethodThe HTTP method to use.
DataThe HTTP body payload to send to the URL.
Form DataThe Form Data to be sent as a multipart form upload.
File DataFile Data to be sent as a multipart form upload.
File Data File NamesFile names to apply to the file data inputs. Keys must match the file data keys above.
Query ParameterA list of query parameters to send with the request. This is the portion at the end of the URL similar to ?key1=value1&key2=value2.
HeaderA list of headers to send with the request.
Response TypeThe type of data you expect in the response. You can request json, text, or binary data.json
TimeoutThe maximum time that a client will await a response to its request
Debug RequestEnabling this flag will log out the current request.false
Retry Delay (ms)The delay in milliseconds between retries. This is used when 'Use Exponential Backoff' is disabled.0
Retry On All ErrorsIf true, retries on all erroneous responses regardless of type. This is helpful when retrying after HTTP 429 or other 3xx or 4xx errors. Otherwise, only retries on HTTP 5xx and network errors.false
Max Retry CountThe maximum number of retries to attempt. Specify 0 for no retries.0
Use Exponential BackoffSpecifies whether to use a pre-defined exponential backoff strategy for retries. When enabled, 'Retry Delay (ms)' is ignored.false

Update Contact

Update the information and metadata of an existing contact by Id

InputCommentsDefault
Connection
Contact IdProvide the unique identifier of a contact.
NameProvide a string value for a name.
Contact Type IdsFor each list item, provide an Id of a contact type
ReferenceProvide a string value for the reference of the contact.
Default Sales Ledger IdProvide the unique identifier of the default sales ledger.
Default Sales Tax Rate IdProvide the unique identifier of the sales tax rate for the contact.
Default Purchase Ledger IdProvide the unique identifier of the default purchase ledger for the contact.
Tax NumberProvide a string value for the VAT registration number for the contact.
NotesProvide a string value for notes.
Credit LimitProvide a number value for the credit limit of the contact.
Credit DaysProvide a number value for the credit days of the contact.
Source GUIDProvide a valid GUID, used for importing/exporting contacts from 3rd party services.
Currency IdProvide the unique identifier of the currency type.
Address NameProvide a string value for a name.
Address Line 1Provide a valid street address
Address Line 2Provide a string value for the 2nd address line.
CityProvide a string value for the city of the address.
Country IdProvide a unique identifier for the contact's country.
Postal CodeProvide a value for the postal code.
Bank Account IdProvide a value for the postal code.
Address Type IdProvide a unique identifier for the address type
RegionProvide a valid region for the contact.
Delivery Address NameProvide a string value for a name.
Delivery Address RegionProvide a valid region for the contact.
Is Main AddressThis flag will determine if this is the contacts main address.false
Delivery Address Line 1Provide a valid street address
Delivery Address Line 2Provide a string value for the 2nd address line.
Delivery Address CityProvide a string value for the city of the address.
Delivery Address Postal CodeProvide a value for the postal code.
Delivery Address Country IdProvide a unique identifier for the contact's country.
Delivery Address Bank Account IdProvide a value for the postal code.
Delivery Address Type IdProvide a unique identifier for the address type
Is Main AddressThis flag will determine if this is the contacts main address.false
Account NameProvide a string value for the name of the bank account.
Account NumberProvide a valid bank account number.
Sort CodeProvide a sort code for the bank account.
BICProvide a valid BIC for the bank account.
IBANProvide a valid IBAN for the bank account.

Update Ledger Account

Update the information and metadata of a Ledger account by Id

InputCommentsDefault
Connection
Account IdProvide the unique identifier of the account Id.
Ledger Account Type IdProvide the unique identifier of a ledger account type.
Include In ChartThis flag determines if the account will be included in the chart of accounts.false
NameProvide a string value for a name.
Display NameProvide a string value for the display name.
Nominal CodeProvide an unique integer value for the nominal code of the ledger account.
Tax Rate IdProvide the unique identifier of a tax rate id.
Gifi CodeProvide a value for The General Index of Financial Information.

Update Purchase Invoice

Update the information and metadata of a purchase invoice by Id

InputCommentsDefault
Connection
Purchase Invoice IdProvide the unique identifier of a purchase invoice id.
Contact IdProvide the unique identifier of a contact.
DateProvide a valid date value.
Due DateProvide a valid date value for the due date of the invoice.
Contact NameProvide the name of a contact.
NotesProvide a string value for notes.
Total QuantityProvide a total quantity of the invoice.
Net AmountProvide the net amount of the invoice.
Tax AmountProvide a tax amount for the invoice.
Currency IdProvide the unique identifier of the currency type.
Total AmountProvide a total amount for the invoice.
Invoice LinesProvide a list of javascript objects, each containing information of an an invoice line item.
[
{
"description": "string",
"ledger_account_id": "string",
"unit_price": 0,
"product_id": "string",
"service_id": "string",
"quantity": 0,
}
]

Update Sales Invoice

Update the information and metadata of a sales invoice by Id

InputCommentsDefault
Connection
Sales Invoice IdProvide the unique identifier of a sales invoice id.
Contact IdProvide the unique identifier of a contact.
DateProvide a valid date value.
Due DateProvide a valid date value for the due date of the invoice.
Contact NameProvide the name of a contact.
NotesProvide a string value for notes.
Total QuantityProvide a total quantity of the invoice.
Net AmountProvide the net amount of the invoice.
Tax AmountProvide a tax amount for the invoice.
Currency IdProvide the unique identifier of the currency type.
Total AmountProvide a total amount for the invoice.
Invoice LinesProvide a list of javascript objects, each containing information of an an invoice line item.
[
{
"description": "string",
"ledger_account_id": "string",
"unit_price": 0,
"product_id": "string",
"service_id": "string",
"quantity": 0,
}
]