{"templateId":"markdown","versions":[{"version":"v2","label":"v2","link":"/api-reference/v2/components/docs/line-items","default":false,"active":false,"folderId":"1b9c9f54"},{"version":"v1","label":"v1","link":"/api-reference/components/docs/line-items","default":true,"active":true,"folderId":"1b9c9f54"}],"sharedDataIds":{},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Flute Payments API","siteUrl":"https://developer.flute.com","description":"Documentation and API reference for integrating Flute payment processing.","lang":"en-US","projectTitle":"Flute Payments API","jsonLd":{"@context":"https://schema.org","@type":"WebSite","name":"Flute Developer Portal","url":"https://developer.flute.com","description":"Documentation and API reference for integrating Flute payment processing."},"meta":[{"name":"og:type","content":"website"},{"name":"og:site_name","content":"Flute Payments API"},{"name":"twitter:card","content":"summary"}],"llmstxt":{"hide":false}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"id":"line-items-overview"},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Line items are the catalog entries used to build invoices, one per billable product or service."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each line item has a name, description, SKU, unit price, unit type, and tax rate."," ","A line item can optionally be assigned to a category to organize the catalog."," ","Unit types describe how each item is measured, such as by hour, unit, or pound."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Line items may be grouped into categories."," ","This allows for convenient organization to locate anad select line items."," ","For more information about categories, see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#categories-overview"},"children":["Categories"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Line Items endpoints support creating, listing, updating, and deleting entries."," ","The list endpoint accepts a search string and can filter by category or by items with no category."," ","A separate endpoint retrieves the available unit types a line item can reference."," ","Deleting a line item removes it from the catalog for future invoices."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The following endpoints are available:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Endpoint"},"children":["Endpoint"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Explanation"},"children":["Explanation"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/api-reference/line-items/flute-v1-get-pay-int-api-line-items","style":{"textDecoration":"underline","fontWeight":"normal"}},"children":["GET /pay-int-api/line-items"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Lists line items, filtered by search string, category, or items with no category."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/api-reference/line-items/flute-v1-post-pay-int-api-line-items","style":{"textDecoration":"underline","fontWeight":"normal"}},"children":["POST /pay-int-api/line-items"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Creates a new line item."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/api-reference/line-items/flute-v1-put-pay-int-api-line-items-lineitemid","style":{"textDecoration":"underline","fontWeight":"normal"}},"children":["PUT /pay-int-api/line-items/{lineItemId}"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Updates a specified line item."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/api-reference/line-items/flute-v1-delete-pay-int-api-line-items-lineitemid","style":{"textDecoration":"underline","fontWeight":"normal"}},"children":["DELETE /pay-int-api/line-items/{lineItemId}"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Deletes a line item."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/api-reference/line-items/flute-v1-get-pay-int-api-line-items-unit-types","style":{"textDecoration":"underline","fontWeight":"normal"}},"children":["GET /pay-int-api/line-items/unit-types"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Retrieves the available unit types for line items."]}]}]}]}]}]},"headings":[],"frontmatter":{"seo":{"title":""}},"lastModified":"2026-09-24T20:13:21.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/api-reference/components/docs/line-items","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}