Skip to content

BillptCreateItem

Creates an item (product or service) in Bill.pt. Items are used as lines in tax documents such as invoices and quotes.

FieldTypeRequiredDescription
credentials_idcredentialsYesBill.pt credential
nametextYesItem name
codetextNoCode / internal reference
descriptiontextNoDetailed description
unit_pricenumberNoUnit price without taxes
unitselectNoUnit: UN, KG, M, L, H (default: UN)
tax_idtextNoTax rate ID
typeselectNoproduct or service (default: product)

This module requires a billpt type credential with the following fields:

  • API Token: Bill.pt API access token
{
"success": true,
"item": { ... },
"item_id": 456,
"message": "Articulo \"Producto XYZ\" creado exitosamente"
}

POST /items - https://api.bill.pt

{
"name": "Servicio de Consultoria",
"code": "SRV-001",
"description": "Hora de consultoria tecnica",
"unit_price": 75.00,
"unit": "H",
"tax_id": "1",
"type": "service"
}
  • The name field is required
  • Available units are: UN (unit), KG (kilogram), M (meter), L (liter), H (hour)
  • The tax_id can be obtained with the BillptGetTaxes module
  • The default type is product