@datafire/envoice_in
v5.0.0
Published
DataFire integration for API v1.0.0
Downloads
1
Readme
@datafire/envoice_in
Client library for API v1.0.0
Installation and Usage
npm install --save @datafire/envoice_in
let envoice_in = require('@datafire/envoice_in').create({
"x-auth-key": "",
"x-auth-secret": ""
});
.then(data => {
console.log(data);
});
Description
Quickstart
Visit github to view the quickstart tutorial.
Tutorial for running the API in postman
Click on ""Run in Postman"" button
A new page will open. Click the ""Postman for windows"" to run postman as a desktop app. Make sure you have already installed Postman.
In chrome an alert might show up to set a default app for opening postman links. Click on ""Open Postman"".
The OpenAPI specification will be imported in Postman as a new collection named ""Envoice api""
When testing be sure to check and modify the environment variables to suit your api key and secret. The domain is set to envoice's endpoint so you don't really need to change that.
*Eye button in top right corner
You don't need to change the values of the header parameters, because they will be replaced automatically when you send a request with real values from the environment configured in the previous step.
Modify the example data to suit your needs and send a request.
Webhooks
Webhooks allow you to build or set up Envoice Apps which subscribe to invoice activities. When one of those events is triggered, we'll send a HTTP POST payload to the webhook's configured URL. Webhooks can be used to update an external invoice data storage.
In order to use webhooks visit this link and add upto 10 webhook urls that will return status 200
in order to signal that the webhook is working.
All nonworking webhooks will be ignored after a certain period of time and several retry attempts.
If after several attempts the webhook starts to work, we will send you all activities, both past and present, in chronological order.
The payload of the webhook is in format:
{
Signature: ""sha256 string"",
Timestamp: ""YYYY-MM-DDTHH:mm:ss.FFFFFFFZ"",
Activity: {
Message: "string",
Link: "share url",
Type: int,
InvoiceNumber: "string",
InvoiceId: int,
OrderNumber: "string",
OrderId: int,
Id: int,
CreatedOn: "YYYY-MM-DDTHH:mm:ss.FFFFFFFZ"
}
}
Actions
ClientApi_All
Return all clients for the account
envoice_in.ClientApi_All({
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- x-auth-key required
string
- x-auth-secret required
string
- x-auth-key required
Output
- output
array
- items ClientDetailsApiModel
ClientApi_CanDelete
Check if the provided client can be deleted
envoice_in.ClientApi_CanDelete({
"id": 0,
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- id required
integer
- x-auth-key required
string
- x-auth-secret required
string
- id required
Output
- output
boolean
ClientApi_Delete
Delete an existing client
envoice_in.ClientApi_Delete({
"deleteModel": {},
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- deleteModel required ClientDeleteApiModel
- x-auth-key required
string
- x-auth-secret required
string
Output
- output
integer
ClientApi_Details
Return client details. Activities and invoices included.
envoice_in.ClientApi_Details({
"id": 0,
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- id required
integer
- x-auth-key required
string
- x-auth-secret required
string
- id required
Output
- output ClientDetailsApiModel
ClientApi_New
Create a client
envoice_in.ClientApi_New({
"client": {},
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- client required ClientCreateApiModel
- x-auth-key required
string
- x-auth-secret required
string
Output
- output
integer
ClientApi_Update
Update an existing client
envoice_in.ClientApi_Update({
"client": {},
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- client required ClientUpdateApiModel
- x-auth-key required
string
- x-auth-secret required
string
Output
Output schema unknown
GeneralApi_Countries
Return all of the platform supported countries
envoice_in.GeneralApi_Countries({
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- x-auth-key required
string
- x-auth-secret required
string
- x-auth-key required
Output
- output
array
- items CountryDetailsApiModel
GeneralApi_Currencies
Return all of the platform supported currencies
envoice_in.GeneralApi_Currencies({
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- x-auth-key required
string
- x-auth-secret required
string
- x-auth-key required
Output
- output
array
- items CurrencyDetailsApiModel
GeneralApi_DateFormats
Return all of the platform supported Date Formats
envoice_in.GeneralApi_DateFormats({
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- x-auth-key required
string
- x-auth-secret required
string
- x-auth-key required
Output
- output
array
- items
string
- items
GeneralApi_UiLanguages
Return all of the platform supported UI languages
envoice_in.GeneralApi_UiLanguages({
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- x-auth-key required
string
- x-auth-secret required
string
- x-auth-key required
Output
- output
array
InvoiceApi_All
Return all invoices for the account
envoice_in.InvoiceApi_All({
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- queryOptions.page
integer
- queryOptions.pageSize
integer
- x-auth-key required
string
- x-auth-secret required
string
- queryOptions.page
Output
InvoiceApi_ChangeStatus
Change invoice status
envoice_in.InvoiceApi_ChangeStatus({
"statusModel": {},
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- statusModel required ChangeStatusApiModel
- x-auth-key required
string
- x-auth-secret required
string
Output
- output
boolean
InvoiceApi_Delete
Delete an existing invoice
envoice_in.InvoiceApi_Delete({
"deleteModel": {},
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- deleteModel required InvoiceDeleteApiModel
- x-auth-key required
string
- x-auth-secret required
string
Output
- output
integer
InvoiceApi_Details
Return invoice data
envoice_in.InvoiceApi_Details({
"id": 0,
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- id required
integer
- x-auth-key required
string
- x-auth-secret required
string
- id required
Output
- output InvoiceFullDetailsApiModel
InvoiceApi_New
Create an invoice
envoice_in.InvoiceApi_New({
"invoice": {},
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- invoice required InvoiceCreateApiModel
- x-auth-key required
string
- x-auth-secret required
string
Output
- output InvoiceFullDetailsApiModel
InvoiceApi_SendToAccountant
Send the provided invoice to the accountant
envoice_in.InvoiceApi_SendToAccountant({
"invoice": {},
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- invoice required SendInvoiceToAccountantApiModel
- x-auth-key required
string
- x-auth-secret required
string
Output
- output
integer
InvoiceApi_SendToClient
Send the provided invoice to the client
envoice_in.InvoiceApi_SendToClient({
"deliveryOptions": {},
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- deliveryOptions required SendInvoiceToClientApiModel
- x-auth-key required
string
- x-auth-secret required
string
Output
- output
integer
InvoiceApi_Status
Retrieve the status of the invoice
envoice_in.InvoiceApi_Status({
"id": 0,
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- id required
integer
- x-auth-key required
string
- x-auth-secret required
string
- id required
Output
- output
string
(values: Draft, Paid, Unpaid, Overdue, Void)
InvoiceApi_Update
Update an existing invoice
envoice_in.InvoiceApi_Update({
"invoice": {},
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- invoice required InvoiceUpdateApiModel
- x-auth-key required
string
- x-auth-secret required
string
Output
- output InvoiceFullDetailsApiModel
InvoiceApi_Uri
Return the unique url to the client's invoice
envoice_in.InvoiceApi_Uri({
"id": 0,
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- id required
integer
- x-auth-key required
string
- x-auth-secret required
string
- id required
Output
- output InvoiceUriApiModel
OrderApi_All
Return all orders for the account
envoice_in.OrderApi_All({
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- queryOptions.page
integer
- queryOptions.pageSize
integer
- x-auth-key required
string
- x-auth-secret required
string
- queryOptions.page
Output
OrderApi_ChangeShippingDetails
Change order shipping details
envoice_in.OrderApi_ChangeShippingDetails({
"orderId": 0,
"shippingDetails": {},
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- orderId required
integer
- shippingDetails required OrderShippingDetailsApiModel
- x-auth-key required
string
- x-auth-secret required
string
- orderId required
Output
Output schema unknown
OrderApi_ChangeStatus
Change order status
envoice_in.OrderApi_ChangeStatus({
"status": {},
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- status required ChangeOrderStatusApiModel
- x-auth-key required
string
- x-auth-secret required
string
Output
Output schema unknown
OrderApi_Delete
Delete an existing order
envoice_in.OrderApi_Delete({
"order": {},
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- order required OrderDeleteApiModel
- x-auth-key required
string
- x-auth-secret required
string
Output
- output
integer
OrderApi_Details
Return order details
envoice_in.OrderApi_Details({
"id": 0,
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- id required
integer
- x-auth-key required
string
- x-auth-secret required
string
- id required
Output
- output OrderFullDetailsApiModel
OrderApi_New
Create an order
envoice_in.OrderApi_New({
"order": {},
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- order required OrderCreateApiModel
- x-auth-key required
string
- x-auth-secret required
string
Output
- output
integer
PaymentApi_Supported
Return all supported payment gateways (no currencies means all are supported)
envoice_in.PaymentApi_Supported({
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- x-auth-key required
string
- x-auth-secret required
string
- x-auth-key required
Output
- output
array
ProductApi_All
Return all products for the account
envoice_in.ProductApi_All({
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- queryOptions.page
integer
- queryOptions.pageSize
integer
- x-auth-key required
string
- x-auth-secret required
string
- queryOptions.page
Output
ProductApi_Delete
Delete an existing product
envoice_in.ProductApi_Delete({
"product": {},
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- product required ProductDeleteApiModel
- x-auth-key required
string
- x-auth-secret required
string
Output
- output
integer
ProductApi_Details
Return product details
envoice_in.ProductApi_Details({
"id": 0,
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- id required
integer
- x-auth-key required
string
- x-auth-secret required
string
- id required
Output
- output ProductFullDetailsApiModel
ProductApi_New
Create a product
envoice_in.ProductApi_New({
"product": {},
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- product required ProductCreateApiModel
- x-auth-key required
string
- x-auth-secret required
string
Output
- output
integer
ProductApi_Update
Update an existing product
envoice_in.ProductApi_Update({
"product": {},
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- product required ProductUpdateApiModel
- x-auth-key required
string
- x-auth-secret required
string
Output
Output schema unknown
TaxApi_All
Return all taxes for the account
envoice_in.TaxApi_All({
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- x-auth-key required
string
- x-auth-secret required
string
- x-auth-key required
Output
- output
array
- items TaxDetailsApiModel
TaxApi_Delete
Delete an existing tax
envoice_in.TaxApi_Delete({
"deleteModel": {},
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- deleteModel required TaxDeleteApiModel
- x-auth-key required
string
- x-auth-secret required
string
Output
- output
integer
TaxApi_New
Create a tax
envoice_in.TaxApi_New({
"tax": {},
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- tax required TaxCreateApiModel
- x-auth-key required
string
- x-auth-secret required
string
Output
- output
integer
TaxApi_Update
Update an existing tax
envoice_in.TaxApi_Update({
"tax": {},
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- tax required TaxUpdateApiModel
- x-auth-key required
string
- x-auth-secret required
string
Output
Output schema unknown
WorkTypeApi_All
Return all work types for the account
envoice_in.WorkTypeApi_All({
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- x-auth-key required
string
- x-auth-secret required
string
- x-auth-key required
Output
- output
array
- items WorkTypeDetailsApiModel
WorkTypeApi_Delete
Delete an existing work type
envoice_in.WorkTypeApi_Delete({
"deleteModel": {},
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- deleteModel required WorkTypeDeleteApiModel
- x-auth-key required
string
- x-auth-secret required
string
Output
- output
integer
WorkTypeApi_Details
Return work type details
envoice_in.WorkTypeApi_Details({
"workTypeId": 0,
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- workTypeId required
integer
- x-auth-key required
string
- x-auth-secret required
string
- workTypeId required
Output
- output WorkTypeDetailsApiModel
WorkTypeApi_New
Create a work type
envoice_in.WorkTypeApi_New({
"workType": {},
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- workType required WorkTypeCreateApiModel
- x-auth-key required
string
- x-auth-secret required
string
Output
- output
integer
WorkTypeApi_Search
Return all work types for the account that match the query param
envoice_in.WorkTypeApi_Search({
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- queryOptions.query
string
- queryOptions.orderBy
string
- queryOptions.order
string
(values: None, Asc, Desc) - queryOptions.page
integer
- queryOptions.pageSize
integer
- x-auth-key required
string
- x-auth-secret required
string
- queryOptions.query
Output
- output
array
- items WorkTypeDetailsApiModel
WorkTypeApi_Update
Update an existing work type
envoice_in.WorkTypeApi_Update({
"workType": {},
"x-auth-key": "",
"x-auth-secret": ""
}, context)
Input
- input
object
- workType required WorkTypeUpdateApiModel
- x-auth-key required
string
- x-auth-secret required
string
Output
Output schema unknown
Definitions
AdditionalClientEmailApiModel
- AdditionalClientEmailApiModel
object
- Email
string
: CC
- Email
ChangeOrderStatusApiModel
- ChangeOrderStatusApiModel
object
- Id
integer
: Order Id - Reason
string
: Reason for status change - Status
string
(values: PendingPayment, Processing, Shipped, Completed, OnHold, Cancelled, Refunded, Failed): New status of the order
- Id
ChangeStatusApiModel
- ChangeStatusApiModel
object
- Id
integer
: Invoice Id - Status
string
(values: Draft, Paid, Unpaid, Overdue, Void): New status of the invoice
- Id
ClientCreateApiModel
- ClientCreateApiModel
object
- AdditionalEmails
array
: Client additional emails contact for CC - Address
string
: Client business address - ClientCountryId
integer
: Indicates the country where the clients is from - ClientCurrencyId
integer
: Indicates the default system currency used by the user for the client - CompanyRegistrationNumber
string
: Client's Company Registration Number - Email
string
: Client email - Name
string
: Name of the client - PhoneNumber
string
: Client phone numer - UiLanguageId
integer
: Hold a value of the language in which the invoice will be sent - Vat
string
: Client's VAT number
- AdditionalEmails
ClientDeleteApiModel
- ClientDeleteApiModel
object
- Id
integer
: Id of client to be deleted
- Id
ClientDetailsApiModel
- ClientDetailsApiModel
object
- AdditionalEmails
array
: Client additional emails contact for CC - Address
string
: Client business address - ClientCountryId
integer
: Indicates the country where the clients is from - ClientCurrencyId
integer
: Indicates the default system currency used by the user for the client - CompanyRegistrationNumber
string
: Client's Company Registration Number - CreatedOn
string
: Date of creation - Email
string
: Client email - Id
integer
: Entity id - Name
string
: Name of the client - PhoneNumber
string
: Client phone numer - UiLanguageId
integer
: Hold a value of the language in which the invoice will be sent - Vat
string
: Client's VAT number
- AdditionalEmails
ClientUpdateApiModel
- ClientUpdateApiModel
object
- AdditionalEmails
array
: Client additional emails contact for CC - Address
string
: Client business address - ClientCountryId
integer
: Indicates the country where the clients is from - ClientCurrencyId
integer
: Indicates the default system currency used by the user for the client - CompanyRegistrationNumber
string
: Client's Company Registration Number - Email
string
: Client email - Id
integer
: Entity id - Name
string
: Name of the client - PhoneNumber
string
: Client phone numer - UiLanguageId
integer
: Hold a value of the language in which the invoice will be sent - Vat
string
: Client's VAT number
- AdditionalEmails
CountryDetailsApiModel
- CountryDetailsApiModel
object
- Id
integer
: Entity id - Name
string
: Name of the country - Value
string
: Country short code
- Id
CurrencyApiModel
- CurrencyApiModel
object
- Name
string
: Name of the currency - Value
string
: Currency short code
- Name
CurrencyDetailsApiModel
- CurrencyDetailsApiModel
object
- Code
string
: Currency short numeric code - Id
integer
: Entity id - Name
string
: Name of the country - Symbol
string
: Currency symbol - Value
string
: Currency short alpha code
- Code
IErrorInfo
- IErrorInfo
object
- Code
string
- FaultMessage
string
- Group
string
- UserVisibleMessage
string
- Code
InvoiceActivityApiModel
- InvoiceActivityApiModel
object
- Id
integer
: Id of invoice activity - InvoiceNumber
string
: Indicates to which invoice this activity refers to - Link
string
: Url which point out to a certain activity action. Ex: Click to view the payment - Message
string
: Message associated with the activity - Type
string
(values: Created, Draft, Cloned, SentViaEmail, SentViaSms, SentReminderViaEmail, SentReminderViaSms, Opened, Viewed, Rejected, Updated, Paid, Unpaid, Overdue, NewManualPayment, NewPaymentWithPaypal, NewPaymentWithStripe, NewPaymentWithPayoneer, SentToAccountant, DownloadedAsPdf, MarkAsPaidByTheClient, OpenedAttachment, NewPaymentWithSquare, NewPaymentWithKlikAndPay, NewPaymentWithRazorpay, NewPaymentWithWepay, NewPaymentWithHalkbank, ChangeStatus, OrderUpdated, OrderCreated, NewPaymentWithTwoCheckout, NewPaymentWithPaymentWall, NewPaymentWithBamboraEU, NewPaymentWithBamboraNA, Void): Type of the activity
- Id
InvoiceAttachmentApiModel
- InvoiceAttachmentApiModel
object
- Id
integer
: Id of invoice attachment - Link
string
: Link to the file - ObfuscatedFileName
string
: Hashed file name to avoid url wildguessing - OriginalFileName
string
: Name of the file - Size
integer
: File size number in bytes - Type
string
(values: External, Uploaded): Type of the link (Attached or external)
- Id
InvoiceCreateApiModel
- InvoiceCreateApiModel
object
- Attachments
array
: List of invoice attachments - ClientId
integer
: The client to whom this invoice is assigned - ClonedFromId
integer
: Indicate from which invoice this invoice has been cloned from - CurrencyId
integer
: Id of the currency for the invoice amounts - Duedate
string
: Indicates when the invoice will be proclamed as due - IssuedOn
string
: Indicates when the invoice was issued - Items
array
: List of invoice items - Notes
string
: Internal note regarding the invoice - Number
string
: Unique invoice number - PaymentGateways
array
: List of enabled payment gateways for this invoice- items InvoiceGatewayApiModel
- PoNumber
string
: Unique number generated by the buyer - RecurringProfile InvoiceRecurringApiModel
- RecurringProfileId
integer
: Hold the id of the recurring profile - Status
string
(values: Draft, Paid, Unpaid, Overdue, Void): Indicate the status of the invoice (paid/unpaid/overdue) - Terms
string
: Terms of agreement
- Attachments
InvoiceCreateAttachmentApiModel
- InvoiceCreateAttachmentApiModel
object
- Link
string
: Link to the file - ObfuscatedFileName
string
: Hashed file name to avoid url wildguessing - OriginalFileName
string
: Name of the file - Size
integer
: File size number in bytes - Type
string
(values: External, Uploaded): Type of the link (Attached or external)
- Link
InvoiceCreateItemApiModel
- InvoiceCreateItemApiModel
object
- Cost
number
: Amount per unit - Description
string
: Additional description attached to the invoice item - DiscountPercentage
number
: Discount percentage for the overall amount - Quantity
number
: Quantity in total used for the work type - TaxId
integer
: Tax applied on the item - TaxPercentage
number
: Task percentage. Ex: 18% - WorkTypeId
integer
: Work type (Name of the service)
- Cost
InvoiceDeleteApiModel
- InvoiceDeleteApiModel
object
- Id
integer
: Id of invoice to be deleted
- Id
InvoiceDetailsApiModel
- InvoiceDetailsApiModel
object
- AccessToken
string
: Security access token used for accessing the invoice anonymously - Client ClientDetailsApiModel
- ClonedFromId
integer
: Indicate from which invoice this invoice has been cloned from - Currency CurrencyDetailsApiModel
- DiscountAmount
number
: Amount that goes as a discount - Duedate
string
: Indicates when the invoice will be proclamed as due - EnablePartialPayments
boolean
: Indicate that the invoice allows the user to pay the invoice partially - Id
integer
: Invoice id - IssuedOn
string
: Indicates when the invoice was issued - Notes
string
: Internal note regarding the invoice - Number
string
: Unique invoice number - PoNumber
string
: Unique number generated by the buyer - RecurringProfile InvoiceRecurringApiModel
- RecurringProfileId
integer
: Hold the id of the recurring profile - Status
string
(values: Draft, Paid, Unpaid, Overdue, Void): Indicate the status of the invoice (paid/unpaid/overdue) - SubTotalAmount
number
: Total amount of the invoice without tax - TaxAmount
number
: Amount that goes to the tax - Terms
string
: Terms of agreement - TotalAmount
number
: Total amount of the invoice with tax
- AccessToken
InvoiceFullDetailsApiModel
- InvoiceFullDetailsApiModel
object
- AccessToken
string
: Security access token used for accessing the invoice anonymously - Activities
array
: List of invoice activities. Invoice audit log- items InvoiceActivityApiModel
- Attachments
array
: List of invoice attachments - Client ClientDetailsApiModel
- ClonedFromId
integer
: Indicate from which invoice this invoice has been cloned from - Currency CurrencyDetailsApiModel
- DiscountAmount
number
: Amount that goes as a discount - Duedate
string
: Indicates when the invoice will be proclamed as due - EnablePartialPayments
boolean
: Indicate that the invoice allows the user to pay the invoice partially - Id
integer
: Invoice id - IssuedOn
string
: Indicates when the invoice was issued - Items
array
: List of invoice items- items InvoiceItemApiModel
- Notes
string
: Internal note regarding the invoice - Number
string
: Unique invoice number - PaymentGateways
array
: List of enabled payment gateways for this invoice- items InvoiceGatewayApiModel
- Payments
array
: List of invoice payments- items InvoicePaymentApiModel
- PoNumber
string
: Unique number generated by the buyer - RecurringProfile InvoiceRecurringApiModel
- RecurringProfileId
integer
: Hold the id of the recurring profile - Status
string
(values: Draft, Paid, Unpaid, Overdue, Void): Indicate the status of the invoice (paid/unpaid/overdue) - SubTotalAmount
number
: Total amount of the invoice without tax - TaxAmount
number
: Amount that goes to the tax - Terms
string
: Terms of agreement - TotalAmount
number
: Total amount of the invoice with tax
- AccessToken
InvoiceGatewayApiModel
- InvoiceGatewayApiModel
object
- Name
string
: Name of the payment gateway
- Name
InvoiceItemApiModel
- InvoiceItemApiModel
object
- Cost
number
: Amount per unit - Description
string
: Additional description attached to the invoice item - DiscountAmount
number
: Amount that goes as a discount - DiscountPercentage
number
: Discount percentage for the overall amount - Id
integer
: Id of invoice item - Quantity
number
: Quantity in total used for the work type - SubTotalAmount
number
: Sub-Total amount of the invoice item (Amount without tax) - TaxAmount
number
: Amount that goes to the tax - TaxId
integer
: Tax applied on the item - TaxPercentage
number
: Task percentage. Ex: 18% - TotalAmount
number
: Total amount of the invoice item - WorkTypeId
integer
: Work type (Name of the service)
- Cost
InvoicePaymentApiModel
- InvoicePaymentApiModel
object
- Amount
number
: Total amount of the payment - Id
integer
: Id of invoice payment - IsAutomatic
boolean
: Indicate if the payment is automatic or manual - Note
string
: Internal payment note - PaidOn
string
: When the payment was done by the client - ReferenceId
string
: Id of the payment - Type
string
(values: Other, Paypal, Stripe, Payoneer, Bank, Cash, Cheque, Ach, Sepa, Square, KlikAndPay, Razorpay, Wepay, Halkbank, TwoCheckout, PaymentWall, BamboraEU, BamboraNA): Type of payment
- Amount
InvoiceRecurringApiModel
- InvoiceRecurringApiModel
object
: Definition of invoice recurring profile- DayOfMonth
integer
: Day of month when the recurrance should happen - DayOfWeek
string
(values: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday): Day when the recurrance should happen - DueDateInDays
integer
: Total number of days for the client to pay the invoice after issuing it - EndOfRecurrance
string
: Indcate the date when the recurrance should stop - Month
integer
: Month when the recurrance should happen - RecurrancePattern
string
(values: Daily, Weekly, Monthly, Yearly): How often the recurrance occurs - RecurranceValue
integer
: Recurring every [value] RecurrancePattern - StartOfRecurrance
string
: Indcate the date when the recurrance has started - Status
string
(values: Pending, Active, Cancelled, Finished): The status of the recurrance - Title
string
: Title of the recurring profile.
- DayOfMonth
InvoiceUpdateApiModel
- InvoiceUpdateApiModel
object
- Attachments
array
: List of invoice attachments - ClientId
integer
: The client to whom this invoice is assigned - ClonedFromId
integer
: Indicate from which invoice this invoice has been cloned from - CurrencyId
integer
: Id of the currency for the invoice amounts - Duedate
string
: Indicates when the invoice will be proclamed as due - Id
integer
: Invoice id - IssuedOn
string
: Indicates when the invoice was issued - Items
array
: List of invoice items - Notes
string
: Internal note regarding the invoice - Number
string
: Unique invoice number - PaymentGateways
array
: List of enabled payment gateways for this invoice- items InvoiceGatewayApiModel
- PoNumber
string
: Unique number generated by the buyer - RecurringProfile InvoiceRecurringApiModel
- RecurringProfileId
integer
: Hold the id of the recurring profile - Status
string
(values: Draft, Paid, Unpaid, Overdue, Void): Indicate the status of the invoice (paid/unpaid/overdue) - Terms
string
: Terms of agreement
- Attachments
InvoiceUpdateAttachmentApiModel
- InvoiceUpdateAttachmentApiModel
object
- Id
integer
: Id of invoice attachment - Link
string
: Link to the file - ObfuscatedFileName
string
: Hashed file name to avoid url wildguessing - OriginalFileName
string
: Name of the file - Size
integer
: File size number in bytes - Type
string
(values: External, Uploaded): Type of the link (Attached or external)
- Id
InvoiceUpdateItemApiModel
- InvoiceUpdateItemApiModel
object
- Cost
number
: Amount per unit - Description
string
: Additional description attached to the invoice item - DiscountPercentage
number
: Discount percentage for the overall amount - Id
integer
: Id of invoice item - Quantity
number
: Quantity in total used for the work type - TaxId
integer
: Tax applied on the item - TaxPercentage
number
: Task percentage. Ex: 18% - WorkTypeId
integer
: Work type (Name of the service)
- Cost
InvoiceUriApiModel
- InvoiceUriApiModel
object
- Link
string
: Unique link to the invoice
- Link
ListResult[InvoiceDetailsApiModel]
- ListResult[InvoiceDetailsApiModel]
object
- Count
integer
- ErrorMessages
array
- items IErrorInfo
- IsFaulted
boolean
- Result
array
- items InvoiceDetailsApiModel
- TotalCount
integer
- Count
ListResult[OrderDetailsApiModel]
- ListResult[OrderDetailsApiModel]
object
- Count
integer
- ErrorMessages
array
- items IErrorInfo
- IsFaulted
boolean
- Result
array
- items OrderDetailsApiModel
- TotalCount
integer
- Count
ListResult[ProductDetailsApiModel]
- ListResult[ProductDetailsApiModel]
object
- Count
integer
- ErrorMessages
array
- items IErrorInfo
- IsFaulted
boolean
- Result
array
- items ProductDetailsApiModel
- TotalCount
integer
- Count
OrderAttachmentApiModel
- OrderAttachmentApiModel
object
- Link
string
: Link to the file - ObfuscatedFileName
string
: Hashed file name to avoid url wildguessing - OriginalFileName
string
: Name of the file - Size
integer
: File size number in bytes - Type
string
(values: External, Uploaded): Type of the link (Attached or external)
- Link
OrderBillingDetailsApiModel
- OrderBillingDetailsApiModel
object
- Address
string
: Client street and number - CountryId
integer
: Client country id - Email
string
: Client email - Name
string
: Client name - PhoneNumber
string
: Client phone number
- Address
OrderCreateApiModel
- OrderCreateApiModel
object
- AfterPaymentDescription
string
: After payment description - Attachments
array
: List of Order attachments- items OrderAttachmentApiModel
- CouponCode
string
: Coupon to apply in order to get the discount - CurrencyId
integer
: Foreign key Currency - Description
string
: Product description - DiscountAmount
number
: Discount amount - Items
array
: List of Order items- items OrderItemApiModel
- Name
string
: Product alias - Note
string
: Customer note to seller - OrderBillingDetails OrderBillingDetailsApiModel
- OrderShippingDetails OrderShippingDetailsApiModel
- ProductId
integer
: Product id - Referral
string
: Represent the referral for this order - ShippingAmount
number
: Cost for shipping the product - ShippingDescription
string
: Client instructions for shipping - Status
string
(values: PendingPayment, Processing, Shipped, Completed, OnHold, Cancelled, Refunded, Failed): Order status - SubTotalAmount
number
: Sub total amount - TaxAmount
number
: Tax amount - TotalAmount
number
: Total amount - WhatHappensNextDescription
string
: What happens next description
- AfterPaymentDescription
OrderDeleteApiModel
- OrderDeleteApiModel
object
- Id
integer
: Id of order to be deleted
- Id
OrderDetailsApiModel
- OrderDetailsApiModel
object
- AccessToken
string
: Product short link - AfterPaymentDescription
string
: After payment description - CouponCode
string
: Coupon to apply in order to get the discount - Currency CurrencyDetailsApiModel
- CurrencyId
integer
: Foreign key Currency - Description
string
: Product description - DiscountAmount
number
: Discount amount - Id
integer
: Order id - Name
string
: Product alias - Note
string
: Customer note to seller - OrderBillingDetails OrderBillingDetailsApiModel
- OrderShippingDetails OrderShippingDetailsApiModel
- ProductId
integer
: Product id - Referral
string
: Represent the referral for this order - ShippingAmount
number
: Cost for shipping the product - ShippingDescription
string
: Client instructions for shipping - Status
string
(values: PendingPayment, Processing, Shipped, Completed, OnHold, Cancelled, Refunded, Failed): Order status - SubTotalAmount
number
: Sub total amount - TaxAmount
number
: Tax amount - TotalAmount
number
: Total amount - TotalWithShipping
number
: Total amount with shipping - WhatHappensNextDescription
string
: What happens next description
- AccessToken
OrderFullDetailsApiModel
- OrderFullDetailsApiModel
object
- AccessToken
string
: Product short link - AfterPaymentDescription
string
: After payment description - Attachments
array
: List of Order attachments- items OrderAttachmentApiModel
- CouponCode
string
: Coupon to apply in order to get the discount - Currency CurrencyDetailsApiModel
- CurrencyId
integer
: Foreign key Currency - Description
string
: Product description - DiscountAmount
number
: Discount amount - Id
integer
: Order id - Items
array
: List of Order items- items OrderItemApiModel
- Name
string
: Product alias - Note
string
: Customer note to seller - OrderBillingDetails OrderBillingDetailsApiModel
- OrderShippingDetails OrderShippingDetailsApiModel
- ProductId
integer
: Product id - Referral
string
: Represent the referral for this order - ShippingAmount
number
: Cost for shipping the product - ShippingDescription
string
: Client instructions for shipping - Status
string
(values: PendingPayment, Processing, Shipped, Completed, OnHold, Cancelled, Refunded, Failed): Order status - SubTotalAmount
number
: Sub total amount - TaxAmount
number
: Tax amount - TotalAmount
number
: Total amount - TotalWithShipping
number
: Total amount with shipping - WhatHappensNextDescription
string
: What happens next description
- AccessToken
OrderItemApiModel
- OrderItemApiModel
object
- Cost
number
: Work item cost - Description
string
: General description - ProductItemId
integer
: Foreign key product item id - Quantity
number
: Work item quantity - ReferenceId
string
: Order SKU - SubTotalAmount
number
: Subtotal amount of product - TaxAmount
number
: Tax amount - TaxId
integer
: Foreign key Tax id - TaxPercentage
number
: Tax percentage - TotalAmount
number
: Total amount of product - WorkTypeId
integer
: Foreign key work type id
- Cost
OrderShippingDetailsApiModel
- OrderShippingDetailsApiModel
object
- Address
string
: Client street and number - CountryId
integer
: Client country id - Email
string
: Client email - Name
string
: Client name - PhoneNumber
string
: Client phone number
- Address
PaymentGatewayDetailsApiModel
- PaymentGatewayDetailsApiModel
object
- Name
string
: Name of the payment gateway - SupportedCurrencies
array
: List of supported currencies.- items CurrencyApiModel
- Name
ProductAttachmentApiModel
- ProductAttachmentApiModel
object
- Id
integer
: Product attachment id - Link
string
: Link to the file - ObfuscatedFileName
string
: Hashed file name to avoid url wildguessing - OriginalFileName
string
: Name of the file - Size
integer
: File size number in bytes - Type
string
(values: External, Uploaded): Type of the link (Attached or external)
- Id
ProductCouponApiModel
- ProductCouponApiModel
object
- Code
string
: Coupon to apply in order to get the discount - DiscountAmount
number
: Discount amount - DiscountPercentage
number
: Discount percentage - Id
integer
: Product coupon id - ValidUntil
string
: Coupon expiration date
- Code
ProductCreateApiModel
- ProductCreateApiModel
object
- AfterPaymentDescription
string
: After payment description - Attachments
array
: List of product attachments - Coupons
array
: List of product coupons- items ProductCouponApiModel
- CurrencyId
integer
: Foreign key Currency - Description
string
: Product description - Discounts
array
: List of product discounts- items ProductDiscountApiModel
- Items
array
: List of product items- items ProductItemApiModel
- Name
string
: Product alias - PaymentGateways
array
: List of enabled payment gateways for this product- items ProductGatewayApiModel
- ShippingAmount
number
: Cost for shipping the product - ShippingDescription
string
: Client instructions for shipping - Status
string
(values: Active, NotAvailable, Inactive): Product availability status - WhatHappensNextDescription
string
: What happens next description
- AfterPaymentDescription
ProductDeleteApiModel
- ProductDeleteApiModel
object
- Id
integer
: Id of product to be deleted
- Id
ProductDetailsApiModel
- ProductDetailsApiModel
object
- AccessToken
string
: Product short link - AfterPaymentDescription
string
: After payment description - Currency CurrencyDetailsApiModel
- CurrencyId
integer
: Foreign key Currency - Description
string
: Product description - Id
integer
: Product id - Name
string
: Product alias - ShippingAmount
number
: Cost for shipping the product - ShippingDescription
string
: Client instructions for shipping - Status
string
(values: Active, NotAvailable, Inactive): Product availability status - SubTotalAmount
number
: Subtotal amount of product - TotalAmount
number
: Total amount of product - TotalWithShipping
number
: Total amount of product with shipping - WhatHappensNextDescription
string
: What happens next description
- AccessToken
ProductDiscountApiModel
- ProductDiscountApiModel
object
- DiscountAmount
number
: Discount amount - DiscountPercentage
number
: Discount percentage - Id
integer
: Product discount id - Name
string
: Name - ValidFrom
string
: Discount start date - ValidTo
string
: Discount expiration date
- DiscountAmount
ProductFullDetailsApiModel
- ProductFullDetailsApiModel
object
- AccessToken
string
: Product short link - AfterPaymentDescription
string
: After payment description - Attachments
array
: List of product attachments - Coupons
array
: List of product coupons- items ProductCouponApiModel
- Currency CurrencyDetailsApiModel
- CurrencyId
integer
: Foreign key Currency - Description
string
: Product description - Discounts
array
: List of product discounts- items ProductDiscountApiModel
- Id
integer
: Product id - Items
array
: List of product items- items ProductItemApiModel
- Name
string
: Product alias - PaymentGateways
array
: List of enabled payment gateways for this product- items ProductGatewayApiModel
- ShippingAmount
number
: Cost for shipping the product - ShippingDescription
string
: Client instructions for shipping - Status
string
(values: Active, NotAvailable, Inactive): Product availability status - SubTotalAmount
number
: Subtotal amount of product - TotalAmount
number
: Total amount of product - TotalWithShipping
number
: Total amount of product with shipping - WhatHappensNextDescription
string
: What happens next description
- AccessToken
ProductGatewayApiModel
- ProductGatewayApiModel
object
- Name
string
: Payment gateway name
- Name
ProductItemApiModel
- ProductItemApiModel
object
- Cost
number
: Work item cost - Description
string
: General description - Id
integer
: Product item id - MinimumQuantity
number
: Minimum required quantity in order to buy a work item - ReferenceId
string
: Product SKU - SubTotalAmount
number
: Subtotal amount of product - TaxAmount
number
: Tax amount - TaxId
integer
: Foreign key Tax id - TaxPercentage
number
: Tax percentage - TotalAmount
number
: Total amount of product - WorkTypeId
integer
: Foreign key work type id
- Cost
ProductUpdateApiModel
- ProductUpdateApiModel
object
- AfterPaymentDescription
string
: After payment description - Attachments
array
: List of product attachments - Coupons
array
: List of product coupons- items ProductCouponApiModel
- CurrencyId
integer
: Foreign key Currency - Description
string
: Product description - Discounts
array
: List of product discounts- items ProductDiscountApiModel
- Id
integer
: Product id - Items
array
: List of product items- items ProductItemApiModel
- Name
string
: Product alias - PaymentGateways
array
: List of enabled payment gateways for this product- items ProductGatewayApiModel
- ShippingAmount
number
: Cost for shipping the product - ShippingDescription
string
: Client instructions for shipping - Status
string
(values: Active, NotAvailable, Inactive): Product availability status - WhatHappensNextDescription
string
: What happens next description
- AfterPaymentDescription
QueryOptions
- QueryOptions
object
- Page
integer
- PageSize
integer
- Page
SearchRequest
- SearchRequest
object
- Order
string
(values: None, Asc, Desc) - OrderBy
string
- Page
integer
- PageSize
integer
- Query
string
- Order
SendInvoiceToAccountantApiModel
- SendInvoiceToAccountantApiModel
object
- Id
integer
: Id of the invoice
- Id
SendInvoiceToClientApiModel
- SendInvoiceToClientApiModel
object
- Id
integer
: Id of the invoice - InvoiceId
integer
: Id of the invoice - Message
string
: Message to be embedded in the email
- Id
TaxCreateApiModel
- TaxCreateApiModel
object
- Name
string
: Name of the task - Percentage
number
: Task percentage. Ex: 18%
- Name
TaxDeleteApiModel
- TaxDeleteApiModel
object
- Id
integer
: Id of tax to be deleted
- Id
TaxDetailsApiModel
- TaxDetailsApiModel
object
- CreatedOn
string
: Date of creation - Id
integer
: Entity id - Name
string
: Name of the task - Percentage
number
: Task percentage. Ex: 18%
- CreatedOn
TaxUpdateApiModel
- TaxUpdateApiModel
object
- Id
integer
: Entity id - Name
string
: Name of the task - Percentage
number
: Task percentage. Ex: 18%
- Id
UILanguageDetailsApiModel
- UILanguageDetailsApiModel
object
- Id
integer
: Entity id - Name
string
: Name of the country - UiCulture
string
: Ui culture options
- Id
WorkTypeCreateApiModel
- WorkTypeCreateApiModel
object
- Title
string
: Indicates the title of of the work type (Logo design, development...)
- Title
WorkTypeDeleteApiModel
- WorkTypeDeleteApiModel
object
- Id
integer
: Id of work type to be deleted
- Id
WorkTypeDetailsApiModel
- WorkTypeDetailsApiModel
object
- CreatedOn
string
: Date of creation - Id
integer
: Entity id - Title
string
: Indicates the title of of the work type (Logo design, development...)
- CreatedOn
WorkTypeUpdateApiModel
- WorkTypeUpdateApiModel
object
- Id
integer
: Entity id - Title
string
: Indicates the title of of the work type (Logo design, development...)
- Id