Skip to main content

Deposit APIs

You will be able to make a Deposit entry for payments received not related to an Invoice. It is a special case of Receive Payments APIs

More about Deposit API documentation

API


Search Deposits

Get Deposits by filter criteria. More about search deposits

Description:
  • Allows you to retrieve a list of all deposits.
  • Allows you to retrieve a list of deposits based on it's filter criteria.

GET

/v1/payments/receive/deposits

Request URL

Deposit API documentation

Parameters
NameLocated inDescriptionRequiredSchema
contactNamequerycontactNameNostring
customfieldquerycustomfieldNostring
docTypequerydocTypeNostring
includeUndepositedFundsqueryincludeUndepositedFundsNoboolean
limitquerylimitNointeger
pagequerypageNointeger
paymentDatequerypaymentDateNodateTime
queryqueryqueryNostring
searchquerysearchNostring
sortquerysortNostring
sortDirquerysortDirNostring
Responses
CodeDescriptionSchema
200Deposits have been fetched successfully.ReceivePaymentDto
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

Create / Update Deposit

Make a new deposit entry. More about create deposits

Description:
  • Allows you to make a new deposit.
  • including the id parameter will update existing deposit

POST

/v1/payments/receive/deposit

Deposit API documentation

Parameters
CodeDescriptionSchema
200OKReceivePaymentDto
201Deposit has been done successfully.ReceivePaymentDto
400Deposit failed because of insufficient data.
401Unauthorized
403Forbidden
404Not Found
Responses
CodeDescriptionSchema
200OKReceivePaymentDto
201Payment has been done successfully.ReceivePaymentDto
400Payment failed because of insufficient data.
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

Create / Update Deposit with Tax Group

Make a new deposit entry with tax group. More about deposit with tax group

Description:
  • Allows you to make a new deposit.
  • including the id parameter will update existing deposit

POST

/v1/payments/receive/taxgroupdeposit

Deposit API documentation

Parameters
NameLocated inDescriptionRequiredSchema
receivePaymentDtobodyreceivePaymentDtoYesReceivePaymentDto
Responses
CodeDescriptionSchema
200OKReceivePaymentDto
201Payment has been done successfully.ReceivePaymentDto
400Payment failed because of insufficient data.
401Unauthorized
403Forbidden
404Not Found
Security
Security SchemaScopes
Authorizationglobal

Delete Deposit

Delete deposit information.

Description:
  • Allows you to delete deposit information.

DELETE

/v1/payments/receive/{code}

Request URL

Deposit API documentation

Parameters
NameLocated inDescriptionRequiredSchema
receivePaymentCodequeryreceivePaymentCodeYesstring
Responses
CodeDescriptionSchema
204Deposit has been updated successfully.
401Unauthorized
403Forbidden
404Payment with code not found.
Security
Security SchemaScopes
Authorizationglobal

Models


ReceivePaymentDto

NameTypeDescriptionRequired
accountCodePayTostringAccount code.
Example: "AC-001"
No
accountNamestringAccount name.
Example: "Bank"
No
amountnumberPayment amount.
Example: 10
No
amountDuenumberPayment amount Due.
Example: 10
No
attachmentIds[ integer ]list of attachment id's for this orderNo
bankRuleIdlongRule id if the document has been created by a Bank RuleNo
billToAddressBill to addressNo
contactCodestringContact code.
Example: 19425
No
contactNamestringContact name.
Example: "ABC PTE LTD"
No
currencystringCurrency code.
Enum: "AFN", "ALL", "DZD", "AOA", "ARS", "AMD", "AWG", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "BMD", "BTN", "BOB", "BAM", "BRL", "BND", "BGN", "BIF", "KHR", "CAD", "CVE", "KYD", "CLP", "CNY", "COP", "KMF", "CDF", "CRC", "CZK", "HRK", "CUC", "DJF", "DOP", "EGP", "ERN", "ETB", "FKP", "FJD", "XAF", "GMD", "GEL", "GHS", "GIP", "DKK", "GTQ", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "INR", "IDR", "IRR", "IQD", "JMD", "JPY", "JOD", "KZT", "KES", "KWD", "KGS", "LAK", "LBP", "LSL", "LRD", "LYD", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRO", "MUR", "MXN", "MDL", "MNT", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "KPW", "OMR", "PKR", "ILS", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "XCD", "WST", "STD", "SAR", "RSD", "SCR", "SLL", "SGD", "ANG", "SBD", "SOS", "ZAR", "KRW", "SSP", "EUR", "LKR", "SDG", "SRD", "NOK", "SZL", "SEK", "CHF", "SYP", "TWD", "TJS", "TZS", "THB", "XOF", "NZD", "TOP", "TTD", "TND", "TRY", "TMT", "AUD", "UGX", "UAH", "AED", "GBP", "USD", "UYU", "UZS", "VUV", "VEF", "VND", "XPF", "MAD", "YER", "ZMW", "BWP", "CNH"
Example: "SGD"
No
customField[ CustomFieldItem ]List of custom fieldsNo
customerTypeIndiastringIndia Compliance filed
Enum: "EXPORT_WO_PAY", "EXPORT_W_PAY", "NA", "SEZ_WO_PAY", "SEZ_W_PAY"
Example: "SEZ (WPAY)"
No
documentDatedateTimeDocument date.
Example: "2019-09-27"
No
errors[ string ]List of validation error messagesNo
exchangeRatenumberExchange rate.
Example: 0.01891562
No
gstExchangeRatenumberGST Exchange rate if tax residency currency is different than base currency
Example: 1
No
gstInstringNo
gstTreatmentIndiastringIndia Compliance filed
Enum: "REGISTERED_BUSINESS_REGULAR=Registered Business - Regular", "REGISTERED_BUSINESS_COMPOSITION=Registered Business - Composition", "UNREGISTERED_BUSINESS=Unregistered Business", "CUSTOMER=Consumer", "OVERSEAS=Overseas", "SPECIAL_ECONOMIC_ZONE=Special Economic Zone", "DEEMED_EXPORT=Deemed Export"
Example: "REGISTERED_BUSINESS_REGULAR"
No
interCompanybooleanTrue if it is between inter companies
Example: true
No
isUnDepositedPaymentbooleanWhether the current payment is un-deposited or not.No
journalEntryBankTransferRequestDtoJournalEntryBankTransferRequestDtoBank Transfer Request DTO for Journal EntryNo
knockoffInfo[ KnockOffInfo ]No
memostringMemo text.
Example: "Sales quotation"
No
openingbooleanOpening Document
Example: false
No
paymentTypestringType of payment.
Enum: "CHEQUE", "CASH", "BANK_TRANSFER", "CARD", "OTHERS"
Example: "BANK_TRANSFER"
No
receivePaymentFeeDtoList[ ReceivePaymentFeeDto ]Transaction fee pertaining to the received paymentNo
receivePaymentItemDtoList[ ReceivePaymentItemDto ]Receive payment items information.No
reconciledbooleanWhether the current payment is reconciled or not.No
referenceDatedateTimeDate of Bank Transfer/cheque.
Example: "2019-09-27"
No
referenceNumberstringReference number of Bank Transfer/cheque.
Example: "CH001"
No
salesInvoiceSalesInvoiceResponseNo
sentEmailbooleanSend Customer Email
Example: false
No
shipFromAddressShip from addressNo
shipToAddressShip to addressNo
unDepositedEntriesReconciled[ UnDepositedEntriesReconciled ]Reconciled un-deposited entriesNo
unitPriceGstInclusivebooleanPrice is GST inclusive
Example: false
No
vendorTypeIndiastringIndia Compliance filed
Enum: "IMPORT", "NA", "SEZ_W_PAY", "SEZ_WO_PAY"
Example: "EXPORT (WOPAY)"
No

Address

NameTypeDescriptionRequired
address1stringAddress line 1
Example: "218, Robinson Road"
No
address2stringAddress line 2
Example: "Downtown"
No
citystringCity
Example: "C001"
No
contactNamestringcontact name for address
Example: "John Smith"
No
countrystringCountry
Example: "C001"
No
destinationOfSupplystringstate in India
Example: "Maharashtra"
No
placeOfSupplystringstate in India
Example: "Punjab"
No
postalCodestringPostal Code
Example: 123456
No
preferredbooleanIs this a default address?
Example: true
No
statestringState
Example: "CS001"
No

ReceivePaymentFeeDto

NameTypeDescriptionRequired
ReceivePaymentFeeDtoobject

ReceivePaymentDto

NameTypeDescriptionRequired
accountCodePayTostringAccount code.
Example: "AC-001"
No
accountNamestringAccount name.
Example: "Bank"
No
amountnumberPayment amount.
Example: 10
No
amountDuenumberPayment amount Due.
Example: 10
No
attachmentIds[ integer ]list of attachment id's for this orderNo
bankRuleIdlongRule id if the document has been created by a Bank RuleNo
billToAddressBill to addressNo
contactCodestringContact code.
Example: 19425
No
contactNamestringContact name.
Example: "ABC PTE LTD"
No
currencystringCurrency code.
Enum: "AFN", "ALL", "DZD", "AOA", "ARS", "AMD", "AWG", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "BMD", "BTN", "BOB", "BAM", "BRL", "BND", "BGN", "BIF", "KHR", "CAD", "CVE", "KYD", "CLP", "CNY", "COP", "KMF", "CDF", "CRC", "CZK", "HRK", "CUC", "DJF", "DOP", "EGP", "ERN", "ETB", "FKP", "FJD", "XAF", "GMD", "GEL", "GHS", "GIP", "DKK", "GTQ", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "INR", "IDR", "IRR", "IQD", "JMD", "JPY", "JOD", "KZT", "KES", "KWD", "KGS", "LAK", "LBP", "LSL", "LRD", "LYD", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRO", "MUR", "MXN", "MDL", "MNT", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "KPW", "OMR", "PKR", "ILS", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "XCD", "WST", "STD", "SAR", "RSD", "SCR", "SLL", "SGD", "ANG", "SBD", "SOS", "ZAR", "KRW", "SSP", "EUR", "LKR", "SDG", "SRD", "NOK", "SZL", "SEK", "CHF", "SYP", "TWD", "TJS", "TZS", "THB", "XOF", "NZD", "TOP", "TTD", "TND", "TRY", "TMT", "AUD", "UGX", "UAH", "AED", "GBP", "USD", "UYU", "UZS", "VUV", "VEF", "VND", "XPF", "MAD", "YER", "ZMW", "BWP", "CNH"
Example: "SGD"
No
customField[ CustomFieldItem ]List of custom fieldsNo
customerTypeIndiastringIndia Compliance filed
Enum: "EXPORT_WO_PAY", "EXPORT_W_PAY", "NA", "SEZ_WO_PAY", "SEZ_W_PAY"
Example: "SEZ (WPAY)"
No
documentDatedateTimeDocument date.
Example: "2019-09-27"
No
errors[ string ]List of validation error messagesNo
exchangeRatenumberExchange rate.
Example: 0.01891562
No
gstExchangeRatenumberGST Exchange rate if tax residency currency is different than base currency
Example: 1
No
gstInstringNo
gstTreatmentIndiastringIndia Compliance filed
Enum: "REGISTERED_BUSINESS_REGULAR=Registered Business - Regular", "REGISTERED_BUSINESS_COMPOSITION=Registered Business - Composition", "UNREGISTERED_BUSINESS=Unregistered Business", "CUSTOMER=Consumer", "OVERSEAS=Overseas", "SPECIAL_ECONOMIC_ZONE=Special Economic Zone", "DEEMED_EXPORT=Deemed Export"
Example: "REGISTERED_BUSINESS_REGULAR"
No
interCompanybooleanTrue if it is between inter companies
Example: true
No
isUnDepositedPaymentbooleanWhether the current payment is un-deposited or not.No
journalEntryBankTransferRequestDtoJournalEntryBankTransferRequestDtoBank Transfer Request DTO for Journal EntryNo
knockoffInfo[ KnockOffInfo ]No
memostringMemo text.
Example: "Sales quotation"
No
openingbooleanOpening Document
Example: false
No
paymentTypestringType of payment.
Enum: "CHEQUE", "CASH", "BANK_TRANSFER", "CARD", "OTHERS"
Example: "BANK_TRANSFER"
No
receivePaymentFeeDtoList[ ReceivePaymentFeeDto ]Transaction fee pertaining to the received paymentNo
receivePaymentItemDtoList[ ReceivePaymentItemDto ]Receive payment items information.No
reconciledbooleanWhether the current payment is reconciled or not.No
referenceDatedateTimeDate of Bank Transfer/cheque.
Example: "2019-09-27"
No
referenceNumberstringReference number of Bank Transfer/cheque.
Example: "CH001"
No
salesInvoiceSalesInvoiceResponseNo
sentEmailbooleanSend Customer Email
Example: false
No
shipFromAddressShip from addressNo
shipToAddressShip to addressNo
unDepositedEntriesReconciled[ UnDepositedEntriesReconciled ]Reconciled un-deposited entriesNo
unitPriceGstInclusivebooleanPrice is GST inclusive
Example: false
No
vendorTypeIndiastringIndia Compliance filed
Enum: "IMPORT", "NA", "SEZ_W_PAY", "SEZ_WO_PAY"
Example: "EXPORT (WOPAY)"
No

SalesInvoiceResponse

NameTypeDescriptionRequired
attachmentIds[ integer ]No
attachments[ string ]File attachmentsNo
backOrderbooleanBackorder flag to indicate if backorder createdNo
billToAddressBill to addressNo
contactContactInfoContact detailsYes
contactCodestringContact CodeYes
contactDtoContactDtoContact DetailsYes
currencystringCurrencyYes
documentSequenceCodestringSales invoice Sequence CodeNo
draftbooleanSales invoice draftedNo
dropShipbooleanDrop Ship flag to indicate if purchase invoice is created for drop shipNo
dueAmountnumberAmount DueNo
exchangeRatenumberExchange rateNo
fulfillmentStatusstringSales invoice fulfillment statusNo
fulfillmentTypestringFulfillment type: NONE, DEFAULT, PICK_PACK_SHIP, DROP_SHIPNo
idlongSales invoice idNo
journalEntryCodestringJournal Entry CodeNo
memostringMemoNo
openingDocumentNumberstringCustomer opening document numberNo
openingInvoicebooleanTrue if opening invoiceNo
paymentStatusstringSales invoice payment statusNo
purchaseOrderRefNostringContact PO reference numberNo
recurringbooleanTrue if Invoice is recurring.No
recurringActivatedbooleanTrue if Invoice recurrence is active.No
salesInvoiceCodestringSales invoice codeNo
salesInvoiceDatestringSales Invoice dateYes
salesInvoiceDueDatestringSales Invoice due dateYes
salesInvoiceItems[ SalesInvoiceItemDetails ]Sales invoice item detailsNo
shipByDatestringShip by dateNo
shipFromAddressShip from addressNo
shipToAddressShip to addressNo
statusstringInvoice statusNo
taxAmountnumberTax amountNo
totalAmountnumberTotal amountNo
totalAmountInBaseCurrencynumberTotal amount in base currencyNo
unitPriceGstInclusivebooleanUnit price is GST inclusiveNo
warehouseCodestringWarehouse CodeNo
withheldAmountnumberWithheld AmountNo

ContactInfo

NameTypeDescriptionRequired
addressstringAddress
Example: "Raffles Place 1"
No
namestringCustomer name
Example: "ABC Pte Ltd"
Yes
peppolIdstringPeppol ID
Example: "u000:1109:uen"
No

ContactDto

NameTypeDescriptionRequired
attentionTostringthe contact name in govt agency
Example: "Peter Parker"
No
autoChargebooleanAuto payment charge
Example: false
No
billingAddress[ Address ]List of Billing Address.No
businessUnitstringindicates the contact is govt agency
Example: "CAA01 - Cvl Avtn Authrty of Singapore"
No
contactMasterIdstring (uuid)contact master id
Example: "2df7a5c1-3305-498d-8d01-aa92c42d19d2"
No
contactNumberstringContact number
Example: "+65999999999"
No
creditLimitnumberCredit Limit
Example: 100
No
creditLimitInBaseCurrencynumberCredit Limit In Org Currency
Example: 100
No
currencyCodestringCurrency code
Enum: "AFN", "ALL", "DZD", "AOA", "ARS", "AMD", "AWG", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "BMD", "BTN", "BOB", "BAM", "BRL", "BND", "BGN", "BIF", "KHR", "CAD", "CVE", "KYD", "CLP", "CNY", "COP", "KMF", "CDF", "CRC", "CZK", "HRK", "CUC", "DJF", "DOP", "EGP", "ERN", "ETB", "FKP", "FJD", "XAF", "GMD", "GEL", "GHS", "GIP", "DKK", "GTQ", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "INR", "IDR", "IRR", "IQD", "JMD", "JPY", "JOD", "KZT", "KES", "KWD", "KGS", "LAK", "LBP", "LSL", "LRD", "LYD", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRO", "MUR", "MXN", "MDL", "MNT", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "KPW", "OMR", "PKR", "ILS", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "XCD", "WST", "STD", "SAR", "RSD", "SCR", "SLL", "SGD", "ANG", "SBD", "SOS", "ZAR", "KRW", "SSP", "EUR", "LKR", "SDG", "SRD", "NOK", "SZL", "SEK", "CHF", "SYP", "TWD", "TJS", "TZS", "THB", "XOF", "NZD", "TOP", "TTD", "TND", "TRY", "TMT", "AUD", "UGX", "UAH", "AED", "GBP", "USD", "UYU", "UZS", "VUV", "VEF", "VND", "XPF", "MAD", "YER", "ZMW", "BWP", "CNH"
Example: "SGD"
No
customField[ CustomFieldItem ]JSON object for custom fields
Example: {"field1":"value1","field2":"value2"}
No
documentSequenceCodestringContact Sequence code
Example: "C-0000001"
No
emailIdstringcontact email address
Example: "myinfo@domain.com"
No
extCompanyNamestringthe company name from external app
Example: "QuickBook"
No
intercompanyTypestringContact Type either parent or subsidiary
Enum: "PARENT", "SUBSIDIARY"
Example: "PARENT/SUBSIDIARY"
No
invoiceCreditLimitTypestringInvoice Credit Limit Type
Enum: "IGNORE", "WARN", "BLOCK"
Example: "IGNORE"
No
invoicesobjectNo
isAccountNumberFlagbooleanindicates if user is sending account number or code
Example: true
No
isCreditLimitApplicablebooleanContact credit limit applicable
Example: true
No
isIncludeCurrentInvoicebooleanInclude Current Invoice
Example: true
No
isIncludeCurrentQuotationbooleanInclude Current Quotation
Example: true
No
isIncludeCurrentSalesOrderbooleanInclude Current Sales Order
Example: false
No
namestringContact name
Example: "Sam"
No
payableAccountCodestringPayable account code
Example: "AC002"
No
paymentTermCodestringPayment term code
Example: "Net 0"
No
peppolIdstringPeppol ID
Example: "u000:11::11293"
No
purchasePriceLists[ long ]Set of Purchase price lists
Example: [123,456]
No
quotationCreditLimitTypestringQuotation Credit Limit Type
Enum: "IGNORE", "WARN", "BLOCK"
Example: "IGNORE"
No
receivableAccountCodestringReceivable account code
Example: "AC001"
No
salesOrderCreditLimitTypestringSales Order Credit Limit Type
Enum: "IGNORE", "WARN", "BLOCK"
Example: "IGNORE"
No
salesPriceLists[ long ]Set of Sales price lists
Example: [123,456]
No
sequenceFormatstringSequence Format
Example: 1
No
shippingAddress[ Address ]List of Shipping Address.No
singaporeGovtbooleanindicates the contact is govt agency
Example: true
No
taxExemptedbooleanDenotes if customer is tax exempted
Example: true
No
taxExemptionNostringGenerated tax exemption number
Example: "234s-few3-2422"
No
taxExemptionReasonstringTax exemption reason
Example: "Resale, Federal Agency"
No
taxNumberstringTax number
Example: 123456
No
uenstringContact UEN
Example: "DHJEUK"
No

SalesInvoiceItemDetails

NameTypeDescriptionRequired
allocationTypestringAllocation Type
Example: "NORMAL"
No
availableQuantitynumberTotal available quantity
Example: 3
No
basePricenumberRevenue Base price
Example: 120
No
customField[ CustomFieldItem ]List of custom fieldsNo
discountnumberDiscount
Example: 2
No
discountInPercentbooleanDiscount in percentage
Example: true
No
documentSequenceCodestringProduct Document Sequence Code
Example: "P-0000001"
Yes
documentUOMSchemaDefinitionDocumentUOMSchemaDefinitionDocument UOM Schema Definition
Example: 2
Yes
documentUomlongDocument UOM id
Example: 2
Yes
errors[ string ]List of validation error messagesNo
fulfillmentByDoc[ ItemQtyFulfilledByDoc ]Item Qty fulfilled by Fulfillment Doc
Example: []
No
idlongID
Example: 2
No
invoiceLineNumberstringInvoice Line Number
Example: "ABSCDDSD1212"
No
isPartialInvoicebooleanWhether the Sales Invoice is a partial invoice
Example: false
No
itemFulfillmentStatusstringItem Fulfillment Status
Enum: "UNFULFILLED", "PARTIAL_FULFILLED", "FULLY_FULFILLED"
Example: "UNFULFILLED"
No
lineNumberintegerLine Number
Example: 1
No
linkedQuoteItemlongQuote Item linked to invoice item
Example: "QO-001"
No
linkedQuoteItemCodestringLinked quote item code
Example: "QO-002"
No
productProductResponseProduct Response
Example: "product"
No
productCodestringProduct code
Example: "P00001"
Yes
productDescriptionstringProduct description
Example: "Apple watch"
No
productOrderintegerProduct view order
Example: 1
No
productQuantitynumberProduct quantity
Example: 2
Yes
quantityFulfillednumberquantity fulfilled
Example: 10
No
quantityFulfilledByFlowovernumberTotal Quantity Fulfilled By FlowoverYes
quantityFulfilledByUsernumberTotal Quantity Fulfilled By UserYes
reservedQuantitiesData[ ReservedQuantityData ]Reserved quantity data
Example: []
No
revRecDocumentItemDetailsRevRecDocumentItemDetailsItem Revenue Details
Example: "revRecDocumentItemDetails"
No
salesInvoiceItemCodestringSales Invoice Item Code
Example: "SII-000001"
No
taxTaxDtoTax details
Example: "taxDto"
No
taxAmountnumberTax amount
Example: 0.5
No
taxCodestringTax code
Example: "GST7"
No
totalAmountnumberTotal amount
Example: 2.3
Yes
typestringProduct type
Enum: "TRACKED", "NONTRACKED"
Example: "TRACKED"
Yes
unitPricenumberProduct unit price
Example: 0.7
Yes
uomQuantitynumberuom quantity
Example: 2
Yes
uomUnitPricenumberUOM Unit price
Example: 2.3
Yes
updatedPartialQuantitynumberpartial invoice updated quantity
Example: 10
No

TaxMappingDto

NameTypeDescriptionRequired
additionalTaxInbooleanNo
idlongNo
taxAmountnumberNo
taxApplyTostringNo
taxCodestringNo
taxIdnumberNo
taxNamestringNo
taxRatenumberNo
taxSeqCodestringNo
taxTypestringNo
taxableAmountnumberNo