Module billecta::products

source ·
Expand description

§Products

Functions§

  • Creates a product. Note that ProductPublicId are generated by Billecta API and can’t be set through the API and should be omitted when creating. CreditorPublicId specifies under which creditor it shall be created since creditors don’t share data
  • Imports multiple products. If product has ProductPublicId set it will update corresponding product. If ProductPublicId is not set the product will be created
  • A product can’t be deleted if it used in an invoice (of any kind)
  • Returns the associated product. Note that the values on the product should only be considered as a template (except for the bookkeeping accounts). When creating an invoice, you must set the specific values for that invoice record/row.
  • Get all products for a creditor
  • Get a single product by its article number
  • Get a single product by its product description
  • Get one or more products by external id
  • Get products by its external id. An external id is a field on the
  • Note that ProductPublicId must be set when updating a product. It is used to identify which product to update. CreditorPublicId specifies under which creditor it shall be created since creditors don’t share data