Saaslogic
  1. vendor bills
Saaslogic
  • Introduction
  • Authentication
  • Enum Reference
  • Authentication
    • saaslogic token
      • Get the saaslogic access token
    • login Url
      • Gives the login URL
    • logout Url
      • Gives the logout URL
  • Countries
    • Get list of countries
  • Plans
    • List all plans for a product
  • Subscriptions
    • Create a product subscription
    • Retrieve a subscription
    • Create Customer and Subscription
    • Subscription with details permissions, menus and features
    • The Saaslogic URL for creating subscription
  • Usage Reporting
    • Report the resource usages in subscription for invoicing
    • Retrieves the resource usages of a subscription in the current billing cycle
  • Customers
    • addresses
      • Create an address
      • List all addresses
      • Update an address
      • Retrieve an address
      • Delete an address
    • contacts
      • Create a contact
      • List all contacts
      • Update a contact
      • Retrieve a contact
      • Delete a contact
    • Create a customer
    • List all customers
    • Update a customer
    • Retrieve a customer
    • Delete a customer
  • Vendors
    • vendor addresses
      • Create a vendor address.
      • List all vendor addresses.
      • Update a vendor address.
      • Retrieve a vendor address..
      • Delete a vendor address.
    • vendor contacts
      • Create a vendor contact.
      • List all vendor contacts.
      • Update a vendor contact.
      • Retrieve a vendor contact.
      • Delete a vendor contact.
    • vendor bills
      • Create a vendor bill
        POST
      • Cancel a vendor bill.
        PUT
    • vendor bills payout
      • Update payment details to vendor bills.
    • Create a vendor
      POST
    • Update a vendor.
      PUT
    • Activate a vendor.
      PUT
    • Dectivate a vendor.
      PUT
  • Attributes
    • Create a organization attribute and set the value
    • Retrieve a organization attribute
    • Create a user attribute
    • Update a user attribute
    • Get a user attribute
  • Invoices
    • subscriptions
      • Get the invoices
      • Get the invoices by subscription
    • payments
      • Mark the invoice payment status
    • Get the invoice details .
    • cancel the invoices
    • Send invoice as pdf with payment link.
    • Create an on-demand invoice
  1. vendor bills

Create a vendor bill

POST
/vendor-bills
Vendors/vendor bills
Creating a new vendor bill.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-sandbox.saaslogic.io/v1/vendor-bills' \
--header 'Authorization;' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
    "vendorId": "d90cc3a8-7cb3-11ef-a252-325096b39f47",
    "billNumber": "INV123456789",
    "currencyISOCode": "USD",
    "netAmount": 450,
    "dueDate": "2024-10-01T00:00:00",
    "billId": "b060836b-15ad-41c6-a6ff-b60d1540085d",
    "serviceAddressId": "32f4b59d-4173-427f-aed1-8a05c396b7b0",
    "billingAddressId": "51bb4a3b-005c-4155-892b-df1157833f48",
    "billDate": "2023-09-24T00:00:00",
    "amountReceived": 450,
    "taxAmount": 10,
    "discountAmount": 10,
    "note": "This is a reminder to process the payment as soon as possible."
}'
Response Response Example
200 - Bill created successfully
{
  "vendorId": "d90cc3a8-7cb3-11ef-a252-325096b39f47",
  "billId": "b060836b-15ad-41c6-a6ff-b60d1540085d",
  "serviceAddressId": "32f4b59d-4173-427f-aed1-8a05c396b7b0",
  "billingAddressId": "51bb4a3b-005c-4155-892b-df1157833f48",
  "billNumber": "INV123456789",
  "currencyISOCode": "USD",
  "netAmount": 450,
  "billDate": "2023-09-24T00:00:000",
  "dueDate": "2024-10-01T00:00:000",
  "amountReceived": 450,
  "taxAmount": 10,
  "discountAmount": 10,
  "billAmount": 450,
  "note": "This is a reminder to process the payment as soon as possible."
}

Request

Header Params
Authorization
string 
required
Saaslogic authorization token
Default:
Bearer {{bearerToken}}
Content-Type
string 
optional
Default:
application/json
Accept
string 
optional
Default:
application/json
Body Params application/json
vendorId
string 
required
billNumber
string 
required
currencyISOCode
string 
required
netAmount
integer 
required
dueDate
string 
required
billId
string 
required
serviceAddressId
string 
required
billingAddressId
string 
required
billDate
string 
required
amountReceived
integer 
required
taxAmount
integer 
required
discountAmount
integer 
required
note
string 
required
Examples

Responses

🟢200Bill created successfully
application/json
Body
vendorId
string 
required
billId
string 
required
serviceAddressId
string 
required
billingAddressId
string 
required
billNumber
string 
required
currencyISOCode
string 
required
netAmount
integer 
required
billDate
string 
required
dueDate
string 
required
amountReceived
integer 
required
taxAmount
integer 
required
discountAmount
integer 
required
billAmount
integer 
required
note
string 
required
🔴500ErrorResponse
Previous
Delete a vendor contact.
Next
Cancel a vendor bill.
Built with