Create purchase invoice

Available for: Siigo odoo Alegra SAP Sap by design Siigo Netsuite
A purchase invoice is a financial document issued by a supplier to a company, listing the goods or services purchased, including quantities, unit prices, applicable taxes, and payment terms. It is used for expense tracking, accounting, and supplier payment management.

Body Params
number
object
required

Object Sequential number of the document (siigo netsuite) Optional field — if provided, it must be a unique number that does not already exist in Siigo Alegra SAP Sap by design netsuite

supplier
object
required

Supplier information object
Alegra Siigo SAP netsuite odoo

string

Document date (siigo) ( netsuite) Required field — must be in the format YYYY-MM-DD. Siigo Alegra SAP Sap by design netsuite odoo

date
required

Siigo Alegra SAP Sap by design netsuite odoo

string

Cost center identifier (siigo) Optional field — must exist and be active in Siigo Nube or department in netsuite if provided.

string
required

Add comments about your purchase invoice to create
SAP netsuite odoo

items
object

The items collection allows building either product/service lines or expense lines for the purchase invoice. siigo netsuite odoo

siigo
object

The siigo key allows sending custom information specific to the accounting software This enables the inclusion of custom keys or fields used exclusively by siigo, such as document types or other system-specific values.

netsuite
object

This netsuite key allows sending custom fields such as subsidiary, department, currency, location, and exchangeRate. It enables the inclusion of NetSuite-specific values that are required or used in the accounting configuration.

Headers
string
enum
required
Defaults to siigo

Name of the ERP or accounting software in which you want to get the information
Siigo Alegra SAP Sap by design netsuite

Allowed:
string
required

If you send the x-connection, the connection will already be secured, and there will be no need to send the connection headers for each software.
Optional for: Siigo Alegra SAP Sap by design netsuite

string
required

User of ERP API connection
Siigo Alegra SAP Sap by design netsuite

string
required

Apikey or token of ERP API connection
Siigo Alegra SAP Sap by design netsuite

string
required

x-testing is used for building the environment. could be sandbox or production (true: sandbox, false: production)
Siigo Alegra SAP netsuite

string
required

ERP database name
SAP

string
required

url of the ERP server to consult and connection port
SAP Sap by design netsuite

Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json