Skip to main content

Billing Info

The billingInfo object is optional. Include it when you need invoicing, VAT, or fiscal data passed to the e-Računi accounting system.

When to Use Billing Info

If your business requires automatic invoice generation through e-Računi, populate this object with the buyer's billing details and include billingItems to describe the invoiced line items.


BillingInfo Fields​

FieldTypeRequiredDescription
billingFirstNamestringNoBilling contact first name
billingLastNamestringNoBilling contact last name
billingStreetstringNoBilling street name
billingHouseNumberstringNoBilling house/street number
billingPostalCodestringNoBilling postal code
billingCitystringNoBilling city
billingCountrystringNo2-letter ISO 3166-1 alpha-2 country code (e.g. RS, DE)
billingEmailstringNoBilling contact email
billingPhonestringNoBilling contact phone
buyerTaxNumberstringNoBuyer's tax/VAT identification number
orderReferencestringNoYour reference number for the invoice (e.g. ORD-2026-000123)
methodOfPaymentstringNoe-Računi methodOfPayment value. See e-Računi docs
vatTransactionTypestringNoe-Računi vatTransactionType value. See e-Računi docs
billingItemsBillingItem[]At least 1 if object is presentArray of invoice line items

BillingItem Fields​

Each element in billingItems represents one line on the invoice.

FieldTypeRequiredDescription
pricenumberYesUnit gross price, vat included (decimal allowed, e.g. 199.99)
quantitynumberYesNumber of units for this line item
productCodestringYese-Računi product code
descriptionstringYesHuman-readable product description
vatRatenumberYesVAT percentage to apply (e.g. 27 for 27%)

Example​

"billingInfo": {
"billingFirstName": "Marko",
"billingLastName": "Petrovič",
"billingStreet": "Dunavska",
"billingHouseNumber": "37",
"billingPostalCode": "11000",
"billingCity": "Beograd",
"billingCountry": "RS",
"billingEmail": "marko.petrovic@example.com",
"billingPhone": "+381641234567",
"buyerTaxNumber": "RS123456789",
"orderReference": "ORD-2026-000123",
"methodOfPayment": "BankTransfer",
"vatTransactionType": "106",
"billingItems": [
{
"price": 199.99,
"vatRate": 20,
"description": "Wireless Barcode Scanner",
"productCode": "WBS-001",
"quantity": 2
},
{
"price": 49.90,
"vatRate": 20,
"description": "Thermal Label Roll 100x150mm",
"productCode": "TLR-100150",
"quantity": 5
}
]
}

External References​