Skip to content

SalesInvoice

Property Data type Regulation(s) Required / Optional / Unused
Series string max length 20 TicketBAI,Veri*Factu Required in TicketBAI
Number string max length 20 TicketBAI,Veri*Factu Required
DateAndTime DateTime TicketBAI,Veri*Factu Required
Seller Seller TicketBAI,Veri*Factu Required; Tin and BusinessName required
Buyer BuyerThirdParty TicketBAI,Veri*Factu Required if it is not a simplified invoice
TransactionDate DateTime TicketBAI,Veri*Factu Optional
IsSimplified bool TicketBAI,Veri*Factu Optional, defines invoice type
IsSimplifiedSubstitution bool TicketBAI,Veri*Factu Optional, defines invoice type
ThirdParty BuyerThirdParty Veri*Factu Mandatory if IsIssuedByThirdParties in Veri*Factu
IsIssuedByThirdParties bool TicketBAI,Veri*Factu Optional
IsIssuedByRecipients bool TicketBAI,Veri*Factu Optional
IsCorrective bool TicketBAI,Veri*Factu Optional
CorrectiveKey CorrectiveKey TicketBAI,Veri*Factu Optional, defines invoice type. Mandatory if IsCorrective
CorrectiveType CorrectiveType TicketBAI,Veri*Factu Mandatory if IsCorrective
Correctives List<Corrective> TicketBAI,Veri*Factu Mandatory if IsCorrective
Description string TicketBAI,Veri*Factu Required. If not provided, it is derived from Details.Description
TotalTaxBase decimal
TotalTaxes decimal TicketBAI,Veri*Factu Required
Total decimal TicketBAI,Veri*Factu Required
Retention decimal TicketBAI Optional
Details List<Detail> TicketBAI,Veri*Factu Required in TicketBAI Araba/Gipuzkoa
TaxableBases List<TaxableBase> TicketBAI,Veri*Factu Mandatory. There are limits depending on the regulation
PropertyTransferAmountSubjectToVAT decimal Batuz Optional
Properties List<Property> Batuz Optional
FeeDiscounts List<FeeDiscount>
Advance decimal
AdvanceDate DateTime?
Pays List<Pay>
IsCoupon bool Veri*Factu Optional
IsSimplifiedArt7273 bool Veri*Factu Optional, defines invoice type
IsNotBuyerArt61d bool Veri*Factu Optional, defines invoice type

Seller

Type Party.

BuyerThirdParty

Type Party.

Property Data type Required / Optional / Unused
AdministrativeCenters List<AdministrativeCenter>

Party

Property Data type Required / Optional / Unused
Tin string Required
DocumentType PartyDocument Required
BusinessName string Required
Name string
Address string Required in TicketBAI
PostalCode string Required in TicketBAI
City string
Region string
Country string Optional
PhoneNumber string
Email string
ContactPerson string
CnoCnae string

AdministrativeCenter

Property Data type Required / Optional / Unused
Code string
Role int
Address string
PostalCode string
City string
Region string
CountryCode string

Corrective

Property Data type Required / Optional / Unused
Series string Required
Number int Required
Date DateTime Required
Base decimal Required if CorrectiveType=1
Quota decimal Required if CorrectiveType=1
Surcharge decimal Required if CorrectiveType=1

Detail

Property Data type Required / Optional / Unused
Description string Required
Amount decimal Required
Price decimal Required
AmountDiscount decimal Required
IssuerContractReference string
IssuerTransactionReference string
RecipientContractReference string
ReceiverTransactionReference string
ReferenceFile string
DeliveryNoteNumber string
Discount1 decimal
DiscountAmount1 decimal
Discount2 decimal
DiscountAmount2 decimal
Discount3 decimal
DiscountAmount3 decimal
VATPercentage decimal
DeliverDate DateTime
TotalTaxBase decimal
Total decimal Required

TaxableBase

Property Data type Required / Optional / Unused
TaxType TaxType Required in Veri*Factu
OperationType OperationType Required in TicketBAI
CauseExemption CauseExemption Optional
NonExemptType NonExempt Optional
CauseNotSubject CauseNotSubject Optional
BaseOrAmount decimal Required
TaxRate decimal Required
TaxFee decimal Required
SurchargeTypeEquivalence decimal Optional
FeeSurchargeEquivalence decimal Required if SurchargeTypeEquivalence > 0
EquivalenceRegime bool Optional for TicketBAI
TaxableBaseAtCost decimal Optional
VATKey VATKey Required

Property

Property Data type
Situation int
CadastralReference string

FeeDiscount

Property Data type
Type int
Description string
Amount decimal
Price decimal
Discount decimal
TotalTaxBase decimal
Total decimal

Pay

Property Data type
ExpirationDate DateTime
Amount decimal
PayCode string
IBANCode string
SEPACode string