Skip to content

BillptCreateContact

Creates a contact/customer on the Bill.pt platform. Contacts are required to issue tax documents such as invoices and quotes.

FieldTypeRequiredDescription
credentials_idcredentialsYesBill.pt credential with API Token
nametextYesContact or company name
fiscal_idtextNoTax ID / Tax identification number
emailtextNoContact email
phonetextNoContact phone number
addresstextNoPostal address
citytextNoCity
zip_codetextNoPostal code (e.g.: 1000-001)
countrytextNoISO country code (default: PT)

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

  • API Token: Bill.pt API access token
{
"success": true,
"contact": { ... },
"contact_id": 123,
"message": "Contacto \"Empresa XYZ\" creado exitosamente"
}

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

{
"name": "Empresa XYZ Lda",
"fiscal_id": "123456789",
"email": "contacto@empresa.pt",
"phone": "+351 210 000 000",
"address": "Rua Principal 100",
"city": "Lisboa",
"zip_code": "1000-001",
"country": "PT"
}
  • The name field is required and can be a person’s or company’s name
  • The fiscal_id (NIF) is important for valid tax documents in Portugal
  • The default country code is PT (Portugal)
  • If a contact already exists with the same NIF, a duplicate error may occur