- Retrieves calculations for an invoice
Lists a collection of invoices
Creates an invoice
Retrieves an invoice's details
Updates a specific invoice
Deletes an invoice
Submits an invoice for processing
Submits an ACH invoice for processing
Publishes an invoice
Cancels an invoice
Marks an invoice as paid
Sends an SMS notification for a published invoice
Downloads an invoice
Sends an email notification for the invoice
Retrieves calculations fo...
GET {{baseURL}}/pay-int-api/invoices/{{invoiceId}}/calculations
This endpoint retrieves calculations for an invoice.
Security
Bearer
- Mock serverhttps://developer.flute.com/_mock/api-reference/pay-int-api/invoices/{invoiceId}/calculations
- Sandbox environmenthttps://sandbox.api.flute.com/pay-int-api/invoices/{invoiceId}/calculations
- Production environmenthttps://api.flute.com/pay-int-api/invoices/{invoiceId}/calculations
curl -i -X GET \
https://developer.flute.com/_mock/api-reference/pay-int-api/invoices/9be2f3a4-5b6c-4d7e-8f9a-0b1c2d3e4f70/calculations \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'x-api-version: string'OK
Specifies the transaction's subtotal amount.
This includes the base amount, tips, taxes, and discounts.
Example: 3219.45
Example:3219.45
Indicates the discount percentage.
Example: 1.5 (as 1.5%)
Example:1.5
Identifies the amount (in USD) when a surcharge is applicable.
This is a surcharge on the base amount. This surcharge was calculated using the preset percentage from surchargePercentage.
Example: 6.45
Example:6.45
Identifies the surcharge percentage.
This is a surcharge on the base amount. This value is surcharge percentage rate. This surcharge percentage calculates the surcharge amount for surchargeAmount.
Example: 1.5 (as 1.5%)
Example:1.5
Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "subTotalAmount": 3219.45, "shippingAmount": 129.99, "taxPercentage": 8.5, "taxAmount": 0.1, "feesPercentage": 10.25, "feesAmount": 35, "discountPercentage": 1.5, "discountAmount": 0.1, "surchargeAmount": 6.45, "surchargePercentage": 1.5, "totalAmount": 3219.45 }