Zahara (Preview)

Zahara is a complete purchase management platform enabling paperless approvals for supplier invoices and purchase requisition.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)

Creating a connection

To connect your account, you will need the following information:

Name Type Description
API Key securestring

The API Key for this api

Throttling Limits

Name Calls Renewal Period
API calls per connection10060 seconds

Actions

Create Draft Invoice

Creates a new draft invoice.

Create Invoice

Creates a new invoice.

Create Purchase Order

Creates a new purchase order.

Create Supplier

Creates a new supplier.

Update Supplier

Updates an existing supplier.

Create Draft Invoice

Creates a new draft invoice.

Parameters

Name Key Required Type Description
Sender Email
SenderEmail True string

Sender Email

Receiver Email
RecipientEmail True string

Receiver Email

Date when invoice was raised
RaisedDate date-time

Date

File to upload
File file

File to upload

Returns

response
integer

Create Invoice

Creates a new invoice.

Parameters

Name Key Required Type Description
InvoiceNumber
InvoiceNumber string

Creates a new invoice.

PurchaseOrderNumber
PurchaseOrderNumber string

Creates a new invoice.

RaisedDate
RaisedDate date-time

Creates a new invoice.

DueDate
DueDate date-time

Creates a new invoice.

SupplierReferenceNumber
SupplierReferenceNumber string

Creates a new invoice.

Description
Description string

Creates a new invoice.

Comments
Comments string

Creates a new invoice.

DivisionName
DivisionName string

Creates a new invoice.

CurrencyCode
CurrencyCode string

Creates a new invoice.

CostCode
CostCode string

Creates a new invoice.

Quantity
Quantity double

Creates a new invoice.

Price
Price double

Creates a new invoice.

LineDescription
LineDescription string

Creates a new invoice.

NominalCode
NominalCode string

Creates a new invoice.

TaxCode
TaxCode string

Creates a new invoice.

TaxValue
TaxValue double

Creates a new invoice.

DiscountPercentage
DiscountPercentage double

Creates a new invoice.

ProductCode
ProductCode string

Creates a new invoice.

ProjectCode
ProjectCode string

Creates a new invoice.

Returns

response
integer

Create Purchase Order

Creates a new purchase order.

Parameters

Name Key Required Type Description
RequisitorName
RequisitorName string

Creates a new purchase order.

RequiredDate
RequiredDate date-time

Creates a new purchase order.

SupplierReferenceNumber
SupplierReferenceNumber string

Creates a new purchase order.

Description
Description string

Creates a new purchase order.

Comments
Comments string

Creates a new purchase order.

DivisionName
DivisionName string

Creates a new purchase order.

CurrencyCode
CurrencyCode string

Creates a new purchase order.

CostCode
CostCode string

Creates a new purchase order.

Quantity
Quantity double

Creates a new purchase order.

Price
Price double

Creates a new purchase order.

LineDescription
LineDescription string

Creates a new purchase order.

NominalCode
NominalCode string

Creates a new purchase order.

TaxCode
TaxCode string

Creates a new purchase order.

TaxValue
TaxValue double

Creates a new purchase order.

DiscountPercentage
DiscountPercentage double

Creates a new purchase order.

ProductCode
ProductCode string

Creates a new purchase order.

ProjectCode
ProjectCode string

Creates a new purchase order.

Returns

response
integer

Create Supplier

Creates a new supplier.

Parameters

Name Key Required Type Description
AddressLines
AddressLines string

Creates a new supplier.

ContactName
ContactName string

Creates a new supplier.

CountryCode
CountryCode string

Creates a new supplier.

Email
Email string

Creates a new supplier.

PostCode
PostCode string

Creates a new supplier.

ReferenceNumber
ReferenceNumber string

Creates a new supplier.

SupplierName
SupplierName string

Creates a new supplier.

Telephone
Telephone string

Creates a new supplier.

Type
Type string

Creates a new supplier.

Returns

response
integer

Update Supplier

Updates an existing supplier.

Parameters

Name Key Required Type Description
Id of supplier to update
id True integer

Id of supplier to update

Id
Id integer

Id of supplier to update

AddressLines
AddressLines string

Id of supplier to update

ContactName
ContactName string

Id of supplier to update

CountryCode
CountryCode string

Id of supplier to update

Email
Email string

Id of supplier to update

PostCode
PostCode string

Id of supplier to update

ReferenceNumber
ReferenceNumber string

Id of supplier to update

SupplierName
SupplierName string

Id of supplier to update

Telephone
Telephone string

Id of supplier to update

Type
Type string

Id of supplier to update

Triggers

New Approval Comment

When a new approval comment is added at a step.

New Cost Code

When a new cost code is created.

New Document Approved

When a new document is approved.

New Invoice

When a new invoice is created.

New Invoice Set as Exported

When a new invoice is set as exported.

New Nominal Code

When a new nominal code is created.

New Project

When a new project is created.

New Purchase Order

When a new purchase order is created.

New Purchase Order Sent to Supplier

When a new purchase order is sent to supplier.

New Purchase Requsition

When a new purchase requsition is created.

New Supplier

When a new supplier is created.

New Tax Code

When a new tax code is created.

Supplier Amended

When an existing supplier is updated.

New Approval Comment

When a new approval comment is added at a step.

Returns

New Cost Code

When a new cost code is created.

Returns

New Document Approved

When a new document is approved.

Parameters

Name Key Required Type Description
Document type
documentType True string

Determines what kind of document it is

Returns

New Invoice

When a new invoice is created.

Returns

New Invoice Set as Exported

When a new invoice is set as exported.

Returns

New Nominal Code

When a new nominal code is created.

Returns

New Project

When a new project is created.

Returns

New Purchase Order

When a new purchase order is created.

Returns

New Purchase Order Sent to Supplier

When a new purchase order is sent to supplier.

Returns

New Purchase Requsition

When a new purchase requsition is created.

Returns

New Supplier

When a new supplier is created.

Returns

New Tax Code

When a new tax code is created.

Returns

Supplier Amended

When an existing supplier is updated.

Returns

Definitions

CostCodeIntegrationModel

Name Path Type Description
Id
Id integer
Code
Code string
Description
Description string
DateCreated
DateCreated date-time
IsActive
IsActive boolean

ProcessLogIntegrationModel

Name Path Type Description
ProcessToken
ProcessToken uuid
StepResult
StepResult string
Message
Message string
Approved
Approved boolean
ActionDate
ActionDate date-time
DateCreated
DateCreated date-time
Comment
Comment string
Document
Document DocumentSimpleIntegrationModel
ApprovedBy
ApprovedBy UserIntegrationModel

DocumentSimpleIntegrationModel

Name Path Type Description
DocumentNumber
DocumentNumber string
Type
Type string
Status
Status string
DivisionName
DivisionName string
CurrencyCode
CurrencyCode string

UserIntegrationModel

Name Path Type Description
UserName
UserName string
Email
Email string
JobTitle
JobTitle string
TelephoneNumber
TelephoneNumber string

InvoiceIntegrationModel

Name Path Type Description
DocumentNumber
DocumentNumber string
PurchaseOrderNumber
PurchaseOrderNumber string
TotalNetValue
TotalNetValue double
TotalGrossValue
TotalGrossValue double
TotalTaxValue
TotalTaxValue double
IsCreditNote
IsCreditNote boolean
RaisedDate
RaisedDate date-time
DueDate
DueDate date-time
IsBasedOnAnyOrder
IsBasedOnAnyOrder boolean
CurrentExportStatus
CurrentExportStatus string
SyncDate
SyncDate date-time
SyncType
SyncType string
BillingAddress
BillingAddress AddressIntegrationModel
DocumentId
DocumentId integer
Description
Description string
LastUpdated
LastUpdated date-time
DateCreated
DateCreated date-time
DeliveryAddress
DeliveryAddress AddressIntegrationModel
Supplier
Supplier SupplierSimpleIntegrationModel
LineItems
LineItems array of LineItemIntegrationModel
Type
Type string
Status
Status string
DivisionName
DivisionName string
CurrencyCode
CurrencyCode string

AddressIntegrationModel

Name Path Type Description
AddressLines
AddressLines string
Postcode
Postcode string
CountryCode
CountryCode string

SupplierSimpleIntegrationModel

Name Path Type Description
SupplierName
SupplierName string
ReferenceNumber
ReferenceNumber string

LineItemIntegrationModel

Name Path Type Description
Quantity
Quantity double
Description
Description string
NominalCode
NominalCode string
TaxCode
TaxCode string
TaxPercentage
TaxPercentage double
TaxValue
TaxValue double
DiscountPercentage
DiscountPercentage double
NetValue
NetValue double
QuantityReceived
QuantityReceived double
ProductCode
ProductCode string
GrossValue
GrossValue double
IsEmpty
IsEmpty boolean
CostCode
CostCode string
Price
Price double
ProjectCode
ProjectCode string
SupplierName
SupplierName string
ReferenceNumber
ReferenceNumber string

NominalCodeIntegrationModel

Name Path Type Description
Id
Id integer
Code
Code string
Description
Description string
IsActive
IsActive boolean
DateCreated
DateCreated date-time

ProjectIntegrationModel

Name Path Type Description
Id
Id integer
ProjectName
ProjectName string
ProjectCode
ProjectCode string
Description
Description string
Start
Start date-time
End
End date-time
Status
Status string
DateCreated
DateCreated date-time

PurchaseOrderIntegrationModel

Name Path Type Description
DocumentNumber
DocumentNumber string
RequiredDate
RequiredDate date-time
TotalNetValue
TotalNetValue double
TotalGrossValue
TotalGrossValue double
TotalTaxValue
TotalTaxValue double
SupplierComment
SupplierComment string
SentToSupplier
SentToSupplier boolean
EverSentToSupplier
EverSentToSupplier boolean
AcceptedBySupplier
AcceptedBySupplier boolean
ReportStatus
ReportStatus string
IsFullyReceived
IsFullyReceived boolean
IsReceivedInExcess
IsReceivedInExcess boolean
IsNotReceivedAtAll
IsNotReceivedAtAll boolean
Requisitor
Requisitor UserIntegrationModel
DocumentId
DocumentId integer
Description
Description string
LastUpdated
LastUpdated date-time
DateCreated
DateCreated date-time
DeliveryAddress
DeliveryAddress AddressIntegrationModel
Supplier
Supplier SupplierSimpleIntegrationModel
LineItems
LineItems array of LineItemIntegrationModel
Type
Type string
Status
Status string
DivisionName
DivisionName string
CurrencyCode
CurrencyCode string

PurchaseRequsitionIntegrationModel

Name Path Type Description
DocumentNumber
DocumentNumber string
RequiredDate
RequiredDate date-time
TotalNetValue
TotalNetValue double
TotalGrossValue
TotalGrossValue double
UsersToNotify
UsersToNotify string
WasPoGenerated
WasPoGenerated boolean
Requisitor
Requisitor UserIntegrationModel
DocumentId
DocumentId integer
Description
Description string
LastUpdated
LastUpdated date-time
DateCreated
DateCreated date-time
DeliveryAddress
DeliveryAddress AddressIntegrationModel
Supplier
Supplier SupplierSimpleIntegrationModel
LineItems
LineItems array of LineItemIntegrationModel
Type
Type string
Status
Status string
DivisionName
DivisionName string
CurrencyCode
CurrencyCode string

SupplierIntegrationModel

Name Path Type Description
Id
Id integer
ContactName
ContactName string
Email
Email string
LastUpdated
LastUpdated date-time
DateCreated
DateCreated date-time
Telephone
Telephone string
VatReg
VatReg string
DefaultNominalCode
DefaultNominalCode string
DefaultTaxCode
DefaultTaxCode string
DefaultCostCode
DefaultCostCode string
DefaultPaymentTerms
DefaultPaymentTerms integer
Notes
Notes string
Terms
Terms string
Type
Type string
IsActive
IsActive boolean
Address
Address AddressIntegrationModel
SupplierName
SupplierName string
ReferenceNumber
ReferenceNumber string

SupplierUpdateIntegrationModel

Name Path Type Description
OriginalId
OriginalId integer
Id
Id integer
ContactName
ContactName string
Email
Email string
LastUpdated
LastUpdated date-time
DateCreated
DateCreated date-time
Telephone
Telephone string
VatReg
VatReg string
DefaultNominalCode
DefaultNominalCode string
DefaultTaxCode
DefaultTaxCode string
DefaultCostCode
DefaultCostCode string
DefaultPaymentTerms
DefaultPaymentTerms integer
Notes
Notes string
Terms
Terms string
Type
Type string
IsActive
IsActive boolean
Address
Address AddressIntegrationModel
SupplierName
SupplierName string
ReferenceNumber
ReferenceNumber string

TaxCodeIntegrationModel

Name Path Type Description
Id
Id integer
Code
Code string
CodeName
CodeName string
TaxPercentage
TaxPercentage double
Display
Display boolean
DateCreated
DateCreated date-time